From c3de557693fa9dc09753c005d9ef93acf4846d48 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Fri, 26 Oct 2007 13:57:26 +0000 Subject: [PATCH] bye autofoo --- Makefile.am | 8 --- bootstrap | 18 ------- configure.in | 145 ------------------------------------------------------ src/Makefile.am | 34 ------------- tools/Makefile.am | 60 ---------------------- 5 files changed, 265 deletions(-) delete mode 100644 Makefile.am delete mode 100755 bootstrap delete mode 100644 configure.in delete mode 100644 src/Makefile.am delete mode 100644 tools/Makefile.am diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index aa00dea..0000000 --- a/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -SUBDIRS = src tools testsuite doc - -AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 - -package: dist - -etags: TAGS - find . -name "*.[chCH]" -print | etags - diff --git a/bootstrap b/bootstrap deleted file mode 100755 index 731fa44..0000000 --- a/bootstrap +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -UNAME=`uname` - -if [ "$UNAME" = "Darwin" ]; then -libtoolize --copy --force --automake -aclocal-1.9 -autoheader-2.60 -automake-1.9 --add-missing --copy --foreign -autoconf-2.60 - -else -libtoolize --copy --force --automake -aclocal -autoheader -automake --add-missing --copy --foreign -autoconf -fi diff --git a/configure.in b/configure.in deleted file mode 100644 index c185222..0000000 --- a/configure.in +++ /dev/null @@ -1,145 +0,0 @@ -dnl ******************************************* -dnl *** Initialize automake and set version *** -dnl ******************************************* - -AC_PREREQ(2.53) -AC_INIT(satsolver, 0.0.1) -AC_CONFIG_SRCDIR(src/solver.c) -AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) - -AM_CONFIG_HEADER(config.h) -AC_PROG_MAKE_SET - -dnl *************************** -dnl *** Set debugging flags *** -dnl *************************** - -debug_default=minimum - - -# Declare --enable-* args and collect ac_help strings -AC_ARG_ENABLE(debug, - [ --enable-debug=[no/minimum/yes] turn on debugging [default=$debug_default]],, - enable_debug=$debug_default) - -# Set the debug flags -if test "x$enable_debug" = "xyes"; then - test "$cflags_set" = set || CFLAGS="$CFLAGS -g" -fi - -# check for ssize_t -AC_CHECK_TYPE(ssize_t, int) - -dnl *************************** -dnl *** Checks for programs *** -dnl *************************** - - -AC_PROG_CC -AM_PROG_CC_STDC -AC_PROG_INSTALL - -# Set STDC_HEADERS -AC_HEADER_STDC - -# Turn off the shared solver library until we have a stable API -AC_DISABLE_SHARED - -# Initialize libtool -AM_PROG_LIBTOOL - -# This isn't a program, but it doesn't fit anywhere else... -AC_FUNC_ALLOCA - -dnl *********************** -dnl *** swig *** -dnl *********************** - -AC_PROG_SWIG(1.3.0) - - -dnl *********************** -dnl *** expat and db43 *** -dnl *********************** - -AC_CHECK_LIB([expat], [XML_ParserCreate], [], [AC_MSG_ERROR(Please install expat)]) - -AC_CHECK_LIB([db-4.3], [db_create], [], [AC_MSG_ERROR(Please install db43-devel)]) - -dnl *********************** -dnl *** Check for Win32 *** -dnl *********************** - -AC_MSG_CHECKING([for Win32]) -case "$host" in - *-*-mingw*) - os_win32=yes - AC_CACHE_VAL(ac_cv_func_getaddrinfo, [ac_cv_func_getaddrinfo=yes]) - AC_CACHE_VAL(ac_cv_func_getnameinfo, [ac_cv_func_getnameinfo=yes]) - AC_CACHE_VAL(ac_cv_func_inet_pton, [ac_cv_func_inet_pton=yes]) - AC_CACHE_VAL(ac_cv_func_inet_ntop, [ac_cv_func_inet_ntop=yes]) - AC_CACHE_VAL(soup_cv_ipv6, [soup_cv_ipv6=yes]) - ;; - *) - os_win32=no - ;; -esac -AC_MSG_RESULT([$os_win32]) -AM_CONDITIONAL(OS_WIN32, [test $os_win32 = yes]) - -dnl ******************* -dnl *** Misc checks *** -dnl ******************* -AC_CHECK_FUNCS(gmtime_r) -dnl ---------------------------------------------------------------------- -AC_CHECK_HEADERS([inttypes.h stdlib.h]) - - AC_CHECK_SIZEOF(short) - AC_CHECK_SIZEOF(int) - AC_CHECK_SIZEOF(long) - AC_CHECK_SIZEOF(long long) - SIZEOF_SHORT=$ac_cv_sizeof_short - SIZEOF_INT=$ac_cv_sizeof_int - SIZEOF_LONG=$ac_cv_sizeof_long - SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long - AC_SUBST(SIZEOF_SHORT) - AC_SUBST(SIZEOF_INT) - AC_SUBST(SIZEOF_LONG) - AC_SUBST(SIZEOF_LONG_LONG) - -if test "$prefix" = "NONE"; then - prefix=$ac_default_prefix; -fi - -dnl ************************************* -dnl *** Warnings to show if using GCC *** -dnl ************************************* - -AC_ARG_ENABLE(more-warnings, - [ --disable-more-warnings Inhibit compiler warnings], - set_more_warnings=no) - -if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then - CFLAGS="$CFLAGS \ - -Wall -Wstrict-prototypes -Wmissing-declarations \ - -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ - -Wunused -Werror" -fi - -if test "$os_win32" != yes; then - # Use reentrant functions (FIXME!) - CFLAGS="$CFLAGS -D_REENTRANT" -fi - -dnl ************************* -dnl *** Output Everything *** -dnl ************************* -AC_SUBST(SYSCONFDIR) - -AC_OUTPUT([ - Makefile - src/Makefile - tools/Makefile - testsuite/Makefile - doc/Makefile - ]) diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 8d17f77..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -lib_LTLIBRARIES= libsatsolver.la -solverincludedir = $(includedir)/satsolver - -solverinclude_HEADERS = \ - pooltypes.h \ - hash.h \ - bitmap.h \ - evr.h \ - poolid.h \ - queue.h \ - solvable.h \ - source.h \ - pool.h \ - poolarch.h \ - solver.h \ - util.h \ - source_solv.h - -EXTRA_DIST = poolid_private.h - -# As long as we build libsatsolver.la statically only we need to -# force PIC code here, as this lib will be included in libzypp. -libsatsolver_la_CFLAGS = -fPIC $(AM_CFLAGS) -libsatsolver_la_SOURCES = \ - bitmap.c \ - evr.c \ - poolid.c \ - queue.c \ - source.c \ - pool.c \ - poolarch.c \ - solver.c \ - util.c \ - source_solv.c diff --git a/tools/Makefile.am b/tools/Makefile.am deleted file mode 100644 index b059245..0000000 --- a/tools/Makefile.am +++ /dev/null @@ -1,60 +0,0 @@ -noinst_PROGRAMS = rpmdb2solv rpmmd2solv helix2solv susetags2solv patchxml2solv dumpsolv mergesolv content2solv - -INCLUDES = \ - -I$(top_srcdir)/src - -LDADD = \ - $(top_builddir)/src/libsatsolver.la - -noinst_HEADERS = source_write.h - -rpmdb2solv_SOURCES = \ - rpmdb2solv.c \ - source_rpmdb.h \ - source_rpmdb.c \ - source_write.c - -rpmdb2solv_LDADD = -ldb-4.3 $(LDADD) - -rpmmd2solv_SOURCES = \ - rpmmd2solv.c \ - source_rpmmd.h \ - source_rpmmd.c \ - source_write.c - -rpmmd2solv_LDADD = -lexpat $(LDADD) - -helix2solv_SOURCES = \ - helix2solv.c \ - source_helix.h \ - source_helix.c \ - source_write.c - -helix2solv_LDADD = -lexpat $(LDADD) - -susetags2solv_SOURCES = \ - susetags2solv.c \ - source_susetags.h \ - source_susetags.c \ - source_write.c - -patchxml2solv_SOURCES = \ - patchxml2solv.c \ - source_patchxml.h \ - source_patchxml.c \ - source_write.c - -patchxml2solv_LDADD = -lexpat $(LDADD) - -content2solv_SOURCES = \ - content2solv.c \ - source_content.h \ - source_content.c \ - source_write.c - -dumpsolv_SOURCES = \ - dumpsolv.c - -mergesolv_SOURCES = \ - mergesolv.c \ - source_write.c -- 2.7.4