Ignore:
Timestamp:
07/18/13 13:09:02 (12 years ago)
Author:
tbretz
Message:
Removed the need for the Soprano library, we are using the Qt-classes instead now. Added gcn to the list of programs to be compiles. Removed the linking of QtWebKit, it is not needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r15492 r16957  
    628628HAS_DBUS_FALSE
    629629HAS_DBUS_TRUE
    630 HAS_SOPRANO_FALSE
    631 HAS_SOPRANO_TRUE
    632630HAS_NOVA_FALSE
    633631HAS_NOVA_TRUE
     
    982980with_qwt_include
    983981with_qwt_libdir
    984 with_soprano
    985 with_soprano_include
    986 with_soprano_libdir
    987982with_root
    988983with_rootsys
     
    17571752  --with-qwt-libdir=DIR        specify exact library dir for qwt library (e.g. libqwt-qt4)
    17581753  --without-qwt        disables qwt usage completely
    1759   --with-soprano=DIR    root directory of soprano installation
    1760   --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 completely
    17631754  --without-root          Disable root, i.e. disable gui support.
    17641755  --with-rootsys          path to the ROOT executables or top ROOT
     
    49334924# gl
    49344925# QtCore
    4935 # soprano
    49364926# cfitsio
    49374927
     
    2398023970
    2398123971                cat > conftest.$ac_ext <<EOF
    23982 #line 23982 "configure"
     23972#line 23972 "configure"
    2398323973#include "confdefs.h"
    2398423974#include <qglobal.h>
     
    2441624406
    2441724407
    24418 
    24419 
    24420 # Check whether --with-soprano was given.
    24421 if test "${with_soprano+set}" = set; then :
    24422   withval=$with_soprano; with_soprano=$withval
    24423 if test "${with_soprano}" != yes; then
    24424         soprano_include="$withval/include"
    24425         soprano_libdir="$withval/lib"
    24426 fi
    24427 
    24428 fi
    24429 
    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 fi
    24436 
    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 fi
    24443 
    24444 
    24445 if test "${with_soprano}" != no ; then
    24446         OLD_LIBS=$LIBS
    24447         OLD_LDFLAGS=$LDFLAGS
    24448         OLD_CFLAGS=$CFLAGS
    24449         OLD_CPPFLAGS=$CPPFLAGS
    24450 
    24451         if test "${soprano_libdir}" ; then
    24452                 LDFLAGS="$LDFLAGS -L${soprano_libdir}"
    24453         fi
    24454         if test "${soprano_include}" ; then
    24455                 CPPFLAGS="$CPPFLAGS -I${soprano_include}"
    24456                 CFLAGS="$CFLAGS -I${soprano_include}"
    24457         fi
    24458 
    24459         no_good=no
    24460 
    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 else
    24465   no_good=yes
    24466 fi
    24467 
    24468 
    24469 
    24470         ac_ext=cpp
    24471 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_gnu
    24475 
    24476 
    24477 
    24478 
    24479 
    24480 
    24481 
    24482    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Soprano::PluginManager::instance in -lsoprano" >&5
    24483 $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) " >&6
    24486 else
    24487 
    24488         ac_check_lib_save_LIBS=$LIBS
    24489         LIBS="-lsoprano  $LIBS"
    24490         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24491 /* end confdefs.h.  */
    24492 #include <Soprano/Soprano>
    24493 int
    24494 main ()
    24495 {
    24496 Soprano::PluginManager::instance
    24497   ;
    24498   return 0;
    24499 }
    24500 _ACEOF
    24501 if ac_fn_cxx_try_link "$LINENO"; then :
    24502   ac_cv_lib_soprano_Soprano__PluginManager__instance=yes
    24503 else
    24504   ac_cv_lib_soprano_Soprano__PluginManager__instance=no
    24505 fi
    24506 rm -f core conftest.err conftest.$ac_objext \
    24507     conftest$ac_exeext conftest.$ac_ext
    24508         LIBS=$ac_check_lib_save_LIBS
    24509 fi
    24510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soprano_Soprano__PluginManager__instance" >&5
    24511 $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 <<_ACEOF
    24516 #define HAVE_LIBSOPRANO 1
    24517 _ACEOF
    24518 
    24519                         LIBS="-lsoprano $LIBS"
    24520 
    24521 
    24522 else
    24523   no_good=yes
    24524 fi
    24525 
    24526 
    24527 
    24528         ac_ext=cpp
    24529 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_gnu
    24533 
    24534 
    24535         if test "$no_good" = yes; then
    24536                 HAVE_SOPRANO=no
    24537 
    24538                 LIBS=$OLD_LIBS
    24539                 LDFLAGS=$OLD_LDFLAGS
    24540                 CPPFLAGS=$OLD_CPPFLAGS
    24541                 CFLAGS=$OLD_CFLAGS
    24542         else
    24543                 HAVE_SOPRANO=yes
    24544 
    24545                 $as_echo "#define HAVE_PKG_soprano 1" >>confdefs.h
    24546 
    24547         fi
    24548 
    24549 fi
    24550 
    24551 
    24552 
    2455324408######################################################################
    2455424409# ROOT SUPPORT
     
    2522725082  HAS_NOVA_TRUE='#'
    2522825083  HAS_NOVA_FALSE=
    25229 fi
    25230 
    25231  if test "$HAVE_SOPRANO" = yes; then
    25232   HAS_SOPRANO_TRUE=
    25233   HAS_SOPRANO_FALSE='#'
    25234 else
    25235   HAS_SOPRANO_TRUE='#'
    25236   HAS_SOPRANO_FALSE=
    2523725084fi
    2523825085
     
    2562825475if test -z "${HAS_NOVA_TRUE}" && test -z "${HAS_NOVA_FALSE}"; then
    2562925476  as_fn_error $? "conditional \"HAS_NOVA\" was never defined.
    25630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    25631 fi
    25632 if test -z "${HAS_SOPRANO_TRUE}" && test -z "${HAS_SOPRANO_FALSE}"; then
    25633   as_fn_error $? "conditional \"HAS_SOPRANO\" was never defined.
    2563425477Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2563525478fi
     
    2814227985{ $as_echo "$as_me:${as_lineno-$LINENO}:  Qwt                    / qwt_plot.h         found: $HAVE_QWT" >&5
    2814327986$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" >&5
    28145 $as_echo "$as_me:  Soprano                / Soprano/Soprano    found: $HAVE_SOPRANO" >&6;}
    2814627987{ $as_echo "$as_me:${as_lineno-$LINENO}:  cfitsio                / 'fitsio.h'         found: $HAVE_CFITSIO" >&5
    2814727988$as_echo "$as_me:  cfitsio                / 'fitsio.h'         found: $HAVE_CFITSIO" >&6;}
     
    2842728268$as_echo "$as_me: WARNING:  DBus libraries missing - skypeclient will not be compiled!" >&2;}
    2842828269fi
    28429 if test -z "$HAS_SOPRANO_TRUE"; then :
    28430   else
    28431   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Soprano libraries missing - tngweather will not be compiled!" >&5
    28432 $as_echo "$as_me: WARNING:  Soprano libraries missing - tngweather will not be compiled!" >&2;}
    28433 fi
    2843428270{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
    2843528271$as_echo "$as_me: " >&6;}
Note: See TracChangeset for help on using the changeset viewer.