summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authortrutkin <trutkin@0c269be4-1314-0410-8aa9-9f06e86f4224>2003-05-14 22:21:45 +0000
committertrutkin <trutkin@0c269be4-1314-0410-8aa9-9f06e86f4224>2003-05-14 22:21:45 +0000
commit5af407cf85fb57f6cf88e0842b5ba845ec68a287 (patch)
tree68d8f160e5c5a0d89559b4b18aee0774c93d9b71 /acinclude.m4
parent2e7e44d54d866e215586f03c253948a7bdb12593 (diff)
downloadjack1-5af407cf85fb57f6cf88e0842b5ba845ec68a287.tar.gz
Removed fltk_client. More trouble than it's worth.
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@387 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m484
1 files changed, 0 insertions, 84 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index aefa8f1..6ef5520 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -39,87 +39,3 @@ AC_DEFUN(AS_AC_EXPAND,
exec_prefix=$exec_prefix_save
])
-#
-# fltk.m4
-#
-# You have permission to use this file under GNU's General Public License,
-# version 2 or later
-#
-# Copyright (C) 2002 Robert Ham (node@users.sourceforge.net)
-#
-
-AC_DEFUN([AC_LIB_FLTK],[
- AC_LANG_PUSH([C++])
- AC_ARG_ENABLE(
- [fltktest],
- AC_HELP_STRING([--disable-fltktest],
- [assume fltk is installed and skip the test]),
- [
- case "$enableval" in
- "yes")
- FLTK_TEST="yes"
- ;;
- "no")
- FLTK_TEST="no"
- ;;
- *)
- AC_MSG_ERROR([must use --enable-fltktest(=yes/no) or --disable-fltktest])
- ;;
- esac
- ],
- [ FLTK_TEST="yes"
- ])
-
- if test "$FLTK_TEST" = "no"; then
- AC_MSG_WARN([fltk test disabled: assuming FLTK_LDFLAGS="-lfltk" and FLTK_CXXFLAGS=""])
- FLTK_LDFLAGS="-lfltk"
- FLTK_CXXFLAGS=""
- FLTK_FOUND="yes"
- else
- AC_CACHE_VAL(
- [fltk_cv_prog_fltkconfig],
- [
- AC_ARG_WITH(
- [fltk-config],
- AC_HELP_STRING([--with-fltk-config=DIR],
- [the directory containing the fltk-config program]),
- [
- case "$withval" in
- "yes")
- if test -d yes; then
- FLTK_CONFIG_PATH="yes"
- else
- AC_MSG_ERROR([you must use --with-fltk-config=DIR with DIR as a directory name])
- fi
- ;;
- "no")
- AC_MSG_ERROR([you must use --with-fltk-config=DIR with DIR as a directory name])
- ;;
- *)
- FLTK_CONFIG_PATH="$withval"
- ;;
- esac
- ])
-
- if test "$FLTK_CONFIG_PATH" = ""; then
- AC_PATH_PROG([FLTK_CONFIG], [fltk-config], [no])
- else
- AC_PATH_PROG([FLTK_CONFIG], [fltk-config], [no], "${FLTK_CONFIG_PATH}:${PATH}")
- fi
-
- if test "$FLTK_CONFIG" = "no"; then
- AC_MSG_WARN([could not find the fltk-config program - try using --with-fltk-config=DIR])
- FLTK_FOUND="no";
- fi
-
- fltk_cv_prog_fltkconfig="$FLTK_CONFIG"
- ])
- FLTK_CXXFLAGS="$( "$fltk_cv_prog_fltkconfig" --cxxflags )"
- FLTK_LDFLAGS="$( "$fltk_cv_prog_fltkconfig" --ldflags )"
- FLTK_FOUND="yes"
- fi
- AC_LANG_POP([C++])
-
- AC_SUBST(FLTK_CXXFLAGS)
- AC_SUBST(FLTK_LDFLAGS)
-])