From afe0e5601bea9bb2929482e6a6c2f91712f59ca2 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 30 Dec 1999 14:48:26 +0000 Subject: [PATCH] Let m4 decide what to do --- acinclude.m4 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 08305faf83..188659a555 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -243,11 +243,7 @@ dnl add a library to the link line dnl AC_DEFUN(AC_ADD_LIBRARY,[ AC_PHP_ONCE(LIBRARY, $1, [ - if test -z "$2"; then - LIBS="-l$1 $LIBS" - else - LIBS="$LIBS -l$1" - fi + ifelse($#, 1, LIBS="-l$1 $LIBS", LIBS="$LIBS -l$1") ]) ]) -- 2.50.1