abe586
diff -up gpgme-1.3.2/src/gpgme-config.in.largefile gpgme-1.3.2/src/gpgme-config.in
abe586
--- gpgme-1.3.2/src/gpgme-config.in.largefile	2012-09-26 10:10:37.882744198 +0200
abe586
+++ gpgme-1.3.2/src/gpgme-config.in	2012-09-26 10:16:02.558762827 +0200
abe586
@@ -41,6 +41,10 @@ cflags_pthread=""
07d90f
 cflags_glib="@GLIB_CFLAGS@"
07d90f
 with_glib=
07d90f
 
2c122d
+if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then
07d90f
+    cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
07d90f
+fi
07d90f
+
07d90f
 output=""
07d90f
 
07d90f
 usage()
abe586
@@ -105,6 +109,9 @@ while test $# -gt 0; do
07d90f
 	    exit 0
07d90f
 	    ;;
07d90f
         --cflags)
07d90f
+	    if test "x$cflags_lfs" != "x"; then
07d90f
+		output="$output $cflags_lfs"
07d90f
+	    fi
abe586
             result=
abe586
             tmp_c=
abe586
             tmp_g=