diff --git a/src/gpgme-config.in b/src/gpgme-config.in index b2a3500..7794923 100644 --- a/src/gpgme-config.in +++ b/src/gpgme-config.in @@ -48,6 +48,10 @@ libs_glib="@GLIB_LIBS@" cflags_glib="@GLIB_CFLAGS@" with_glib= +if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then + cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@" +fi + output="" usage() @@ -111,6 +115,9 @@ while test $# -gt 0; do exit 0 ;; --cflags) + if test "x$cflags_lfs" != "x"; then + output="$output $cflags_lfs" + fi result= tmp_c= tmp_g=