]> git.pld-linux.org Git - packages/libassuan.git/commitdiff
- add missing templates for AC_GNU_SOURCE defines
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 27 May 2008 15:52:42 +0000 (15:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- we build shared libassuan, so we don't need PIC in static library

Changed files:
    libassuan-ac.patch -> 1.1

libassuan-ac.patch [new file with mode: 0644]

diff --git a/libassuan-ac.patch b/libassuan-ac.patch
new file mode 100644 (file)
index 0000000..4385713
--- /dev/null
@@ -0,0 +1,26 @@
+--- libassuan-1.0.5/configure.ac.orig  2008-05-27 08:25:59.235870000 +0200
++++ libassuan-1.0.5/configure.ac       2008-05-27 08:36:37.868258393 +0200
+@@ -44,7 +44,10 @@
+ AB_INIT
+ AC_GNU_SOURCE
+-
++AH_TEMPLATE([_ALL_SOURCE], [All extensions])
++AH_TEMPLATE([_GNU_SOURCE], [GNU extensions])
++AH_TEMPLATE([_POSIX_PTHREAD_SEMANTICS], [POSIX pthread semantics])
++AH_TEMPLATE([_TANDEM_SOURCE], [Tandem extensions])
+ AC_SUBST(PACKAGE)
+ AC_SUBST(VERSION)
+@@ -106,11 +109,6 @@
+ have_dosish_system=no
+ have_w32_system=no
+ case "${host}" in
+-    *-linux*)
+-        if test "$GCC" = yes; then
+-          CFLAGS="$CFLAGS -fPIC -DPIC"
+-        fi
+-        ;;
+     *-mingw32*)
+         have_dosish_system=yes
+         have_w32_system=yes
This page took 0.089201 seconds and 4 git commands to generate.