diff options
Diffstat (limited to 'winsup/cygwin/configure')
-rwxr-xr-x | winsup/cygwin/configure | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/winsup/cygwin/configure b/winsup/cygwin/configure index 87d97b55a..a81aea704 100755 --- a/winsup/cygwin/configure +++ b/winsup/cygwin/configure @@ -565,11 +565,12 @@ ac_unique_file="Makefile.in" ac_no_link=no ac_subst_vars='LTLIBOBJS LIBOBJS -CONFIG_DIR +TLSOFFSETS_H +DIN_FILE DEF_DLL_ENTRY DLL_ENTRY +DLL_NAME LIBSERVER -MALLOC_OFILES configure_args SET_MAKE WINDRES @@ -4410,14 +4411,23 @@ esac fi -MALLOC_OFILES=malloc.o - case "$target_cpu" in - i?86) DLL_ENTRY="_dll_entry@12" + i?86) + DLL_NAME="cygwin1.dll" + DLL_ENTRY="_dll_entry@12" DEF_DLL_ENTRY="dll_entry@12" - CONFIG_DIR="i386" ;; + DIN_FILE="i686.din" + TLSOFFSETS_H="tlsoffsets.h" + ;; + x86_64) + DLL_NAME="cygwin1.dll" + DLL_ENTRY="dll_entry" + DEF_DLL_ENTRY="dll_entry" + DIN_FILE="x86_64.din" + TLSOFFSETS_H="tlsoffsets64.h" + ;; *) as_fn_error $? "Invalid target processor \"$target_cpu\"" "$LINENO" 5 ;; esac @@ -4437,6 +4447,7 @@ configure_args=$(/usr/bin/expr "$configure_args" : 'X \(.*\)') + ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF |