-
Notifications
You must be signed in to change notification settings - Fork 5
/
configure.ac
85 lines (72 loc) · 2.34 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
AC_PREREQ(2.50)
AC_INIT(naim, 0.12.0, [Joshua Wise <[email protected]>])
AC_CONFIG_SRCDIR([src/naim-int.h])
AC_CONFIG_HEADER([src/config.h])
AC_CONFIG_AUX_DIR([libltdl/config])
AC_CONFIG_MACRO_DIR([libltdl/m4])
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip no-dependencies no-define subdir-objects std-options 1.8])
AM_SILENT_RULES([yes])
AM_PROG_CC_C_O
echo ""
echo ""
echo "Configuring firetalk"
echo ""
AC_LIB_FIRETALK
echo ""
echo ""
echo "Configuring libtool"
echo ""
AC_LIBLTDL_CONVENIENCE
LT_CONFIG_LTDL_DIR([libltdl])
LT_INIT([dlopen win32-dll])
AC_SUBST([INCLTDL])
AC_SUBST([LIBLTDL])
echo ""
echo ""
echo "Configuring ltdl"
echo ""
LTDL_INIT([recursive])
dnl AC_LIB_LTDL
dnl Sigh.
AC_CONFIG_COMMANDS_PRE([LT_CONFIG_H=../src/config.h])
echo ""
echo ""
echo "Configuring naim"
echo ""
AC_PROG_NAIM
echo ""
echo ""
test "$infodir" != '${prefix}/info' || infodir='${datadir}/info'
test "$mandir" != '${prefix}/man' || mandir='${datadir}/man'
AC_CONFIG_FILES([
Makefile
libfiretalk/Makefile
libltdl/Makefile
modules/Makefile
lua/Makefile
src/Makefile
CYGWIN-PATCHES/Makefile
])
AC_OUTPUT
echo ""
echo "Building ${PACKAGE_STRING} using ${CC}"
echo " Compile flags:" ${CPPFLAGS} ${CFLAGS}
echo " Link flags:" ${CFLAGS} ${LDFLAGS} ${LIBS}
echo ""
echo "Configuration results:"
printf " Packaging features:"
if test "x${enable_debug}" = xyes; then printf " --enable-debug"; else printf " --disable-debug"; fi
if test "x${enable_profile}" = xyes; then printf " --enable-profile"; else printf " --disable-profile"; fi
if test "x${enable_detach}" = xyes; then printf " --enable-detach"; else printf " --disable-detach"; fi
echo ""
echo ""
echo "Installation paths:"
echo " --bindir:" `eval eval eval eval eval echo ${bindir}`
echo " --with-pkgmoddir:" `eval eval eval eval eval echo ${pkgmoddir}`
echo " --includedir:" `eval eval eval eval eval echo ${includedir}`
echo " --with-pkgincludedir:" `eval eval eval eval eval echo ${pkgincludedir}`
echo " --mandir:" `eval eval eval eval eval echo ${mandir}`
echo " --with-pkgdocdir:" `eval eval eval eval eval echo ${pkgdocdir}`
if test "x${cygwindocdir}" = x; then echo " --without-cygwindocdir"; else echo " --with-cygwindocdir:" `eval eval eval eval eval echo ${cygwindocdir}`; fi
echo " --with-pkgtarball:" `eval eval eval eval eval echo ${pkgtarball}`
echo ""