Changeset 11721


Ignore:
Timestamp:
07/30/11 16:14:29 (13 years ago)
Author:
tbretz
Message:
Added checks for Qwt
Location:
trunk/FACT++
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r11622 r11721  
    753753HAS_VIEWER_FALSE
    754754HAS_VIEWER_TRUE
     755HAS_QWT_FALSE
     756HAS_QWT_TRUE
     757HAS_QGL_FALSE
     758HAS_QGL_TRUE
    755759HAS_GLU_FALSE
    756760HAS_GLU_TRUE
     
    10781082with_QGL_include
    10791083with_QGL_libdir
     1084with_qwt
     1085with_qwt_include
     1086with_qwt_libdir
    10801087with_root
    10811088with_rootsys
     
    18261833  --with-qt4-libraries    where the Qt 4 library is installed
    18271834  --with-QGL=DIR        root directory of QGL installation
    1828   --with-QGL-include=DIR        specify exact include dir for QGL headers (e.g. QtOpenGL/QGlWidget)
     1835  --with-QGL-include=DIR        specify exact include dir for QGL headers (e.g. QtOpenGL/QGLWidget)
    18291836  --with-QGL-libdir=DIR        specify exact library dir for QGL library (e.g. libQtOpenGL)
    18301837  --without-QGL        disables QGL usage completely
     1838  --with-qwt=DIR        root directory of qwt installation
     1839  --with-qwt-include=DIR        specify exact include dir for qwt headers (e.g. qwt_plot.h)
     1840  --with-qwt-libdir=DIR        specify exact library dir for qwt library (e.g. libqwt-qt4)
     1841  --without-qwt        disables qwt usage completely
    18311842  --without-root          Disable root, i.e. disable gui support.
    18321843  --with-rootsys          path to the ROOT executables or top ROOT
     
    48354846  lt_cv_nm_interface="BSD nm"
    48364847  echo "int some_variable = 0;" > conftest.$ac_ext
    4837   (eval echo "\"\$as_me:4837: $ac_compile\"" >&5)
     4848  (eval echo "\"\$as_me:4848: $ac_compile\"" >&5)
    48384849  (eval "$ac_compile" 2>conftest.err)
    48394850  cat conftest.err >&5
    4840   (eval echo "\"\$as_me:4840: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     4851  (eval echo "\"\$as_me:4851: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    48414852  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    48424853  cat conftest.err >&5
    4843   (eval echo "\"\$as_me:4843: output\"" >&5)
     4854  (eval echo "\"\$as_me:4854: output\"" >&5)
    48444855  cat conftest.out >&5
    48454856  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     
    60466057*-*-irix6*)
    60476058  # Find out which ABI we are using.
    6048   echo '#line 6048 "configure"' > conftest.$ac_ext
     6059  echo '#line 6059 "configure"' > conftest.$ac_ext
    60496060  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    60506061  (eval $ac_compile) 2>&5
     
    77077718   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    77087719   -e 's:$: $lt_compiler_flag:'`
    7709    (eval echo "\"\$as_me:7709: $lt_compile\"" >&5)
     7720   (eval echo "\"\$as_me:7720: $lt_compile\"" >&5)
    77107721   (eval "$lt_compile" 2>conftest.err)
    77117722   ac_status=$?
    77127723   cat conftest.err >&5
    7713    echo "$as_me:7713: \$? = $ac_status" >&5
     7724   echo "$as_me:7724: \$? = $ac_status" >&5
    77147725   if (exit $ac_status) && test -s "$ac_outfile"; then
    77157726     # The compiler can only warn and ignore the option if not recognized
     
    80468057   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    80478058   -e 's:$: $lt_compiler_flag:'`
    8048    (eval echo "\"\$as_me:8048: $lt_compile\"" >&5)
     8059   (eval echo "\"\$as_me:8059: $lt_compile\"" >&5)
    80498060   (eval "$lt_compile" 2>conftest.err)
    80508061   ac_status=$?
    80518062   cat conftest.err >&5
    8052    echo "$as_me:8052: \$? = $ac_status" >&5
     8063   echo "$as_me:8063: \$? = $ac_status" >&5
    80538064   if (exit $ac_status) && test -s "$ac_outfile"; then
    80548065     # The compiler can only warn and ignore the option if not recognized
     
    81518162   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81528163   -e 's:$: $lt_compiler_flag:'`
    8153    (eval echo "\"\$as_me:8153: $lt_compile\"" >&5)
     8164   (eval echo "\"\$as_me:8164: $lt_compile\"" >&5)
    81548165   (eval "$lt_compile" 2>out/conftest.err)
    81558166   ac_status=$?
    81568167   cat out/conftest.err >&5
    8157    echo "$as_me:8157: \$? = $ac_status" >&5
     8168   echo "$as_me:8168: \$? = $ac_status" >&5
    81588169   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    81598170   then
     
    82068217   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82078218   -e 's:$: $lt_compiler_flag:'`
    8208    (eval echo "\"\$as_me:8208: $lt_compile\"" >&5)
     8219   (eval echo "\"\$as_me:8219: $lt_compile\"" >&5)
    82098220   (eval "$lt_compile" 2>out/conftest.err)
    82108221   ac_status=$?
    82118222   cat out/conftest.err >&5
    8212    echo "$as_me:8212: \$? = $ac_status" >&5
     8223   echo "$as_me:8223: \$? = $ac_status" >&5
    82138224   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    82148225   then
     
    1059010601  lt_status=$lt_dlunknown
    1059110602  cat > conftest.$ac_ext <<_LT_EOF
    10592 #line 10592 "configure"
     10603#line 10603 "configure"
    1059310604#include "confdefs.h"
    1059410605
     
    1068610697  lt_status=$lt_dlunknown
    1068710698  cat > conftest.$ac_ext <<_LT_EOF
    10688 #line 10688 "configure"
     10699#line 10699 "configure"
    1068910700#include "confdefs.h"
    1069010701
     
    1264212653   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1264312654   -e 's:$: $lt_compiler_flag:'`
    12644    (eval echo "\"\$as_me:12644: $lt_compile\"" >&5)
     12655   (eval echo "\"\$as_me:12655: $lt_compile\"" >&5)
    1264512656   (eval "$lt_compile" 2>conftest.err)
    1264612657   ac_status=$?
    1264712658   cat conftest.err >&5
    12648    echo "$as_me:12648: \$? = $ac_status" >&5
     12659   echo "$as_me:12659: \$? = $ac_status" >&5
    1264912660   if (exit $ac_status) && test -s "$ac_outfile"; then
    1265012661     # The compiler can only warn and ignore the option if not recognized
     
    1274112752   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1274212753   -e 's:$: $lt_compiler_flag:'`
    12743    (eval echo "\"\$as_me:12743: $lt_compile\"" >&5)
     12754   (eval echo "\"\$as_me:12754: $lt_compile\"" >&5)
    1274412755   (eval "$lt_compile" 2>out/conftest.err)
    1274512756   ac_status=$?
    1274612757   cat out/conftest.err >&5
    12747    echo "$as_me:12747: \$? = $ac_status" >&5
     12758   echo "$as_me:12758: \$? = $ac_status" >&5
    1274812759   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1274912760   then
     
    1279312804   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1279412805   -e 's:$: $lt_compiler_flag:'`
    12795    (eval echo "\"\$as_me:12795: $lt_compile\"" >&5)
     12806   (eval echo "\"\$as_me:12806: $lt_compile\"" >&5)
    1279612807   (eval "$lt_compile" 2>out/conftest.err)
    1279712808   ac_status=$?
    1279812809   cat out/conftest.err >&5
    12799    echo "$as_me:12799: \$? = $ac_status" >&5
     12810   echo "$as_me:12810: \$? = $ac_status" >&5
    1280012811   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1280112812   then
     
    1829718308        fi
    1829818309
     18310        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&5
     18311$as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}
     18312
     18313
     18314        ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
     18315if test "x$ac_cv_header_zlib_h" = x""yes; then :
     18316
     18317else
     18318  no_good=yes
     18319fi
     18320
     18321
    1829918322        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
    1830018323$as_echo_n "checking for inflateEnd in -lz... " >&6; }
     
    1834418367fi
    1834518368
    18346         ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
    18347 if test "x$ac_cv_header_zlib_h" = x""yes; then :
    18348 
    18349 else
    18350   no_good=yes
    18351 fi
    18352 
    18353 
    1835418369        if test "$no_good" = yes; then
    1835518370                HAVE_ZLIB=no
     
    1841218427                CFLAGS="$CFLAGS -I${GL_include}"
    1841318428        fi
     18429
     18430        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&5
     18431$as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}
     18432
     18433
     18434        ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
     18435if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
     18436
     18437else
     18438  no_good=yes
     18439fi
     18440
    1841418441
    1841518442        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glLoadIdentity in -lGL" >&5
     
    1846018487fi
    1846118488
    18462         ac_fn_c_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default"
    18463 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
    18464 
    18465 else
    18466   no_good=yes
    18467 fi
    18468 
    18469 
    1847018489        if test "$no_good" = yes; then
    1847118490                HAVE_GL=no
     
    1852618545                CFLAGS="$CFLAGS -I${GLU_include}"
    1852718546        fi
     18547
     18548        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&5
     18549$as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}
     18550
     18551
     18552        ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
     18553if test "x$ac_cv_header_GL_glu_h" = x""yes; then :
     18554
     18555else
     18556  no_good=yes
     18557fi
     18558
    1852818559
    1852918560        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluNewTess in -lGLU" >&5
     
    1857418605fi
    1857518606
    18576         ac_fn_c_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default"
    18577 if test "x$ac_cv_header_GL_glu_h" = x""yes; then :
    18578 
    18579 else
    18580   no_good=yes
    18581 fi
    18582 
    18583 
    1858418607        if test "$no_good" = yes; then
    1858518608                HAVE_GLU=no
     
    1869118714                CFLAGS="$CFLAGS -I${cfitsio_include}"
    1869218715        fi
     18716
     18717        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&5
     18718$as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}
     18719
     18720
     18721        ac_fn_c_check_header_mongrel "$LINENO" "fitsio.h" "ac_cv_header_fitsio_h" "$ac_includes_default"
     18722if test "x$ac_cv_header_fitsio_h" = x""yes; then :
     18723
     18724else
     18725  no_good=yes
     18726fi
     18727
    1869318728
    1869418729        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffpss in -lcfitsio" >&5
     
    1873918774fi
    1874018775
    18741         ac_fn_c_check_header_mongrel "$LINENO" "fitsio.h" "ac_cv_header_fitsio_h" "$ac_includes_default"
    18742 if test "x$ac_cv_header_fitsio_h" = x""yes; then :
    18743 
    18744 else
    18745   no_good=yes
    18746 fi
    18747 
    18748 
    1874918776        if test "$no_good" = yes; then
    1875018777                HAVE_CFITSIO=no
     
    1881818845                CFLAGS="$CFLAGS -I${ccfits_include}"
    1881918846        fi
     18847
     18848        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${LANGUAGE}" >&5
     18849$as_echo "$as_me: WARNING: ${LANGUAGE}" >&2;}
     18850
     18851
     18852        ac_fn_cxx_check_header_mongrel "$LINENO" "CCfits/CCfits" "ac_cv_header_CCfits_CCfits" "$ac_includes_default"
     18853if test "x$ac_cv_header_CCfits_CCfits" = x""yes; then :
     18854
     18855else
     18856  no_good=yes
     18857fi
     18858
    1882018859
    1882118860        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lCCfits" >&5
     
    1885918898  no_good=yes
    1886018899fi
    18861 
    18862         ac_fn_cxx_check_header_mongrel "$LINENO" "CCfits/CCfits" "ac_cv_header_CCfits_CCfits" "$ac_includes_default"
    18863 if test "x$ac_cv_header_CCfits_CCfits" = x""yes; then :
    18864 
    18865 else
    18866   no_good=yes
    18867 fi
    18868 
    1886918900
    1887018901        if test "$no_good" = yes; then
     
    2212122152
    2212222153                cat > conftest.$ac_ext <<EOF
    22123 #line 22123 "configure"
     22154#line 22154 "configure"
    2212422155#include "confdefs.h"
    2212522156#include <qglobal.h>
     
    2228422315
    2228522316
     22317# This allows to list the QT4 stuff independantly later
     22318CPPFLAGS+=" "${QT4_INCLUDES}" "
    2228622319
    2228722320
     
    2232622359        fi
    2232722360
    22328         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lQtOpenGL" >&5
    22329 $as_echo_n "checking for main in -lQtOpenGL... " >&6; }
    22330 if test "${ac_cv_lib_QtOpenGL_main+set}" = set; then :
     22361        ac_fn_cxx_check_header_mongrel "$LINENO" "QtOpenGL/QGLWidget" "ac_cv_header_QtOpenGL_QGLWidget" "$ac_includes_default"
     22362if test "x$ac_cv_header_QtOpenGL_QGLWidget" = x""yes; then :
     22363
     22364else
     22365  no_good=yes
     22366fi
     22367
     22368
     22369
     22370        ac_ext=cpp
     22371ac_cpp='$CXXCPP $CPPFLAGS'
     22372ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22373ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22374ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     22375
     22376
     22377
     22378
     22379
     22380
     22381
     22382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QGLWidget qgl in -lQtOpenGL" >&5
     22383$as_echo_n "checking for QGLWidget qgl in -lQtOpenGL... " >&6; }
     22384if test "${ac_cv_lib_QtOpenGL_QGLWidget_qgl+set}" = set; then :
    2233122385  $as_echo_n "(cached) " >&6
    2233222386else
    22333   ac_check_lib_save_LIBS=$LIBS
    22334 LIBS="-lQtOpenGL  $LIBS"
    22335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     22387
     22388        ac_check_lib_save_LIBS=$LIBS
     22389        LIBS="-lQtOpenGL  $LIBS"
     22390        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2233622391/* end confdefs.h.  */
    22337 
    22338 
     22392#include <QtOpenGL/QGLWidget>
    2233922393int
    2234022394main ()
    2234122395{
    22342 return main ();
     22396QGLWidget qgl
    2234322397  ;
    2234422398  return 0;
     
    2234622400_ACEOF
    2234722401if ac_fn_cxx_try_link "$LINENO"; then :
    22348   ac_cv_lib_QtOpenGL_main=yes
    22349 else
    22350   ac_cv_lib_QtOpenGL_main=no
     22402  ac_cv_lib_QtOpenGL_QGLWidget_qgl=yes
     22403else
     22404  ac_cv_lib_QtOpenGL_QGLWidget_qgl=no
    2235122405fi
    2235222406rm -f core conftest.err conftest.$ac_objext \
    2235322407    conftest$ac_exeext conftest.$ac_ext
    22354 LIBS=$ac_check_lib_save_LIBS
    22355 fi
    22356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_QtOpenGL_main" >&5
    22357 $as_echo "$ac_cv_lib_QtOpenGL_main" >&6; }
    22358 if test "x$ac_cv_lib_QtOpenGL_main" = x""yes; then :
    22359   cat >>confdefs.h <<_ACEOF
     22408        LIBS=$ac_check_lib_save_LIBS
     22409fi
     22410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_QtOpenGL_QGLWidget_qgl" >&5
     22411$as_echo "$ac_cv_lib_QtOpenGL_QGLWidget_qgl" >&6; }
     22412        if test $ac_cv_lib_QtOpenGL_QGLWidget_qgl = yes; then :
     22413
     22414
     22415                        cat >>confdefs.h <<_ACEOF
    2236022416#define HAVE_LIBQTOPENGL 1
    2236122417_ACEOF
    2236222418
    22363   LIBS="-lQtOpenGL $LIBS"
     22419                        LIBS="-lQtOpenGL $LIBS"
     22420
    2236422421
    2236522422else
     
    2236722424fi
    2236822425
    22369         ac_fn_cxx_check_header_mongrel "$LINENO" "QtOpenGL/QGlWidget" "ac_cv_header_QtOpenGL_QGlWidget" "$ac_includes_default"
    22370 if test "x$ac_cv_header_QtOpenGL_QGlWidget" = x""yes; then :
    22371 
    22372 else
    22373   no_good=yes
    22374 fi
     22426
     22427
     22428        ac_ext=cpp
     22429ac_cpp='$CXXCPP $CPPFLAGS'
     22430ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22431ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22432ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2237522433
    2237622434
    2237722435        if test "$no_good" = yes; then
    22378 
     22436                HAVE_QGL=no
    2237922437
    2238022438                LIBS=$OLD_LIBS
     
    2238322441                CFLAGS=$OLD_CFLAGS
    2238422442        else
    22385 
     22443                HAVE_QGL=yes
    2238622444
    2238722445                $as_echo "#define HAVE_PKG_QGL 1" >>confdefs.h
     
    2239122449fi
    2239222450
     22451
     22452
     22453
     22454
     22455# Check whether --with-qwt was given.
     22456if test "${with_qwt+set}" = set; then :
     22457  withval=$with_qwt; with_qwt=$withval
     22458if test "${with_qwt}" != yes; then
     22459        qwt_include="$withval/include"
     22460        qwt_libdir="$withval/lib"
     22461fi
     22462
     22463fi
     22464
     22465
     22466
     22467# Check whether --with-qwt-include was given.
     22468if test "${with_qwt_include+set}" = set; then :
     22469  withval=$with_qwt_include; qwt_include="$withval"
     22470fi
     22471
     22472
     22473
     22474# Check whether --with-qwt-libdir was given.
     22475if test "${with_qwt_libdir+set}" = set; then :
     22476  withval=$with_qwt_libdir; qwt_libdir="$withval"
     22477fi
     22478
     22479
     22480if test "${with_qwt}" != no ; then
     22481        OLD_LIBS=$LIBS
     22482        OLD_LDFLAGS=$LDFLAGS
     22483        OLD_CFLAGS=$CFLAGS
     22484        OLD_CPPFLAGS=$CPPFLAGS
     22485
     22486        if test "${qwt_libdir}" ; then
     22487                LDFLAGS="$LDFLAGS -L${qwt_libdir}"
     22488        fi
     22489        if test "${qwt_include}" ; then
     22490                CPPFLAGS="$CPPFLAGS -I${qwt_include}"
     22491                CFLAGS="$CFLAGS -I${qwt_include}"
     22492        fi
     22493
     22494        ac_fn_cxx_check_header_mongrel "$LINENO" "qwt_plot.h" "ac_cv_header_qwt_plot_h" "$ac_includes_default"
     22495if test "x$ac_cv_header_qwt_plot_h" = x""yes; then :
     22496
     22497else
     22498  no_good=yes
     22499fi
     22500
     22501
     22502
     22503        ac_ext=cpp
     22504ac_cpp='$CXXCPP $CPPFLAGS'
     22505ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22506ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22507ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     22508
     22509
     22510
     22511
     22512
     22513
     22514
     22515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QwtPlot qwt in -lqwt-qt4" >&5
     22516$as_echo_n "checking for QwtPlot qwt in -lqwt-qt4... " >&6; }
     22517if test "${ac_cv_lib_qwt_qt4_QwtPlot_qwt+set}" = set; then :
     22518  $as_echo_n "(cached) " >&6
     22519else
     22520
     22521        ac_check_lib_save_LIBS=$LIBS
     22522        LIBS="-lqwt-qt4  $LIBS"
     22523        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     22524/* end confdefs.h.  */
     22525#include <qwt_plot.h>
     22526int
     22527main ()
     22528{
     22529QwtPlot qwt
     22530  ;
     22531  return 0;
     22532}
     22533_ACEOF
     22534if ac_fn_cxx_try_link "$LINENO"; then :
     22535  ac_cv_lib_qwt_qt4_QwtPlot_qwt=yes
     22536else
     22537  ac_cv_lib_qwt_qt4_QwtPlot_qwt=no
     22538fi
     22539rm -f core conftest.err conftest.$ac_objext \
     22540    conftest$ac_exeext conftest.$ac_ext
     22541        LIBS=$ac_check_lib_save_LIBS
     22542fi
     22543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_qwt_qt4_QwtPlot_qwt" >&5
     22544$as_echo "$ac_cv_lib_qwt_qt4_QwtPlot_qwt" >&6; }
     22545        if test $ac_cv_lib_qwt_qt4_QwtPlot_qwt = yes; then :
     22546
     22547
     22548                        cat >>confdefs.h <<_ACEOF
     22549#define HAVE_LIBQWT_QT4 1
     22550_ACEOF
     22551
     22552                        LIBS="-lqwt-qt4 $LIBS"
     22553
     22554
     22555else
     22556  no_good=yes
     22557fi
     22558
     22559
     22560
     22561        ac_ext=cpp
     22562ac_cpp='$CXXCPP $CPPFLAGS'
     22563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     22564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     22565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     22566
     22567
     22568        if test "$no_good" = yes; then
     22569                HAVE_QWT=no
     22570
     22571                LIBS=$OLD_LIBS
     22572                LDFLAGS=$OLD_LDFLAGS
     22573                CPPFLAGS=$OLD_CPPFLAGS
     22574                CFLAGS=$OLD_CFLAGS
     22575        else
     22576                HAVE_QWT=yes
     22577
     22578                $as_echo "#define HAVE_PKG_qwt 1" >>confdefs.h
     22579
     22580        fi
     22581
     22582fi
    2239322583
    2239422584
     
    2297223162fi
    2297323163
    22974 
    22975  if test "$QT4_VERSION" -a "$HAVE_FITS_H" = yes -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes; then
     23164 if test "$HAVE_QGL" = yes; then
     23165  HAS_QGL_TRUE=
     23166  HAS_QGL_FALSE='#'
     23167else
     23168  HAS_QGL_TRUE='#'
     23169  HAS_QGL_FALSE=
     23170fi
     23171
     23172 if test "$HAVE_QWT" = yes; then
     23173  HAS_QWT_TRUE=
     23174  HAS_QWT_FALSE='#'
     23175else
     23176  HAS_QWT_TRUE='#'
     23177  HAS_QWT_FALSE=
     23178fi
     23179
     23180
     23181 if test "$QT4_VERSION" -a "$HAVE_FITS_H" = yes -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_QWT" = yes; then
    2297623182  HAS_VIEWER_TRUE=
    2297723183  HAS_VIEWER_FALSE='#'
     
    2335023556if test -z "${HAS_GLU_TRUE}" && test -z "${HAS_GLU_FALSE}"; then
    2335123557  as_fn_error $? "conditional \"HAS_GLU\" was never defined.
     23558Usually this means the macro was only invoked conditionally." "$LINENO" 5
     23559fi
     23560if test -z "${HAS_QGL_TRUE}" && test -z "${HAS_QGL_FALSE}"; then
     23561  as_fn_error $? "conditional \"HAS_QGL\" was never defined.
     23562Usually this means the macro was only invoked conditionally." "$LINENO" 5
     23563fi
     23564if test -z "${HAS_QWT_TRUE}" && test -z "${HAS_QWT_FALSE}"; then
     23565  as_fn_error $? "conditional \"HAS_QWT\" was never defined.
    2335223566Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2335323567fi
     
    2574425958{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
    2574525959$as_echo "$as_me: " >&6;}
    25746 { $as_echo "$as_me:${as_lineno-$LINENO}:  zlib                   / 'zlib.h'          found: $HAVE_ZLIB" >&5
    25747 $as_echo "$as_me:  zlib                   / 'zlib.h'          found: $HAVE_ZLIB" >&6;}
    25748 { $as_echo "$as_me:${as_lineno-$LINENO}:  gui/RawEventsViewer/izstream.h             found: $HAVE_IZSTREAM_H" >&5
    25749 $as_echo "$as_me:  gui/RawEventsViewer/izstream.h             found: $HAVE_IZSTREAM_H" >&6;}
    25750 { $as_echo "$as_me:${as_lineno-$LINENO}:  gui/RawEventsViewer/fits.h                 found: $HAVE_FITS_H" >&5
    25751 $as_echo "$as_me:  gui/RawEventsViewer/fits.h                 found: $HAVE_FITS_H" >&6;}
    25752 { $as_echo "$as_me:${as_lineno-$LINENO}:  GL                     / GL/gl.h           found: $HAVE_GL" >&5
    25753 $as_echo "$as_me:  GL                     / GL/gl.h           found: $HAVE_GL" >&6;}
    25754 { $as_echo "$as_me:${as_lineno-$LINENO}:  GLU                    / GL/glu.h          found: $HAVE_GLU" >&5
    25755 $as_echo "$as_me:  GLU                    / GL/glu.h          found: $HAVE_GLU" >&6;}
    25756 { $as_echo "$as_me:${as_lineno-$LINENO}:  cfitsio                / 'fitsio.h'        found: $HAVE_CFITSIO" >&5
    25757 $as_echo "$as_me:  cfitsio                / 'fitsio.h'        found: $HAVE_CFITSIO" >&6;}
    25758 { $as_echo "$as_me:${as_lineno-$LINENO}:  CCfits                 / 'CCfits/CCfits'   found: $HAVE_CCFITS" >&5
    25759 $as_echo "$as_me:  CCfits                 / 'CCfits/CCfits'   found: $HAVE_CCFITS" >&6;}
     25960{ $as_echo "$as_me:${as_lineno-$LINENO}:  zlib                   / 'zlib.h'           found: $HAVE_ZLIB" >&5
     25961$as_echo "$as_me:  zlib                   / 'zlib.h'           found: $HAVE_ZLIB" >&6;}
     25962{ $as_echo "$as_me:${as_lineno-$LINENO}:  gui/RawEventsViewer/izstream.h              found: $HAVE_IZSTREAM_H" >&5
     25963$as_echo "$as_me:  gui/RawEventsViewer/izstream.h              found: $HAVE_IZSTREAM_H" >&6;}
     25964{ $as_echo "$as_me:${as_lineno-$LINENO}:  gui/RawEventsViewer/fits.h                  found: $HAVE_FITS_H" >&5
     25965$as_echo "$as_me:  gui/RawEventsViewer/fits.h                  found: $HAVE_FITS_H" >&6;}
     25966{ $as_echo "$as_me:${as_lineno-$LINENO}:  GL                     / GL/gl.h            found: $HAVE_GL" >&5
     25967$as_echo "$as_me:  GL                     / GL/gl.h            found: $HAVE_GL" >&6;}
     25968{ $as_echo "$as_me:${as_lineno-$LINENO}:  GLU                    / GL/glu.h           found: $HAVE_GLU" >&5
     25969$as_echo "$as_me:  GLU                    / GL/glu.h           found: $HAVE_GLU" >&6;}
     25970{ $as_echo "$as_me:${as_lineno-$LINENO}:  QtOpenGL               / QtOpenGL/QGLWidget found: $HAVE_QGL" >&5
     25971$as_echo "$as_me:  QtOpenGL               / QtOpenGL/QGLWidget found: $HAVE_QGL" >&6;}
     25972{ $as_echo "$as_me:${as_lineno-$LINENO}:  Qwt                    / qwt_plot.h         found: $HAVE_QWT" >&5
     25973$as_echo "$as_me:  Qwt                    / qwt_plot.h         found: $HAVE_QWT" >&6;}
     25974{ $as_echo "$as_me:${as_lineno-$LINENO}:  cfitsio                / 'fitsio.h'         found: $HAVE_CFITSIO" >&5
     25975$as_echo "$as_me:  cfitsio                / 'fitsio.h'         found: $HAVE_CFITSIO" >&6;}
     25976{ $as_echo "$as_me:${as_lineno-$LINENO}:  CCfits                 / 'CCfits/CCfits'    found: $HAVE_CCFITS" >&5
     25977$as_echo "$as_me:  CCfits                 / 'CCfits/CCfits'    found: $HAVE_CCFITS" >&6;}
    2576025978if test "$lt_cv_libxp" = "yes"; then
    25761   { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: yes" >&5
    25762 $as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: yes" >&6;}
    25763 else
    25764   { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: no" >&5
    25765 $as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: no" >&6;}
     25979  { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes" >&5
     25980$as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes" >&6;}
     25981else
     25982  { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no" >&5
     25983$as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no" >&6;}
    2576625984
    2576725985fi
    2576825986
    2576925987if test "$lt_cv_libxp" = "yes"; then
    25770   { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: yes" >&5
    25771 $as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: yes" >&6;}
    25772 else
    25773   { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: no" >&5
    25774 $as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: no" >&6;}
     25988  { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes" >&5
     25989$as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes" >&6;}
     25990else
     25991  { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no" >&5
     25992$as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no" >&6;}
    2577525993
    2577625994fi
    2577725995if test "$COLORDIFF" = colordiff; then
    25778   { $as_echo "$as_me:${as_lineno-$LINENO}:  colored svn diff       / 'colordiff'       found: yes" >&5
    25779 $as_echo "$as_me:  colored svn diff       / 'colordiff'       found: yes" >&6;}
    25780 else
    25781   { $as_echo "$as_me:${as_lineno-$LINENO}:  colored svn diff       / 'colordiff'       found: no" >&5
    25782 $as_echo "$as_me:  colored svn diff       / 'colordiff'       found: no" >&6;}
     25996  { $as_echo "$as_me:${as_lineno-$LINENO}:  colored svn diff       / 'colordiff'        found: yes" >&5
     25997$as_echo "$as_me:  colored svn diff       / 'colordiff'        found: yes" >&6;}
     25998else
     25999  { $as_echo "$as_me:${as_lineno-$LINENO}:  colored svn diff       / 'colordiff'        found: no" >&5
     26000$as_echo "$as_me:  colored svn diff       / 'colordiff'        found: no" >&6;}
    2578326001
    2578426002fi
    2578526003if test "$HELP2MAN" = yes; then
    2578626004
    25787    { $as_echo "$as_me:${as_lineno-$LINENO}:  man-pages enabled      / 'help2man'        found: $HELP2MAN" >&5
    25788 $as_echo "$as_me:  man-pages enabled      / 'help2man'        found: $HELP2MAN" >&6;}
     26005   { $as_echo "$as_me:${as_lineno-$LINENO}:  man-pages enabled      / 'help2man'         found: $HELP2MAN" >&5
     26006$as_echo "$as_me:  man-pages enabled      / 'help2man'         found: $HELP2MAN" >&6;}
    2578926007   if test "$GROFF" = yes; then
    25790   { $as_echo "$as_me:${as_lineno-$LINENO}:  build of html enabled  / 'groff'           found: yes" >&5
    25791 $as_echo "$as_me:  build of html enabled  / 'groff'           found: yes" >&6;}
    25792       { $as_echo "$as_me:${as_lineno-$LINENO}:  build of pdf  enabled  / 'ps2pdf'          found: $PS2PDF" >&5
    25793 $as_echo "$as_me:  build of pdf  enabled  / 'ps2pdf'          found: $PS2PDF" >&6;}
    25794 else
    25795   { $as_echo "$as_me:${as_lineno-$LINENO}:  build of html and pdf  / 'groff'           found: no" >&5
    25796 $as_echo "$as_me:  build of html and pdf  / 'groff'           found: no" >&6;}
    25797 
    25798 fi
    25799 
    25800 else
    25801 
    25802    { $as_echo "$as_me:${as_lineno-$LINENO}:  man, html, pdf enabled / 'help2man'        found: no" >&5
    25803 $as_echo "$as_me:  man, html, pdf enabled / 'help2man'        found: no" >&6;}
     26008  { $as_echo "$as_me:${as_lineno-$LINENO}:  build of html enabled  / 'groff'            found: yes" >&5
     26009$as_echo "$as_me:  build of html enabled  / 'groff'            found: yes" >&6;}
     26010      { $as_echo "$as_me:${as_lineno-$LINENO}:  build of pdf  enabled  / 'ps2pdf'           found: $PS2PDF" >&5
     26011$as_echo "$as_me:  build of pdf  enabled  / 'ps2pdf'           found: $PS2PDF" >&6;}
     26012else
     26013  { $as_echo "$as_me:${as_lineno-$LINENO}:  build of html and pdf  / 'groff'            found: no" >&5
     26014$as_echo "$as_me:  build of html and pdf  / 'groff'            found: no" >&6;}
     26015
     26016fi
     26017
     26018else
     26019
     26020   { $as_echo "$as_me:${as_lineno-$LINENO}:  man, html, pdf enabled / 'help2man'         found: no" >&5
     26021$as_echo "$as_me:  man, html, pdf enabled / 'help2man'         found: no" >&6;}
    2580426022
    2580526023fi
    2580626024
    2580726025if test -n "$DX_DOXYGEN"; then
    25808   { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen docu enabled   / 'doxygen'         found: $DX_DOXYGEN" >&5
    25809 $as_echo "$as_me:  doxygen docu enabled   / 'doxygen'         found: $DX_DOXYGEN" >&6;}
    25810 else
    25811   { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen docu enabled   / 'doxygen'         found: no" >&5
    25812 $as_echo "$as_me:  doxygen docu enabled   / 'doxygen'         found: no" >&6;}
     26026  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen docu enabled   / 'doxygen'          found: $DX_DOXYGEN" >&5
     26027$as_echo "$as_me:  doxygen docu enabled   / 'doxygen'          found: $DX_DOXYGEN" >&6;}
     26028else
     26029  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen docu enabled   / 'doxygen'          found: no" >&5
     26030$as_echo "$as_me:  doxygen docu enabled   / 'doxygen'          found: no" >&6;}
    2581326031
    2581426032fi
    2581526033if test -n "$DX_DOT"; then
    25816   { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen graphs enabled / 'dot' (graphviz)  found: $DX_DOT" >&5
    25817 $as_echo "$as_me:  doxygen graphs enabled / 'dot' (graphviz)  found: $DX_DOT" >&6;}
    25818 else
    25819   { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen graphs enabled / 'dot' (graphviz)  found: no" >&5
    25820 $as_echo "$as_me:  doxygen graphs enabled / 'dot' (graphviz)  found: no" >&6;}
     26034  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen graphs enabled / 'dot' (graphviz)   found: $DX_DOT" >&5
     26035$as_echo "$as_me:  doxygen graphs enabled / 'dot' (graphviz)   found: $DX_DOT" >&6;}
     26036else
     26037  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen graphs enabled / 'dot' (graphviz)   found: no" >&5
     26038$as_echo "$as_me:  doxygen graphs enabled / 'dot' (graphviz)   found: no" >&6;}
    2582126039
    2582226040fi
    2582326041if test -n "$QT4_VERSION"; then
    25824   { $as_echo "$as_me:${as_lineno-$LINENO}:  QT4 support enabled    /  QT4 toolkit      found: yes" >&5
    25825 $as_echo "$as_me:  QT4 support enabled    /  QT4 toolkit      found: yes" >&6;}
    25826 else
    25827   { $as_echo "$as_me:${as_lineno-$LINENO}:  QT4 support enabled    /  QT4 toolkit      found: no" >&5
    25828 $as_echo "$as_me:  QT4 support enabled    /  QT4 toolkit      found: no" >&6;}
    25829 
    25830 fi
    25831 { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOT support enabled   /  root >= 5.12/00  found: $ROOTEXEC" >&5
    25832 $as_echo "$as_me:  ROOT support enabled   /  root >= 5.12/00  found: $ROOTEXEC" >&6;}
     26042  { $as_echo "$as_me:${as_lineno-$LINENO}:  QT4 support enabled    /  QT4 toolkit       found: yes" >&5
     26043$as_echo "$as_me:  QT4 support enabled    /  QT4 toolkit       found: yes" >&6;}
     26044else
     26045  { $as_echo "$as_me:${as_lineno-$LINENO}:  QT4 support enabled    /  QT4 toolkit       found: no" >&5
     26046$as_echo "$as_me:  QT4 support enabled    /  QT4 toolkit       found: no" >&6;}
     26047
     26048fi
     26049{ $as_echo "$as_me:${as_lineno-$LINENO}:  ROOT support enabled   /  root >= 5.12/00   found: $ROOTEXEC" >&5
     26050$as_echo "$as_me:  ROOT support enabled   /  root >= 5.12/00   found: $ROOTEXEC" >&6;}
    2583326051if test "$HAVE_ROOT_QT" = yes; then
    25834   { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOT built with --with-qt                  found: yes" >&5
    25835 $as_echo "$as_me:  ROOT built with --with-qt                  found: yes" >&6;}
    25836 else
    25837   { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOT built with --with-qt                  found: no" >&5
    25838 $as_echo "$as_me:  ROOT built with --with-qt                  found: no" >&6;}
     26052  { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOT built with --with-qt                   found: yes" >&5
     26053$as_echo "$as_me:  ROOT built with --with-qt                   found: yes" >&6;}
     26054else
     26055  { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOT built with --with-qt                   found: no" >&5
     26056$as_echo "$as_me:  ROOT built with --with-qt                   found: no" >&6;}
    2583926057
    2584026058fi
  • trunk/FACT++/configure.ac

    r11622 r11721  
    133133#AC_CHECK_LIB([cfitsio], main,,AC_MSG_ERROR([cfitsio library not found]))
    134134
    135 AC_LANG_POP
     135AC_LANG_POP(C)
    136136
    137137# Needed to compile FACT++
     
    226226   [], [QT4_DO_IT_ALL])
    227227
    228 AC_CHECK_PACKAGE(QGL, main, QtOpenGL, QtOpenGL/QGlWidget)
    229 
     228# This allows to list the QT4 stuff independantly later
     229CPPFLAGS+=" "${QT4_INCLUDES}" "
     230AC_CHECK_CLASS(QGL, [QGLWidget qgl], QtOpenGL, QtOpenGL/QGLWidget,
     231        HAVE_QGL=yes, HAVE_QGL=no)
     232AC_CHECK_CLASS(qwt, [QwtPlot qwt],   qwt-qt4,  qwt_plot.h,
     233        HAVE_QWT=yes, HAVE_QWT=no)
    230234
    231235######################################################################
     
    309313AM_CONDITIONAL(HAS_GL,        [test "$HAVE_GL" = yes])
    310314AM_CONDITIONAL(HAS_GLU,       [test "$HAVE_GLU" = yes])
    311 
    312 AM_CONDITIONAL(HAS_VIEWER,    [test "$QT4_VERSION" -a "$HAVE_FITS_H" = yes -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes])
     315AM_CONDITIONAL(HAS_QGL,       [test "$HAVE_QGL" = yes])
     316AM_CONDITIONAL(HAS_QWT,       [test "$HAVE_QWT" = yes])
     317
     318AM_CONDITIONAL(HAS_VIEWER,    [test "$QT4_VERSION" -a "$HAVE_FITS_H" = yes -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_QWT" = yes])
    313319
    314320AM_CONDITIONAL(IS_FALSE,      [test "x" = "y"])
     
    371377AC_MSG_NOTICE(--------------------------------------------------------------------)
    372378AC_MSG_NOTICE()
    373 AC_MSG_NOTICE([ zlib                   / 'zlib.h'          found: $HAVE_ZLIB])
    374 AC_MSG_NOTICE([ gui/RawEventsViewer/izstream.h             found: $HAVE_IZSTREAM_H])
    375 AC_MSG_NOTICE([ gui/RawEventsViewer/fits.h                 found: $HAVE_FITS_H])
    376 AC_MSG_NOTICE([ GL                     / GL/gl.h           found: $HAVE_GL])
    377 AC_MSG_NOTICE([ GLU                    / GL/glu.h          found: $HAVE_GLU])
    378 AC_MSG_NOTICE([ cfitsio                / 'fitsio.h'        found: $HAVE_CFITSIO])
    379 AC_MSG_NOTICE([ CCfits                 / 'CCfits/CCfits'   found: $HAVE_CCFITS])
     379AC_MSG_NOTICE([ zlib                   / 'zlib.h'           found: $HAVE_ZLIB])
     380AC_MSG_NOTICE([ gui/RawEventsViewer/izstream.h              found: $HAVE_IZSTREAM_H])
     381AC_MSG_NOTICE([ gui/RawEventsViewer/fits.h                  found: $HAVE_FITS_H])
     382AC_MSG_NOTICE([ GL                     / GL/gl.h            found: $HAVE_GL])
     383AC_MSG_NOTICE([ GLU                    / GL/glu.h           found: $HAVE_GLU])
     384AC_MSG_NOTICE([ QtOpenGL               / QtOpenGL/QGLWidget found: $HAVE_QGL])
     385AC_MSG_NOTICE([ Qwt                    / qwt_plot.h         found: $HAVE_QWT])
     386AC_MSG_NOTICE([ cfitsio                / 'fitsio.h'         found: $HAVE_CFITSIO])
     387AC_MSG_NOTICE([ CCfits                 / 'CCfits/CCfits'    found: $HAVE_CCFITS])
    380388AM_COND_IF(HAS_LIBXP,
    381    AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: yes]),
    382    AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: no])
     389   AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes]),
     390   AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no])
    383391)
    384392
    385393AM_COND_IF(HAS_LIBXP,
    386    AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: yes]),
    387    AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp' found: no])
     394   AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes]),
     395   AC_MSG_NOTICE([ Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no])
    388396)
    389397AM_COND_IF(HAS_COLORDIFF,
    390    AC_MSG_NOTICE([ colored svn diff       / 'colordiff'       found: yes]),
    391    AC_MSG_NOTICE([ colored svn diff       / 'colordiff'       found: no])
     398   AC_MSG_NOTICE([ colored svn diff       / 'colordiff'        found: yes]),
     399   AC_MSG_NOTICE([ colored svn diff       / 'colordiff'        found: no])
    392400)
    393401AM_COND_IF(HAS_HELP2MAN,[
    394    AC_MSG_NOTICE([ man-pages enabled      / 'help2man'        found: $HELP2MAN])
     402   AC_MSG_NOTICE([ man-pages enabled      / 'help2man'         found: $HELP2MAN])
    395403   AM_COND_IF(HAS_GROFF,
    396       AC_MSG_NOTICE([ build of html enabled  / 'groff'           found: yes])
    397       AC_MSG_NOTICE([ build of pdf  enabled  / 'ps2pdf'          found: $PS2PDF]),
    398       AC_MSG_NOTICE([ build of html and pdf  / 'groff'           found: no])
     404      AC_MSG_NOTICE([ build of html enabled  / 'groff'            found: yes])
     405      AC_MSG_NOTICE([ build of pdf  enabled  / 'ps2pdf'           found: $PS2PDF]),
     406      AC_MSG_NOTICE([ build of html and pdf  / 'groff'            found: no])
    399407   )
    400408],[
    401    AC_MSG_NOTICE([ man, html, pdf enabled / 'help2man'        found: no])
     409   AC_MSG_NOTICE([ man, html, pdf enabled / 'help2man'         found: no])
    402410])   
    403411
    404412AM_COND_IF(HAS_DOXYGEN,
    405    AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'         found: $DX_DOXYGEN]),
    406    AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'         found: no])
     413   AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'          found: $DX_DOXYGEN]),
     414   AC_MSG_NOTICE([ doxygen docu enabled   / 'doxygen'          found: no])
    407415)
    408416AM_COND_IF(HAS_DOT,
    409    AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz)  found: $DX_DOT]),
    410    AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz)  found: no])
     417   AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz)   found: $DX_DOT]),
     418   AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz)   found: no])
    411419)
    412420AM_COND_IF(HAS_QT4,
    413    AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit      found: yes]),
    414    AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit      found: no])
    415 )
    416 AC_MSG_NOTICE([ ROOT support enabled   /  root >= 5.12/00  found: $ROOTEXEC])
     421   AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit       found: yes]),
     422   AC_MSG_NOTICE([ QT4 support enabled    /  QT4 toolkit       found: no])
     423)
     424AC_MSG_NOTICE([ ROOT support enabled   /  root >= 5.12/00   found: $ROOTEXEC])
    417425AM_COND_IF(HAS_ROOT_QT,
    418    AC_MSG_NOTICE([ ROOT built with --with-qt                  found: yes]),
    419    AC_MSG_NOTICE([ ROOT built with --with-qt                  found: no])
     426   AC_MSG_NOTICE([ ROOT built with --with-qt                   found: yes]),
     427   AC_MSG_NOTICE([ ROOT built with --with-qt                   found: no])
    420428)
    421429AC_MSG_NOTICE()
Note: See TracChangeset for help on using the changeset viewer.