aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-06-12 13:39:37 +0000
committerWerner Koch <[email protected]>2007-06-12 13:39:37 +0000
commit6c61bc48f1a3eef71bb8c602501a2737ba5fd153 (patch)
tree771ea4ee0c757f62d5d7767d6bfcfae08379dcd7 /m4
parent2007-05-06 Marcus Brinkmann <[email protected]> (diff)
downloadlibassuan-6c61bc48f1a3eef71bb8c602501a2737ba5fd153.tar.gz
libassuan-6c61bc48f1a3eef71bb8c602501a2737ba5fd153.zip
Various minor changes for W32
Diffstat (limited to 'm4')
-rw-r--r--m4/gnupg-pth.m417
1 files changed, 4 insertions, 13 deletions
diff --git a/m4/gnupg-pth.m4 b/m4/gnupg-pth.m4
index dc8e264..6dc9e0e 100644
--- a/m4/gnupg-pth.m4
+++ b/m4/gnupg-pth.m4
@@ -73,13 +73,11 @@ AC_DEFUN([GNUPG_PTH_VERSION_CHECK],
])
-#
+
# GNUPG_PATH_PTH([MINIMUM_VERSION])
#
-# This is a special version of the check whioch assumes that a
-# emulation for W32 systems is available. The test assumes that
-# $have_w32_system has already been set. On return $have_pth is set
-# as well as HAVE_PTH is defined and PTH_CLFAGS and PTH_LIBS are AS_SUBST.
+# On return $have_pth is set as well as HAVE_PTH is defined and
+# PTH_CLFAGS and PTH_LIBS are AS_SUBST.
#
AC_DEFUN([GNUPG_PATH_PTH],
[ AC_ARG_WITH(pth-prefix,
@@ -91,8 +89,7 @@ AC_DEFUN([GNUPG_PATH_PTH],
fi
AC_PATH_PROG(PTH_CONFIG, pth-config, no)
tmp=ifelse([$1], ,1.3.7,$1)
- if test "$have_w32_system" = no; then
- if test "$PTH_CONFIG" != "no"; then
+ if test "$PTH_CONFIG" != "no"; then
GNUPG_PTH_VERSION_CHECK($tmp)
if test $have_pth = yes; then
PTH_CFLAGS=`$PTH_CONFIG --cflags`
@@ -101,12 +98,6 @@ AC_DEFUN([GNUPG_PATH_PTH],
AC_DEFINE(HAVE_PTH, 1,
[Defined if the GNU Pth is available])
fi
- fi
- else
- have_pth=yes
- PTH_CFLAGS=""
- PTH_LIBS=""
- AC_DEFINE(HAVE_PTH, 1)
fi
AC_SUBST(PTH_CFLAGS)
AC_SUBST(PTH_LIBS)