Default to not build shared libraries.

CVS patchset: 2980
CVS date: 1999/04/11 22:15:26
This commit is contained in:
jbj 1999-04-11 22:15:26 +00:00
parent ba7f3e41e0
commit c5f831ad7e
5 changed files with 22 additions and 77 deletions

View File

@ -26,7 +26,7 @@ if [ "$1" = "--noconfigure" ]; then
fi fi
if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
./configure --disable-shared --prefix=/usr ./configure --prefix=/usr
else else
./configure --disable-shared "$@" ./configure "$@"
fi fi

View File

@ -152,72 +152,18 @@ AM_C_PROTOTYPES
AC_PROG_AWK AC_PROG_AWK
AC_PROG_LN_S AC_PROG_LN_S
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AM_DISABLE_SHARED
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
AC_CHECK_TOOL(AR, ar, :) AC_CHECK_TOOL(AR, ar, :)
if test "$cross_compiling" != "yes"; then if test "$cross_compiling" != "yes"; then
MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/opt/gnu/bin" MYPATH="/bin:/usr/bin:/usr/local/bin:$PATH:/opt/gnu/bin"
AC_MSG_CHECKING(for gzip location)
if test -z "$GZIPBIN"; then
oldifs="$IFS"
IFS=:
for n in $MYPATH; do
if test -f $n/gzip; then
GZIPBIN="$n/gzip";
break
fi
done
IFS="$oldifs"
fi
if test -z "$GZIPBIN"; then AC_PATH_PROG(GZIPBIN, gzip, /bin/gzip, $MYPATH)
GZIPBIN="/bin/gzip" AC_PATH_PROG(BZIP2BIN, bzip2, /usr/bin/bzip2, $MYPATH)
AC_MSG_RESULT(no) AC_PATH_PROG(PGPBIN, pgp, /usr/bin/pgp, $MYPATH)
AC_MSG_WARN(Can't find gzip, assuming $GZIPBIN)
else
AC_MSG_RESULT($GZIPBIN)
fi
AC_MSG_CHECKING(for bzip2 location)
if test -z "$BZIP2BIN"; then
oldifs="$IFS"
IFS=:
for n in $MYPATH; do
if test -f $n/bzip2; then
BZIP2BIN="$n/bzip2";
break
fi
done
IFS="$oldifs"
fi
if test -z "$BZIP2BIN"; then
BZIP2BIN="/usr/bin/bzip2"
AC_MSG_RESULT(no)
AC_MSG_WARN(Can't find bzip2, assuming $BZIP2BIN)
else
AC_MSG_RESULT($BZIP2BIN)
fi
AC_MSG_CHECKING(for pgp location)
if test -z "$PGPBIN"; then
oldifs="$IFS"
IFS=:
for n in $MYPATH; do
if test -f $n/pgp; then
PGPBIN="$n/pgp";
break
fi
done
IFS="$oldifs"
fi
if test -z "$PGPBIN"; then
PGPBIN="/usr/bin/pgp"
else
AC_MSG_RESULT($PGPBIN)
fi
AC_MSG_CHECKING(old version of patch) AC_MSG_CHECKING(old version of patch)
PATCHVERSION=`patch --version 2>&1` PATCHVERSION=`patch --version 2>&1`
@ -738,9 +684,6 @@ AC_SUBST(tmpdir)
AC_SUBST(LIBS) AC_SUBST(LIBS)
AC_SUBST(RPM) AC_SUBST(RPM)
AC_SUBST(GZIPBIN)
AC_SUBST(BZIP2BIN)
AC_SUBST(PGPBIN)
AC_SUBST(FIXPERMS) AC_SUBST(FIXPERMS)
AC_SUBST(LIBMISC) AC_SUBST(LIBMISC)
AC_SUBST(MKDIR_P) AC_SUBST(MKDIR_P)

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 1999-04-09 11:16-0400\n" "POT-Creation-Date: 1999-04-09 18:32-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -2487,7 +2487,7 @@ msgstr ""
msgid "warning: %s saved as %s" msgid "warning: %s saved as %s"
msgstr "" msgstr ""
#: ../lib/install.c:440 ../lib/install.c:808 ../lib/uninstall.c:337 #: ../lib/install.c:440 ../lib/install.c:806 ../lib/uninstall.c:337
#, c-format #, c-format
msgid "rename of %s to %s failed: %s" msgid "rename of %s to %s failed: %s"
msgstr "" msgstr ""
@ -2498,44 +2498,44 @@ msgstr ""
#. this would probably be a good place to check if disk space #. this would probably be a good place to check if disk space
#. was used up - if so, we should return a different error #. was used up - if so, we should return a different error
#: ../lib/install.c:631 #: ../lib/install.c:629
#, c-format #, c-format
msgid "unpacking of archive failed%s%s: %s" msgid "unpacking of archive failed%s%s: %s"
msgstr "" msgstr ""
#: ../lib/install.c:632 #: ../lib/install.c:630
msgid " on file " msgid " on file "
msgstr "" msgstr ""
#: ../lib/install.c:672 #: ../lib/install.c:670
msgid "installing a source package\n" msgid "installing a source package\n"
msgstr "" msgstr ""
#: ../lib/install.c:683 ../lib/install.c:705 #: ../lib/install.c:681 ../lib/install.c:703
#, c-format #, c-format
msgid "cannot create %s" msgid "cannot create %s"
msgstr "" msgstr ""
#: ../lib/install.c:690 ../lib/install.c:712 #: ../lib/install.c:688 ../lib/install.c:710
#, c-format #, c-format
msgid "cannot write to %s" msgid "cannot write to %s"
msgstr "" msgstr ""
#: ../lib/install.c:694 #: ../lib/install.c:692
#, c-format #, c-format
msgid "sources in: %s\n" msgid "sources in: %s\n"
msgstr "" msgstr ""
#: ../lib/install.c:716 #: ../lib/install.c:714
#, c-format #, c-format
msgid "spec file in: %s\n" msgid "spec file in: %s\n"
msgstr "" msgstr ""
#: ../lib/install.c:749 ../lib/install.c:785 #: ../lib/install.c:747 ../lib/install.c:783
msgid "source package contains no .spec file" msgid "source package contains no .spec file"
msgstr "" msgstr ""
#: ../lib/install.c:806 #: ../lib/install.c:804
#, c-format #, c-format
msgid "renaming %s to %s\n" msgid "renaming %s to %s\n"
msgstr "" msgstr ""

View File

@ -19,7 +19,7 @@ fi
cd "$THEDIR" cd "$THEDIR"
if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
$srcdir/configure --disable-shared --prefix=/usr $srcdir/configure --prefix=/usr
else else
$srcdir/configure --disable-shared "$@" $srcdir/configure "$@"
fi fi

View File

@ -6,7 +6,9 @@ AC_PROG_CC
AC_GCC_TRADITIONAL AC_GCC_TRADITIONAL
AM_C_PROTOTYPES AM_C_PROTOTYPES
AM_DISABLE_SHARED
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
AC_PROG_INSTALL AC_PROG_INSTALL
if test $CC = gcc; then if test $CC = gcc; then