Skip to content
Snippets Groups Projects
Commit 2d4eedfc authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

${foo:+bar} does not work with stupid sh (ultrix)

Rev: src/modules/Odbc/configure.in:1.3
parent 1dcea91f
Branches
Tags
No related merge requests found
# #
# $Id: configure.in,v 1.2 1997/03/22 23:04:20 grubba Exp $ # $Id: configure.in,v 1.3 1997/04/22 10:29:39 hubbe Exp $
# #
# Configure script for the odbc-module # Configure script for the odbc-module
# #
...@@ -23,7 +23,17 @@ if test x$with_odbc = xyes; then ...@@ -23,7 +23,17 @@ if test x$with_odbc = xyes; then
AC_MSG_CHECKING(Checking for ODBC library-directory) AC_MSG_CHECKING(Checking for ODBC library-directory)
AC_CACHE_VAL(pike_cv_odbc_lib_dir, [ AC_CACHE_VAL(pike_cv_odbc_lib_dir, [
for pike_cv_odbc_lib_dir in ${INFORMIXDIR:+$INFORMIXDIR/cli/dlls} /opt/ISLIodbc/*/lib /usr/opt/ISLIodbc/*/lib /usr/local/lib /usr/local/odbc/lib /usr/local/lib/odbc /usr/odbc/lib /usr/lib/odbc /usr/lib /lib/odbc /lib no; do
# ${INFORMIXDIR:+$INFORMIXDIR/cli/dlls} does not work with stupid sh
# /Hubbe
if test "x$INFORMIXDIR" = "x" ; then
foodir=''
else
foodir=$INFORMIXDIR/cli/dlls
fi
for pike_cv_odbc_lib_dir in $foodir /opt/ISLIodbc/*/lib /usr/opt/ISLIodbc/*/lib /usr/local/lib /usr/local/odbc/lib /usr/local/lib/odbc /usr/odbc/lib /usr/lib/odbc /usr/lib /lib/odbc /lib no; do
if test -d $pike_cv_odbc_lib_dir/.; then if test -d $pike_cv_odbc_lib_dir/.; then
if ls $pike_cv_odbc_lib_dir/*odbc* >/dev/null 2>&1 ; then if ls $pike_cv_odbc_lib_dir/*odbc* >/dev/null 2>&1 ; then
break break
...@@ -46,7 +56,13 @@ if test x$with_odbc = xyes; then ...@@ -46,7 +56,13 @@ if test x$with_odbc = xyes; then
AC_MSG_CHECKING(Checking for the ODBC include-directory) AC_MSG_CHECKING(Checking for the ODBC include-directory)
AC_CACHE_VAL(pike_cv_odbc_include_dir, [ AC_CACHE_VAL(pike_cv_odbc_include_dir, [
for pike_cv_odbc_include_dir in ${INFORMIXDIR:+$INFORMIXDIR/cli/include} /opt/ISLIodbc/*/include /usr/local/include /usr/local/odbc/include /usr/local/include/odbc /usr/odbc/include /usr/include/odbc /usr/include /include/odbc /include no; do if test "x$INFORMIXDIR" = "x" ; then
foodir=''
else
foodir=$INFORMIXDIR/cli/include
fi
for pike_cv_odbc_include_dir in $foodir /opt/ISLIodbc/*/include /usr/local/include /usr/local/odbc/include /usr/local/include/odbc /usr/odbc/include /usr/include/odbc /usr/include /include/odbc /include no; do
if test -d $pike_cv_odbc_include_dir/.; then if test -d $pike_cv_odbc_include_dir/.; then
if ls $pike_cv_odbc_include_dir/qeodbc.h >/dev/null 2>&1; then if ls $pike_cv_odbc_include_dir/qeodbc.h >/dev/null 2>&1; then
break break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment