diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-30 08:01:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-30 08:01:15 +0000 |
commit | 628ea3c84a241ebe19535c899543ecfa278a8d22 (patch) | |
tree | 4f83c5a24019998b8eb7e1e8f9b68e4a54d35ebc | |
parent | 12c499603ed0c1fc940e2ee77534c42a8ff1d0f1 (diff) |
On Solaris, check whether "sed" is "/usr/bin/sed", and fail if it is, as
Solaris's "/usr/bin/sed" is inadequate to handle, in libtool, a list of
object files as large as the list in Ethereal.
svn path=/trunk/; revision=4626
-rw-r--r-- | configure.in | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 7f2f76735b..649c4d0732 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.146 2002/01/21 07:36:31 guy Exp $ +# $Id: configure.in,v 1.147 2002/01/30 08:01:15 guy Exp $ dnl dnl Process this file with autoconf 2.13 or later to produce a dnl configure script; 2.12 doesn't generate a "configure" script that @@ -151,8 +151,14 @@ DATAFILE_DIR=`( AC_DEFINE_UNQUOTED(DATAFILE_DIR,"$DATAFILE_DIR") AC_SUBST(DATAFILE_DIR) +# # If we're running Solaris, and LD_LIBRARY_PATH is defined, add it as a # link directory. +# +# Also, make sure that "sed" does *NOT* refer to "/usr/bin/sed", as +# "/usr/bin/sed" is inadequate to handle, in libtool, a list of +# object files as large as the list in Ethereal. +# case "$host_os" in solaris*) AC_MSG_CHECKING(for LD_LIBRARY_PATH, since you appear to be running Solaris) @@ -162,6 +168,13 @@ case "$host_os" in else AC_MSG_RESULT(no -- this may be a problem in a few seconds) fi + AC_MSG_CHECKING(whether /usr/bin/sed will be used) + if test `which sed` = /usr/bin/sed ; then + AC_MSG_RESULT(yes) + AC_MSG_ERROR(change your path to search /usr/xpg4/bin before /usr/bin) + else + AC_MSG_RESULT(no) + fi ;; esac |