From 52e3ee1f684311f1835867871bedb1b41f75aaec Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Tue, 25 Sep 2007 00:15:37 -0700 Subject: [PATCH] Use autoconf-provided EXEEXT instead of our own exeext heuristic. --- configure.in | 10 ---------- src/Makefile.in | 2 +- tests/Makefile.in | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) 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 -- 2.39.2