pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2006-08-10
2006-08-10 14:42:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e12c2232911a30d3d0d9fa67514fb78ad33f01ee (
16
lines) (+
9
/-
7
)
[
Show
|
Annotate
]
Branch:
7.9
Some bugfixes in the default library path setup.
Rev: src/configure.in:1.999
1:
-
AC_REVISION("$Id: configure.in,v 1.
998
2006/08/10
10
:
46
:
56
grubba Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
999
2006/08/10
14
:
42
:
36
grubba Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
2295:
# MinGW system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
998
2006/08/10
10
:
46
:
56
grubba Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
999
2006/08/10
14
:
42
:
36
grubba Exp $.
# MinGW-version. Do NOT edit. posix_name="`cat`" posix_prefix="/"
2333:
# Native POSIX system. cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
998
2006/08/10
10
:
46
:
56
grubba Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
999
2006/08/10
14
:
42
:
36
grubba Exp $.
# POSIX-version. Do NOT edit. cat EOF
2342:
# rntcl-style cat <<\EOF #!/bin/sh
-
# Automatically generated by $Id: configure.in,v 1.
998
2006/08/10
10
:
46
:
56
grubba Exp $.
+
# Automatically generated by $Id: configure.in,v 1.
999
2006/08/10
14
:
42
:
36
grubba Exp $.
# RNTCL-version. Do NOT edit. sed -e "$PIKE_PATH_TRANSLATE" EOF
2376:
PIKE_INIT_REAL_DIRS
-
if test "x$with_lib_path" = "x"; then
:; else
+
if test "x$with_lib_path" = "x"; then
if test "x$with_dynamic_modules" = "xno"; then :; else if test "x$GCC" = "xno"; then :; else # Extract the default library paths from gcc, # so that we can pass them along to ld later on.
-
for dd in `$CC -print-search-dirs | sed -e '/^libraries:/s/^[[^=]]*=//p' -ed | sed -e 's/:/ /g'` /lib; do
+
for dd in `$CC -print-search-dirs
2>/dev/null
| sed -e '/^libraries:/s/^[[^=]]*=//p' -ed | sed -e 's/:/ /g'` /lib; do
if test -d "$dd"; then :; else continue; fi if test "$dd" = "/lib"; then continue; fi if test "$dd" = "/usr/lib"; then continue; fi
2389:
d="$dd$suff" PIKE_CHECK_ABI_DIR($d, [ # NOTE: Don't add these to the run path.
-
AC_MSG_CHECKING([
do
we need to add
$real
_dir to LDFLAGS])
+
AC_MSG_CHECKING([
if
we need to add
-L$real
_dir to LDFLAGS])
case " $LDFLAGS " in *\ -L$d\ *) AC_MSG_RESULT([no - already added])
2407:
done fi fi
+
else
for dd in `echo $with_lib_path | sed -e 's/:/ /g'`; do if test "$dd" = "/lib"; then continue; fi if test "$dd" = "/usr/lib"; then continue; fi