Req #74937 [NEW]: configure script does check for host_alias at wrong location

From: Date: Mon, 17 Jul 2017 10:15:47 +0000
Subject: Req #74937 [NEW]: configure script does check for host_alias at wrong location
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210084@lists.php.net to get a copy of this message
From: venkatunix02 at gmail dot com Operating system: any PHP version: Irrelevant Package: *Configuration Issues Bug Type: Feature/Change Request Bug description:configure script does check for host_alias at wrong location 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. -- Edit bug report at https://bugs.php.net/bug.php?id=74937&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74937&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74937&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74937&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74937&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74937&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74937&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74937&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74937&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74937&r=support Expected behavior: https://bugs.php.net/fix.php?id=74937&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74937&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74937&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74937&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74937&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74937&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74937&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74937&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74937&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74937&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74937&r=mysqlcfg

« previous php.bugs (#210084) next »