~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to m4/shamrock/expansions.m4

  • Committer: Christopher James Halse Rogers
  • Date: 2008-07-25 06:31:03 UTC
  • Revision ID: raof@cowboylaputopu.cooperteam.net-20080725063103-r77k514l0z7kfw03
Start making autotools work again; all the plugins that currently have autofoo should be working

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_DEFUN([SHAMROCK_EXPAND_LIBDIR],
 
2
[       
 
3
        expanded_libdir=`(
 
4
                case $prefix in 
 
5
                        NONE) prefix=$ac_default_prefix ;; 
 
6
                        *) ;; 
 
7
                esac
 
8
                case $exec_prefix in 
 
9
                        NONE) exec_prefix=$prefix ;; 
 
10
                        *) ;; 
 
11
                esac
 
12
                eval echo $libdir
 
13
        )`
 
14
        AC_SUBST(expanded_libdir)
 
15
])
 
16
 
 
17
AC_DEFUN([SHAMROCK_EXPAND_BINDIR],
 
18
[
 
19
        expanded_bindir=`(
 
20
                case $prefix in 
 
21
                        NONE) prefix=$ac_default_prefix ;; 
 
22
                        *) ;; 
 
23
                esac
 
24
                case $exec_prefix in 
 
25
                        NONE) exec_prefix=$prefix ;; 
 
26
                        *) ;; 
 
27
                esac
 
28
                eval echo $bindir
 
29
        )`
 
30
        AC_SUBST(expanded_bindir)
 
31
])
 
32
 
 
33
AC_DEFUN([SHAMROCK_EXPAND_DATADIR],
 
34
[
 
35
        case $prefix in
 
36
                NONE) prefix=$ac_default_prefix ;;
 
37
                *) ;;
 
38
        esac
 
39
 
 
40
        case $exec_prefix in
 
41
                NONE) exec_prefix=$prefix ;;
 
42
                *) ;;
 
43
        esac
 
44
 
 
45
        expanded_datadir=`(eval echo $datadir)`
 
46
        expanded_datadir=`(eval echo $expanded_datadir)`
 
47
 
 
48
        AC_SUBST(expanded_datadir)
 
49
])
 
50