From db4d801792ee4c07f732f76e1aa8fe7789bbc0ff Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 1 Mar 1999 13:27:10 +0000 Subject: [PATCH] Move `-lgtop_common' last to make it work with static-only libs. Thanks to 1999-03-01 Martin Baulig * configure.in (LIBGTOP_LIBS): Move `-lgtop_common' last to make it work with static-only libs. Thanks to Roderik Muit for pointing this out. (PERL): First check for `perl5', then for `perl'. Thanks again to Roderik Muit. --- ChangeLog | 8 ++++++++ configure.in | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f5690457..b1693db9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +1999-03-01 Martin Baulig + + * configure.in (LIBGTOP_LIBS): Move `-lgtop_common' last to + make it work with static-only libs. Thanks to Roderik Muit + for pointing this out. + (PERL): First check for `perl5', then for `perl'. Thanks again + to Roderik Muit. + 1999-02-24 Martin Baulig Released LibGTop 1.0.0. diff --git a/configure.in b/configure.in index ec08765a..015c7f66 100644 --- a/configure.in +++ b/configure.in @@ -53,7 +53,7 @@ AC_CHECK_PROGS(AWK, gawk awk, ) test -z "$AWK" && AC_MSG_ERROR([Sorry, you need a working awk interpreter.]) dnl Most people should have a working perl interpreter on their system -AC_PATH_PROG(PERL,perl) +AC_PATH_PROG(PERL, perl5 perl) test -z "$PERL" && AC_MSG_ERROR([You need to have a working perl interpreter.]) AC_CHECK_TOOL(CC,gcc) @@ -326,8 +326,8 @@ fi LIBGTOP_EXTRA_LIBS="$LIBGTOP_EXTRA_LIBS $GLIB_LIBS" -LIBGTOP_LIBS="$LIBGTOP_LIBS -lgtop_common -lgtop -lgtop_sysdeps" -LIBGTOP_GUILE_LIBS="$LIBGTOP_GUILE_LIBS -lgtop_common -lgtop -lgtop_sysdeps" +LIBGTOP_LIBS="$LIBGTOP_LIBS -lgtop -lgtop_sysdeps -lgtop_common" +LIBGTOP_GUILE_LIBS="$LIBGTOP_GUILE_LIBS -lgtop -lgtop_sysdeps -lgtop_common" LIBGTOP_NAMES_LIBS="$LIBGTOP_LIBS -lgtop_names" LIBGTOP_GUILE_NAMES_LIBS="$LIBGTOP_GUILE_LIBS -lgtop_guile_names -lgtop_names"