summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/console-tools/console-tools-0.3.2/config/progtest.m4
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-17 12:18:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-23 13:00:48 +0100
commit9ab6962972973c9a6704a5ba1d08e2cbad505668 (patch)
tree634a39a633196f815f73783b10368865bec3aba4 /meta/recipes-core/console-tools/console-tools-0.3.2/config/progtest.m4
parentdb750252148d8e312580fc7c50df5ebbbfdb8cad (diff)
downloadpoky-9ab6962972973c9a6704a5ba1d08e2cbad505668.tar.gz
console-tools: Clean up recipe
This cleans up various bits of nastiness in this recipe: * Drop unneeded m4 macros * Update to a recent version of gettext (needs addition of Makevars file) * Drop split do_compile and SUBDIRS hacks, just patch out the docs * Remove some of the configure.in hacks since they seem unneeded now and break gettext (the AC_OUTPUT change). * Wipe out acinclude.m4 since it has corrisive contents (From OE-Core rev: 8302b403336f06075fc56bf9a1536a6274016378) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/console-tools/console-tools-0.3.2/config/progtest.m4')
-rw-r--r--meta/recipes-core/console-tools/console-tools-0.3.2/config/progtest.m451
1 files changed, 0 insertions, 51 deletions
diff --git a/meta/recipes-core/console-tools/console-tools-0.3.2/config/progtest.m4 b/meta/recipes-core/console-tools/console-tools-0.3.2/config/progtest.m4
deleted file mode 100644
index 35dc3da1f7..0000000000
--- a/meta/recipes-core/console-tools/console-tools-0.3.2/config/progtest.m4
+++ /dev/null
@@ -1,51 +0,0 @@
1# Search path for a program which passes the given test.
2# Ulrich Drepper <drepper@cygnus.com>, 1996.
3#
4# This file can be copied and used freely without restrictions. It can
5# be used in projects which are not available under the GNU General Public
6# License or the GNU Library General Public License but which still want
7# to provide support for the GNU gettext functionality.
8# Please note that the actual code of the GNU gettext library is covered
9# by the GNU Library General Public License, and the rest of the GNU
10# gettext package package is covered by the GNU General Public License.
11# They are *not* in the public domain.
12
13# serial 2
14
15dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
16dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
17AC_DEFUN([AM_PATH_PROG_WITH_TEST],
18[# Extract the first word of "$2", so it can be a program name with args.
19set dummy $2; ac_word=[$]2
20AC_MSG_CHECKING([for $ac_word])
21AC_CACHE_VAL(ac_cv_path_$1,
22[case "[$]$1" in
23 /*)
24 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
25 ;;
26 *)
27 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
28 for ac_dir in ifelse([$5], , $PATH, [$5]); do
29 test -z "$ac_dir" && ac_dir=.
30 if test -f $ac_dir/$ac_word; then
31 if [$3]; then
32 ac_cv_path_$1="$ac_dir/$ac_word"
33 break
34 fi
35 fi
36 done
37 IFS="$ac_save_ifs"
38dnl If no 4th arg is given, leave the cache variable unset,
39dnl so AC_PATH_PROGS will keep looking.
40ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
41])dnl
42 ;;
43esac])dnl
44$1="$ac_cv_path_$1"
45if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
46 AC_MSG_RESULT([$]$1)
47else
48 AC_MSG_RESULT(no)
49fi
50AC_SUBST($1)dnl
51])