aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4')
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m427
1 files changed, 27 insertions, 0 deletions
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4 b/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4
new file mode 100644
index 0000000..f17febd
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/m4/acinclude.m4
@@ -0,0 +1,27 @@
1dnl @synopsis AC_DEFINE_DIR(VARNAME, DIR [, DESCRIPTION])
2dnl
3dnl This macro _AC_DEFINEs VARNAME to the expansion of the DIR
4dnl variable, taking care of fixing up ${prefix} and such.
5dnl
6dnl Note that the 3 argument form is only supported with autoconf 2.13 and
7dnl later (i.e. only where _AC_DEFINE supports 3 arguments).
8dnl
9dnl Examples:
10dnl
11dnl AC_DEFINE_DIR(DATADIR, datadir)
12dnl AC_DEFINE_DIR(PROG_PATH, bindir, [Location of installed binaries])
13dnl
14dnl @version $Id: acinclude.m4 25 2006-04-22 17:24:27Z mmmaddd $
15dnl @author Guido Draheim <guidod@gmx.de>, original by Alexandre Oliva
16
17AC_DEFUN([AC_DEFINE_DIR], [
18 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
19 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20 ac_define_dir=`eval echo [$]$2`
21 ac_define_dir=`eval echo [$]ac_define_dir`
22 ifelse($3, ,
23 AC_DEFINE_UNQUOTED($1, "$ac_define_dir"),
24 AC_DEFINE_UNQUOTED($1, "$ac_define_dir", $3))
25])
26
27