Branch: Tag:

2006-08-04

2006-08-04 23:22:30 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bugs when dlls are enabled but dynamic modules aren't.

Rev: src/configure.in:1.987

1: - AC_REVISION("$Id: configure.in,v 1.986 2006/08/04 22:17:35 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.987 2006/08/04 23:22:30 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2179:    ;;    esac    -  if test x$enable_dll = xyes; then +  if test x$with_dynamic_modules != xno; then    pike_cv_sys_dynamic_loading=yes -  elif test x$with_dynamic_modules = xno ; then :; else +  if test x$enable_dll != xyes; then    PIKE_MSG_NOTE([Enabling dynamic modules for Win32.])    # EXTRA_MODULE_REQUIREMENTS="${EXTRA_MODULE_REQUIREMENTS} import_functions.h"    DLOPEN_O="dlopen.o" -  pike_cv_sys_dynamic_loading=yes -  with_dynamic_modules=yes +     AC_DEFINE(USE_MY_WIN32_DLOPEN)    fi -  +  fi    ])       dnl
2284:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.986 2006/08/04 22:17:35 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.987 2006/08/04 23:22:30 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2322:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.986 2006/08/04 22:17:35 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.987 2006/08/04 23:22:30 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2331:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.986 2006/08/04 22:17:35 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.987 2006/08/04 23:22:30 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
7174:    fi    ;;    Windows_NT*|NT*) +  if test x$with_dynamic_modules != xno; then    if test x$enable_dll = xno; then    LDSHARED="pntld"    else
7185:    LDSHARED_MODULE_REQS="`pwd`/pike.lib"    fi    LDSHARED_MODULE_ARGS="$LDSHARED_MODULE_ARGS -pdb:\$\$modname.pdb" +  fi    ;;    *) LDSHARED="ld";;    esac