Commit 2cda471d228b7e2bee86fa2a9cd5baaa5e8728c1

Authored by knodlseder
1 parent bb6dd0c9

search /opt/local as last directory

Showing 1 changed file with 3 additions and 3 deletions
m4/ac_find_lib_headers.m4
@@ -16,12 +16,12 @@ @@ -16,12 +16,12 @@
16 # The directories that are searched are (in the given order): 16 # The directories that are searched are (in the given order):
17 # $gammalib_prefix/lib64 17 # $gammalib_prefix/lib64
18 # $gammalib_prefix/lib 18 # $gammalib_prefix/lib
19 -# /opt/local/lib64 (for Mac OS X)  
20 -# /opt/local/lib (for Mac OS X)  
21 # /usr/local/lib64 19 # /usr/local/lib64
22 # /usr/local/lib 20 # /usr/local/lib
23 # /usr/lib64 21 # /usr/lib64
24 # /usr/lib 22 # /usr/lib
  23 +# /opt/local/lib64 (for Mac OS X)
  24 +# /opt/local/lib (for Mac OS X)
25 # 25 #
26 # If the library is found, the function adds it's name to LIBS. 26 # If the library is found, the function adds it's name to LIBS.
27 # Furthermore, if the library is found in a specific directory, the 27 # Furthermore, if the library is found in a specific directory, the
@@ -73,7 +73,7 @@ AC_DEFUN([AC_FIND_LIB_HEADER],[ @@ -73,7 +73,7 @@ AC_DEFUN([AC_FIND_LIB_HEADER],[
73 LIBS="-l$1 $6 $LIBS" 73 LIBS="-l$1 $6 $LIBS"
74 74
75 # Loop over all directories 75 # Loop over all directories
76 - for i in '' "$gammalib_prefix" /opt/local /usr/local /usr; do 76 + for i in '' "$gammalib_prefix" /usr/local /usr /opt/local; do
77 for l in lib64 lib; do 77 for l in lib64 lib; do
78 78
79 # Case A: headers are required 79 # Case A: headers are required