Cygwin: Remove autoconf variable DLL_NAME

Remove autoconf variable DLL_NAME, which has a constant value which is
only used in one place.
This commit is contained in:
Jon Turney 2020-10-23 15:33:39 +01:00
parent d555072c94
commit 29817cc41e
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
3 changed files with 2 additions and 9 deletions

View File

@ -102,8 +102,8 @@ RUNTESTFLAGS =
# native rebuilding issues (we don't want the build tools to see a partially
# built cygwin.dll and attempt to use it instead of the old one).
DLL_NAME:=@DLL_NAME@
TEST_DLL_NAME:=${patsubst %1.dll,%0.dll,@DLL_NAME@}
DLL_NAME:=cygwin1.dll
TEST_DLL_NAME:=${patsubst %1.dll,%0.dll,$(DLL_NAME)}
TEST_LIB_NAME:=libcygwin0.a
STATIC_LIB_NAME:=libcygwin_s.a
DIN_FILE=@DIN_FILE@ common.din

View File

@ -592,7 +592,6 @@ TLSOFFSETS_H
DIN_FILE
DEF_DLL_ENTRY
DLL_ENTRY
DLL_NAME
configure_args
WINDRES
STRIP
@ -4344,14 +4343,12 @@ fi
case "$target_cpu" in
i?86)
DLL_NAME="cygwin1.dll"
DLL_ENTRY="_dll_entry@12"
DEF_DLL_ENTRY="dll_entry@12"
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"
@ -4375,7 +4372,6 @@ configure_args=$(/usr/bin/expr "$configure_args" : 'X \(.*\)')
ac_config_files="$ac_config_files Makefile"
cat >confcache <<\_ACEOF

View File

@ -61,14 +61,12 @@ esac
case "$target_cpu" in
i?86)
DLL_NAME="cygwin1.dll"
DLL_ENTRY="_dll_entry@12"
DEF_DLL_ENTRY="dll_entry@12"
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"
@ -78,7 +76,6 @@ case "$target_cpu" in
esac
AC_CONFIGURE_ARGS
AC_SUBST(DLL_NAME)
AC_SUBST(DLL_ENTRY)
AC_SUBST(DEF_DLL_ENTRY)
AC_SUBST(DIN_FILE)