From: Ken Raeburn Date: Wed, 24 May 2006 10:29:25 +0000 (+0000) Subject: Don't output krb5_config_prefix commands into config.status; do the substitutions X-Git-Tag: krb5-1.5-alpha1~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3833a42bb28559ac1d6f0c9b0af7a95bffd4fd6;p=krb5.git Don't output krb5_config_prefix commands into config.status; do the substitutions in the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18035 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 20f215424..5a080f8c3 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -31,8 +31,6 @@ if test ! -r "$srcdir/K5_TOPDIR/aclocal.m4"; then fi ac_topdir=$srcdir/$ac_reltopdir ac_config_fragdir=$ac_reltopdir/config -krb5_pre_in=$ac_config_fragdir/pre.in -krb5_post_in=$ac_config_fragdir/post.in # echo "Looking for $srcdir/$ac_config_fragdir" if test -d "$srcdir/$ac_config_fragdir"; then AC_CONFIG_AUX_DIR(K5_TOPDIR/config) @@ -692,7 +690,7 @@ dnl Note: Be careful in quoting. dnl The ac_foreach generates the list of fragments to include dnl or "" if $2 is empty AC_DEFUN(_K5_GEN_MAKEFILE,[dnl -AC_CONFIG_FILES([$1/Makefile:$krb5_pre_in:$1/Makefile.in:$krb5_post_in]) +AC_CONFIG_FILES([$1/Makefile:$srcdir/]K5_TOPDIR[/config/pre.in:$1/Makefile.in:$srcdir/]K5_TOPDIR[/config/post.in]) ]) dnl dnl K5_GEN_FILE( ) @@ -701,13 +699,8 @@ AC_DEFUN(K5_GEN_FILE,[AC_CONFIG_FILES($1)])dnl dnl dnl K5_AC_OUTPUT dnl Note: Adds the variables to config.status for individual -dnl Makefile generation from config.statsu -AC_DEFUN(K5_AC_OUTPUT,[dnl -AC_CONFIG_COMMANDS([krb5_config_prefix], [], dnl - [krb5_pre_in=$krb5_pre_in - ac_config_fragdir=$ac_config_fragdir - krb5_post_in=$krb5_post_in]) -AC_OUTPUT])dnl +dnl Makefile generation from config.status +AC_DEFUN(K5_AC_OUTPUT,[AC_OUTPUT])dnl dnl dnl V5_AC_OUTPUT_MAKEFILE dnl @@ -717,7 +710,7 @@ dnl define(_V5_AC_OUTPUT_MAKEFILE, [ifelse($2, , ,AC_CONFIG_FILES($2)) AC_FOREACH([DIR], [$1],dnl - [AC_CONFIG_FILES(DIR[/Makefile:$krb5_pre_in:]DIR[/Makefile.in:$krb5_post_in])]) + [AC_CONFIG_FILES(DIR[/Makefile:$srcdir/]K5_TOPDIR[/config/pre.in:]DIR[/Makefile.in:$srcdir/]K5_TOPDIR[/config/post.in])]) K5_AC_OUTPUT])dnl dnl dnl