comparison configure.ac @ 4540:956272f5935d

Synchronized acinclude common macros with upcoming audacious-plugins autoconf cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 12 May 2008 00:14:27 +0300
parents 6fd552b6e5db
children 714bc6fa7c40
comparison
equal deleted inserted replaced
4539:8c2a166168dd 4540:956272f5935d
55 dnl GNU gettext 55 dnl GNU gettext
56 dnl =========== 56 dnl ===========
57 AM_GNU_GETTEXT 57 AM_GNU_GETTEXT
58 AM_GNU_GETTEXT_VERSION([0.14.0]) 58 AM_GNU_GETTEXT_VERSION([0.14.0])
59 59
60 60 dnl Checks common for core and plugins
61 dnl Check for C and C++ compilers 61 dnl ==================================
62 dnl ============================= 62 AUD_COMMON_PROGS
63 AUD_CHECK_GNU_MAKE
64 AC_PROG_CC
65 AC_PROG_CXX
66 AM_PROG_AS
67 AC_ISC_POSIX
68 AC_C_BIGENDIAN
69
70 if test "x$GCC" = "xyes"; then
71 CFLAGS="$CFLAGS -Wall -pipe"
72 fi
73
74
75 dnl Checks for various programs
76 dnl ===========================
77 AC_PROG_LN_S
78 AC_PROG_MAKE_SET
79 AC_PATH_PROG([RM], [rm])
80 AC_PATH_PROG([MV], [mv])
81 AC_PATH_PROG([CP], [cp])
82 AC_PATH_PROG([AR], [ar])
83 AC_PATH_PROG([RANLIB], [ranlib])
84 63
85 64
86 dnl Check for headers and functions 65 dnl Check for headers and functions
87 dnl =============================== 66 dnl ===============================
88 AC_CHECK_HEADERS([unistd.h fcntl.h sys/ioctl.h fnmatch.h limits.h wchar.h fts.h execinfo.h]) 67 AC_CHECK_HEADERS([unistd.h fcntl.h sys/ioctl.h fnmatch.h limits.h wchar.h fts.h execinfo.h])
102 [ --disable-user-plugin-dir Disable per-user plugin dir (def: enabled)]) 81 [ --disable-user-plugin-dir Disable per-user plugin dir (def: enabled)])
103 82
104 if test "x$enable_user_plugin_dir" = "xno"; then 83 if test "x$enable_user_plugin_dir" = "xno"; then
105 AC_DEFINE([DISABLE_USER_PLUGIN_DIR], 1, [Define to disable per user plugin directory]) 84 AC_DEFINE([DISABLE_USER_PLUGIN_DIR], 1, [Define to disable per user plugin directory])
106 fi 85 fi
107
108
109 ### ---------------------------------------------------------------------------
110 dnl Check for Gtk+/GLib and pals
111 dnl ============================
112 AUD_CHECK_MODULE([GLIB], [glib-2.0], [>= 2.14.0], [Glib2])
113 AUD_CHECK_MODULE([GTHREAD], [gthread-2.0], [>= 2.14.0], [gthread-2.0])
114 AUD_CHECK_MODULE([GTK], [gtk+-2.0], [>= 2.10.0], [Gtk+2])
115 AUD_CHECK_MODULE([PANGO], [pango], [>= 1.8.0], [Pango])
116 AUD_CHECK_MODULE([CAIRO], [cairo], [>= 1.2.4], [Cairo])
117
118
119 dnl Check for libmowgli
120 dnl ===================
121 AUD_CHECK_MODULE([MOWGLI], [libmowgli], [>= 0.4.0], [libmowgli],
122 [http://www.atheme.org/projects/mowgli.shtml])
123
124
125 dnl Check for libmcs
126 dnl ================
127 AUD_CHECK_MODULE([LIBMCS], [libmcs >= 0.7], [libmcs],
128 [http://www.atheme.org/projects/mcs.shtml])
129 86
130 87
131 ### --------------------------------------------------------------------------- 88 ### ---------------------------------------------------------------------------
132 dnl Chardet support 89 dnl Chardet support
133 dnl =============== 90 dnl ===============