From 2cda471d228b7e2bee86fa2a9cd5baaa5e8728c1 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Tue, 25 Oct 2011 05:34:41 +0000 Subject: [PATCH] search /opt/local as last directory --- m4/ac_find_lib_headers.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/ac_find_lib_headers.m4 b/m4/ac_find_lib_headers.m4 index 8648a70..364a634 100644 --- a/m4/ac_find_lib_headers.m4 +++ b/m4/ac_find_lib_headers.m4 @@ -16,12 +16,12 @@ # The directories that are searched are (in the given order): # $gammalib_prefix/lib64 # $gammalib_prefix/lib -# /opt/local/lib64 (for Mac OS X) -# /opt/local/lib (for Mac OS X) # /usr/local/lib64 # /usr/local/lib # /usr/lib64 # /usr/lib +# /opt/local/lib64 (for Mac OS X) +# /opt/local/lib (for Mac OS X) # # If the library is found, the function adds it's name to LIBS. # Furthermore, if the library is found in a specific directory, the @@ -73,7 +73,7 @@ AC_DEFUN([AC_FIND_LIB_HEADER],[ LIBS="-l$1 $6 $LIBS" # Loop over all directories - for i in '' "$gammalib_prefix" /opt/local /usr/local /usr; do + for i in '' "$gammalib_prefix" /usr/local /usr /opt/local; do for l in lib64 lib; do # Case A: headers are required -- libgit2 0.21.4