Skip to content
Snippets Groups Projects
Commit 6fa22814 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now searches for ar.

Added substitution to be able to rebuild dynamic_module_makefile

Rev: src/configure.in:1.136
parent 1909945e
Branches
Tags
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.135 1997/11/03 22:38:25 grubba Exp $") AC_REVISION("$Id: configure.in,v 1.136 1997/11/04 22:45:14 grubba Exp $")
AC_INIT(interpret.c) AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h) AC_CONFIG_HEADER(machine.h)
...@@ -307,7 +307,7 @@ fi ...@@ -307,7 +307,7 @@ fi
echo Searching for include-file directories... echo Searching for include-file directories...
if test $cppflags_is_set = no -a x${C_INCLUDE_PATH-} = x ; then if test $cppflags_is_set = no -a x${C_INCLUDE_PATH-} = x ; then
for d in /usr/local /usr/gnu /opt/gnu /sw/gnu /sw /usr/freeware for d in /usr/local /sw/local /usr/gnu /opt/gnu /sw/gnu /sw /usr/freeware
do do
AC_MSG_CHECKING($d/include) AC_MSG_CHECKING($d/include)
if test -d "$d/include/." ; then if test -d "$d/include/." ; then
...@@ -323,19 +323,33 @@ fi ...@@ -323,19 +323,33 @@ fi
echo Searching for library directories... echo Searching for library directories...
if test $ldflags_is_set = no ; then if test $ldflags_is_set = no ; then
for d in /usr/local /usr/gnu /opt/gnu /sw/gnu /sw /usr/freeware for d in /usr/local /sw/local /usr/gnu /opt/gnu /sw/gnu /sw /usr/freeware
do do
AC_MSG_CHECKING($d/lib)
if test -d "$d/lib/." ; then if test -d "$d/lib/." ; then
echo Adding $d/lib to the library-path AC_MSG_RESULT(added)
LDFLAGS="${LDFLAGS} -R$d/lib -L$d/lib" LDFLAGS="${LDFLAGS} -R$d/lib -L$d/lib"
else else
: AC_MSG_RESULT(no)
fi fi
done done
else else
: :
fi fi
echo Searching for binary directories...
for d in "" /bin /usr/ccs /usr/local /sw/local /usr/gnu /opt/gnu /sw/gnu /sw /usr/freeware
do
AC_MSG_CHECKING($d/bin)
if test -d "$d/bin/." ; then
AC_MSG_RESULT(added)
EXTRA_PATH="${EXTRA_PATH}:$d/bin"
else
AC_MSG_RESULT(no)
fi
done
export EXTRA_PATH
############################################################################# #############################################################################
## At this point we have at last initialized the compiler! ## At this point we have at last initialized the compiler!
...@@ -380,6 +394,10 @@ AC_PROG_CPP ...@@ -380,6 +394,10 @@ AC_PROG_CPP
AC_PROG_RANLIB AC_PROG_RANLIB
AC_SET_MAKE AC_SET_MAKE
AC_PATH_PROG(AR, ar, ar, $PATH:$EXTRA_PATH)
export AR
AC_SUBST(AR)
############################################################################# #############################################################################
# installbsd seems to be broken on some versions of AIX # installbsd seems to be broken on some versions of AIX
...@@ -1783,6 +1801,8 @@ else ...@@ -1783,6 +1801,8 @@ else
dmmsrc="modules/static_module_makefile.in" dmmsrc="modules/static_module_makefile.in"
fi fi
AC_SUBST(dmmsrc)
AC_OUTPUT(Makefile modules/static_module_makefile modules/dynamic_module_makefile:$dmmsrc,[echo foo >stamp-h]) AC_OUTPUT(Makefile modules/static_module_makefile modules/dynamic_module_makefile:$dmmsrc,[echo foo >stamp-h])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment