Commit 09189d4d authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Patched configure.in to allow AC_SUBSTR(SYSCONFDIR) in headers (for ldapclient.h)

parent 16f9f923
This diff is collapsed.
......@@ -13,6 +13,7 @@ AC_CONFIG_HEADER(include/portable.h)dnl
dnl
dnl Start Args
AC_MSG_CHECKING(arguments)
AC_PREFIX_DEFAULT(/usr/local)
dnl general options
CF_ARG_OPTION(debug,[ --enable-debug enable debugging (yes)],[
......@@ -270,6 +271,13 @@ AC_CHECK_FUNCS( \
# Check Configuration
CF_SYS_ERRLIST
dnl need do this early
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
SYSCONFDIR=`eval echo $sysconfdir`
AC_SUBST(SYSCONFDIR)
AC_OUTPUT( \
include/ldapconfig.h \
include/Makefile:etc/top.mk:include/Makefile.in \
......
......@@ -145,7 +145,7 @@ Please try again later.\r\n"
#define RCPT500_FROM "\"X.500 Query Program\" <X500-Query>"
/* command that will accept an RFC822 message text on standard
input, and send it. sendmail -t does this nicely. */
#define RCPT500_PIPEMAILCMD "/usr/lib/sendmail -t"
#define RCPT500_PIPEMAILCMD "@SENDMAIL@ -t"
/* where to search */
#define RCPT500_BASE DEFAULT_BASE
/* attribute to use when sorting results */
......
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