]> git.pld-linux.org Git - packages/stunnel.git/commitdiff
- seems separating libwrap outside $LIBS (stunnel package produces only one
authorkloczek <kloczek@pld-linux.org>
Mon, 7 Jan 2002 19:00:35 +0000 (19:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  library and executable) isn't good idea because $LIBS is used during
  AC_CHECK_SIZEOF() and some oure libraries want libwrap. This patch moves
  all AC_CHECK_SIZEOF() calls befor libraries detections where $LIBS is
  empty. This is more saner way and can be performed in this way because
  all checked types do not require linking test programs with nothing more
  than libc.

Changed files:
    stunnel-ac_fixes.patch -> 1.1

stunnel-ac_fixes.patch [new file with mode: 0644]

diff --git a/stunnel-ac_fixes.patch b/stunnel-ac_fixes.patch
new file mode 100644 (file)
index 0000000..4e4f492
--- /dev/null
@@ -0,0 +1,30 @@
+--- stunnel-3.22/configure.ac~ Mon Jan  7 14:08:57 2002
++++ stunnel-3.22/configure.ac  Mon Jan  7 14:08:57 2002
+@@ -13,6 +13,13 @@
+ AC_SUBST(VERSION)
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
++dnl Checks for integer sizes
++AC_CHECK_SIZEOF(unsigned char)
++AC_CHECK_SIZEOF(unsigned short)
++AC_CHECK_SIZEOF(unsigned int)
++AC_CHECK_SIZEOF(unsigned long)
++AC_CHECK_SIZEOF(unsigned long long)
++
+ checkssldir() { :
+     if test -f "$1/include/openssl/ssl.h"; then
+         AC_DEFINE(HAVE_OPENSSL)
+@@ -224,13 +231,6 @@
+ dnl Checks for library functions.
+ AC_CHECK_FUNCS(getopt snprintf vsnprintf openpty _getpty daemon waitpid wait4 sysconf getrlimit pthread_sigmask)
+-dnl Checks for integer sizes
+-AC_CHECK_SIZEOF(unsigned char)
+-AC_CHECK_SIZEOF(unsigned short)
+-AC_CHECK_SIZEOF(unsigned int)
+-AC_CHECK_SIZEOF(unsigned long)
+-AC_CHECK_SIZEOF(unsigned long long)
+-
+ LIBS="$LIBS $wrap_LIB"
+ AC_CONFIG_FILES([Makefile])
This page took 0.130295 seconds and 4 git commands to generate.