From eaae6c2543e43a9c46d823c9bd11e267507469ff Mon Sep 17 00:00:00 2001 From: Noriko Hosoi Date: Fri, 10 Nov 2006 23:59:16 +0000 Subject: Resolves: #214533 Summary: configure needs to support --with-fhs (Comment #1) Changes: 1. introduced a new option --with-fhs 2. instead of passing the define macro with -D, generate config.h --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index aedf2ff5..f7e1f52f 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,8 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT([fedora-ds], [1.1], [http://bugzilla.redhat.com/]) +# AC_CONFIG_HEADER must be called right after AC_INIT. +AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.9 foreign subdir-objects]) AM_MAINTAINER_MODE AC_CANONICAL_HOST @@ -94,6 +96,7 @@ m4_include(m4/sasl.m4) m4_include(m4/svrcore.m4) m4_include(m4/icu.m4) m4_include(m4/netsnmp.m4) +m4_include(m4/fhs.m4) # write out paths for binary components AC_SUBST(nspr_inc) @@ -152,6 +155,9 @@ AC_SUBST(scripttemplatedir) # cygnus, mingw, or the like and using cmd.exe as the shell AM_CONDITIONAL([WINNT], false) +AC_DEFINE([LDAP_DEBUG], [1], [LDAP debug flag]) +AC_DEFINE([LDAP_DONT_USE_SMARTHEAP], [1], [Don't use smartheap]) + AC_CONFIG_FILES([Makefile]) AC_OUTPUT -- cgit