Ignore:
Timestamp:
05/23/16 17:20:13 (9 years ago)
Author:
tbretz
Message:
Updated according to changes in configure.ac
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r17178 r18507  
    660660HAS_DOXYGEN_FALSE
    661661HAS_DOXYGEN_TRUE
     662HAS_CURL_FALSE
     663HAS_CURL_TRUE
    662664HAS_MAILX_FALSE
    663665HAS_MAILX_TRUE
     
    672674HAS_COLORDIFF_FALSE
    673675HAS_COLORDIFF_TRUE
     676CURL
    674677MAILX
    675678JSDOC
     
    832835RANLIB
    833836STRIP
    834 ac_ct_AR
    835 AR
    836837DLLTOOL
    837838OBJDUMP
     
    852853build
    853854LIBTOOL
     855ac_ct_AR
     856AR
    854857DBUS_LIBS
    855858DBUS_CFLAGS
     
    28842887ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    28852888
    2886 
     2889 # /usr/share/libtool/config /usr/share/automake-x.xx
    28872890
    28882891# Make sure none of the following will set -O2
     
    49294932# Setup the libtool and the language
    49304933######################################################################
     4934
     4935# expand $ac_aux_dir to an absolute path
     4936am_aux_dir=`cd $ac_aux_dir && pwd`
     4937
     4938if test -n "$ac_tool_prefix"; then
     4939  for ac_prog in ar lib "link -lib"
     4940  do
     4941    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4942set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4944$as_echo_n "checking for $ac_word... " >&6; }
     4945if ${ac_cv_prog_AR+:} false; then :
     4946  $as_echo_n "(cached) " >&6
     4947else
     4948  if test -n "$AR"; then
     4949  ac_cv_prog_AR="$AR" # Let the user override the test.
     4950else
     4951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4952for as_dir in $PATH
     4953do
     4954  IFS=$as_save_IFS
     4955  test -z "$as_dir" && as_dir=.
     4956    for ac_exec_ext in '' $ac_executable_extensions; do
     4957  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4958    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     4959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4960    break 2
     4961  fi
     4962done
     4963  done
     4964IFS=$as_save_IFS
     4965
     4966fi
     4967fi
     4968AR=$ac_cv_prog_AR
     4969if test -n "$AR"; then
     4970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     4971$as_echo "$AR" >&6; }
     4972else
     4973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4974$as_echo "no" >&6; }
     4975fi
     4976
     4977
     4978    test -n "$AR" && break
     4979  done
     4980fi
     4981if test -z "$AR"; then
     4982  ac_ct_AR=$AR
     4983  for ac_prog in ar lib "link -lib"
     4984do
     4985  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4986set dummy $ac_prog; ac_word=$2
     4987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4988$as_echo_n "checking for $ac_word... " >&6; }
     4989if ${ac_cv_prog_ac_ct_AR+:} false; then :
     4990  $as_echo_n "(cached) " >&6
     4991else
     4992  if test -n "$ac_ct_AR"; then
     4993  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     4994else
     4995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4996for as_dir in $PATH
     4997do
     4998  IFS=$as_save_IFS
     4999  test -z "$as_dir" && as_dir=.
     5000    for ac_exec_ext in '' $ac_executable_extensions; do
     5001  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5002    ac_cv_prog_ac_ct_AR="$ac_prog"
     5003    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5004    break 2
     5005  fi
     5006done
     5007  done
     5008IFS=$as_save_IFS
     5009
     5010fi
     5011fi
     5012ac_ct_AR=$ac_cv_prog_ac_ct_AR
     5013if test -n "$ac_ct_AR"; then
     5014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     5015$as_echo "$ac_ct_AR" >&6; }
     5016else
     5017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5018$as_echo "no" >&6; }
     5019fi
     5020
     5021
     5022  test -n "$ac_ct_AR" && break
     5023done
     5024
     5025  if test "x$ac_ct_AR" = x; then
     5026    AR="false"
     5027  else
     5028    case $cross_compiling:$ac_tool_warned in
     5029yes:)
     5030{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5031$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5032ac_tool_warned=yes ;;
     5033esac
     5034    AR=$ac_ct_AR
     5035  fi
     5036fi
     5037
     5038: ${AR=ar}
     5039
     5040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
     5041$as_echo_n "checking the archiver ($AR) interface... " >&6; }
     5042if ${am_cv_ar_interface+:} false; then :
     5043  $as_echo_n "(cached) " >&6
     5044else
     5045  am_cv_ar_interface=ar
     5046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5047/* end confdefs.h.  */
     5048int some_variable = 0;
     5049_ACEOF
     5050if ac_fn_c_try_compile "$LINENO"; then :
     5051  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
     5052      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
     5053  (eval $am_ar_try) 2>&5
     5054  ac_status=$?
     5055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5056  test $ac_status = 0; }
     5057      if test "$ac_status" -eq 0; then
     5058        am_cv_ar_interface=ar
     5059      else
     5060        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
     5061        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
     5062  (eval $am_ar_try) 2>&5
     5063  ac_status=$?
     5064  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5065  test $ac_status = 0; }
     5066        if test "$ac_status" -eq 0; then
     5067          am_cv_ar_interface=lib
     5068        else
     5069          am_cv_ar_interface=unknown
     5070        fi
     5071      fi
     5072      rm -f conftest.lib libconftest.a
     5073
     5074fi
     5075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5076
     5077fi
     5078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
     5079$as_echo "$am_cv_ar_interface" >&6; }
     5080
     5081case $am_cv_ar_interface in
     5082ar)
     5083  ;;
     5084lib)
     5085  # Microsoft lib, so override with the ar-lib wrapper script.
     5086  # FIXME: It is wrong to rewrite AR.
     5087  # But if we don't then we get into trouble of one sort or another.
     5088  # A longer-term fix would be to have automake use am__AR in this case,
     5089  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
     5090  # similar.
     5091  AR="$am_aux_dir/ar-lib $AR"
     5092  ;;
     5093unknown)
     5094  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
     5095  ;;
     5096esac
    49315097
    49325098case `pwd` in
     
    1550215668program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
    1550315669
    15504 # expand $ac_aux_dir to an absolute path
    15505 am_aux_dir=`cd $ac_aux_dir && pwd`
    15506 
    1550715670if test x"${MISSING+set}" != xset; then
    1550815671  case $am_aux_dir in
     
    1848018643        case "${host_cpu}-${host_os}" in
    1848118644            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
    18482             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
     18645            *-osf* | *-hpux*) flag="-D_REENTRANT";;
     18646            *solaris*)
     18647            if test "$GCC" = "yes"; then
     18648                flag="-D_REENTRANT"
     18649            else
     18650                flag="-mt -D_REENTRANT"
     18651            fi
     18652            ;;
    1848318653        esac
    1848418654        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
     
    1979619966fi
    1979719967
     19968# Required in did.c
     19969LDFLAGS+=" -lXt -lX11 "
     19970
    1979819971# Check for zlib and exit with error if not found (defines HAVE_LIBZ)
    1979919972
     
    2397024143
    2397124144                cat > conftest.$ac_ext <<EOF
    23972 #line 23972 "configure"
     24145#line 24145 "configure"
    2397324146#include "confdefs.h"
    2397424147#include <qglobal.h>
     
    2413524308# This allows to list the QT4 stuff independantly later
    2413624309CPPFLAGS+=" "${QT4_INCLUDES}" "
     24310LDFLAGS+=" -lQtCore "
    2413724311
    2413824312
     
    2462224796
    2462324797   ROOTCPPFLAGS=$ROOTCFLAGS" "$ROOTAUXCFLAGS
    24624    ROOTLDFLAGS="-L"$ROOTLIBDIR" -lGQt"
     24798   ROOTLDFLAGS="-L"$ROOTLIBDIR
    2462524799
    2462624800   #AC_CHECK_PROG(HAVE_ROOT_QT, libGQt.so.$ROOTSOVERSION, yes, no, $ROOTLIBDIR)
     
    2487625050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAILX" >&5
    2487725051$as_echo "$MAILX" >&6; }
     25052else
     25053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     25054$as_echo "no" >&6; }
     25055fi
     25056
     25057
     25058# Extract the first word of "curl", so it can be a program name with args.
     25059set dummy curl; ac_word=$2
     25060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     25061$as_echo_n "checking for $ac_word... " >&6; }
     25062if ${ac_cv_prog_CURL+:} false; then :
     25063  $as_echo_n "(cached) " >&6
     25064else
     25065  if test -n "$CURL"; then
     25066  ac_cv_prog_CURL="$CURL" # Let the user override the test.
     25067else
     25068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     25069for as_dir in $PATH
     25070do
     25071  IFS=$as_save_IFS
     25072  test -z "$as_dir" && as_dir=.
     25073    for ac_exec_ext in '' $ac_executable_extensions; do
     25074  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25075    ac_cv_prog_CURL="yes"
     25076    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     25077    break 2
     25078  fi
     25079done
     25080  done
     25081IFS=$as_save_IFS
     25082
     25083  test -z "$ac_cv_prog_CURL" && ac_cv_prog_CURL="no"
     25084fi
     25085fi
     25086CURL=$ac_cv_prog_CURL
     25087if test -n "$CURL"; then
     25088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL" >&5
     25089$as_echo "$CURL" >&6; }
    2487825090else
    2487925091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    2495625168fi
    2495725169
     25170 if test "$CURL" = yes; then
     25171  HAS_CURL_TRUE=
     25172  HAS_CURL_FALSE='#'
     25173else
     25174  HAS_CURL_TRUE='#'
     25175  HAS_CURL_FALSE=
     25176fi
     25177
    2495825178 if test "$DX_DOXYGEN"; then
    2495925179  HAS_DOXYGEN_TRUE=
     
    2516525385if test -z "$HAS_MAILX_TRUE"; then :
    2516625386  $as_echo "#define HAVE_MAILX 1" >>confdefs.h
     25387
     25388fi
     25389if test -z "$HAS_CURL_TRUE"; then :
     25390  $as_echo "#define HAVE_CURL 1" >>confdefs.h
    2516725391
    2516825392fi
     
    2541125635if test -z "${HAS_MAILX_TRUE}" && test -z "${HAS_MAILX_FALSE}"; then
    2541225636  as_fn_error $? "conditional \"HAS_MAILX\" was never defined.
     25637Usually this means the macro was only invoked conditionally." "$LINENO" 5
     25638fi
     25639if test -z "${HAS_CURL_TRUE}" && test -z "${HAS_CURL_FALSE}"; then
     25640  as_fn_error $? "conditional \"HAS_CURL\" was never defined.
    2541325641Usually this means the macro was only invoked conditionally." "$LINENO" 5
    2541425642fi
     
    2800728235
    2800828236fi
    28009 
    28010 if test -z "$HAS_LIBXP_TRUE"; then :
    28011   { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes" >&5
    28012 $as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: yes" >&6;}
    28013 else
    28014   { $as_echo "$as_me:${as_lineno-$LINENO}:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no" >&5
    28015 $as_echo "$as_me:  Motif/lesstif          / 'Xm/Xm.h' 'libXp'  found: no" >&6;}
    28016 
    28017 fi
    2801828237if test -z "$HAS_COLORDIFF_TRUE"; then :
    2801928238  { $as_echo "$as_me:${as_lineno-$LINENO}:  colored svn diff       / 'colordiff'        found: yes" >&5
     
    2804028259  { $as_echo "$as_me:${as_lineno-$LINENO}:  Mail support           / 'mailx'            found: no" >&5
    2804128260$as_echo "$as_me:  Mail support           / 'mailx'            found: no" >&6;}
     28261
     28262fi
     28263   if test -z "$HAS_CURL_TRUE"; then :
     28264  { $as_echo "$as_me:${as_lineno-$LINENO}:  Curl support           / 'curl'             found: yes" >&5
     28265$as_echo "$as_me:  Curl support           / 'curl'             found: yes" >&6;}
     28266else
     28267  { $as_echo "$as_me:${as_lineno-$LINENO}:  Curl support           / 'curl'             found: no" >&5
     28268$as_echo "$as_me:  Curl support           / 'curl'             found: no" >&6;}
    2804228269
    2804328270fi
     
    2820428431
    2820528432fi
     28433else
     28434  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  root not found - ROOT support disabled." >&5
     28435$as_echo "$as_me: WARNING:  root not found - ROOT support disabled." >&2;}
    2820628436
    2820728437fi
     
    2824828478$as_echo "$as_me: WARNING:  JavaScript documentation disabled!" >&2;}
    2824928479fi
     28480if test -z "$HAS_MAILX_TRUE"; then :
     28481  else
     28482  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Mail functionality in JavaScript disabled!" >&5
     28483$as_echo "$as_me: WARNING:  Mail functionality in JavaScript disabled!" >&2;}
     28484fi
     28485if test -z "$HAS_CURL_TRUE"; then :
     28486  else
     28487  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Curl functionality in JavaScript disabled!" >&5
     28488$as_echo "$as_me: WARNING:  Curl functionality in JavaScript disabled!" >&2;}
     28489fi
    2825028490if test -z "$HAS_SQL_TRUE"; then :
    2825128491  else
Note: See TracChangeset for help on using the changeset viewer.