From c39cea44f0596e7b5c9e86afc60e2456b3844d40 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Wed, 1 Nov 2000 03:33:55 +0000 Subject: [PATCH] Tue Oct 31 19:33:09 PST 2000 Michael Jennings Apparently AC_PREFIX() is too stupid to handle programs with hyphens in their names. SVN revision: 3800 --- ChangeLog | 6 ++++++ configure.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dab1702..ddf9376 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3932,3 +3932,9 @@ Mon Oct 30 07:45:16 PST 2000 Michael Jennings dependency on libast, which is now distributed separately. ------------------------------------------------------------------------------- +Tue Oct 31 19:33:09 PST 2000 Michael Jennings + + Apparently AC_PREFIX() is too stupid to handle programs with hyphens + in their names. + +------------------------------------------------------------------------------- diff --git a/configure.in b/configure.in index feba293..1d9c67f 100644 --- a/configure.in +++ b/configure.in @@ -414,7 +414,7 @@ if test "$FOUND_LIBAST" -eq "1"; then if test ! -z "$LIBAST_CONFIG"; then GRLIBS="-last $GRLIBS" AC_DEFINE(HAVE_LIBAST) - AC_PREFIX(libast-config) + test "$prefix" = "NONE" && prefix="`$LIBAST_CONFIG --prefix`" CPPFLAGS="$CPPFLAGS `$LIBAST_CONFIG --cppflags`" LDFLAGS="$LDFLAGS `$LIBAST_CONFIG --ldflags`" SUPPORT_FLAGS="`$LIBAST_CONFIG --support`"