Changeset 509
- Timestamp:
- Aug 16, 2006 1:47:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/configure.in
r507 r509 43 43 AC_ARG_WITH(blt, [ --with-blt=DIR Find bltInt.h in DIR], 44 44 blt_source_dir=$withval) 45 46 AC_ARG_WITH(rappture, [ --with-rappture=DIR Find include/core/rappture.h in DIR],47 rappture_dir=$withval)48 45 49 46 #-------------------------------------------------------------------- … … 294 291 295 292 AC_SUBST(BLT_SRC_DIR) 296 #--------------------------------------------------------------------297 # Look for rappture.h on the normal include path. If not found, look298 # for it in the --with-rappture directory.299 #--------------------------------------------------------------------300 AC_MSG_CHECKING([for include/core/rappture.h])301 RAPPTURE_DIR=""302 if test "x$rappture_dir" != "x" ; then303 #304 # Verify that a rappture.h file exists in the directory specified305 # by --with-rappture.306 #307 if test -r "$rappture_dir/include/core/rappture.h" ; then308 RAPPTURE_DIR="$rappture_dir"309 fi310 else311 #312 # Otherwise, search for the rappture.h include file...313 # 1. Search previously named locations.314 #315 for dir in \316 $prefix \317 $exec_prefix318 do319 if test -r "$dir/include/core/rappture.h" ; then320 RAPPTURE_DIR="$dir"321 break322 fi323 done324 #325 # 2. Search source directories.326 #327 if test "x$RAPPTURE_DIR" = "x" ; then328 for dir in \329 `ls -dr ../rappture 2>/dev/null` \330 `ls -dr ../../rappture 2>/dev/null` \331 `ls -dr ../../../rappture 2>/dev/null` \332 `ls -dr C\:/opt/rappture 2>/dev/null` \333 `ls -dr /opt/rappture 2>/dev/null`334 do335 if test -r "$dir/include/core/rappture.h" ; then336 RAPPTURE_DIR="$dir"337 break338 fi339 done340 fi341 fi342 AC_MSG_RESULT([${RAPPTURE_DIR}])343 344 if test "x$RAPPTURE_DIR" = "x" ; then345 echo "can't find RAPPTURE include file \"include/core/rappture.h\""346 echo "use --with-rappture=DIR to specify the location of rappture"347 exit 1348 fi349 350 AC_SUBST(RAPPTURE_DIR)351 293 352 294 PATCHLEVEL=`${TCLSH_PROG} tclconfig/patchlevel.tcl`
Note: See TracChangeset
for help on using the changeset viewer.