Commit b38a882a0f843cc297d2769548b94c9df39cb3b5

Authored by knodlseder
1 parent 08889857

change order of library searching

Showing 1 changed file with 2 additions and 2 deletions
configure.ac
... ... @@ -232,7 +232,7 @@ case $host in
232 232 esac
233 233  
234 234 # Search for cfitsio shared library in a some standard directories
235   -for i in "$gammalib_prefix" /usr/local /opt/local /usr ; do
  235 +for i in "$gammalib_prefix" /usr /usr/local /opt/local ; do
236 236 if test -f $i/lib/libcfitsio.so -o -f $i/lib/libcfitsio.dylib -a -f $i/include/fitsio.h; then
237 237 LIBDIR_CFITSIO=$i/lib
238 238 INCDIR_CFITSIO=$i/include
... ... @@ -335,7 +335,7 @@ case $host in
335 335 esac
336 336  
337 337 # Search for readline shared library
338   -for i in "$gammalib_prefix" /usr/local /opt/local /usr ; do
  338 +for i in "$gammalib_prefix" /usr /usr/local /opt/local ; do
339 339 if test -f $i/lib/libreadline.so -o -f $i/lib/libreadline.dylib -a -f $i/include/readline/readline.h; then
340 340 LIBDIR_READLINE=$i/lib
341 341 INCDIR_READLINE=$i/include
... ...