File: configure.in

package info (click to toggle)
gmasqdialer 0.99.7-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,412 kB
  • ctags: 588
  • sloc: sh: 7,460; ansic: 5,188; makefile: 301; sed: 93
file content (69 lines) | stat: -rw-r--r-- 1,290 bytes parent folder | download
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
AC_INIT(src)

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(GMasqDialer, 0.99.7)

AM_MAINTAINER_MODE

AM_ACLOCAL_INCLUDE(macros)

GNOME_INIT

AC_ISC_POSIX
AC_PROG_CC
AC_PROG_CPP
AC_STDC_HEADERS
AC_ARG_PROGRAM
AM_PROG_LIBTOOL

AM_CONDITIONAL(HAVE_GNOME, test "x$want_gnome" = "xyes")
if test "x$want_gnome" = "xyes"; then

dnl this is for the documentation
AC_CHECK_PROG(have_db2html, db2html, true, false)
AM_CONDITIONAL(HAVE_DB2HTML, $have_db2html)


GNOME_SUPPORT_CHECKS
CFLAGS="$CFLAGS -DHAVE_GNOME $GNOME_INCLUDEDIR"

AC_CHECK_LIB(panel_applet, applet_widget_init, [
UI_LIBS="$GNOME_LIBDIR $GNOMEGNORBA_LIBS -lpanel_applet"
CFLAGS="$CFLAGS -DHAVE_GNOME_PANEL"
], [
UI_LIBS="$GNOME_LIBDIR $GNOMEUI_LIBS"
echo "GNOME panel applet library not found, building without it."
], $GNOME_LIBDIR $GNOMEGNORBA_LIBS -lpanel_applet)

else

AM_PATH_GTK
CFLAGS="$CFLAGS $GTK_CFLAGS"
UI_LIBS="$GTK_LIBS"
if test "x$gtk_config_minor_version" = "x0"; then
CFLAGS="$CFLAGS -DSTABLE_GTK"
fi
fi
AC_SUBST(UI_LIBS)

# gcc specific options
if test "x$ac_cv_prog_gcc" = "xyes"; then
  CFLAGS="$CFLAGS -Wall"
fi

dnl **
dnl ** internationalization support
dnl **

ALL_LINGUAS="fi"
AM_GNU_GETTEXT

AC_OUTPUT(
Makefile
po/Makefile.in
intl/Makefile
macros/Makefile
src/Makefile
help/Makefile
help/C/Makefile
stamp.h)