1 ## configure.ac -- Process this file with autoconf to produce configure
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; version 2 of the License.
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 # GNU General Public License for more details.
12 # You should have received a copy of the GNU General Public License
13 # along with this program; if not, write to the Free Software
14 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 AC_INIT([petitboot], [0.2], [Jeremy Kerr <jk@ozlabs.org>])
19 AC_CONFIG_HEADERS([config.h])
20 AC_CONFIG_FILES([Makefile])
22 default_CFLAGS='--std=gnu99 -O2 -Wall -g'
24 if test "x$CFLAGS" = "x"; then
25 CFLAGS="$default_CFLAGS"
31 PKG_CHECK_MODULES([twin], [libtwin])
33 mkdir -p discover ui/test ui/common lib/talloc lib/pb-protocol lib/list