Ignore:
Timestamp:
Jun 25, 2010, 9:47:21 AM (14 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/configure.in

    r1758 r1780  
    531531AC_SUBST(JAVA_INC_DIR)
    532532AC_SUBST(JAVA_INC_SPEC)
     533
     534AC_MSG_CHECKING([for OpenDX headers])
     535DX_INC_DIR=""
     536for dir in \
     537 /apps/rappture/include \
     538 /usr/dx/include \
     539 /usr/include
     540do
     541  if test -r "${dir}/dx/dx.h" ; then
     542    DX_INC_DIR="$dir"
     543    break
     544  fi
     545done
     546
     547if test "${DX_INC_DIR}" = "/usr/include" ; then
     548  DX_INC_SPEC=""
     549else
     550  DX_INC_SPEC="-I{DX_INC_DIR}"
     551fi
     552AC_SUBST(DX_INC_SPEC)
     553AC_MSG_RESULT([${DX_INC_DIR}])
     554
     555AC_MSG_CHECKING([for OpenDX libraries])
     556DX_LIB_DIR=""
     557for dir in \
     558 /apps/rappture/lib \
     559 /usr/lib/dx/lib_linux \
     560 /usr/dx/lib_linux \
     561 /usr/lib
     562do
     563  if test -r "${dir}/libDXcallm.a" ; then
     564    DX_LIB_DIR="$dir"
     565    break
     566  fi
     567done
     568
     569if test "${DX_LIB_DIR}" = "/usr" ; then
     570  DX_LIB_SPEC=""
     571else
     572  DX_LIB_SPEC="-L${DX_LIB_DIR}"
     573fi
     574
     575AC_SUBST(DX_LIB_SPEC)
     576AC_MSG_RESULT([${DX_LIB_DIR}])
    533577
    534578RP_BASE=`pwd`
Note: See TracChangeset for help on using the changeset viewer.