Update of /cvsroot/htoolkit/HSQL
In directory sc8-pr-cvs1:/tmp/cvs-serv14468
Modified Files:
configure.ac
Log Message:
Now uses mysql_config --cflags and keeps only -I options. Older MySQL versions do not support mysql_config --include which was used before. Check for mysql.h instead of mysql/mysql.h since that is what the code uses.
Index: configure.ac
===================================================================
RCS file: /cvsroot/htoolkit/HSQL/configure.ac,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** configure.ac 14 Jan 2004 15:54:43 -0000 1.8
--- configure.ac 15 Jan 2004 23:11:25 -0000 1.9
***************
*** 289,295 ****
LDFLAGS="$LDFLAGS `$MYSQL_CONFIG --libs`"
- CPPFLAGS="$CPPFLAGS `$MYSQL_CONFIG --include`"
! AC_CHECK_HEADER(mysql/mysql.h,, AC_MSG_ERROR([mysql.h header not found]))
fi
--- 289,302 ----
LDFLAGS="$LDFLAGS `$MYSQL_CONFIG --libs`"
! for mysql_opt in `$MYSQL_CONFIG --cflags`
! do
! case $mysql_opt in
! -I*)
! CPPFLAGS="$CPPFLAGS ${mysql_opt}";;
! esac
! done
!
! AC_CHECK_HEADER(mysql.h,, AC_MSG_ERROR([mysql.h header not found]))
fi
|