summaryrefslogtreecommitdiff
path: root/lib/iniparser_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-05-22 12:23:20 +1000
committerAndrew Bartlett <abartlet@samba.org>2013-05-28 12:17:10 +1000
commitcd4b413cb0574c459c1c24cf07f8d6b44f5fc077 (patch)
tree692104ce22e21cb0e8320b5c7aa9c4c2102eafc0 /lib/iniparser_build
parent97cceb5f8b9fc68cb8942092e92fde2b965883e4 (diff)
downloadsamba-cd4b413cb0574c459c1c24cf07f8d6b44f5fc077.tar.gz
build: Remove autoconf build system
We are now confident that that waf build system meets enough of our needs that we will work to improve it, rather than maintain two build systems. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'lib/iniparser_build')
-rw-r--r--lib/iniparser_build/config.m445
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/iniparser_build/config.m4 b/lib/iniparser_build/config.m4
deleted file mode 100644
index 282c977c18d..00000000000
--- a/lib/iniparser_build/config.m4
+++ /dev/null
@@ -1,45 +0,0 @@
-AC_ARG_WITH(included-iniparser,
-[AS_HELP_STRING([--with-included-iniparser], [use bundled iniparser library, not from system])],
-[
- case "$withval" in
- yes)
- INCLUDED_INIPARSER=yes
- ;;
- no)
- INCLUDED_INIPARSER=no
- ;;
- esac ],
-)
-if test x"$INCLUDED_INIPARSER" != x"yes"; then
- AC_CHECK_LIB_EXT(iniparser, LIBINIPARSER_LIBS, iniparser_load)
-
-fi
-
-AC_MSG_CHECKING(whether to use included iniparser)
-if test x"$ac_cv_lib_ext_iniparser" != x"yes"; then
-
- iniparserpaths="../iniparser ../lib/iniparser"
- for d in $iniparserpaths; do
- if test -f "$srcdir/$d/src/iniparser.c"; then
- iniparserdir="$d"
- break;
- fi
- done
- if test x"$iniparserdir" = "x"; then
- AC_MSG_ERROR([cannot find iniparser source in $iniparserpaths])
- fi
- INIPARSER_CFLAGS="-I$srcdir/$iniparserdir/src"
- AC_MSG_RESULT(yes)
-
- INIPARSER_OBJS=""
- INIPARSER_OBJS="$INIPARSER_OBJS $srcdir/$iniparserdir/../iniparser_build/iniparser.o"
- INIPARSER_OBJS="$INIPARSER_OBJS $srcdir/$iniparserdir/../iniparser_build/dictionary.o"
- INIPARSER_OBJS="$INIPARSER_OBJS $srcdir/$iniparserdir/../iniparser_build/strlib.o"
-
- SMB_SUBSYSTEM(LIBINIPARSER,[$INIPARSER_OBJS],[],[$INIPARSER_CFLAGS])
-else
- AC_MSG_RESULT(no)
- SMB_EXT_LIB(LIBINIPARSER,,,,${LIBINIPARSER_LIBS})
- SMB_ENABLE(LIBINIPARSER,YES)
-fi
-