Changeset 798
- Timestamp:
- 21/07/06 16:03:57 (6 years ago)
- File:
-
- 1 edited
-
trunk/configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r794 r798 290 290 dnl 291 291 H4ROOT="" 292 H4SUBROOT="" 292 H4INCSUBROOT="" 293 H4LIBSUBROOT="" 293 294 H5ROOT="" 294 295 MXMLROOT="" … … 322 323 if test -r /usr/$i/hdf/libdf.$HDF_EXT; then 323 324 H4ROOT=/usr 324 H4 SUBROOT=hdf325 H4LIBSUBROOT=hdf 325 326 fi 326 327 done 328 if test -r $H4ROOT/include/hdf; then 329 H4INCSUBROOT=hdf 330 fi 327 331 if test -z "$H4ROOT"; then 328 332 AC_MSG_RESULT(unknown) … … 332 336 fi 333 337 if test "$H4ROOT"; then 334 H4VERSION=`grep LIBVER_STRING ${H4ROOT}/include/${H4 SUBROOT}/hfile.h | cut -d '"' -f 2 | cut -d ' ' -f4,6 | tr ' ,' '. '`338 H4VERSION=`grep LIBVER_STRING ${H4ROOT}/include/${H4INCSUBROOT}/hfile.h | cut -d '"' -f 2 | cut -d ' ' -f4,6 | tr ' ,' '. '` 335 339 case $H4VERSION in 336 340 4.[[12]]*) 337 341 HDF4_LDFLAGS="-lmfhdf -ldf"; 338 342 for j in lib lib64; do 339 if test -d $H4ROOT/$j/$H4 SUBROOT; then LDFLAGS="-L$H4ROOT/$j/$H4SUBROOT $LDFLAGS"; fi343 if test -d $H4ROOT/$j/$H4LIBSUBROOT; then LDFLAGS="-L$H4ROOT/$j/$H4LIBSUBROOT $LDFLAGS"; fi 340 344 done 341 if test -z "$H4 SUBROOT"; then345 if test -z "$H4INCSUBROOT"; then 342 346 HDF4_CPPFLAGS="-I$H4ROOT/include -DHDF4" 343 347 else 344 HDF4_CPPFLAGS="-I$H4ROOT/include/$H4 SUBROOT -DHDF4"348 HDF4_CPPFLAGS="-I$H4ROOT/include/$H4INCSUBROOT -DHDF4" 345 349 fi 346 350 ;;
Note: See TracChangeset
for help on using the changeset viewer.
