~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to configure.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#MIN_CONFIG(3.3.0)
2
 
 
3
 
AM_INIT_AUTOMAKE(kdevelop, 3.5.5)
4
 
KDEV_CHECK_KDE_VERSION
5
 
KDE_NEED_FLEX
6
 
 
7
 
KDEV_CHECK_DOCBASE
8
 
#KDEV_CHECK_SCRIPTING
9
 
#KDEV_CHECK_JAVA
10
 
#KDEV_CHECK_CSHARP
11
 
#KDEV_CHECK_SVN
12
 
#KDEV_CHECK_QEDITOR
13
 
KDEV_CHECK_BDB
14
 
#KDEV_PATH_PYTHONDOCDIR
15
 
#KDEV_PATH_PHPDOCDIR
16
 
#KDEV_PATH_GNUSTEPDOCDIR
17
 
#KDEV_PATH_GTKDOCDIR
18
 
KDEV_PATH_QTDOC
19
 
KDEV_PATH_KDELIBSDOXY
20
 
KDEV_PATH_KDELIBSDOC
21
 
 
22
 
AC_CHECK_FUNCS([mkfifo], [HAVE_MKFIFO=1], [HAVE_MKFIFO=0])
23
 
 
24
 
dnl  **********
25
 
dnl  Check which programming languages support should be compiled
26
 
dnl  **********
27
 
 
28
 
AC_ARG_ENABLE(ada, AC_HELP_STRING([--disable-ada], [disable programming language support for Ada]), [ada=${enableval}], [ada=yes])
29
 
AM_CONDITIONAL(include_ada, test "$ada" = "yes")
30
 
 
31
 
AC_ARG_ENABLE(bash, AC_HELP_STRING([--disable-bash], [disable programming language support for bash]), [bash=${enableval}], [bash=yes])
32
 
AM_CONDITIONAL(include_bash, test "$bash" = "yes")
33
 
 
34
 
AC_ARG_ENABLE(cpp, AC_HELP_STRING([--disable-cpp], [disable programming language support for C and C++]), [cpp=${enableval}], [cpp=yes])
35
 
AM_CONDITIONAL(include_cpp, test "$cpp" = "yes")
36
 
 
37
 
AC_ARG_ENABLE(fortran, AC_HELP_STRING([--disable-fortran], [disable programming language support for Fortran]), [fortran=${enableval}], [fortran=yes])
38
 
AM_CONDITIONAL(include_fortran, test "$fortran" = "yes")
39
 
 
40
 
AC_ARG_ENABLE(java, AC_HELP_STRING([--disable-java], [disable programming language support for Java]), [java=${enableval}], [java=yes])
41
 
AM_CONDITIONAL(include_java, test "$java" = "yes")
42
 
 
43
 
