nmh-workers
[Top] [All Lists]

[Nmh-workers] [patch] small fix for configure.in

2010-11-10 12:05:20
Hoi,

the attached patch fixes the expansion of the mandir variable. This
fixes the display of the configuration at the end of the configure
run.

As far as I see, the actual build had not been influenced by this.

I don't know autoconf much, so I don't know if there exists a better
solution which removes all these evals.


meillo
diff -r 7e963436013a configure.in
--- a/configure.in      Fri Nov 05 10:56:54 2010 -0300
+++ b/configure.in      Wed Nov 10 14:50:18 2010 -0300
@@ -1058,10 +1058,12 @@
 AC_OUTPUT
 
 dnl Umm, what's the point of these assignments??  -- 
<dan-nmh(_at_)dilvish(_dot_)speed(_dot_)net>
+dnl They ensure that included variables are expanded.
+dnl This is at least important for the following listing. //meillo
 eval "nmhbin=${bindir}";         eval "nmhbin2=${nmhbin}"
 eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf2=${nmhsysconf}"
 eval "nmhlib=${libdir}";         eval "nmhlib2=${nmhlib}"
-eval "nmhman=${mandir}"
+eval "nmhman=${mandir}";         eval "nmhman2=${nmhman}"
 
 pop_kinds=no
 if test x"$enable_pop" = x"yes"; then
@@ -1091,7 +1093,7 @@
 binary install path        : ${nmhbin2}
 libary install path        : ${nmhlib2}
 config files install path  : ${nmhsysconf2}
-man page install path      : ${nmhman}
+man page install path      : ${nmhman2}
 backup prefix              : ${backup_prefix}
 transport system           : ${MTS}
 file locking type          : ${LOCKTYPE}
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>