aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/configure.ac
diff options
context:
space:
mode:
authorFrank Haverkamp <haver@vnet.ibm.com>2006-06-21 14:26:02 +0200
committerFrank Haverkamp <haver@vnet.ibm.com>2006-10-31 15:06:06 +0100
commit6ccd7242c4c1404dafb64cd937adc3c65ce02385 (patch)
tree5a2833912e91c6f3f0d99b72d9dede35dc9c1ae2 /ubi-utils/configure.ac
parentf175083413f0f94de88def865eeb65e465ded389 (diff)
[MTD] UBI: Removed automake, autoconf, added ubi userspace headers.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Diffstat (limited to 'ubi-utils/configure.ac')
-rw-r--r--ubi-utils/configure.ac52
1 files changed, 0 insertions, 52 deletions
diff --git a/ubi-utils/configure.ac b/ubi-utils/configure.ac
deleted file mode 100644
index 9f45176..0000000
--- a/ubi-utils/configure.ac
+++ /dev/null
@@ -1,52 +0,0 @@
-# Don't remove this check.
-AC_PREREQ(2.59)
-
-# AC_INIT: Package, Version, Bugs
-AC_INIT([flashutils],[0.1],[arnez@de.ibm.com])
-AC_CONFIG_HEADERS([inc/config.h:inc/config-h.in])
-AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE([1.8 foreign])
-AM_MAINTAINER_MODE
-
-# Check debug options
-AS_HELP_STRING
-AC_ARG_ENABLE([debug],
- AS_HELP_STRING([--enable-debug],
- [build with debug information [default=yes]]),,enable_debug="yes")
-
-# Check for programs.
-AM_PROG_LIBTOOL
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
-
-# Checks for header files.
-AC_HEADER_STDC
-# FIXME: Use AC_CHECK_HEADERS for UBI stuff.
-# AC_CHECK_HEADERS([errno.h mtd/ubi-user.h])
-AC_CHECK_HEADERS([errno.h])
-
-# Set build flags
-if test "x$enable_debug" = "xyes"; then
- CFLAGS="$CFLAGS -g -DDEBUG "
-fi
-
-AC_DEFINE_UNQUOTED(HOST_OS, "${host}", [Host OS])
-AC_DEFINE_UNQUOTED(HOST_CPU, "${host_os}", [Host CPU])
-AC_DEFINE_UNQUOTED(BUILD_OS, "${build_os}", [Build OS])
-AC_DEFINE_UNQUOTED(BUILD_CPU, "${build_cpu}", [Build CPU])
-
-# Additional Config
-AC_C_BIGENDIAN
-
-# CFLAGS
-CFLAGS="-std=gnu99 -Wundef -Wall $CFLAGS"
-
-# Init output.
-AC_CONFIG_FILES([
- Makefile
- lib/Makefile
- inc/Makefile
-])
-
-AC_OUTPUT