Commit 94cdf28f authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use the following macros in preparation for GNU win32 support.

AC_CYGWIN AC_MINGW32 AC_EXEEXT AC_OBJEXT
parent 8981a52e
This diff is collapsed.
...@@ -235,6 +235,9 @@ AC_PROG_INSTALL ...@@ -235,6 +235,9 @@ AC_PROG_INSTALL
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
dnl AC_PROG_MAKE_SET dnl AC_PROG_MAKE_SET
AC_PROG_AWK
AC_PROG_LN_S
AC_PATH_PROG(SENDMAIL, sendmail, /usr/lib/sendmail, AC_PATH_PROG(SENDMAIL, sendmail, /usr/lib/sendmail,
$PATH:/usr/libexec:/usr/lib:/usr/sbin:/usr/etc:/etc) $PATH:/usr/libexec:/usr/lib:/usr/sbin:/usr/etc:/etc)
AC_PATH_PROG(EDITOR, vi, /usr/ucb/vi, $PATH:/usr/ucb) AC_PATH_PROG(EDITOR, vi, /usr/ucb/vi, $PATH:/usr/ucb)
...@@ -251,7 +254,7 @@ if test $ol_enable_perl = yes ; then ...@@ -251,7 +254,7 @@ if test $ol_enable_perl = yes ; then
SLAPD_PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e perl_inc`" SLAPD_PERL_CPPFLAGS="`$PERLBIN -MExtUtils::Embed -e perl_inc`"
fi fi
dnl Checks the compiler and UNIX Variants AC_PROG_CPP
if test $cross_compiling = yes -a $ol_enable_x_compile = yes; then if test $cross_compiling = yes -a $ol_enable_x_compile = yes; then
AC_MSG_WARN([cross compiling.... some functionality will be removed.]) AC_MSG_WARN([cross compiling.... some functionality will be removed.])
...@@ -265,12 +268,17 @@ elif test $cross_compiling = yes -a $ol_enable_x_compile = no; then ...@@ -265,12 +268,17 @@ elif test $cross_compiling = yes -a $ol_enable_x_compile = no; then
AC_MSG_ERROR([ if cross compiling, add --enable-x-compile.]) AC_MSG_ERROR([ if cross compiling, add --enable-x-compile.])
fi fi
AC_PROG_CPP dnl Checks for UNIX Variants
AC_AIX AC_AIX
AC_ISC_POSIX AC_ISC_POSIX
AC_MINIX AC_MINIX
dnl Checks for system services
AC_CYGWIN
AC_MINGW32
AC_EXEEXT
AC_OBJEXT
dnl OpenLDAP requires STDC features dnl OpenLDAP requires STDC features
AM_PROG_CC_STDC AM_PROG_CC_STDC
if test "X${am_cv_prog_cc_stdc}" = "Xno" ; then if test "X${am_cv_prog_cc_stdc}" = "Xno" ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment