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

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: 
                      9: AC_ARG_WITH(mysql_inc,[  --with-mysql_inc[=DIR]      DIR is the MySQL includes directory],,
                     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
                     28: 
                     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 \
                     50: string.h
                     51: )
                     52: 
                     53: dnl Checks for typedefs, structures, and compiler characteristics.
                     54: 
                     55: AC_TYPE_SIZE_T
                     56: 
                     57: dnl Checks for library functions.
                     58: 
                     59: dnl Output makefiles
                     60: 
                     61: AC_OUTPUT(libltdl/Makefile Makefile)

E-mail: