Changeset 18428 for trunk/FACT++


Ignore:
Timestamp:
01/29/16 13:19:49 (9 years ago)
Author:
tbretz
Message:
Added detection for curl.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure.ac

    r16957 r18428  
    1313#AC_CONFIG_HEADERS([config.h])
    1414AC_CONFIG_MACRO_DIR([.macro_dir])
    15 AC_CONFIG_AUX_DIR([.aux_dir])
     15AC_CONFIG_AUX_DIR([.aux_dir]) # /usr/share/libtool/config /usr/share/automake-x.xx
    1616
    1717# Make sure none of the following will set -O2
     
    7575######################################################################
    7676
     77AM_PROG_AR
    7778LT_INIT([disable-static])
    7879AC_LANG(C++)
     
    151152   AC_MSG_WARN([ Motif/lesstif not found!])
    152153)
     154
     155# Required in did.c
     156LDFLAGS+=" -lXt -lX11 "
    153157
    154158# Check for zlib and exit with error if not found (defines HAVE_LIBZ)
     
    300304# This allows to list the QT4 stuff independantly later
    301305CPPFLAGS+=" "${QT4_INCLUDES}" "
     306LDFLAGS+=" -lQtCore "
    302307AC_CHECK_CLASS(QGL, [QGLWidget qgl], QtOpenGL, QtOpenGL/QGLWidget,
    303308        HAVE_QGL=yes, HAVE_QGL=no)
     
    342347AC_CHECK_PROG(JSDOC,     jsdoc,        yes, no)
    343348AC_CHECK_PROG(MAILX,     mailx,        yes, no)
     349AC_CHECK_PROG(CURL,      curl,         yes, no)
    344350
    345351##########################################################################
     
    374380AM_CONDITIONAL(HAS_JSDOC,     [test "$JSDOC" = yes])
    375381AM_CONDITIONAL(HAS_MAILX,     [test "$MAILX" = yes])
     382AM_CONDITIONAL(HAS_CURL,      [test "$CURL" = yes])
    376383AM_CONDITIONAL(HAS_DOXYGEN,   [test "$DX_DOXYGEN"])
    377384AM_CONDITIONAL(HAS_DOT,       [test "$DX_DOT"])
     
    407414AM_COND_IF(HAS_V8,    [AC_DEFINE(HAVE_V8)],   )
    408415AM_COND_IF(HAS_MAILX, [AC_DEFINE(HAVE_MAILX)],)
     416AM_COND_IF(HAS_CURL,  [AC_DEFINE(HAVE_CURL)],)
    409417
    410418##########################################################################
     
    500508      AC_MSG_NOTICE([ Mail support           / 'mailx'            found: yes]),
    501509      AC_MSG_NOTICE([ Mail support           / 'mailx'            found: no])
     510   )
     511   AM_COND_IF(HAS_CURL,
     512      AC_MSG_NOTICE([ Curl support           / 'curl'             found: yes]),
     513      AC_MSG_NOTICE([ Curl support           / 'curl'             found: no])
    502514   )
    503515])
Note: See TracChangeset for help on using the changeset viewer.