diff options
author | Werner Koch <wk@gnupg.org> | 2010-01-18 15:10:37 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-01-18 15:10:37 +0000 |
commit | 0fe34500c2dcdcf274c2485dfda28127e77e7c14 (patch) | |
tree | 1caa11aaf4d67df434769118c9a7dbfcfa9b0588 /src/gpg-error-config.in | |
parent | bd6b75cc17627c2e9208eb33c0dd8a9990213494 (diff) | |
download | libgpg-error-0fe34500c2dcdcf274c2485dfda28127e77e7c14.tar.gz |
Add some code to build nativley under WindowsCE - not finished.
Diffstat (limited to 'src/gpg-error-config.in')
-rw-r--r-- | src/gpg-error-config.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gpg-error-config.in b/src/gpg-error-config.in index 76c41ca..4be0343 100644 --- a/src/gpg-error-config.in +++ b/src/gpg-error-config.in @@ -14,6 +14,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ includedir=@includedir@ libdir=@libdir@ +isubdirafter="@GPG_ERROR_CONFIG_ISUBDIRAFTER@" output="" @@ -60,12 +61,18 @@ while test $# -gt 0; do if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then output="$output -I$includedir" fi + # Note: -idirafter is a gcc extension. It is only used on + # systems where gcc is the only compiler we support. + for i in $isubdirafter; do + output="$output -idirafter ${includedir}/${i}" + done + output="$output @GPG_ERROR_CONFIG_CFLAGS@" ;; --libs) if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then output="$output -L$libdir" fi - output="$output -lgpg-error" + output="$output @GPG_ERROR_CONFIG_LIBS@" ;; *) usage 1 1>&2 |