Ignore:
Timestamp:
06/02/12 14:01:24 (13 years ago)
Author:
tbretz
Message:
Added timecheck; added proper support for HAS_SQL in configure
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r13970 r14035  
    650650HAS_ROOT_FALSE
    651651HAS_ROOT_TRUE
     652HAS_SQL_FALSE
     653HAS_SQL_TRUE
    652654HAS_QT4_FALSE
    653655HAS_QT4_TRUE
     
    2385723859
    2385823860                cat > conftest.$ac_ext <<EOF
    23859 #line 23859 "configure"
     23861#line 23861 "configure"
    2386023862#include "confdefs.h"
    2386123863#include <qglobal.h>
     
    2488024882fi
    2488124883
    24882  if test -n "$DX_DOXYGEN"; then
     24884 if test "$DX_DOXYGEN"; then
    2488324885  HAS_DOXYGEN_TRUE=
    2488424886  HAS_DOXYGEN_FALSE='#'
     
    2488824890fi
    2488924891
    24890  if test -n "$DX_DOT"; then
     24892 if test "$DX_DOT"; then
    2489124893  HAS_DOT_TRUE=
    2489224894  HAS_DOT_FALSE='#'
     
    2490424906fi
    2490524907
    24906  if test -n "$QT4_VERSION"; then
     24908 if test "$QT4_VERSION"; then
    2490724909  HAS_QT4_TRUE=
    2490824910  HAS_QT4_FALSE='#'
     
    2491024912  HAS_QT4_TRUE='#'
    2491124913  HAS_QT4_FALSE=
     24914fi
     24915
     24916 if test "$MYSQLPP_LIB_DIR" -a "$MYSQLPP_INC_DIR" ; then
     24917  HAS_SQL_TRUE=
     24918  HAS_SQL_FALSE='#'
     24919else
     24920  HAS_SQL_TRUE='#'
     24921  HAS_SQL_FALSE=
    2491224922fi
    2491324923
     
    2507125081if test "$HAVE_DBUS" = yes; then
    2507225082  $as_echo "#define HAVE_DBUS 1" >>confdefs.h
     25083
     25084fi
     25085if test "$MYSQLPP_LIB_DIR" -a "$MYSQLPP_INC_DIR" ; then
     25086  $as_echo "#define HAVE_SQL 1" >>confdefs.h
    2507325087
    2507425088fi
     
    2537525389if test -z "${HAS_QT4_TRUE}" && test -z "${HAS_QT4_FALSE}"; then
    2537625390  as_fn_error $? "conditional \"HAS_QT4\" was never defined.
     25391Usually this means the macro was only invoked conditionally." "$LINENO" 5
     25392fi
     25393if test -z "${HAS_SQL_TRUE}" && test -z "${HAS_SQL_FALSE}"; then
     25394  as_fn_error $? "conditional \"HAS_SQL\" was never defined.
    2537725395Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2537825396fi
     
    2784527863{ $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
    2784627864$as_echo "$as_me: " >&6;}
    27847 if test -n "$QT4_VERSION"; then
     27865if test "$MYSQLPP_LIB_DIR" -a "$MYSQLPP_INC_DIR" ; then
     27866
     27867   { $as_echo "$as_me:${as_lineno-$LINENO}: --------------------------------------------------------------------" >&5
     27868$as_echo "$as_me: --------------------------------------------------------------------" >&6;}
     27869   { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     27870$as_echo "$as_me: " >&6;}
     27871   { $as_echo "$as_me:${as_lineno-$LINENO}:  MYSQLPP_INC_DIR = $MYSQLPP_INC_DIR" >&5
     27872$as_echo "$as_me:  MYSQLPP_INC_DIR = $MYSQLPP_INC_DIR" >&6;}
     27873   { $as_echo "$as_me:${as_lineno-$LINENO}:  MYSQLPP_LIB_DIR = $MYSQLPP_LIB_DIR" >&5
     27874$as_echo "$as_me:  MYSQLPP_LIB_DIR = $MYSQLPP_LIB_DIR" >&6;}
     27875   { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
     27876$as_echo "$as_me: " >&6;}
     27877
     27878fi
     27879if test "$QT4_VERSION"; then
    2784827880
    2784927881   { $as_echo "$as_me:${as_lineno-$LINENO}: --------------------------------------------------------------------" >&5
     
    2792127953{ $as_echo "$as_me:${as_lineno-$LINENO}:  CCfits                 / 'CCfits/CCfits'    found: $HAVE_CCFITS" >&5
    2792227954$as_echo "$as_me:  CCfits                 / 'CCfits/CCfits'    found: $HAVE_CCFITS" >&6;}
     27955if test "$MYSQLPP_LIB_DIR" -a "$MYSQLPP_INC_DIR" ; then
     27956  { $as_echo "$as_me:${as_lineno-$LINENO}:  MySQL/MySQL++          / 'mysql++.h'        found: yes" >&5
     27957$as_echo "$as_me:  MySQL/MySQL++          / 'mysql++.h'        found: yes" >&6;}
     27958else
     27959  { $as_echo "$as_me:${as_lineno-$LINENO}:  MySQL/MySQL++          / 'mysql++.h'        found: no" >&5
     27960$as_echo "$as_me:  MySQL/MySQL++          / 'mysql++.h'        found: no" >&6;}
     27961
     27962fi
    2792327963{ $as_echo "$as_me:${as_lineno-$LINENO}:  DBus-1, DBus-glib-1    / pkg-config         found: $HAVE_DBUS" >&5
    2792427964$as_echo "$as_me:  DBus-1, DBus-glib-1    / pkg-config         found: $HAVE_DBUS" >&6;}
     
    2797028010fi
    2797128011
    27972 if test -n "$DX_DOXYGEN"; then
     28012if test "$DX_DOXYGEN"; then
    2797328013  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen docu enabled   / 'doxygen'          found: $DX_DOXYGEN" >&5
    2797428014$as_echo "$as_me:  doxygen docu enabled   / 'doxygen'          found: $DX_DOXYGEN" >&6;}
     
    2797828018
    2797928019fi
    27980 if test -n "$DX_DOT"; then
     28020if test "$DX_DOT"; then
    2798128021  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen graphs enabled / 'dot' (graphviz)   found: $DX_DOT" >&5
    2798228022$as_echo "$as_me:  doxygen graphs enabled / 'dot' (graphviz)   found: $DX_DOT" >&6;}
     
    2798628026
    2798728027fi
    27988 if test -n "$QT4_VERSION"; then
     28028if test "$QT4_VERSION"; then
    2798928029  { $as_echo "$as_me:${as_lineno-$LINENO}:  QT4 support enabled    /  QT4 toolkit       found: yes" >&5
    2799028030$as_echo "$as_me:  QT4 support enabled    /  QT4 toolkit       found: yes" >&6;}
     
    2806428104
    2806528105fi
    28066 if test -n "$DX_DOXYGEN"; then
     28106if test "$DX_DOXYGEN"; then
    2806728107  { $as_echo "$as_me:${as_lineno-$LINENO}:  doxygen-run:   build html documentation with doxygen" >&5
    2806828108$as_echo "$as_me:  doxygen-run:   build html documentation with doxygen" >&6;}
     
    2811028150
    2811128151fi
    28112 if test -n "$QT4_VERSION"; then
     28152if test "$QT4_VERSION"; then
    2811328153  :
    2811428154else
     
    2815428194
    2815528195fi
     28196if test "$MYSQLPP_LIB_DIR" -a "$MYSQLPP_INC_DIR" ; then
     28197  :
     28198else
     28199  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  database support globally disabled!" >&5
     28200$as_echo "$as_me: WARNING:  database support globally disabled!" >&2;}
     28201fi
    2815628202if test "$HAVE_NOVA" = yes; then
    2815728203  :
Note: See TracChangeset for help on using the changeset viewer.