Branch: Tag:

1996-10-09

1996-10-09 07:39:53 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

configure improved --with-xxx options

Rev: src/Makefile.src:1.11
Rev: src/README:1.2
Rev: src/configure.in:1.8
Rev: src/machine.h.in:1.7
Rev: src/modules/Makefile.src:1.7
Rev: src/modules/call_out/Makefile.src:1.4
Rev: src/modules/files/Makefile.src:1.4
Rev: src/modules/gdbmmod/Makefile.src:1.4
Rev: src/modules/gdbmmod/configure.in:1.2
Rev: src/modules/gmpmod/Makefile.src:1.4
Rev: src/modules/gmpmod/configure.in:1.3
Rev: src/modules/image/Makefile.src:1.4
Rev: src/modules/math/Makefile.src:1.4
Rev: src/modules/pipe/Makefile.src:1.4
Rev: src/modules/readlinemod/Makefile.src:1.4
Rev: src/modules/readlinemod/configure.in:1.4
Rev: src/modules/regexp/Makefile.src:1.4
Rev: src/modules/spider/Makefile.src:1.4
Rev: src/modules/sprintf/Makefile.src:1.4
Rev: src/testsuite.in:1.4

1:   AC_INIT(interpret.c) +  + if test x${CLAGS-} != x ; then +  cflags_is_set=yes + else +  cflags_is_set=no + fi +    AC_PROG_CC   AC_C_CROSS    -  + AC_ARG_WITH(gdbm, [ --without-gdbm no GNU database manager support ]) + AC_ARG_WITH(gmp, [ --without-gmp no Support bignums]) + AC_ARG_WITH(readline,[ --without-readline no support for command line editing]) + AC_ARG_WITH(debug, [ --without-debug disable run time self tests],[],[with_debug=yes]) +  + if test x$with_debug = xyes ; then +  AC_DEFINE(DEBUG) + fi +    #############################################################################      # We need some special hacks when running slowaris
23:   ])   AC_MSG_RESULT($pike_cv_sys_os)    - dnl - dnl This enables a mutex lock around accept() unfortunately - dnl accept bangs out every 20000th time or so when linked - dnl with libthreads. Solaris... - dnl - dnl if test "$pike_cv_sys_os" = "Solaris"; then - dnl AC_DEFINE(SOLARIS) - dnl LIBS="$LIBS -lthread" - dnl fi - dnl -  +    #############################################################################    -  + if test x${GCC-} != xyes -a $cflags_is_set = no; then   OLD_CFLAGS="$CFLAGS"   OPTIMIZE="";   
54:   else    AC_MSG_RESULT(-fast not found)    +  case "${CFLAGS-}" in +  *-O*) ;; +  *)    AC_MSG_CHECKING(-O)    AC_CACHE_VAL(pike_cv_option_opt,    [
70:    fi       CFLAGS="$OLD_CFLAGS" +  ;; +  esac    fi -  + fi       -  +    if test "$GCC" = "yes"; then    WARN="-g -W -Wformat"   
1054:   AC_SUBST(BINDIR)   AC_SUBST(BUILDDIR)   AC_SUBST(DOCDIR) + AC_SUBST(DEBUGDEF)      AC_OUTPUT(Makefile,[echo foo >stamp-h])