summaryrefslogtreecommitdiff
path: root/ext/odbc/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/odbc/config.m4')
-rw-r--r--ext/odbc/config.m422
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4
index ecee15fd1c..21fd94c8ec 100644
--- a/ext/odbc/config.m4
+++ b/ext/odbc/config.m4
@@ -12,28 +12,28 @@ dnl
dnl Figure out which library file to link with for the Solid support.
dnl
AC_DEFUN([PHP_ODBC_FIND_SOLID_LIBS],[
- AC_MSG_CHECKING([Solid library file])
+ AC_MSG_CHECKING([Solid library file])
ac_solid_uname_r=`uname -r 2>/dev/null`
ac_solid_uname_s=`uname -s 2>/dev/null`
case $ac_solid_uname_s in
AIX) ac_solid_os=a3x;; # a4x for AIX4/ Solid 2.3/3.0 only
HP-UX) ac_solid_os=h9x;; # h1x for hpux11, h0x for hpux10
IRIX) ac_solid_os=irx;; # Solid 2.3(?)/ 3.0 only
- Linux)
+ Linux)
if ldd -v /bin/sh | grep GLIBC > /dev/null; then
AC_DEFINE(SS_LINUX,1,[Needed in sqlunix.h ])
ac_solid_os=l2x
else
AC_DEFINE(SS_LINUX,1,[Needed in sqlunix.h ])
ac_solid_os=lux
- fi;;
- SunOS)
+ fi;;
+ SunOS)
ac_solid_os=ssx;; # should we deal with SunOS 4?
- FreeBSD)
+ FreeBSD)
if test `expr $ac_solid_uname_r : '\(.\)'` -gt "2"; then
AC_DEFINE(SS_FBX,1,[Needed in sqlunix.h for wchar defs ])
ac_solid_os=fex
- else
+ else
AC_DEFINE(SS_FBX,1,[Needed in sqlunix.h for wchar defs ])
ac_solid_os=fbx
fi;;
@@ -311,7 +311,7 @@ fi
if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(birdstep,,
[ --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]])
-
+
AC_MSG_CHECKING(for Birdstep support)
if test "$PHP_BIRDSTEP" != "no"; then
if test "$PHP_BIRDSTEP" = "yes"; then
@@ -321,7 +321,7 @@ PHP_ARG_WITH(birdstep,,
ODBC_INCDIR=$PHP_BIRDSTEP/include
ODBC_LIBDIR=$PHP_BIRDSTEP/$PHP_LIBDIR
fi
-
+
case $host_alias in
*aix*[)]
AC_DEFINE(AIX,1,[ ]);;
@@ -361,7 +361,7 @@ if test -z "$ODBC_TYPE"; then
PHP_ARG_WITH(custom-odbc,,
[ --with-custom-odbc[=DIR] Include user defined ODBC support. DIR is ODBC install base
directory [/usr/local]. Make sure to define CUSTOM_ODBC_LIBS and
- have some odbc.h in your include dirs. f.e. you should define
+ have some odbc.h in your include dirs. f.e. you should define
following for Sybase SQL Anywhere 5.5.00 on QNX, prior to
running this configure script:
CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\"
@@ -394,7 +394,7 @@ PHP_ARG_WITH(iodbc,,
if test "$PHP_IODBC" != "no"; then
if test -z "$PKG_CONFIG"; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
- fi
+ fi
if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libiodbc ; then
PHP_ADD_LIBRARY_WITH_PATH(iodbc, $PHP_IODBC/$PHP_LIBDIR)
ODBC_TYPE=iodbc
@@ -540,7 +540,7 @@ if test -n "$ODBC_TYPE"; then
AC_DEFINE(HAVE_SQLDATASOURCES,1,[ ])
fi
fi
-
+
AC_DEFINE(HAVE_UODBC,1,[ ])
PHP_SUBST(ODBC_SHARED_LIBADD)
PHP_SUBST(ODBC_INCDIR)