diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-06 00:54:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:34 -0500 |
commit | 4a0261cb294c7b666cb6759074aa1a903c5b1005 (patch) | |
tree | 43bfa92332417a8aaf69e4a1c5ac18b18d57236b /source4 | |
parent | 3953c21202cb9c947a8e2a508ef26a2245f1f142 (diff) | |
download | samba-4a0261cb294c7b666cb6759074aa1a903c5b1005.tar.gz samba-4a0261cb294c7b666cb6759074aa1a903c5b1005.tar.bz2 samba-4a0261cb294c7b666cb6759074aa1a903c5b1005.zip |
r18119: forgot to commit this
(This used to be commit 37588bbf3ffa9637598881bfeef408b394c6213f)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/popt/samba.m4 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/source4/lib/popt/samba.m4 b/source4/lib/popt/samba.m4 new file mode 100644 index 0000000000..cd0de5e826 --- /dev/null +++ b/source4/lib/popt/samba.m4 @@ -0,0 +1,27 @@ +SAVE_LIBS="$LIBS" +SAVE_CFLAGS="$CFLAGS" +SAVE_CPPFLAGS="$CPPFLAGS" +SAVE_LDFLAGS="$LDFLAGS" + +LIBS="" +CFLAGS="" +CPPFLAGS="" +LDFLAGS="" + +m4_include(lib/popt/libpopt.m4) + +POPT_EXT_LIBS="$LIBS $POPTOBJ" +POPT_EXT_CFLAGS="$CFLAGS" +POPT_EXT_CPPFLAGS="$CPPFLAGS" +POPT_EXT_LDFLAGS="$LDFLAGS" + +LIBS="$SAVE_LIBS" +CFLAGS="$SAVE_CFLAGS" +CPPFLAGS="$SAVE_CPPFLAGS" +LDFLAGS="$SAVE_LDFLAGS" + +SMB_EXT_LIB(POPT_EXT, + [${POPT_EXT_LIBS}], + [${POPT_EXT_CFLAGS}], + [${POPT_EXT_CPPFLAGS}], + [${POPT_EXT_LDFLAGS}]) |