-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
34 lines (24 loc) · 1005 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT(FTC-Config-Helper, 0.1, [email protected])
AM_INIT_AUTOMAKE([])
# Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_CXX
AC_CHECK_CLASSPATH
AX_PROG_JAVAC
AX_PROG_JAVA
AC_CHECK_PROG([git],[git],[yes],[no])
AM_CONDITIONAL([FOUND_GIT], [test "x$git" = xyes])
AM_COND_IF([FOUND_GIT],,[AC_MSG_WARN([Cannot find 'git.' It is recommended to install it.])])
AC_CHECK_PROG([brctl],[brctl],[yes],[no])
AM_CONDITIONAL([FOUND_BRIG_UTILS], [test "x$git" = xyes])
AM_COND_IF([FOUND_BRIG_UTILS],,[AC_MSG_ERROR([Cannot find 'brctl.' It is necessary to install bridge-utils. Try 'sudo apt-get install bridge-utils' for Debian or Ubuntu.])])
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT