Annotation of sql/mysql/configure.in, revision 1.6

1.1       parser      1: dnl Process this file with autoconf to produce a configure script.
                      2: AC_INIT(parser3mysql.C)
                      3: AM_INIT_AUTOMAKE(parser3mysqlclient, 3.0g, nodefine)
                      4: 
                      5: AM_CONFIG_HEADER(config_auto.h)
                      6: 
                      7: dnl Arguments
                      8: 
1.3       paf         9: AC_ARG_WITH(mysql-inc,[  --with-mysql-inc[=DIR]      DIR is the MySQL includes directory],,
1.1       parser     10:        withval="/usr/include/mysql"
                     11: )
1.2       parser     12: 
1.1       parser     13: MYSQL_INC=$withval
                     14: AC_SUBST(MYSQL_INC)
1.2       parser     15: 
                     16: if test \! -f "$MYSQL_INC/mysql.h"; then
                     17:        AC_MSG_ERROR($MYSQL_INC does not seem to be valid MySQL includes directory)
                     18: fi
1.1       parser     19: 
                     20: 
                     21: dnl Checks for programs.
                     22: AC_PROG_INSTALL
                     23: AC_PROG_MAKE_SET
                     24: AC_PROG_AWK
                     25: 
                     26: AC_LANG_CPLUSPLUS 
                     27: AC_PROG_CXX
1.3       paf        28: 
1.1       parser     29: dnl Enable building of the convenience library
                     30: dnl and set LIBLTDL accordingly
                     31: AC_LIBLTDL_CONVENIENCE
                     32: dnl Substitute INCLTDL and LIBLTDL in the Makefiles
                     33: AC_SUBST(INCLTDL)
                     34: AC_SUBST(LIBLTDL)
                     35: AC_SUBST(LIBADD_DL)
                     36: dnl Check for dlopen support
                     37: AC_LIBTOOL_DLOPEN
                     38: dnl Configure libtool
                     39: AM_PROG_LIBTOOL
                     40: dnl Configure libltdl
                     41: AC_CONFIG_SUBDIRS(libltdl)
                     42: 
                     43: dnl Checks for libraries.
                     44: 
                     45: dnl Checks for header files.
                     46: 
                     47: AC_CHECK_HEADERS(
                     48: stdio.h \
                     49: stdlib.h \
1.5       paf        50: string.h \
                     51: setjmp.h
1.1       parser     52: )
                     53: 
                     54: dnl Checks for typedefs, structures, and compiler characteristics.
                     55: 
                     56: AC_TYPE_SIZE_T
                     57: 
                     58: dnl Checks for library functions.
                     59: 
                     60: dnl Output makefiles
                     61: 
                     62: AC_OUTPUT(libltdl/Makefile Makefile)

E-mail: