Branch: Tag:

2004-05-08

2004-05-08 08:32:51 by Marcus Agehall <agehall@gmail.com>

Added option to disable smartlink binary. This is useful for win32 native builds since smartlink binary does not work correctly under Mingw32.

Rev: src/configure.in:1.831

1: - AC_REVISION("$Id: configure.in,v 1.830 2004/05/04 20:47:47 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.831 2004/05/08 08:32:51 agehall Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
647:   #############################################################################      ## Build smartlink + AC_ARG_ENABLE(smartlink_binary, MY_DESCR([--disable-smartlink-binary], +  [do not build and use the smartlink binary]), +  [], [force_smartlink_script_only=yes])      AC_CHECK_HEADERS(stdlib.h string.h unistd.h sys/stat.h sys/types.h sys/errno.h)   
768:    ;;   esac    + # Skip fi user does not wish to use smartlink binary. + if test "x$force_smartlink_script_only" = "x"; then   # Strip smartlink from $CC   REALCC="`echo $CC|sed -e 's/.*smartlink //'`"   
890:    SMARTLINK="$BINDIR/smartlink"    fi   fi + else # force_smartlink_script_only +  AC_MSG_CHECKING(for smartlink build script) +  SMARTLINK="$BINDIR/smartlink" +  REALCC="$CC" +  AC_MSG_RESULT($SMARTLINK) + fi # force_smartlink_script_only      CC="$SMARTLINK $REALCC"   pike_cv_prog_CC="$CC"