From f9254d2349c7e2e3c110f7850e402d1c11624940 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 8 May 2000 14:19:47 +0000 Subject: Autoconf is *evil*. The sysconfdir and similar variables are unusable in C includes as they contain substitutions specific to make. Worked around by creating sysconf/paths.h which is created from the Makefile instead of by the configure script. --- configure.in | 5 ----- 1 file changed, 5 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b197c3d..cd7fa18 100644 --- a/configure.in +++ b/configure.in @@ -144,16 +144,11 @@ BIRD_CHECK_TIME_T BIRD_CHECK_STRUCT_IP_MREQN if test "$enable_debug" = yes ; then - AC_DEFINE(PATH_CONFIG_DIR, ".") - AC_DEFINE(PATH_CONTROL_SOCKET_DIR, ".") AC_DEFINE(DEBUGGING) AC_CHECK_LIB(dmalloc, dmalloc_debug) if test $ac_cv_lib_dmalloc_dmalloc_debug != yes ; then AC_CHECK_LIB(efence, malloc) fi -else - AC_DEFINE_UNQUOTED(PATH_CONFIG_DIR, "$sysconfdir") - AC_DEFINE_UNQUOTED(PATH_CONTROL_SOCKET_DIR, "$localstatedir") fi CLIENT= -- cgit v1.2.3