Changeset 38


Ignore:
Timestamp:
Jun 8, 2006 10:45:16 PM (14 years ago)
Author:
andreasw
Message:

added check for usability of svn; disabled shared libraries for --enable-debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r37 r38  
    169169                     AC_DEFINE([COIN_DEBUG],[1],
    170170                               [If defined, debug sanity checks are performed during runtime])
     171                     enable_shared=no
    171172                     ;;
    172173                   no)  coin_debug_compile=false
     
    910911    coin_have_externals=yes
    911912  fi
     913  # Check if subversion is installed and understands https
     914  AC_CHECK_PROG([have_svn],[svn],[yes],[no])
     915  if test x$have_svn = xyes; then
     916    AC_MSG_CHECKING([svn understands https])
     917    svn --version > confauto.out 2>&1
     918    if $EGREP https confauto.out >/dev/null 2>&1; then
     919      AC_MSG_RESULT(yes)
     920    else
     921      AC_MSG_RESULT(no)
     922      have_svn=no
     923    fi
     924  fi
    912925
    913926  # Find the location of the BuildTools directory
     
    933946  AUX_DIR=$ac_aux_dir
    934947fi
    935 AM_CONDITIONAL(HAVE_EXTERNALS,test $coin_have_externals = yes)
     948
     949
     950
     951AM_CONDITIONAL(HAVE_EXTERNALS,
     952               test $coin_have_externals = yes && test x$have_svn = xyes)
    936953]) # AC_COIN_INIT_AUTOMAKE
    937954
Note: See TracChangeset for help on using the changeset viewer.