AC_ARG_ENABLE(csharp, AC_HELP_STRING([--disable-csharp], [disable programming language support for C#]), [csharp=${enableval}], [csharp=yes])
44
 
AM_CONDITIONAL(include_csharp, test "$csharp" = "yes")
45
 
 
46
 
AC_ARG_ENABLE(pascal, AC_HELP_STRING([--disable-pascal], [disable programming language support for Pascal]), [pascal=${enableval}], [pascal=yes])
47
 
AM_CONDITIONAL(include_pascal, test "$pascal" = "yes")
48
 
 
49
 
AC_ARG_ENABLE(perl, AC_HELP_STRING([--disable-perl], [disable programming language support for perl]), [perl=${enableval}], [perl=yes])
50
 
AM_CONDITIONAL(include_perl, test "$perl" = "yes")
51
 
 
52
 
AC_ARG_ENABLE(php, AC_HELP_STRING([--disable-php], [disable programming language support for PHP]), [php=${enableval}], [php=yes])
53
 
AM_CONDITIONAL(include_php, test "$php" = "yes")
54
 
 
55
 
AC_ARG_ENABLE(python, AC_HELP_STRING([--disable-python], [disable programming language support for Python]), [python=${enableval}], [python=yes])
56
 
AM_CONDITIONAL(include_python, test "$python" = "yes")
57
 
 
58
 
AC_ARG_ENABLE(ruby, AC_HELP_STRING([--disable-ruby], [disable programming language support for ruby]), [ruby=${enableval}], [ruby=yes])
59
 
AM_CONDITIONAL(include_ruby, test "$ruby" = "yes")
60
 
 
61
 
AC_ARG_ENABLE(sql, AC_HELP_STRING([--disable-sql], [disable programming language support for SQL]), [sql=${enableval}], [sql=yes])
62
 
AM_CONDITIONAL(include_sql, test "$sql" = "yes")
63
 
 
64
 
dnl  **********
65
 
dnl  Check which build tools support should be compiled
66
 
dnl  **********
67
 
 
68
 
AC_ARG_ENABLE(antproject, AC_HELP_STRING([--disable-antproject], [disable build tool support for ant]), [antproject=${enableval}], [antproject=yes])
69
 
AM_CONDITIONAL(include_ant, test "$antproject" = "yes")
70
 
 
71
 
AC_ARG_ENABLE(autoproject, AC_HELP_STRING([--disable-autoproject], [disable build tool support for autotools]), [autoproject=${enableval}], [autoproject=yes])
72
 
AM_CONDITIONAL(include_autoproject, test "$autoproject" = "yes")
73
 
 
74
 
AC_ARG_ENABLE(customproject, AC_HELP_STRING([--disable-customproject], [disable build tool support for custom makefiles]), [customproject=${enableval}], [customproject=yes])
75
 
AM_CONDITIONAL(include_customproject, test "$customproject" = "yes")
76
 
 
77
 
AC_ARG_ENABLE(scriptproject, AC_HELP_STRING([--disable-scriptproject], [disable build tool support for script]), [scriptproject=${enableval}], [scriptproject=yes])
78
 
AM_CONDITIONAL(include_scriptproject, test "$scriptproject" = "yes")
79
 
 
80
 
AC_ARG_ENABLE(trollproject, AC_HELP_STRING([--disable-trollproject], [disable build tool support for qmake]), [trollproject=${enableval}], [trollproject=yes])
81
 
AM_CONDITIONAL(include_trollproject, test "$trollproject" = "yes")
82
 
 
83
 
 
84
 
dnl  **********
85
 
dnl  Check which version control systems support should be compiled
86
 
dnl  **********
87
 
 
88
 
dnl cervisia is currently disabled
89
 
dnl AC_ARG_ENABLE(cervisia, AC_HELP_STRING([--disable-cervisia], [disable vcs support for cervisia]), [with_cervisia=${enableval}], [with_cervisia=yes])
90
 
 
91
 
AC_ARG_ENABLE(clearcase, AC_HELP_STRING([--disable-clearcase], [disable vcs support for clearcase]), [with_clearcase=${enableval}], [with_clearcase=yes])
92
 
AM_CONDITIONAL(include_clearcase, test "$with_clearcase" = "yes")
93
 
 
94
 
AC_ARG_ENABLE(cvs, AC_HELP_STRING([--disable-cvs], [disable vcs support for cvs]), [with_cvs=${enableval}], [with_cvs=yes])
95
 
AM_CONDITIONAL(include_cvsclient, test "$with_cvs" = "yes")
96
 
 
97
 
dnl  This one is automatic and depends is cervisia is installed or not
98
 
KDE_CHECK_HEADER(cvsservice_stub.h, [cvsservice_stub_h="found"], [cvsservice_stub_h="none"])
99
 
AM_CONDITIONAL(include_cvsservice, test "$cvsservice_stub_h" = "found")
100
 
 
101
 
AC_ARG_ENABLE(perforce, AC_HELP_STRING([--disable-perforce], [disable vcs support for perforce]), [with_perforce=${enableval}], [with_perforce=yes])
102
 
AM_CONDITIONAL(include_perforce, test "$with_perforce" = "yes")
103
 
 
104
 
dnl  **********
105
 
dnl  Check which embedded support should be compiled
106
 
dnl  **********
107
 
 
108
 
AC_ARG_ENABLE(vba, AC_HELP_STRING([--enable-vba], [enable visualboy advance support]), [with_vba=${enableval}], [with_vba=no])
109
 
AM_CONDITIONAL(include_vba, test "$with_vba" = "yes")
110
 
 
111
 
 
112
 
AC_PATH_PROG(DOT_FOUND, dot, no)
113
 
AC_CHECK_PROG(gmake_prog, gmake, gmake, make)
114
 
AC_CHECK_PROGS(TAR, gnutar gtar tar, [AM_MISSING_PROG(tar)])
115
 
AC_CHECK_PROG(GZIP_COMMAND, gzip, gzip)
116
 
AC_DEFINE_UNQUOTED(MAKE_COMMAND, "$gmake_prog", [GNU make command])
117
 
 
118
 
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
119
 
case $host_os in
120
 
hpux11*)
121
 
    CPPFLAGS="$CPPFLAGS -D_PROTOTYPES"
122
 
    ;;
123
 
esac
124
 
 
125
 
AC_CHECK_FILE([$qt_includes/qassistantclient.h], [],[AC_MSG_ERROR([The qassistantclient.h header from Qt3 is needed to build kdevelop, on some systems this header is in a separate package called qt3-apps-dev])])
126
 
 
127
 
KDE_INIT_DOXYGEN([KDevelop], [Version $VERSION])