pike.git / src / modules / Odbc / configure.in

version» Context lines:

pike.git/src/modules/Odbc/configure.in:1:   #   # Configure script for the odbc-module   #   # Henrik Grubbström   #    - AC_INIT(odbc.c) + AC_INIT(odbc.cmod)   AC_CONFIG_HEADER(config.h)      AC_MODULE_INIT()      AC_PROG_CPP      OLD_LIBS=$LIBS   OLD_LDFLAGS=$LDFLAGS   OLD_CPPFLAGS=$CPPFLAGS   
pike.git/src/modules/Odbc/configure.in:62:       for bardir in $foodir $with_root/opt/*odbc/*/include \    $with_root/usr/opt/*odbc/*/include $with_root/opt/*odbc/include \    $with_root/usr/opt/*odbc/include $with_root/usr/local/include \    $with_root/usr/local/odbc/include $with_root/usr/local/include/odbc \    $with_root/usr/local/mysql/include \    $with_root/usr/local/mysql/include/mysql \    $with_root/usr/odbc/include $with_root/usr/include/odbc \    $with_root/usr/include $with_root/include/odbc $with_root/include; do    if test -d $bardir/.; then -  if ls $bardir/qeodbc.h >/dev/null 2>&1; then +  # Try some common ODBC-specific header files. +  for header in sqlext.h qeodbc.h isql.h; do +  if test -f "$bardir/$header"; then    pike_cv_odbc_include_dir="$bardir $pike_cv_odbc_include_dir" -  +  break;    else -  if ls $bardir/isql.h >/dev/null 2>&1; then -  pike_cv_odbc_include_dir="$bardir $pike_cv_odbc_include_dir" -  else +     :    fi -  +  done    fi -  else -  : -  fi +     done    ])       AC_MSG_RESULT($pike_cv_odbc_include_dir)       if test "x$pike_cv_odbc_include_dir" = x; then :; else    for bardir in $pike_cv_odbc_include_dir; do    echo Adding $bardir to the include search path.    CPPFLAGS="-I$bardir ${CPPFLAGS}"    done