summaryrefslogtreecommitdiff
path: root/baltisot.m4
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-11 09:59:22 -0800
committerPixel <pixel@nobis-crew.org>2009-11-11 09:59:22 -0800
commit0570d14683cc05262334ff8bf0d9b5b98d10dfe8 (patch)
tree4c0533945ce210576a72f333efc33b1e1b5a9658 /baltisot.m4
parenta97f9d02d1b2ea19bdd43a9efcd7b8f55595dcff (diff)
Cleaning out crap.
Diffstat (limited to 'baltisot.m4')
-rw-r--r--baltisot.m454
1 files changed, 0 insertions, 54 deletions
diff --git a/baltisot.m4 b/baltisot.m4
deleted file mode 100644
index 320e194..0000000
--- a/baltisot.m4
+++ /dev/null
@@ -1,54 +0,0 @@
-# Configure paths for Baltisot
-# Nicolas Noble 2002-12-06
-# stolen from Sam Lantinga
-# stolen from Manish Singh
-# stolen back from Frank Belew
-# stolen from Manish Singh
-# Shamelessly stolen from Owen Taylor
-
-dnl AM_PATH_SDL([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
-dnl Test for BALTISOT, and define BALTISOT_CFLAGS and BALTISOT_LIBS
-dnl
-AC_DEFUN(AM_PATH_BALTISOT,
-[dnl
-dnl Get the cflags and libraries from the baltisot-config script
-dnl
-AC_ARG_WITH(baltisot-prefix,[ --with-baltisot-prefix=PFX Prefix where Baltisot is installed (optional)],
- baltisot_prefix="$withval", baltisot_prefix="")
-AC_ARG_WITH(baltisot-exec-prefix,[ --with-baltisot-exec-prefix=PFX Exec prefix where Baltisot is installed (optional)],
- baltisot_exec_prefix="$withval", baltisot_exec_prefix="")
-
- if test x$baltisot_exec_prefix != x ; then
- baltisot_args="$baltisot_args --exec-prefix=$baltisot_exec_prefix"
- if test x${baltisot_CONFIG+set} != xset ; then
- baltisot_CONFIG=$baltisot_exec_prefix/bin/baltisot-config
- fi
- fi
- if test x$baltisot_prefix != x ; then
- baltisot_args="$baltisot_args --prefix=$baltisot_prefix"
- if test x${baltisot_CONFIG+set} != xset ; then
- baltisot_CONFIG=$baltisot_prefix/bin/baltisot-config
- fi
- fi
-
- AC_REQUIRE([AC_CANONICAL_TARGET])
- PATH="$prefix/bin:$prefix/usr/bin:$PATH"
- AC_PATH_PROG(BALTISOT_CONFIG, baltisot-config, no, [$PATH])
- no_baltisot=""
- if test "$BALTISOT_CONFIG" = "no" ; then
- no_baltisot=yes
- else
- BALTISOT_CFLAGS=`$BALTISOT_CONFIG $baltisotconf_args --cflags`
- BALTISOT_LIBS=`$BALTISOT_CONFIG $baltisotconf_args --libs`
- fi
-
- if test "x$no_baltisot" = x ; then
- ifelse([$1], , :, [$1])
- else
- BALTISOT_CFLAGS=""
- BALTISOT_LIBS=""
- ifelse([$2], , :, [$2])
- fi
- AC_SUBST(BALTISOT_CFLAGS)
- AC_SUBST(BALTISOT_LIBS)
-])