Thread View: gnu.utils.bug
1 messages
1 total messages
Started by James Clark
Sun, 02 Aug 1992 10:41
autoconf 1.0 - AC_PREFIX
Author: James Clark
Date: Sun, 02 Aug 1992 10:41
Date: Sun, 02 Aug 1992 10:41
35 lines
1495 bytes
1495 bytes
If configure.in uses AC_PREFIX(gcc) and the user specifies an explicit
prefix using the -prefix option, then configure will say that it's
checking for gcc to derive installation directory prefix
even though it's not.
Here's a fix:
*** acgeneral.m4.~1~ Mon Jul 20 06:09:47 1992
--- acgeneral.m4 Sun Aug 2 11:31:01 1992
***************
*** 182,190 ****
dnl Example: if the argument is `gcc' and we find /usr/local/gnu/bin/gcc,
dnl set `prefix' to /usr/local/gnu.
define(AC_PREFIX,
! [echo checking for $1 to derive installation directory prefix
! if test -z "$prefix"
then
saveifs="$IFS"; IFS="$IFS:"
for dir in $PATH; do
test -z "$dir" && dir=.
--- 182,190 ----
dnl Example: if the argument is `gcc' and we find /usr/local/gnu/bin/gcc,
dnl set `prefix' to /usr/local/gnu.
define(AC_PREFIX,
! [if test -z "$prefix"
then
+ echo checking for $1 to derive installation directory prefix
saveifs="$IFS"; IFS="$IFS:"
for dir in $PATH; do
test -z "$dir" && dir=.
James Clark
jjc@jclark.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads