-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
60 lines (48 loc) · 1.74 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.58])
AC_INIT([helloWorlds], [1.0], [[email protected]])
AM_INIT_AUTOMAKE()
# Checks for programs.
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_ARG_WITH([hello],
AS_HELP_STRING([--with-hello], [use hello (default is YES)]),
[ac_cv_with_hello=$withval], [ac_cv_with_hello=yes])
if test $ac_cv_with_hello = yes; then
AC_CONFIG_SUBDIRS([hello])
fi
AC_ARG_WITH([echo],
AS_HELP_STRING([--with-echo], [use echo (default is YES)]),
[ac_cv_with_echo=$withval], [ac_cv_with_echo=yes])
if test $ac_cv_with_echo = yes; then
AC_CONFIG_SUBDIRS([echo])
fi
AC_ARG_WITH([hello++],
AS_HELP_STRING([--with-hello++], [use hello++ (default is YES)]),
[ac_cv_with_hello__=$withval], [ac_cv_with_hello__=yes])
if test $ac_cv_with_hello__ = yes; then
AC_CONFIG_SUBDIRS([hello++])
fi
AC_ARG_WITH([echo++],
AS_HELP_STRING([--with-echo++], [use echo++ (default is YES)]),
[ac_cv_with_echo__=$withval], [ac_cv_with_echo__=yes])
if test $ac_cv_with_echo__ = yes; then
AC_CONFIG_SUBDIRS([echo++])
fi
AC_ARG_WITH([ltdl],
AS_HELP_STRING([--with-ltdl], [use ltdl (default is YES)]),
[ac_cv_with_ltdl=$withval], [ac_cv_with_ltdl=yes])
if test $ac_cv_with_ltdl = yes; then
AC_CONFIG_SUBDIRS([ltdl])
fi
AC_ARG_WITH([instantGNU_ltdl],
AS_HELP_STRING([--with-instantGNU_ltdl], [use instantGNU_ltdl (default is YES)]),
[ac_cv_with_instantGNU_ltdl=$withval], [ac_cv_with_instantGNU_ltdl=yes])
if test $ac_cv_with_instantGNU_ltdl = yes; then
AC_CONFIG_SUBDIRS([instantGNU_ltdl])
fi
AC_CONFIG_FILES([Makefile])
AC_OUTPUT