comparison configure @ 1464:969b90b1f2f9

Configuration detects proper header files for database dev libraries
author Adam Chlipala <adam@chlipala.net>
date Sun, 29 May 2011 13:31:53 -0400
parents 156b8e8c25d8
children 3d0cc841cafd
comparison
equal deleted inserted replaced
1463:607657eb2865 1464:969b90b1f2f9
610 610
611 ac_subst_vars='am__EXEEXT_FALSE 611 ac_subst_vars='am__EXEEXT_FALSE
612 am__EXEEXT_TRUE 612 am__EXEEXT_TRUE
613 LTLIBOBJS 613 LTLIBOBJS
614 LIBOBJS 614 LIBOBJS
615 SQHEADER
616 MSHEADER
617 PGHEADER
615 GCCARGS 618 GCCARGS
616 SITELISP 619 SITELISP
617 INCLUDE 620 INCLUDE
618 LIB 621 LIB
619 BIN 622 BIN
12128 USE_EMACS_TRUE='#' 12131 USE_EMACS_TRUE='#'
12129 USE_EMACS_FALSE= 12132 USE_EMACS_FALSE=
12130 fi 12133 fi
12131 12134
12132 12135
12136 if test -z $PGHEADER; then
12137 for ac_header in postgresql/libpq-fe.h
12138 do :
12139 ac_fn_c_check_header_mongrel "$LINENO" "postgresql/libpq-fe.h" "ac_cv_header_postgresql_libpq_fe_h" "$ac_includes_default"
12140 if test "x$ac_cv_header_postgresql_libpq_fe_h" = xyes; then :
12141 cat >>confdefs.h <<_ACEOF
12142 #define HAVE_POSTGRESQL_LIBPQ_FE_H 1
12143 _ACEOF
12144 PGHEADER=postgresql/libpq-fe.h
12145 fi
12146
12147 done
12148
12149 fi
12150
12151 if test -z $PGHEADER; then
12152 PGHEADER=libpq-fe.h
12153 fi
12154
12155 if test -z $MSHEADER; then
12156 for ac_header in mysql/mysql.h
12157 do :
12158 ac_fn_c_check_header_mongrel "$LINENO" "mysql/mysql.h" "ac_cv_header_mysql_mysql_h" "$ac_includes_default"
12159 if test "x$ac_cv_header_mysql_mysql_h" = xyes; then :
12160 cat >>confdefs.h <<_ACEOF
12161 #define HAVE_MYSQL_MYSQL_H 1
12162 _ACEOF
12163 MSHEADER=mysql/mysql.h
12164 fi
12165
12166 done
12167
12168 fi
12169
12170 if test -z $MSHEADER; then
12171 MSHEADER=mysql.h
12172 fi
12173
12174 if test -z $SQHEADER; then
12175 SQHEADER=sqlite3.h
12176 fi
12177
12178
12179
12180
12133 12181
12134 12182
12135 12183
12136 12184
12137 12185
14521 bin directory: BIN $BIN 14569 bin directory: BIN $BIN
14522 lib directory: LIB $LIB 14570 lib directory: LIB $LIB
14523 include directory: INCLUDE $INCLUDE 14571 include directory: INCLUDE $INCLUDE
14524 site-lisp directory: SITELISP $SITELISP 14572 site-lisp directory: SITELISP $SITELISP
14525 Extra GCC args: GCCARGS $GCCARGS 14573 Extra GCC args: GCCARGS $GCCARGS
14574 Postgres C header: PGHEADER $PGHEADER
14575 MySQL C header: MSHEADER $MSHEADER
14576 SQLite C header: SQHEADER $SQHEADER
14526 EOF 14577 EOF