]> arthur.barton.de Git - netatalk.git/commitdiff
fix 'underquoted definition' warnings, remove /usr from LIBS as well
authorbfernhomberg <bfernhomberg>
Wed, 11 Aug 2004 03:07:22 +0000 (03:07 +0000)
committerbfernhomberg <bfernhomberg>
Wed, 11 Aug 2004 03:07:22 +0000 (03:07 +0000)
macros/util.m4

index 0274029e358568ab3f944913c97f47e99e51ed3b..aea9d5559bc2811c93219a6697766da974fe0dd9 100644 (file)
@@ -1,5 +1,5 @@
 dnl Removes -I/usr/include/? from given variable
-AC_DEFUN(CFLAGS_REMOVE_USR_INCLUDE,[
+AC_DEFUN([CFLAGS_REMOVE_USR_INCLUDE],[
   ac_new_flags=""
   for i in [$]$1; do
     case [$]i in
@@ -11,11 +11,11 @@ AC_DEFUN(CFLAGS_REMOVE_USR_INCLUDE,[
 ])
 
 dnl Removes -L/usr/lib/? from given variable
-AC_DEFUN(LIB_REMOVE_USR_LIB,[
+AC_DEFUN([LIB_REMOVE_USR_LIB],[
   ac_new_flags=""
   for i in [$]$1; do
     case [$]i in
-    -L/usr/lib|-L/usr/lib/) ;;
+    -L/usr/lib|-L/usr/lib/|-L/usr|-L/usr/) ;;
     *) ac_new_flags="[$]ac_new_flags [$]i" ;;
     esac
   done