~ubuntu-branches/ubuntu/vivid/qgo/vivid

« back to all changes in this revision

Viewing changes to configure.in~

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Chaboisseau
  • Date: 2008-03-16 23:53:01 UTC
  • mfrom: (2.1.14 hardy)
  • Revision ID: james.westby@ubuntu.com-20080316235301-j1a8p2sgprtkgxm1
Tags: 1.5.4-r2-2
* fix several minor issues
* remove libqt3-compat-headers from control (closes: #464760)
* Bumped Standards-Version to 3.7.3. No changes needed.
* adding qgo-16.xpm

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Original Author was Kalle@kde.org
2
 
# I lifted it in some mater. (Stephan Kulow)
3
 
# I used much code from Janos Farkas
4
 
 
5
 
dnl Process this file with autoconf to produce a configure script.
6
 
 
7
 
AC_INIT(acinclude.m4) dnl a source file from your sub dir
8
 
 
9
 
dnl This is so we can use kde-common
10
 
AC_CONFIG_AUX_DIR(admin)
11
 
 
12
 
dnl CPPFLAGS="$CPPFLAGS -DDATADIR=\"$(datadir)\""
13
 
CPPFLAGS="-DDATADIR='\"$(datadir)\"' $CPPFLAGS"
14
 
 
15
 
AC_CANONICAL_SYSTEM 
16
 
AC_C_BIGENDIAN
17
 
 
18
 
dnl Automake doc recommends to do this only here. (Janos)
19
 
AM_INIT_AUTOMAKE(qgo,0.2.2)
20
 
 
21
 
dnl KDE_SET_PREFIX
22
 
 
23
 
AC_PREFIX_DEFAULT(/usr/local)
24
 
if test "x$prefix" = "xNONE"; then
25
 
  prefix=$ac_default_prefix
26
 
  ac_configure_args="$ac_configure_args --prefix $prefix"
27
 
fi
28
 
 
29
 
dnl generate the config header
30
 
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
31
 
 
32
 
dnl Checks for programs.
33
 
AC_CHECK_COMPILERS
34
 
 
35
 
CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__
36
 
CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__
37
 
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__
38
 
 
39
 
AC_ENABLE_SHARED(yes)
40
 
AC_ENABLE_STATIC(no)
41
 
KDE_PROG_LIBTOOL
42
 
 
43
 
all_libraries="$all_libraries $USER_LDFLAGS"
44
 
all_includes="$all_includes $USER_INCLUDES"
45
 
AC_SUBST(all_includes)
46
 
AC_SUBST(all_libraries)
47
 
 
48
 
dnl for NLS support. Call them in this order!
49
 
dnl WITH_NLS is for the po files
50
 
AM_KDE_WITH_NLS
51
 
 
52
 
KDE_USE_QT(3)
53
 
AC_PATH_QT
54
 
 
55
 
dnl KDE_NEED_FLEX dnl __kdevelop__
56
 
dnl AC_PROG_YACC dnl __kdevelop__
57
 
 
58
 
dnl Perform program name transformation
59
 
dnl AC_ARG_PROGRAM
60
 
 
61
 
 
62
 
dnl PACKAGE set before
63
 
 
64
 
KDE_CREATE_SUBDIRSLIST
65
 
 
66
 
dnl add here all your Makefiles. This are created by configure
67
 
AC_CONFIG_FILES([ Makefile ])
68
 
 
69
 
dnl AC_CONFIG_FILES([ po/Makefile ])
70
 
AC_CONFIG_FILES([ src/Makefile ])
71
 
AC_CONFIG_FILES([ src/pics/Makefile ])
72
 
AC_CONFIG_FILES([ src/sounds/Makefile ])
73
 
AC_CONFIG_FILES([ src/translations/Makefile ])
74
 
AC_CONFIG_FILES([ templates/Makefile ])
75
 
 
76
 
AC_OUTPUT()