From: Micah Cowan Date: Tue, 25 Sep 2007 07:15:37 +0000 (-0700) Subject: Use autoconf-provided EXEEXT instead of our own exeext heuristic. X-Git-Tag: v1.13~532^2~1 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=52e3ee1f684311f1835867871bedb1b41f75aaec Use autoconf-provided EXEEXT instead of our own exeext heuristic. --- diff --git a/configure.in b/configure.in index a9a7a7ab..6c6e8c0f 100644 --- a/configure.in +++ b/configure.in @@ -133,16 +133,6 @@ if test -n "$auto_cflags"; then fi fi -dnl -dnl In case of {cyg,gnu}win32. Should be a _target_ test. -dnl Might also be erelevant for DJGPP. -dnl -case "$host_os" in - *win32) exeext='.exe';; - *) exeext='';; -esac -AC_SUBST(exeext) - dnl dnl Checks for basic compiler characteristics. dnl diff --git a/src/Makefile.in b/src/Makefile.in index e393e1e0..34bc3bdb 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -52,7 +52,7 @@ DEFS = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\" -DLOCALEDIR=\"$(local CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @LIBSSL@ @LIBGNUTLS@ -exeext = @exeext@ +exeext = @EXEEXT@ INCLUDES = -I. -I$(srcdir) diff --git a/tests/Makefile.in b/tests/Makefile.in index 7e7eff7a..64a9dc38 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -52,7 +52,7 @@ DEFS = @DEFS@ -DSYSTEM_WGETRC=\"$(sysconfdir)/wgetrc\" -DLOCALEDIR=\"$(local CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @LIBSSL@ @LIBGNUTLS@ -exeext = @exeext@ +exeext = @EXEEXT@ INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../src