|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-07-19 08:51 UTC] kalle@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: ab
[2017-07-19 08:51 UTC] kalle@php.net
[2017-07-19 09:50 UTC] ab@php.net
-Status: Assigned
+Status: Feedback
[2017-07-19 09:50 UTC] ab@php.net
[2017-07-30 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 13:00:01 2025 UTC |
Description: ------------ configure script current defines different variable to identify host OS(AIX, HPUX, LINUX etc) inside the code for checking "Birdstep" as mentioned below in configure of 7.2 alpha. 54873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Birdstep support" >&5 54874 $as_echo_n "checking for Birdstep support... " >&6; } 54875 if test "$PHP_BIRDSTEP" != "no"; then 54876 if test "$PHP_BIRDSTEP" = "yes"; then 54877 ODBC_INCDIR=/usr/local/birdstep/include 54878 ODBC_LIBDIR=/usr/local/birdstep/lib 54879 else 54880 ODBC_INCDIR=$PHP_BIRDSTEP/include 54881 ODBC_LIBDIR=$PHP_BIRDSTEP/$PHP_LIBDIR 54882 fi 54883 54884 case $host_alias in 54885 *aix*) 54886 54887 $as_echo "#define AIX 1" >>confdefs.h 54888 ;; 54889 *hpux*) 54890 54891 $as_echo "#define HPUX 1" >>confdefs.h 54892 ;; 54893 *linux*) 54894 54895 $as_echo "#define LINUX 1" >>confdefs.h 54896 ;; 54897 *qnx*) 54898 54899 $as_echo "#define NEUTRINO 1" >>confdefs.h 54900 ;; 54901 i?86-*-solaris*) 54902 54903 $as_echo "#define ISOLARIS 1" >>confdefs.h 54904 ;; 54905 sparc-*-solaris*) 54906 54907 $as_echo "#define SOLARIS 1" >>confdefs.h 54908 ;; 54909 *unixware*) 54910 54911 $as_echo "#define UNIXWARE 1" >>confdefs.h 54912 ;; 54913 esac 54914 54915 ODBC_INCLUDE=-I$ODBC_INCDIR 54916 ODBC_TYPE=birdstep 54917 ODBC_LFLAGS=-L$ODBC_LIBDIR 54918 ODBC_LIBS="-lCadm -lCdict -lCenc -lCrdm -lCrpc -lCrdbc -lCrm -lCuapi -lutil" 54919 54920 if test -f "$ODBC_LIBDIR/libCrdbc32.$SHLIB_SUFFIX_NAME"; then 54921 ODBC_LIBS="-lCrdbc32 -lCadm32 -lCncp32 -lCrm32 -lCsql32 -lCdict32 -lCrdm32 -lCrpc32 -lutil" 54922 elif test -f "$ODBC_LIBDIR/libCrdbc.$SHLIB_SUFFIX_NAME"; then 54923 ODBC_LIBS="-lCrdbc -lCadm -lCncp -lCrm -lCsql -lCdict -lCrdm -lCrpc -lutil" 54924 fi can we move that outside above block so that those settings can be made always and we can use those macros to write platform specific code.