File: acinclude.m4

package info (click to toggle)
tipptrainer 0.4-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,064 kB
  • ctags: 331
  • sloc: sh: 3,792; cpp: 2,624; makefile: 159; ansic: 2
file content (34 lines) | stat: -rw-r--r-- 847 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
dnl Makros fr configure.in

AC_DEFUN(AC_WXCONFIG,
[
        AC_MSG_CHECKING(for wx-config)
        if `test `which wx-config``; then
                AC_MSG_RESULT(gefunden)
        else
                AC_MSG_ERROR(wx-config not found)
        fi
])

AC_DEFUN(AC_GTKCONFIG,
[
        AC_MSG_CHECKING(for gtk-config)
        if `test `which gtk-config``; then
                AC_MSG_RESULT(gefunden)
        else
                AC_MSG_ERROR(gtk-config not found)
        fi
])


AC_DEFUN(MY_EXPAND_DIR, [
                      $1=$2
                      $1=`(
                           test "x$prefix" = xNONE &&
prefix="$ac_default_prefix"
                           test "x$exec_prefix" = xNONE &&
exec_prefix="${prefix}"
                           eval echo \""[$]$1"\"
                          )`
                    ])