Changeset 4057 for trunk/packages/vizservers/geovis/configure.in
- Timestamp:
- Nov 14, 2013, 6:01:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/geovis/configure.in
r4024 r4057 9 9 [with_tcllib=$withval], 10 10 [with_tcllib=""]) 11 12 AC_ARG_WITH(13 [rappture],14 [AS_HELP_STRING([--with-rappture[=DIR]],15 [location of rappture files lib/librappture.a and include/rappture.h @<:@default=/usr@:>@])],16 [with_rappture=$withval],17 [with_rappture=yes])18 11 19 12 AC_ARG_WITH( … … 81 74 # 82 75 # Need to check for the following dependencies: 83 # Rappture headers and library (done) 84 # Tcl headers and library (done) 76 # Tcl headers and library 85 77 # GL headers and library 86 78 # pthread library … … 92 84 for dir in \ 93 85 ${exec_prefix} \ 94 ${exec_prefix}/lib \ 95 ${with_rappture} \ 96 ${with_rappture}/lib ; do 86 ${exec_prefix}/lib ; do 97 87 tclconfig="${dir}/tclConfig.sh" 98 88 if test -f "$tclconfig" ; then … … 112 102 if test "x$with_tclinclude" != "x" ; then 113 103 TCL_INC_SPEC="-I${with_tclinclude}" 114 fi115 116 RP_DIR=""117 AC_MSG_CHECKING([for rappture])118 if test "$with_rappture" == "yes" ; then119 for dir in "$exec_prefix" "/usr" ; do120 if test -r "$dir/include/rappture2/rappture2.h" -a \121 -r "$dir/lib/librappture.a"; then122 RP_DIR="$dir"123 RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"124 RP_LIB_DIR="$dir/lib"125 AC_MSG_RESULT([$dir])126 break127 fi128 done129 else130 if test ! -d "$with_rappture" ; then131 AC_MSG_ERROR([--with-rappture: no such directory $with_rappture])132 fi133 RP_DIR=$with_rappture134 RP_INC_SPEC="-I$with_rappture/include -I$with_rappture/include/rappture2"135 RP_LIB_DIR="$with_rappture/lib"136 fi137 if test "x${RP_DIR}" = "x" ; then138 AC_MSG_ERROR([cannot find rappture.h and librappture2.a, try using --with-rappture])139 else140 AC_MSG_RESULT([$with_rappture])141 104 fi 142 105 … … 162 125 AC_SUBST(CFLAGS_OPTIMIZE) 163 126 AC_SUBST(LD_RPATH) 164 AC_SUBST(RP_DIR)165 AC_SUBST(RP_INC_SPEC)166 AC_SUBST(RP_LIB_DIR)167 127 AC_SUBST(SHLIB_CFLAGS) 168 128 AC_SUBST(SHLIB_LD)
Note: See TracChangeset
for help on using the changeset viewer.