Commit 2cda471d228b7e2bee86fa2a9cd5baaa5e8728c1
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 | 16 | # The directories that are searched are (in the given order): |
| 17 | 17 | # $gammalib_prefix/lib64 |
| 18 | 18 | # $gammalib_prefix/lib |
| 19 | -# /opt/local/lib64 (for Mac OS X) | |
| 20 | -# /opt/local/lib (for Mac OS X) | |
| 21 | 19 | # /usr/local/lib64 |
| 22 | 20 | # /usr/local/lib |
| 23 | 21 | # /usr/lib64 |
| 24 | 22 | # /usr/lib |
| 23 | +# /opt/local/lib64 (for Mac OS X) | |
| 24 | +# /opt/local/lib (for Mac OS X) | |
| 25 | 25 | # |
| 26 | 26 | # If the library is found, the function adds it's name to LIBS. |
| 27 | 27 | # Furthermore, if the library is found in a specific directory, the |
| ... | ... | @@ -73,7 +73,7 @@ AC_DEFUN([AC_FIND_LIB_HEADER],[ |
| 73 | 73 | LIBS="-l$1 $6 $LIBS" |
| 74 | 74 | |
| 75 | 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 | 77 | for l in lib64 lib; do |
| 78 | 78 | |
| 79 | 79 | # Case A: headers are required | ... | ... |