1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 # Permission to use, copy, modify, distribute, and sell this software and its
4 # documentation for any purpose is hereby granted without fee, provided that
5 # the above copyright notice appear in all copies and that both that
6 # copyright notice and this permission notice appear in supporting
7 # documentation, and that the name of Red Hat not be used in
8 # advertising or publicity pertaining to distribution of the software without
9 # specific, written prior permission. Red Hat makes no
10 # representations about the suitability of this software for any purpose. It
11 # is provided "as is" without express or implied warranty.
13 # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
15 # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16 # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
17 # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 # PERFORMANCE OF THIS SOFTWARE.
23 # Process this file with autoconf to produce a configure script.
26 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
28 # Checks for programs.
32 AC_CONFIG_SRCDIR([Makefile.am])
33 AM_CONFIG_HEADER([config.h])
36 AM_INIT_AUTOMAKE([dist-bzip2])
40 # Checks for programs.
45 AC_ARG_WITH(arch, AS_HELP_STRING([--with-arch=ARCH], [Architecture (default: arm)]),
48 AC_ARG_WITH(conf-prefix, AS_HELP_STRING([--with-conf-prefix=CONF_PREFIX], [Architecture (default: /opt/etc)]),
49 [ CONF_PREFIX="$withval" ],
50 [ CONF_PREFIX="/opt/etc" ])
55 AC_CONFIG_FILES([Makefile])