You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by ka...@apache.org on 2004/12/02 11:17:45 UTC
cvs commit: tcl-rivet configure.ac
karl 2004/12/02 02:17:45
Modified: . configure.ac
Log:
Substitute more apxs-derived variables. Prettify the output of the configure
script.
Revision Changes Path
1.6 +16 -3 tcl-rivet/configure.ac
Index: configure.ac
===================================================================
RCS file: /home/cvs/tcl-rivet/configure.ac,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- configure.ac 2 Dec 2004 09:01:46 -0000 1.5
+++ configure.ac 2 Dec 2004 10:17:45 -0000 1.6
@@ -197,7 +197,8 @@
with_apxs=${APXS}
fi
else
- AC_MSG_RESULT([Using ${with_apxs} for apxs as specified by --with-apxs])
+ AC_MSG_CHECKING([for apxs])
+ AC_MSG_RESULT([--with-apxs=${with_apxs}])
fi
if test -x "${with_apxs}" ; then
dnl It actually calls another script, so the PATH needs to be set.
@@ -210,6 +211,17 @@
AC_SUBST(APXS_LIBS)
APXS_INCLUDES=-I`${with_apxs} -q INCLUDEDIR`
AC_SUBST(APXS_INCLUDES)
+ APXS_CPPFLAGS_SHLIB=`${with_apxs} -q CFLAGS_SHLIB`
+ AC_SUBST(APXS_CPPFLAGS_SHLIB)
+ APXS_LD_SHLIB=`${with_apxs} -q LD_SHLIB`
+ AC_SUBST(APXS_LD_SHLIB)
+ APXS_LIBEXECDIR=`${with_apxs} -q LIBEXECDIR`
+ AC_SUBST(APXS_LIBEXECDIR)
+ APXS_SYSCONFDIR=`${with_apxs} -q SYSCONFDIR`
+ AC_SUBST(APXS_SYSCONFDIR)
+ APXS_PREFIX=`${with_apxs} -q PREFIX`
+ AC_SUBST(APXS_PREFIX)
+
else
AC_MSG_ERROR([${with_apxs} is not an executable file])
fi
@@ -224,7 +236,8 @@
with_tclsh=${TCLSH}
fi
else
- AC_MSG_RESULT([Using ${with_tclsh} for tclsh as specified by --with-tclsh])
+ AC_MSG_CHECKING([for tclsh])
+ AC_MSG_RESULT([--with-tclsh=${with_tclsh}])
fi
if test -x "${with_tclsh}" ; then
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org