Changeset 13868 for trunk/FACT++/configure
- Timestamp:
- 05/24/12 14:20:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r13801 r13868 624 624 HAS_GUI_FALSE 625 625 HAS_GUI_TRUE 626 HAS_SOPRANO_FALSE 627 HAS_SOPRANO_TRUE 626 628 HAS_NOVA_FALSE 627 629 HAS_NOVA_TRUE … … 960 962 with_qwt_include 961 963 with_qwt_libdir 964 with_soprano 965 with_soprano_include 966 with_soprano_libdir 962 967 with_root 963 968 with_rootsys … … 1726 1731 --with-qwt-libdir=DIR specify exact library dir for qwt library (e.g. libqwt-qt4) 1727 1732 --without-qwt disables qwt usage completely 1733 --with-soprano=DIR root directory of soprano installation 1734 --with-soprano-include=DIR specify exact include dir for soprano headers (e.g. Soprano/Soprano) 1735 --with-soprano-libdir=DIR specify exact library dir for soprano library (e.g. libsoprano) 1736 --without-soprano disables soprano usage completely 1728 1737 --without-root Disable root, i.e. disable gui support. 1729 1738 --with-rootsys path to the ROOT executables or top ROOT … … 23637 23646 23638 23647 cat > conftest.$ac_ext <<EOF 23639 #line 236 39"configure"23648 #line 23648 "configure" 23640 23649 #include "confdefs.h" 23641 23650 #include <qglobal.h> … … 24069 24078 24070 24079 24080 24081 24082 # Check whether --with-soprano was given. 24083 if test "${with_soprano+set}" = set; then : 24084 withval=$with_soprano; with_soprano=$withval 24085 if test "${with_soprano}" != yes; then 24086 soprano_include="$withval/include" 24087 soprano_libdir="$withval/lib" 24088 fi 24089 24090 fi 24091 24092 24093 24094 # Check whether --with-soprano-include was given. 24095 if test "${with_soprano_include+set}" = set; then : 24096 withval=$with_soprano_include; soprano_include="$withval" 24097 fi 24098 24099 24100 24101 # Check whether --with-soprano-libdir was given. 24102 if test "${with_soprano_libdir+set}" = set; then : 24103 withval=$with_soprano_libdir; soprano_libdir="$withval" 24104 fi 24105 24106 24107 if test "${with_soprano}" != no ; then 24108 OLD_LIBS=$LIBS 24109 OLD_LDFLAGS=$LDFLAGS 24110 OLD_CFLAGS=$CFLAGS 24111 OLD_CPPFLAGS=$CPPFLAGS 24112 24113 if test "${soprano_libdir}" ; then 24114 LDFLAGS="$LDFLAGS -L${soprano_libdir}" 24115 fi 24116 if test "${soprano_include}" ; then 24117 CPPFLAGS="$CPPFLAGS -I${soprano_include}" 24118 CFLAGS="$CFLAGS -I${soprano_include}" 24119 fi 24120 24121 ac_fn_cxx_check_header_mongrel "$LINENO" "Soprano/Soprano" "ac_cv_header_Soprano_Soprano" "$ac_includes_default" 24122 if test "x$ac_cv_header_Soprano_Soprano" = xyes; then : 24123 24124 else 24125 no_good=yes 24126 fi 24127 24128 24129 24130 ac_ext=cpp 24131 ac_cpp='$CXXCPP $CPPFLAGS' 24132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24135 24136 24137 24138 24139 24140 24141 24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Soprano::PluginManager::instance in -lsoprano" >&5 24143 $as_echo_n "checking for Soprano::PluginManager::instance in -lsoprano... " >&6; } 24144 if ${ac_cv_lib_soprano_Soprano__PluginManager__instance+:} false; then : 24145 $as_echo_n "(cached) " >&6 24146 else 24147 24148 ac_check_lib_save_LIBS=$LIBS 24149 LIBS="-lsoprano $LIBS" 24150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24151 /* end confdefs.h. */ 24152 #include <Soprano/Soprano> 24153 int 24154 main () 24155 { 24156 Soprano::PluginManager::instance 24157 ; 24158 return 0; 24159 } 24160 _ACEOF 24161 if ac_fn_cxx_try_link "$LINENO"; then : 24162 ac_cv_lib_soprano_Soprano__PluginManager__instance=yes 24163 else 24164 ac_cv_lib_soprano_Soprano__PluginManager__instance=no 24165 fi 24166 rm -f core conftest.err conftest.$ac_objext \ 24167 conftest$ac_exeext conftest.$ac_ext 24168 LIBS=$ac_check_lib_save_LIBS 24169 fi 24170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soprano_Soprano__PluginManager__instance" >&5 24171 $as_echo "$ac_cv_lib_soprano_Soprano__PluginManager__instance" >&6; } 24172 if test $ac_cv_lib_soprano_Soprano__PluginManager__instance = yes; then : 24173 24174 24175 cat >>confdefs.h <<_ACEOF 24176 #define HAVE_LIBSOPRANO 1 24177 _ACEOF 24178 24179 LIBS="-lsoprano $LIBS" 24180 24181 24182 else 24183 no_good=yes 24184 fi 24185 24186 24187 24188 ac_ext=cpp 24189 ac_cpp='$CXXCPP $CPPFLAGS' 24190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24193 24194 24195 if test "$no_good" = yes; then 24196 HAVE_SOPRANO=no 24197 24198 LIBS=$OLD_LIBS 24199 LDFLAGS=$OLD_LDFLAGS 24200 CPPFLAGS=$OLD_CPPFLAGS 24201 CFLAGS=$OLD_CFLAGS 24202 else 24203 HAVE_SOPRANO=yes 24204 24205 $as_echo "#define HAVE_PKG_soprano 1" >>confdefs.h 24206 24207 fi 24208 24209 fi 24210 24211 24212 24071 24213 ###################################################################### 24072 24214 # ROOT SUPPORT … … 24647 24789 HAS_NOVA_TRUE='#' 24648 24790 HAS_NOVA_FALSE= 24791 fi 24792 24793 if test "$HAVE_SOPRANO" = yes; then 24794 HAS_SOPRANO_TRUE= 24795 HAS_SOPRANO_FALSE='#' 24796 else 24797 HAS_SOPRANO_TRUE='#' 24798 HAS_SOPRANO_FALSE= 24649 24799 fi 24650 24800 … … 25046 25196 if test -z "${HAS_NOVA_TRUE}" && test -z "${HAS_NOVA_FALSE}"; then 25047 25197 as_fn_error $? "conditional \"HAS_NOVA\" was never defined. 25198 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25199 fi 25200 if test -z "${HAS_SOPRANO_TRUE}" && test -z "${HAS_SOPRANO_FALSE}"; then 25201 as_fn_error $? "conditional \"HAS_SOPRANO\" was never defined. 25048 25202 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25049 25203 fi … … 27534 27688 { $as_echo "$as_me:${as_lineno-$LINENO}: Qwt / qwt_plot.h found: $HAVE_QWT" >&5 27535 27689 $as_echo "$as_me: Qwt / qwt_plot.h found: $HAVE_QWT" >&6;} 27690 { $as_echo "$as_me:${as_lineno-$LINENO}: Soprano / Soprano/Soprano found: $HAVE_SOPRANO" >&5 27691 $as_echo "$as_me: Soprano / Soprano/Soprano found: $HAVE_SOPRANO" >&6;} 27536 27692 { $as_echo "$as_me:${as_lineno-$LINENO}: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&5 27537 27693 $as_echo "$as_me: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&6;}
Note:
See TracChangeset
for help on using the changeset viewer.