cvs: php4 / configure.in
[email protected] ("Sascha Schumann")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <cvssas959189476@cvsserver> |
sas Wed May 24 19:31:16 2000 EDT
Modified files:
/php4 configure.in
Log:
Add -traditional-cpp for Rhapsody and -D_BSD_TIMEOFDAY_FLAVOR for DG/UX.
Also fix the search path for sendmail.
Index: php4/configure.in
diff -u php4/configure.in:1.135 php4/configure.in:1.136
--- php4/configure.in:1.135 Wed May 24 13:06:57 2000
+++ php4/configure.in Wed May 24 19:31:16 2000
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.135 2000/05/24 11:06:57 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.136 2000/05/24 17:31:16 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -90,6 +90,13 @@
AC_PROG_CC
AC_AIX
+case "$host_alias" in
+*dgux*)
+ CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR";;
+*rhapsody*)
+ CPPFLAGS="$CPPFLAGS -traditional-cpp";;
+esac
+
AM_PROG_CC_STDC
AC_PROG_RANLIB
@@ -167,8 +174,7 @@
fi
fi
-dnl AC_PROG_INSTALL
-AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, $PATH /usr/bin /usr/sbin /usr/etc /etc /usr/ucblib)
+AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib)
if test -n "$PROG_SENDMAIL"; then
AC_DEFINE(HAVE_SENDMAIL)
fi