PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/build/m4/shamrock/expansions.m4

http://github.com/hbons/SparkleShare
m4 | 50 lines | 44 code | 6 blank | 0 comment | 0 complexity | ac75b73375515b81e25d6742fa07ff84 MD5 | raw file
 1AC_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
17AC_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
33AC_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