Changeset 16957 for trunk/FACT++/configure
- Timestamp:
- 07/18/13 13:09:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r15492 r16957 628 628 HAS_DBUS_FALSE 629 629 HAS_DBUS_TRUE 630 HAS_SOPRANO_FALSE631 HAS_SOPRANO_TRUE632 630 HAS_NOVA_FALSE 633 631 HAS_NOVA_TRUE … … 982 980 with_qwt_include 983 981 with_qwt_libdir 984 with_soprano985 with_soprano_include986 with_soprano_libdir987 982 with_root 988 983 with_rootsys … … 1757 1752 --with-qwt-libdir=DIR specify exact library dir for qwt library (e.g. libqwt-qt4) 1758 1753 --without-qwt disables qwt usage completely 1759 --with-soprano=DIR root directory of soprano installation1760 --with-soprano-include=DIR specify exact include dir for soprano headers (e.g. Soprano/Soprano)1761 --with-soprano-libdir=DIR specify exact library dir for soprano library (e.g. libsoprano)1762 --without-soprano disables soprano usage completely1763 1754 --without-root Disable root, i.e. disable gui support. 1764 1755 --with-rootsys path to the ROOT executables or top ROOT … … 4933 4924 # gl 4934 4925 # QtCore 4935 # soprano4936 4926 # cfitsio 4937 4927 … … 23980 23970 23981 23971 cat > conftest.$ac_ext <<EOF 23982 #line 239 82 "configure"23972 #line 23972 "configure" 23983 23973 #include "confdefs.h" 23984 23974 #include <qglobal.h> … … 24416 24406 24417 24407 24418 24419 24420 # Check whether --with-soprano was given.24421 if test "${with_soprano+set}" = set; then :24422 withval=$with_soprano; with_soprano=$withval24423 if test "${with_soprano}" != yes; then24424 soprano_include="$withval/include"24425 soprano_libdir="$withval/lib"24426 fi24427 24428 fi24429 24430 24431 24432 # Check whether --with-soprano-include was given.24433 if test "${with_soprano_include+set}" = set; then :24434 withval=$with_soprano_include; soprano_include="$withval"24435 fi24436 24437 24438 24439 # Check whether --with-soprano-libdir was given.24440 if test "${with_soprano_libdir+set}" = set; then :24441 withval=$with_soprano_libdir; soprano_libdir="$withval"24442 fi24443 24444 24445 if test "${with_soprano}" != no ; then24446 OLD_LIBS=$LIBS24447 OLD_LDFLAGS=$LDFLAGS24448 OLD_CFLAGS=$CFLAGS24449 OLD_CPPFLAGS=$CPPFLAGS24450 24451 if test "${soprano_libdir}" ; then24452 LDFLAGS="$LDFLAGS -L${soprano_libdir}"24453 fi24454 if test "${soprano_include}" ; then24455 CPPFLAGS="$CPPFLAGS -I${soprano_include}"24456 CFLAGS="$CFLAGS -I${soprano_include}"24457 fi24458 24459 no_good=no24460 24461 ac_fn_cxx_check_header_mongrel "$LINENO" "Soprano/Soprano" "ac_cv_header_Soprano_Soprano" "$ac_includes_default"24462 if test "x$ac_cv_header_Soprano_Soprano" = xyes; then :24463 24464 else24465 no_good=yes24466 fi24467 24468 24469 24470 ac_ext=cpp24471 ac_cpp='$CXXCPP $CPPFLAGS'24472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'24473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'24474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu24475 24476 24477 24478 24479 24480 24481 24482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Soprano::PluginManager::instance in -lsoprano" >&524483 $as_echo_n "checking for Soprano::PluginManager::instance in -lsoprano... " >&6; }24484 if ${ac_cv_lib_soprano_Soprano__PluginManager__instance+:} false; then :24485 $as_echo_n "(cached) " >&624486 else24487 24488 ac_check_lib_save_LIBS=$LIBS24489 LIBS="-lsoprano $LIBS"24490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext24491 /* end confdefs.h. */24492 #include <Soprano/Soprano>24493 int24494 main ()24495 {24496 Soprano::PluginManager::instance24497 ;24498 return 0;24499 }24500 _ACEOF24501 if ac_fn_cxx_try_link "$LINENO"; then :24502 ac_cv_lib_soprano_Soprano__PluginManager__instance=yes24503 else24504 ac_cv_lib_soprano_Soprano__PluginManager__instance=no24505 fi24506 rm -f core conftest.err conftest.$ac_objext \24507 conftest$ac_exeext conftest.$ac_ext24508 LIBS=$ac_check_lib_save_LIBS24509 fi24510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soprano_Soprano__PluginManager__instance" >&524511 $as_echo "$ac_cv_lib_soprano_Soprano__PluginManager__instance" >&6; }24512 if test $ac_cv_lib_soprano_Soprano__PluginManager__instance = yes; then :24513 24514 24515 cat >>confdefs.h <<_ACEOF24516 #define HAVE_LIBSOPRANO 124517 _ACEOF24518 24519 LIBS="-lsoprano $LIBS"24520 24521 24522 else24523 no_good=yes24524 fi24525 24526 24527 24528 ac_ext=cpp24529 ac_cpp='$CXXCPP $CPPFLAGS'24530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'24531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'24532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu24533 24534 24535 if test "$no_good" = yes; then24536 HAVE_SOPRANO=no24537 24538 LIBS=$OLD_LIBS24539 LDFLAGS=$OLD_LDFLAGS24540 CPPFLAGS=$OLD_CPPFLAGS24541 CFLAGS=$OLD_CFLAGS24542 else24543 HAVE_SOPRANO=yes24544 24545 $as_echo "#define HAVE_PKG_soprano 1" >>confdefs.h24546 24547 fi24548 24549 fi24550 24551 24552 24553 24408 ###################################################################### 24554 24409 # ROOT SUPPORT … … 25227 25082 HAS_NOVA_TRUE='#' 25228 25083 HAS_NOVA_FALSE= 25229 fi25230 25231 if test "$HAVE_SOPRANO" = yes; then25232 HAS_SOPRANO_TRUE=25233 HAS_SOPRANO_FALSE='#'25234 else25235 HAS_SOPRANO_TRUE='#'25236 HAS_SOPRANO_FALSE=25237 25084 fi 25238 25085 … … 25628 25475 if test -z "${HAS_NOVA_TRUE}" && test -z "${HAS_NOVA_FALSE}"; then 25629 25476 as_fn_error $? "conditional \"HAS_NOVA\" was never defined. 25630 Usually this means the macro was only invoked conditionally." "$LINENO" 525631 fi25632 if test -z "${HAS_SOPRANO_TRUE}" && test -z "${HAS_SOPRANO_FALSE}"; then25633 as_fn_error $? "conditional \"HAS_SOPRANO\" was never defined.25634 25477 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25635 25478 fi … … 28142 27985 { $as_echo "$as_me:${as_lineno-$LINENO}: Qwt / qwt_plot.h found: $HAVE_QWT" >&5 28143 27986 $as_echo "$as_me: Qwt / qwt_plot.h found: $HAVE_QWT" >&6;} 28144 { $as_echo "$as_me:${as_lineno-$LINENO}: Soprano / Soprano/Soprano found: $HAVE_SOPRANO" >&528145 $as_echo "$as_me: Soprano / Soprano/Soprano found: $HAVE_SOPRANO" >&6;}28146 27987 { $as_echo "$as_me:${as_lineno-$LINENO}: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&5 28147 27988 $as_echo "$as_me: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&6;} … … 28427 28268 $as_echo "$as_me: WARNING: DBus libraries missing - skypeclient will not be compiled!" >&2;} 28428 28269 fi 28429 if test -z "$HAS_SOPRANO_TRUE"; then :28430 else28431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Soprano libraries missing - tngweather will not be compiled!" >&528432 $as_echo "$as_me: WARNING: Soprano libraries missing - tngweather will not be compiled!" >&2;}28433 fi28434 28270 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 28435 28271 $as_echo "$as_me: " >&6;}
Note:
See TracChangeset
for help on using the changeset viewer.