2008-06-10から1日間の記事一覧

autotools + with-mysql

書くと言いつつだいぶサボっていた autotools のメモ。 今回は、–with-mysql の付け方をメモ。 サンプルとして書いたコードが以下のもの。 #include <stdio.h> #include <mysql.h> int main() { MYSQL sql; MYSQL_RES *pres; MYSQL_ROW row; if( !mysql_init( &sql)) { puts("i</mysql.h></stdio.h>…