diff options
author | Perberos <[email protected]> | 2011-11-14 18:24:48 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-14 18:24:48 -0300 |
commit | 312ba610a1e98fc656fb58178227d7d45a64494e (patch) | |
tree | 54a3c2b6084c80e63fb0526c6e7b8e01627acbd7 /m4/ac-define-dir.m4 | |
download | mate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.bz2 mate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.xz |
initial
Diffstat (limited to 'm4/ac-define-dir.m4')
-rwxr-xr-x | m4/ac-define-dir.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/m4/ac-define-dir.m4 b/m4/ac-define-dir.m4 new file mode 100755 index 00000000..a8969e1a --- /dev/null +++ b/m4/ac-define-dir.m4 @@ -0,0 +1,12 @@ +dnl from ac-archives +AC_DEFUN([AC_DEFINE_DIR], [ + test "x$prefix" = xNONE && prefix="$ac_default_prefix" + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + ac_define_dir=`eval echo [$]$2` + ac_define_dir=`eval echo [$]ac_define_dir` + $1="$ac_define_dir" + AC_SUBST($1) + ifelse($3, , + AC_DEFINE_UNQUOTED($1, "$ac_define_dir"), + AC_DEFINE_UNQUOTED($1, "$ac_define_dir", $3)) +]) |