annotate configure @ 2:7bf4a164d5bb default tip

fix bug: long_options have to be zero terminated
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Fri, 20 Jul 2012 11:28:30 +0200
parents bbbfb3f97919
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1 #! /bin/sh
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3 # Generated by GNU Autoconf 2.68 for "chrpath" "0.13".
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4 #
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5 # Report bugs to <pere@hungry.com>.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6 #
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
7 #
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
10 # Foundation, Inc.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
11 #
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
12 #
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
13 # This configure script is free software; the Free Software Foundation
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
14 # gives unlimited permission to copy, distribute and modify it.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
15 ## -------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
16 ## M4sh Initialization. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
17 ## -------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
18
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
19 # Be more Bourne compatible
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
20 DUALCASE=1; export DUALCASE # for MKS sh
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
22 emulate sh
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
23 NULLCMD=:
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
25 # is contrary to our usage. Disable this feature.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
26 alias -g '${1+"$@"}'='"$@"'
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
27 setopt NO_GLOB_SUBST
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
28 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
29 case `(set -o) 2>/dev/null` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
30 *posix*) :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
31 set -o posix ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
32 *) :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
33 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
34 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
35 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
36
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
37
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
38 as_nl='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
39 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
40 export as_nl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
46 # but without wasting forks for bash or zsh.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
49 as_echo='print -r --'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
50 as_echo_n='print -rn --'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
52 as_echo='printf %s\n'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
53 as_echo_n='printf %s'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
54 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
57 as_echo_n='/usr/ucb/echo -n'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
58 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
60 as_echo_n_body='eval
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
61 arg=$1;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
62 case $arg in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
63 *"$as_nl"*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
64 expr "X$arg" : "X\\(.*\\)$as_nl";
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
66 esac;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
68 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
69 export as_echo_n_body
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
70 as_echo_n='sh -c $as_echo_n_body as_echo'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
71 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
72 export as_echo_body
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
73 as_echo='sh -c $as_echo_body as_echo'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
74 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
75
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
76 # The user is always right.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
77 if test "${PATH_SEPARATOR+set}" != set; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
78 PATH_SEPARATOR=:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
81 PATH_SEPARATOR=';'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
82 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
83 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
84
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
85
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
86 # IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
87 # We need space, tab and new line, in precisely that order. Quoting is
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
88 # there to prevent editors from complaining about space-tab.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
90 # splitting by setting IFS to empty value.)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
91 IFS=" "" $as_nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
92
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
93 # Find who we are. Look in the path if we contain no directory separator.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
94 as_myself=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
95 case $0 in #((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
96 *[\\/]* ) as_myself=$0 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
98 for as_dir in $PATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
99 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
100 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
101 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
103 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
104 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
105
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
106 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
107 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
109 # in which case we are not to be found in the path.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
110 if test "x$as_myself" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
111 as_myself=$0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
112 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
113 if test ! -f "$as_myself"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
115 exit 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
116 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
117
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
118 # Unset variables that we do not need and which cause bugs (e.g. in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
120 # suppresses any "Segmentation fault" message there. '((' could
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
121 # trigger a bug in pdksh 5.2.14.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
122 for as_var in BASH_ENV ENV MAIL MAILPATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
123 do eval test x\${$as_var+set} = xset \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
125 done
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
126 PS1='$ '
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
127 PS2='> '
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
128 PS4='+ '
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
129
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
130 # NLS nuisances.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
131 LC_ALL=C
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
132 export LC_ALL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
133 LANGUAGE=C
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
134 export LANGUAGE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
135
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
136 # CDPATH.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
138
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
139 if test "x$CONFIG_SHELL" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
141 emulate sh
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
142 NULLCMD=:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
144 # is contrary to our usage. Disable this feature.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
146 setopt NO_GLOB_SUBST
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
147 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
148 case \`(set -o) 2>/dev/null\` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
149 *posix*) :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
150 set -o posix ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
151 *) :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
152 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
153 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
154 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
155 "
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
156 as_required="as_fn_return () { (exit \$1); }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
157 as_fn_success () { as_fn_return 0; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
158 as_fn_failure () { as_fn_return 1; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
159 as_fn_ret_success () { return 0; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
160 as_fn_ret_failure () { return 1; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
161
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
162 exitcode=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
168
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
169 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
170 exitcode=1; echo positional parameters were not saved.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
171 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
172 test x\$exitcode = x0 || exit 1"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
177 test \$(( 1 + 1 )) = 2 || exit 1"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
178 if (eval "$as_required") 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
179 as_have_required=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
180 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
181 as_have_required=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
182 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
184
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
185 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
187 as_found=false
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
189 do
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
190 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
191 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
192 as_found=:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
193 case $as_dir in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
194 /*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
195 for as_base in sh bash ksh sh5; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
196 # Try only shells that exist, to save several forks.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
197 as_shell=$as_dir/$as_base
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
200 CONFIG_SHELL=$as_shell as_have_required=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
202 break 2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
203 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
204 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
205 done;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
206 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
207 as_found=false
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
208 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
211 CONFIG_SHELL=$SHELL as_have_required=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
212 fi; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
213 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
214
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
215
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
216 if test "x$CONFIG_SHELL" != x; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
217 # We cannot yet assume a decent shell, so we have to provide a
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
218 # neutralization value for shells without unset; and this also
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
219 # works around shells that cannot unset nonexistent variables.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
220 # Preserve -v and -x to the replacement shell.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
221 BASH_ENV=/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
222 ENV=/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
224 export CONFIG_SHELL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
225 case $- in # ((((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
226 *v*x* | *x*v* ) as_opts=-vx ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
227 *v* ) as_opts=-v ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
228 *x* ) as_opts=-x ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
229 * ) as_opts= ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
230 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
232 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
233
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
234 if test x$as_have_required = xno; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
235 $as_echo "$0: This script requires a shell more modern than all"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
236 $as_echo "$0: the shells that I found on your system."
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
237 if test x${ZSH_VERSION+set} = xset ; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
240 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and pere@hungry.com
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
242 $0: about your system, including any error possibly output
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
243 $0: before this message. Then install a modern shell, or
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
244 $0: manually run the script under such a shell if you do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
245 $0: have one."
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
246 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
247 exit 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
248 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
249 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
250 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
251 SHELL=${CONFIG_SHELL-/bin/sh}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
252 export SHELL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
253 # Unset more variables known to interfere with behavior of common tools.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
254 CLICOLOR_FORCE= GREP_OPTIONS=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
255 unset CLICOLOR_FORCE GREP_OPTIONS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
256
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
257 ## --------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
258 ## M4sh Shell Functions. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
259 ## --------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
260 # as_fn_unset VAR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
261 # ---------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
262 # Portably unset VAR.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
263 as_fn_unset ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
264 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
265 { eval $1=; unset $1;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
266 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
267 as_unset=as_fn_unset
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
268
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
269 # as_fn_set_status STATUS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
270 # -----------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
271 # Set $? to STATUS, without forking.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
272 as_fn_set_status ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
273 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
274 return $1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
275 } # as_fn_set_status
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
276
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
277 # as_fn_exit STATUS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
278 # -----------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
280 as_fn_exit ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
281 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
282 set +e
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
283 as_fn_set_status $1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
284 exit $1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
285 } # as_fn_exit
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
286
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
287 # as_fn_mkdir_p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
288 # -------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
289 # Create "$as_dir" as a directory, including parents if necessary.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
290 as_fn_mkdir_p ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
291 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
292
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
293 case $as_dir in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
294 -*) as_dir=./$as_dir;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
295 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
296 test -d "$as_dir" || eval $as_mkdir_p || {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
297 as_dirs=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
298 while :; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
299 case $as_dir in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
301 *) as_qdir=$as_dir;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
302 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
303 as_dirs="'$as_qdir' $as_dirs"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
304 as_dir=`$as_dirname -- "$as_dir" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
306 X"$as_dir" : 'X\(//\)[^/]' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
307 X"$as_dir" : 'X\(//\)$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
309 $as_echo X"$as_dir" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
311 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
312 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
313 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
314 /^X\(\/\/\)[^/].*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
315 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
316 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
317 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
318 /^X\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
319 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
320 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
321 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
322 /^X\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
323 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
324 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
325 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
326 s/.*/./; q'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
327 test -d "$as_dir" && break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
328 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
331
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
332
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
333 } # as_fn_mkdir_p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
334 # as_fn_append VAR VALUE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
335 # ----------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
337 # advantage of any shell optimizations that allow amortized linear growth over
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
338 # repeated appends, instead of the typical quadratic growth present in naive
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
339 # implementations.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
341 eval 'as_fn_append ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
342 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
343 eval $1+=\$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
344 }'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
345 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
346 as_fn_append ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
347 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
348 eval $1=\$$1\$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
349 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
350 fi # as_fn_append
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
351
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
352 # as_fn_arith ARG...
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
353 # ------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
356 # must be portable across $(()) and expr.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
358 eval 'as_fn_arith ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
359 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
360 as_val=$(( $* ))
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
361 }'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
362 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
363 as_fn_arith ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
364 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
365 as_val=`expr "$@" || test $? -eq 1`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
366 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
367 fi # as_fn_arith
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
368
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
369
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
371 # ----------------------------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
374 # script with STATUS, using 1 if that was 0.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
375 as_fn_error ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
376 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
377 as_status=$1; test $as_status -eq 0 && as_status=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
378 if test "$4"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
381 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
382 $as_echo "$as_me: error: $2" >&2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
383 as_fn_exit $as_status
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
384 } # as_fn_error
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
385
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
388 as_expr=expr
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
389 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
390 as_expr=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
391 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
392
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
394 as_basename=basename
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
395 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
396 as_basename=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
397 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
398
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
400 as_dirname=dirname
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
401 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
402 as_dirname=false
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
403 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
404
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
405 as_me=`$as_basename -- "$0" ||
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
407 X"$0" : 'X\(//\)$' \| \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
409 $as_echo X/"$0" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
411 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
412 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
413 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
414 /^X\/\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
415 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
416 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
417 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
418 /^X\/\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
419 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
420 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
421 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
422 s/.*/./; q'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
423
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
424 # Avoid depending upon Character Ranges.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
428 as_cr_digits='0123456789'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
430
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
431
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
437 sed -n '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
438 p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
439 /[$]LINENO/=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
440 ' <$as_myself |
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
441 sed '
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
442 s/[$]LINENO.*/&-/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
443 t lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
444 b
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
445 :lineno
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
446 N
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
447 :loop
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
449 t loop
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
450 s/-\n.*//
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
451 ' >$as_me.lineno &&
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
452 chmod +x "$as_me.lineno" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
454
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
455 # Don't try to exec as it changes $[0], causing all sort of problems
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
456 # (the dirname of $[0] is not the place where we might find the
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
457 # original and so on. Autoconf is especially sensitive to this).
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
458 . "./$as_me.lineno"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
459 # Exit status is that of the last command.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
460 exit
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
461 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
462
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
463 ECHO_C= ECHO_N= ECHO_T=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
464 case `echo -n x` in #(((((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
465 -n*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
466 case `echo 'xy\c'` in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
468 xy) ECHO_C='\c';;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
470 ECHO_T=' ';;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
471 esac;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
472 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
473 ECHO_N='-n';;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
474 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
475
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
476 rm -f conf$$ conf$$.exe conf$$.file
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
477 if test -d conf$$.dir; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
478 rm -f conf$$.dir/conf$$.file
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
479 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
480 rm -f conf$$.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
481 mkdir conf$$.dir 2>/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
482 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
483 if (echo >conf$$.file) 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
485 as_ln_s='ln -s'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
486 # ... but there are two gotchas:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
489 # In both cases, we have to default to `cp -p'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
491 as_ln_s='cp -p'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
492 elif ln conf$$.file conf$$ 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
493 as_ln_s=ln
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
494 else
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
495 as_ln_s='cp -p'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
496 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
497 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
498 as_ln_s='cp -p'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
499 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
501 rmdir conf$$.dir 2>/dev/null
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
502
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
503 if mkdir -p . 2>/dev/null; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
504 as_mkdir_p='mkdir -p "$as_dir"'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
505 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
506 test -d ./-p && rmdir ./-p
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
507 as_mkdir_p=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
508 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
509
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
510 if test -x / >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
511 as_test_x='test -x'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
512 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
513 if ls -dL / >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
514 as_ls_L_option=L
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
515 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
516 as_ls_L_option=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
517 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
518 as_test_x='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
519 eval sh -c '\''
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
520 if test -d "$1"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
521 test -d "$1/.";
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
522 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
523 case $1 in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
524 -*)set "./$1";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
525 esac;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
527 ???[sx]*):;;*)false;;esac;fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
528 '\'' sh
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
529 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
530 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
531 as_executable_p=$as_test_x
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
532
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
533 # Sed expression to map a string onto a valid CPP name.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
535
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
536 # Sed expression to map a string onto a valid variable name.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
538
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
539
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
540 test -n "$DJDIR" || exec 7<&0 </dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
541 exec 6>&1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
542
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
543 # Name of the host.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
545 # so uname gets run too.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
547
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
548 #
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
549 # Initializations.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
550 #
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
551 ac_default_prefix=/usr/local
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
552 ac_clean_files=
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
553 ac_config_libobj_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
554 LIBOBJS=
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
555 cross_compiling=no
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
556 subdirs=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
557 MFLAGS=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
558 MAKEFLAGS=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
559
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
560 # Identity of this package.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
561 PACKAGE_NAME='"chrpath"'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
562 PACKAGE_TARNAME='-chrpath-'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
563 PACKAGE_VERSION='"0.13"'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
564 PACKAGE_STRING='"chrpath" "0.13"'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
565 PACKAGE_BUGREPORT='pere@hungry.com'
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
566 PACKAGE_URL=''
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
567
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
568 ac_unique_file="chrpath.c"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
569 # Factoring default headers for most tests.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
570 ac_includes_default="\
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
571 #include <stdio.h>
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
572 #ifdef HAVE_SYS_TYPES_H
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
573 # include <sys/types.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
574 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
575 #ifdef HAVE_SYS_STAT_H
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
576 # include <sys/stat.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
577 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
578 #ifdef STDC_HEADERS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
579 # include <stdlib.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
580 # include <stddef.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
581 #else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
582 # ifdef HAVE_STDLIB_H
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
583 # include <stdlib.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
584 # endif
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
585 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
586 #ifdef HAVE_STRING_H
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
588 # include <memory.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
589 # endif
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
590 # include <string.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
591 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
592 #ifdef HAVE_STRINGS_H
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
593 # include <strings.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
594 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
595 #ifdef HAVE_INTTYPES_H
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
596 # include <inttypes.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
597 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
598 #ifdef HAVE_STDINT_H
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
599 # include <stdint.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
600 #endif
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
601 #ifdef HAVE_UNISTD_H
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
602 # include <unistd.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
603 #endif"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
604
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
605 ac_subst_vars='am__EXEEXT_FALSE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
606 am__EXEEXT_TRUE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
607 LTLIBOBJS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
608 LIBOBJS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
609 EGREP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
610 GREP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
611 CPP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
612 am__fastdepCC_FALSE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
613 am__fastdepCC_TRUE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
614 CCDEPMODE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
615 AMDEPBACKSLASH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
616 AMDEP_FALSE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
617 AMDEP_TRUE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
618 am__quote
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
619 am__include
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
620 DEPDIR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
621 OBJEXT
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
622 EXEEXT
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
623 ac_ct_CC
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
624 CPPFLAGS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
625 LDFLAGS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
626 CFLAGS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
627 CC
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
628 LDRPATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
629 MAINT
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
630 MAINTAINER_MODE_FALSE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
631 MAINTAINER_MODE_TRUE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
632 am__untar
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
633 am__tar
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
634 AMTAR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
635 am__leading_dot
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
636 SET_MAKE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
637 AWK
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
638 mkdir_p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
639 MKDIR_P
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
640 INSTALL_STRIP_PROGRAM
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
641 STRIP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
642 install_sh
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
643 MAKEINFO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
644 AUTOHEADER
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
645 AUTOMAKE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
646 AUTOCONF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
647 ACLOCAL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
648 VERSION
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
649 PACKAGE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
650 CYGPATH_W
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
651 am__isrc
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
652 INSTALL_DATA
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
653 INSTALL_SCRIPT
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
654 INSTALL_PROGRAM
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
655 target_os
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
656 target_vendor
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
657 target_cpu
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
658 target
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
659 host_os
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
660 host_vendor
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
661 host_cpu
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
662 host
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
663 build_os
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
664 build_vendor
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
665 build_cpu
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
666 build
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
667 target_alias
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
668 host_alias
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
669 build_alias
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
670 LIBS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
671 ECHO_T
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
672 ECHO_N
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
673 ECHO_C
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
674 DEFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
675 mandir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
676 localedir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
677 libdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
678 psdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
679 pdfdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
680 dvidir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
681 htmldir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
682 infodir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
683 docdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
684 oldincludedir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
685 includedir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
686 localstatedir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
687 sharedstatedir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
688 sysconfdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
689 datadir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
690 datarootdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
691 libexecdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
692 sbindir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
693 bindir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
694 program_transform_name
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
695 prefix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
696 exec_prefix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
697 PACKAGE_URL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
698 PACKAGE_BUGREPORT
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
699 PACKAGE_STRING
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
700 PACKAGE_VERSION
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
701 PACKAGE_TARNAME
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
702 PACKAGE_NAME
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
703 PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
704 SHELL'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
705 ac_subst_files=''
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
706 ac_user_opts='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
707 enable_option_checking
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
708 enable_maintainer_mode
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
709 enable_dependency_tracking
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
710 with_coverage
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
711 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
712 ac_precious_vars='build_alias
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
713 host_alias
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
714 target_alias
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
715 CC
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
716 CFLAGS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
717 LDFLAGS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
718 LIBS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
719 CPPFLAGS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
720 CPP'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
721
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
722
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
723 # Initialize some variables set by options.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
724 ac_init_help=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
725 ac_init_version=false
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
726 ac_unrecognized_opts=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
727 ac_unrecognized_sep=
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
728 # The variables have the same names as the options, with
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
729 # dashes changed to underlines.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
730 cache_file=/dev/null
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
731 exec_prefix=NONE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
732 no_create=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
733 no_recursion=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
734 prefix=NONE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
735 program_prefix=NONE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
736 program_suffix=NONE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
737 program_transform_name=s,x,x,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
738 silent=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
739 site=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
740 srcdir=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
741 verbose=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
742 x_includes=NONE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
743 x_libraries=NONE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
744
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
745 # Installation directory options.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
746 # These are left unexpanded so users can "make install exec_prefix=/foo"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
747 # and all the variables that are supposed to be based on exec_prefix
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
748 # by default will actually change.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
749 # Use braces instead of parens because sh, perl, etc. also accept them.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
750 # (The list follows the same order as the GNU Coding Standards.)
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
751 bindir='${exec_prefix}/bin'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
752 sbindir='${exec_prefix}/sbin'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
753 libexecdir='${exec_prefix}/libexec'
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
754 datarootdir='${prefix}/share'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
755 datadir='${datarootdir}'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
756 sysconfdir='${prefix}/etc'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
757 sharedstatedir='${prefix}/com'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
758 localstatedir='${prefix}/var'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
759 includedir='${prefix}/include'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
760 oldincludedir='/usr/include'
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
761 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
762 infodir='${datarootdir}/info'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
763 htmldir='${docdir}'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
764 dvidir='${docdir}'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
765 pdfdir='${docdir}'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
766 psdir='${docdir}'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
767 libdir='${exec_prefix}/lib'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
768 localedir='${datarootdir}/locale'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
769 mandir='${datarootdir}/man'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
770
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
771 ac_prev=
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
772 ac_dashdash=
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
773 for ac_option
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
774 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
775 # If the previous option needs an argument, assign it.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
776 if test -n "$ac_prev"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
777 eval $ac_prev=\$ac_option
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
778 ac_prev=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
779 continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
780 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
781
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
782 case $ac_option in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
783 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
784 *=) ac_optarg= ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
785 *) ac_optarg=yes ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
786 esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
787
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
788 # Accept the important Cygnus configure options, so we can diagnose typos.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
789
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
790 case $ac_dashdash$ac_option in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
791 --)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
792 ac_dashdash=yes ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
793
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
794 -bindir | --bindir | --bindi | --bind | --bin | --bi)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
795 ac_prev=bindir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
796 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
797 bindir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
798
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
799 -build | --build | --buil | --bui | --bu)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
800 ac_prev=build_alias ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
801 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
802 build_alias=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
803
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
804 -cache-file | --cache-file | --cache-fil | --cache-fi \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
805 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
806 ac_prev=cache_file ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
807 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
808 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
809 cache_file=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
810
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
811 --config-cache | -C)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
812 cache_file=config.cache ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
813
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
814 -datadir | --datadir | --datadi | --datad)
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
815 ac_prev=datadir ;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
816 -datadir=* | --datadir=* | --datadi=* | --datad=*)
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
817 datadir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
818
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
820 | --dataroo | --dataro | --datar)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
821 ac_prev=datarootdir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
824 datarootdir=$ac_optarg ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
825
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
826 -disable-* | --disable-*)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
827 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
828 # Reject names that are not valid shell variable names.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
830 as_fn_error $? "invalid feature name: $ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
831 ac_useropt_orig=$ac_useropt
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
833 case $ac_user_opts in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
834 *"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
835 "enable_$ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
836 "*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
838 ac_unrecognized_sep=', ';;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
839 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
840 eval enable_$ac_useropt=no ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
841
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
842 -docdir | --docdir | --docdi | --doc | --do)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
843 ac_prev=docdir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
844 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
845 docdir=$ac_optarg ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
846
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
847 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
848 ac_prev=dvidir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
849 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
850 dvidir=$ac_optarg ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
851
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
852 -enable-* | --enable-*)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
853 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
854 # Reject names that are not valid shell variable names.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
856 as_fn_error $? "invalid feature name: $ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
857 ac_useropt_orig=$ac_useropt
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
859 case $ac_user_opts in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
860 *"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
861 "enable_$ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
862 "*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
864 ac_unrecognized_sep=', ';;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
865 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
866 eval enable_$ac_useropt=\$ac_optarg ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
867
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
868 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
869 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
870 | --exec | --exe | --ex)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
871 ac_prev=exec_prefix ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
872 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
873 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
874 | --exec=* | --exe=* | --ex=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
875 exec_prefix=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
876
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
877 -gas | --gas | --ga | --g)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
878 # Obsolete; use --with-gas.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
879 with_gas=yes ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
880
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
881 -help | --help | --hel | --he | -h)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
882 ac_init_help=long ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
883 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
884 ac_init_help=recursive ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
885 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
886 ac_init_help=short ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
887
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
888 -host | --host | --hos | --ho)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
889 ac_prev=host_alias ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
890 -host=* | --host=* | --hos=* | --ho=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
891 host_alias=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
892
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
893 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
894 ac_prev=htmldir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
895 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
896 | --ht=*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
897 htmldir=$ac_optarg ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
898
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
899 -includedir | --includedir | --includedi | --included | --include \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
900 | --includ | --inclu | --incl | --inc)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
901 ac_prev=includedir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
902 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
903 | --includ=* | --inclu=* | --incl=* | --inc=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
904 includedir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
905
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
906 -infodir | --infodir | --infodi | --infod | --info | --inf)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
907 ac_prev=infodir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
908 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
909 infodir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
910
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
911 -libdir | --libdir | --libdi | --libd)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
912 ac_prev=libdir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
913 -libdir=* | --libdir=* | --libdi=* | --libd=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
914 libdir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
915
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
916 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
917 | --libexe | --libex | --libe)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
918 ac_prev=libexecdir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
919 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
920 | --libexe=* | --libex=* | --libe=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
921 libexecdir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
922
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
923 -localedir | --localedir | --localedi | --localed | --locale)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
924 ac_prev=localedir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
925 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
926 localedir=$ac_optarg ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
927
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
928 -localstatedir | --localstatedir | --localstatedi | --localstated \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
929 | --localstate | --localstat | --localsta | --localst | --locals)
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
930 ac_prev=localstatedir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
931 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
932 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
933 localstatedir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
934
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
935 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
936 ac_prev=mandir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
937 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
938 mandir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
939
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
940 -nfp | --nfp | --nf)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
941 # Obsolete; use --without-fp.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
942 with_fp=no ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
943
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
944 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
945 | --no-cr | --no-c | -n)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
946 no_create=yes ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
947
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
948 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
949 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
950 no_recursion=yes ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
951
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
952 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
953 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
954 | --oldin | --oldi | --old | --ol | --o)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
955 ac_prev=oldincludedir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
956 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
957 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
958 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
959 oldincludedir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
960
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
961 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
962 ac_prev=prefix ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
963 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
964 prefix=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
965
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
966 -program-prefix | --program-prefix | --program-prefi | --program-pref \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
967 | --program-pre | --program-pr | --program-p)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
968 ac_prev=program_prefix ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
969 -program-prefix=* | --program-prefix=* | --program-prefi=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
970 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
971 program_prefix=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
972
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
973 -program-suffix | --program-suffix | --program-suffi | --program-suff \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
974 | --program-suf | --program-su | --program-s)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
975 ac_prev=program_suffix ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
976 -program-suffix=* | --program-suffix=* | --program-suffi=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
977 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
978 program_suffix=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
979
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
980 -program-transform-name | --program-transform-name \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
981 | --program-transform-nam | --program-transform-na \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
982 | --program-transform-n | --program-transform- \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
983 | --program-transform | --program-transfor \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
984 | --program-transfo | --program-transf \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
985 | --program-trans | --program-tran \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
986 | --progr-tra | --program-tr | --program-t)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
987 ac_prev=program_transform_name ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
988 -program-transform-name=* | --program-transform-name=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
989 | --program-transform-nam=* | --program-transform-na=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
990 | --program-transform-n=* | --program-transform-=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
991 | --program-transform=* | --program-transfor=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
992 | --program-transfo=* | --program-transf=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
993 | --program-trans=* | --program-tran=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
994 | --progr-tra=* | --program-tr=* | --program-t=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
995 program_transform_name=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
996
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
997 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
998 ac_prev=pdfdir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
999 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1000 pdfdir=$ac_optarg ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1001
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1002 -psdir | --psdir | --psdi | --psd | --ps)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1003 ac_prev=psdir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1004 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1005 psdir=$ac_optarg ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1006
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1008 | -silent | --silent | --silen | --sile | --sil)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1009 silent=yes ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1010
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1011 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1012 ac_prev=sbindir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1013 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1014 | --sbi=* | --sb=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1015 sbindir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1016
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1017 -sharedstatedir | --sharedstatedir | --sharedstatedi \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1018 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1019 | --sharedst | --shareds | --shared | --share | --shar \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1020 | --sha | --sh)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1021 ac_prev=sharedstatedir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1022 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1023 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1024 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1025 | --sha=* | --sh=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1026 sharedstatedir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1027
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1028 -site | --site | --sit)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1029 ac_prev=site ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1030 -site=* | --site=* | --sit=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1031 site=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1032
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1033 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1034 ac_prev=srcdir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1035 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1036 srcdir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1037
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1038 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1039 | --syscon | --sysco | --sysc | --sys | --sy)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1040 ac_prev=sysconfdir ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1041 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1042 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1043 sysconfdir=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1044
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1045 -target | --target | --targe | --targ | --tar | --ta | --t)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1046 ac_prev=target_alias ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1047 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1048 target_alias=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1049
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1050 -v | -verbose | --verbose | --verbos | --verbo | --verb)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1051 verbose=yes ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1052
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1053 -version | --version | --versio | --versi | --vers | -V)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1054 ac_init_version=: ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1055
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1056 -with-* | --with-*)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1057 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1058 # Reject names that are not valid shell variable names.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1060 as_fn_error $? "invalid package name: $ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1061 ac_useropt_orig=$ac_useropt
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1063 case $ac_user_opts in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1064 *"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1065 "with_$ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1066 "*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1068 ac_unrecognized_sep=', ';;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1069 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1070 eval with_$ac_useropt=\$ac_optarg ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1071
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1072 -without-* | --without-*)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1073 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1074 # Reject names that are not valid shell variable names.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1075 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1076 as_fn_error $? "invalid package name: $ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1077 ac_useropt_orig=$ac_useropt
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1079 case $ac_user_opts in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1080 *"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1081 "with_$ac_useropt"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1082 "*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1084 ac_unrecognized_sep=', ';;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1085 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1086 eval with_$ac_useropt=no ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1087
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1088 --x)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1089 # Obsolete; use --with-x.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1090 with_x=yes ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1091
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1092 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1093 | --x-incl | --x-inc | --x-in | --x-i)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1094 ac_prev=x_includes ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1095 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1096 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1097 x_includes=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1098
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1099 -x-libraries | --x-libraries | --x-librarie | --x-librari \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1100 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1101 ac_prev=x_libraries ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1102 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1103 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1104 x_libraries=$ac_optarg ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1105
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1106 -*) as_fn_error $? "unrecognized option: \`$ac_option'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1107 Try \`$0 --help' for more information"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1108 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1109
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1110 *=*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1111 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1112 # Reject names that are not valid shell variable names.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1113 case $ac_envvar in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1114 '' | [0-9]* | *[!_$as_cr_alnum]* )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1115 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1116 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1117 eval $ac_envvar=\$ac_optarg
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1118 export $ac_envvar ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1119
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1120 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1121 # FIXME: should be removed in autoconf 3.0.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1122 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1123 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1124 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1125 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1126 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1127
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1128 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1129 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1130
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1131 if test -n "$ac_prev"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1132 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1133 as_fn_error $? "missing argument to $ac_option"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1134 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1135
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1136 if test -n "$ac_unrecognized_opts"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1137 case $enable_option_checking in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1138 no) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1139 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1140 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1141 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1142 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1143
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1144 # Check all directory arguments for consistency.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1145 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1146 datadir sysconfdir sharedstatedir localstatedir includedir \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1147 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1148 libdir localedir mandir
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1149 do
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1150 eval ac_val=\$$ac_var
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1151 # Remove trailing slashes.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1152 case $ac_val in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1153 */ )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1154 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1155 eval $ac_var=\$ac_val;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1156 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1157 # Be sure to have absolute directory names.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1158 case $ac_val in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1159 [\\/$]* | ?:[\\/]* ) continue;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1160 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1161 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1162 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1163 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1164
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1165 # There might be people who depend on the old broken behavior: `$host'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1166 # used to hold the argument of --host etc.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1167 # FIXME: To remove some day.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1168 build=$build_alias
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1169 host=$host_alias
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1170 target=$target_alias
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1171
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1172 # FIXME: To remove some day.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1173 if test "x$host_alias" != x; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1174 if test "x$build_alias" = x; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1175 cross_compiling=maybe
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1176 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1177 If a cross compiler is detected then cross compile mode will be used" >&2
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1178 elif test "x$build_alias" != "x$host_alias"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1179 cross_compiling=yes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1180 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1181 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1182
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1183 ac_tool_prefix=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1184 test -n "$host_alias" && ac_tool_prefix=$host_alias-
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1185
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1186 test "$silent" = yes && exec 6>/dev/null
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1187
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1188
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1189 ac_pwd=`pwd` && test -n "$ac_pwd" &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1190 ac_ls_di=`ls -di .` &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1191 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1192 as_fn_error $? "working directory cannot be determined"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1193 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1194 as_fn_error $? "pwd does not report name of working directory"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1195
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1196
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1197 # Find the source files, if location was not specified.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1198 if test -z "$srcdir"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1199 ac_srcdir_defaulted=yes
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1200 # Try the directory containing this script, then the parent directory.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1201 ac_confdir=`$as_dirname -- "$as_myself" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1202 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1203 X"$as_myself" : 'X\(//\)[^/]' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1204 X"$as_myself" : 'X\(//\)$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1205 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1206 $as_echo X"$as_myself" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1208 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1209 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1210 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1211 /^X\(\/\/\)[^/].*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1212 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1213 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1214 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1215 /^X\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1216 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1217 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1218 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1219 /^X\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1220 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1221 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1222 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1223 s/.*/./; q'`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1224 srcdir=$ac_confdir
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1225 if test ! -r "$srcdir/$ac_unique_file"; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1226 srcdir=..
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1227 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1228 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1229 ac_srcdir_defaulted=no
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1230 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1231 if test ! -r "$srcdir/$ac_unique_file"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1232 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1233 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1234 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1235 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1236 ac_abs_confdir=`(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1237 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1238 pwd)`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1239 # When building in place, set srcdir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1240 if test "$ac_abs_confdir" = "$ac_pwd"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1241 srcdir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1242 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1243 # Remove unnecessary trailing slashes from srcdir.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1244 # Double slashes in file names in object file debugging info
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1245 # mess up M-x gdb in Emacs.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1246 case $srcdir in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1247 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1248 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1249 for ac_var in $ac_precious_vars; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1250 eval ac_env_${ac_var}_set=\${${ac_var}+set}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1251 eval ac_env_${ac_var}_value=\$${ac_var}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1252 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1253 eval ac_cv_env_${ac_var}_value=\$${ac_var}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1254 done
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1255
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1256 #
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1257 # Report the --help message.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1258 #
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1259 if test "$ac_init_help" = "long"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1260 # Omit some internal or obsolete options to make the list less imposing.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1261 # This message is too long to be a string in the A/UX 3.1 sh.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1262 cat <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1263 \`configure' configures "chrpath" "0.13" to adapt to many kinds of systems.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1264
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1265 Usage: $0 [OPTION]... [VAR=VALUE]...
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1266
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1267 To assign environment variables (e.g., CC, CFLAGS...), specify them as
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1268 VAR=VALUE. See below for descriptions of some of the useful variables.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1269
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1270 Defaults for the options are specified in brackets.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1271
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1272 Configuration:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1273 -h, --help display this help and exit
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1274 --help=short display options specific to this package
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1275 --help=recursive display the short help of all the included packages
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1276 -V, --version display version information and exit
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1277 -q, --quiet, --silent do not print \`checking ...' messages
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1278 --cache-file=FILE cache test results in FILE [disabled]
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1279 -C, --config-cache alias for \`--cache-file=config.cache'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1280 -n, --no-create do not create output files
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1281 --srcdir=DIR find the sources in DIR [configure dir or \`..']
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1282
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1283 Installation directories:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1284 --prefix=PREFIX install architecture-independent files in PREFIX
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1285 [$ac_default_prefix]
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1286 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1287 [PREFIX]
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1288
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1289 By default, \`make install' will install all the files in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1290 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1291 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1292 for instance \`--prefix=\$HOME'.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1293
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1294 For better control, use the options below.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1295
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1296 Fine tuning of the installation directories:
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1297 --bindir=DIR user executables [EPREFIX/bin]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1298 --sbindir=DIR system admin executables [EPREFIX/sbin]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1299 --libexecdir=DIR program executables [EPREFIX/libexec]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1300 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1301 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1302 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1303 --libdir=DIR object code libraries [EPREFIX/lib]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1304 --includedir=DIR C header files [PREFIX/include]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1305 --oldincludedir=DIR C header files for non-gcc [/usr/include]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1306 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1307 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1308 --infodir=DIR info documentation [DATAROOTDIR/info]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1309 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1310 --mandir=DIR man documentation [DATAROOTDIR/man]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1311 --docdir=DIR documentation root [DATAROOTDIR/doc/-chrpath-]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1312 --htmldir=DIR html documentation [DOCDIR]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1313 --dvidir=DIR dvi documentation [DOCDIR]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1314 --pdfdir=DIR pdf documentation [DOCDIR]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1315 --psdir=DIR ps documentation [DOCDIR]
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1316 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1317
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1318 cat <<\_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1319
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1320 Program names:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1321 --program-prefix=PREFIX prepend PREFIX to installed program names
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1322 --program-suffix=SUFFIX append SUFFIX to installed program names
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1323 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1324
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1325 System types:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1326 --build=BUILD configure for building on BUILD [guessed]
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1327 --host=HOST cross-compile to build programs to run on HOST [BUILD]
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1328 --target=TARGET configure for building compilers for TARGET [HOST]
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1329 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1330 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1331
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1332 if test -n "$ac_init_help"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1333 case $ac_init_help in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1334 short | recursive ) echo "Configuration of "chrpath" "0.13":";;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1335 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1336 cat <<\_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1337
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1338 Optional Features:
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1339 --disable-option-checking ignore unrecognized --enable/--with options
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1340 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1341 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1342 --enable-maintainer-mode enable make rules and dependencies not useful
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1343 (and sometimes confusing) to the casual installer
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1344 --disable-dependency-tracking speeds up one-time build
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1345 --enable-dependency-tracking do not reject slow dependency extractors
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1346
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1347 Optional Packages:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1348 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1349 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1350 Enable coverage testing
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1351
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1352 Some influential environment variables:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1353 CC C compiler command
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1354 CFLAGS C compiler flags
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1355 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1356 nonstandard directory <lib dir>
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1357 LIBS libraries to pass to the linker, e.g. -l<library>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1358 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1359 you have headers in a nonstandard directory <include dir>
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1360 CPP C preprocessor
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1361
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1362 Use these variables to override the choices made by `configure' or to help
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1363 it to find libraries and programs with nonstandard names/locations.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1364
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1365 Report bugs to <pere@hungry.com>.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1366 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1367 ac_status=$?
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1368 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1369
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1370 if test "$ac_init_help" = "recursive"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1371 # If there are subdirs, report their specific --help.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1372 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1373 test -d "$ac_dir" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1374 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1375 continue
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1376 ac_builddir=.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1377
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1378 case "$ac_dir" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1380 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1382 # A ".." for each directory in $ac_dir_suffix.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1384 case $ac_top_builddir_sub in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1387 esac ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1388 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1389 ac_abs_top_builddir=$ac_pwd
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1391 # for backward compatibility:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1392 ac_top_builddir=$ac_top_build_prefix
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1393
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1394 case $srcdir in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1395 .) # We are building in place.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1396 ac_srcdir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1397 ac_top_srcdir=$ac_top_builddir_sub
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1398 ac_abs_top_srcdir=$ac_pwd ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1399 [\\/]* | ?:[\\/]* ) # Absolute name.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1400 ac_srcdir=$srcdir$ac_dir_suffix;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1401 ac_top_srcdir=$srcdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1402 ac_abs_top_srcdir=$srcdir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1403 *) # Relative name.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1405 ac_top_srcdir=$ac_top_build_prefix$srcdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1407 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1409
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1410 cd "$ac_dir" || { ac_status=$?; continue; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1411 # Check for guested configure.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1412 if test -f "$ac_srcdir/configure.gnu"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1413 echo &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1414 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1415 elif test -f "$ac_srcdir/configure"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1416 echo &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1417 $SHELL "$ac_srcdir/configure" --help=recursive
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1418 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1419 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1420 fi || ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1421 cd "$ac_pwd" || { ac_status=$?; break; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1422 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1423 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1424
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1425 test -n "$ac_init_help" && exit $ac_status
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1426 if $ac_init_version; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1427 cat <<\_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1428 "chrpath" configure "0.13"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1429 generated by GNU Autoconf 2.68
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1430
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1431 Copyright (C) 2010 Free Software Foundation, Inc.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1432 This configure script is free software; the Free Software Foundation
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1433 gives unlimited permission to copy, distribute and modify it.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1434 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1435 exit
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1436 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1437
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1438 ## ------------------------ ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1439 ## Autoconf initialization. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1440 ## ------------------------ ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1441
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1442 # ac_fn_c_try_compile LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1443 # --------------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1445 ac_fn_c_try_compile ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1446 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1448 rm -f conftest.$ac_objext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1449 if { { ac_try="$ac_compile"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1450 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1452 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1453 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1455 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1456 (eval "$ac_compile") 2>conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1457 ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1458 if test -s conftest.err; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1459 grep -v '^ *+' conftest.err >conftest.er1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1460 cat conftest.er1 >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1461 mv -f conftest.er1 conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1462 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1464 test $ac_status = 0; } && {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1465 test -z "$ac_c_werror_flag" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1466 test ! -s conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1467 } && test -s conftest.$ac_objext; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1468 ac_retval=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1469 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1470 $as_echo "$as_me: failed program was:" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1471 sed 's/^/| /' conftest.$ac_ext >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1472
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1473 ac_retval=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1474 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1476 as_fn_set_status $ac_retval
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1477
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1478 } # ac_fn_c_try_compile
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1479
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1480 # ac_fn_c_try_cpp LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1481 # ----------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1482 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1483 ac_fn_c_try_cpp ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1484 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1486 if { { ac_try="$ac_cpp conftest.$ac_ext"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1487 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1489 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1490 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1492 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1494 ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1495 if test -s conftest.err; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1496 grep -v '^ *+' conftest.err >conftest.er1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1497 cat conftest.er1 >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1498 mv -f conftest.er1 conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1499 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1501 test $ac_status = 0; } > conftest.i && {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1503 test ! -s conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1504 }; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1505 ac_retval=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1506 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1507 $as_echo "$as_me: failed program was:" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1508 sed 's/^/| /' conftest.$ac_ext >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1509
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1510 ac_retval=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1511 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1513 as_fn_set_status $ac_retval
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1514
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1515 } # ac_fn_c_try_cpp
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1516
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1517 # ac_fn_c_try_run LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1518 # ----------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1519 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1520 # that executables *can* be run.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1521 ac_fn_c_try_run ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1522 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1523 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1524 if { { ac_try="$ac_link"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1525 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1527 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1528 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1530 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1531 (eval "$ac_link") 2>&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1532 ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1534 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1535 { { case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1537 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1538 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1540 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1541 (eval "$ac_try") 2>&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1542 ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1544 test $ac_status = 0; }; }; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1545 ac_retval=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1546 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1547 $as_echo "$as_me: program exited with status $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1548 $as_echo "$as_me: failed program was:" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1549 sed 's/^/| /' conftest.$ac_ext >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1550
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1551 ac_retval=$ac_status
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1552 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1553 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1555 as_fn_set_status $ac_retval
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1556
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1557 } # ac_fn_c_try_run
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1558
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1559 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1560 # -------------------------------------------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1561 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1562 # the include files in INCLUDES and setting the cache variable VAR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1563 # accordingly.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1564 ac_fn_c_check_header_mongrel ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1565 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1567 if eval \${$3+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1569 $as_echo_n "checking for $2... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1570 if eval \${$3+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1571 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1572 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1573 eval ac_res=\$$3
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1575 $as_echo "$ac_res" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1576 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1577 # Is the header compilable?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1579 $as_echo_n "checking $2 usability... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1581 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1582 $4
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1583 #include <$2>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1584 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1585 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1586 ac_header_compiler=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1587 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1588 ac_header_compiler=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1589 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1592 $as_echo "$ac_header_compiler" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1593
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1594 # Is the header present?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1596 $as_echo_n "checking $2 presence... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1598 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1599 #include <$2>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1600 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1601 if ac_fn_c_try_cpp "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1602 ac_header_preproc=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1603 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1604 ac_header_preproc=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1605 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1606 rm -f conftest.err conftest.i conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1608 $as_echo "$ac_header_preproc" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1609
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1610 # So? What about this header?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1612 yes:no: )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1614 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1616 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1617 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1618 no:yes:* )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1620 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1622 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1624 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1626 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1628 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1629 ( $as_echo "## ------------------------------ ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1630 ## Report this to pere@hungry.com ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1631 ## ------------------------------ ##"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1632 ) | sed "s/^/$as_me: WARNING: /" >&2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1633 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1634 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1636 $as_echo_n "checking for $2... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1637 if eval \${$3+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1638 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1639 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1640 eval "$3=\$ac_header_compiler"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1641 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1642 eval ac_res=\$$3
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1644 $as_echo "$ac_res" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1645 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1647
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1648 } # ac_fn_c_check_header_mongrel
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1649
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1650 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1651 # -------------------------------------------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1652 # Tests whether HEADER exists and can be compiled using the include files in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1653 # INCLUDES, setting the cache variable VAR accordingly.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1654 ac_fn_c_check_header_compile ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1655 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1658 $as_echo_n "checking for $2... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1659 if eval \${$3+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1660 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1661 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1663 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1664 $4
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1665 #include <$2>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1666 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1667 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1668 eval "$3=yes"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1669 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1670 eval "$3=no"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1671 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1673 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1674 eval ac_res=\$$3
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1676 $as_echo "$ac_res" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1678
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1679 } # ac_fn_c_check_header_compile
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1680
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1681 # ac_fn_c_try_link LINENO
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1682 # -----------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1683 # Try to link conftest.$ac_ext, and return whether this succeeded.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1684 ac_fn_c_try_link ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1685 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1687 rm -f conftest.$ac_objext conftest$ac_exeext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1688 if { { ac_try="$ac_link"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1689 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1691 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1692 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1694 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1695 (eval "$ac_link") 2>conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1696 ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1697 if test -s conftest.err; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1698 grep -v '^ *+' conftest.err >conftest.er1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1699 cat conftest.er1 >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1700 mv -f conftest.er1 conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1701 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1703 test $ac_status = 0; } && {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1704 test -z "$ac_c_werror_flag" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1705 test ! -s conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1706 } && test -s conftest$ac_exeext && {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1707 test "$cross_compiling" = yes ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1708 $as_test_x conftest$ac_exeext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1709 }; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1710 ac_retval=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1711 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1712 $as_echo "$as_me: failed program was:" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1713 sed 's/^/| /' conftest.$ac_ext >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1714
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1715 ac_retval=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1716 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1717 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1718 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1719 # interfere with the next link command; also delete a directory that is
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1720 # left behind by Apple's compiler. We do this before executing the actions.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1723 as_fn_set_status $ac_retval
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1724
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1725 } # ac_fn_c_try_link
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1726
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1727 # ac_fn_c_check_func LINENO FUNC VAR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1728 # ----------------------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1729 # Tests whether FUNC exists, setting the cache variable VAR accordingly
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1730 ac_fn_c_check_func ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1731 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1734 $as_echo_n "checking for $2... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1735 if eval \${$3+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1736 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1737 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1739 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1740 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1742 #define $2 innocuous_$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1743
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1744 /* System header to define __stub macros and hopefully few prototypes,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1745 which can conflict with char $2 (); below.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1747 <limits.h> exists even on freestanding compilers. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1748
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1749 #ifdef __STDC__
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1750 # include <limits.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1751 #else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1752 # include <assert.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1753 #endif
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1754
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1755 #undef $2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1756
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1757 /* Override any GCC internal prototype to avoid an error.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1758 Use char because int might match the return type of a GCC
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1759 builtin and then its argument prototype would still apply. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1760 #ifdef __cplusplus
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1761 extern "C"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1762 #endif
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1763 char $2 ();
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1764 /* The GNU C library defines this for functions which it implements
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1765 to always fail with ENOSYS. Some functions are actually named
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1766 something starting with __ and the normal name is an alias. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1767 #if defined __stub_$2 || defined __stub___$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1768 choke me
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1769 #endif
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1770
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1771 int
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1772 main ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1773 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1774 return $2 ();
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1775 ;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1776 return 0;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1777 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1778 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1779 if ac_fn_c_try_link "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1780 eval "$3=yes"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1781 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1782 eval "$3=no"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1783 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1784 rm -f core conftest.err conftest.$ac_objext \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1785 conftest$ac_exeext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1786 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1787 eval ac_res=\$$3
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1789 $as_echo "$ac_res" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1791
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1792 } # ac_fn_c_check_func
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1793 cat >config.log <<_ACEOF
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1794 This file contains any messages produced by compilers while
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1795 running configure, to aid debugging if configure makes a mistake.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1796
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1797 It was created by "chrpath" $as_me "0.13", which was
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1798 generated by GNU Autoconf 2.68. Invocation command line was
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1799
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1800 $ $0 $@
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1801
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1802 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1803 exec 5>>config.log
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1804 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1805 cat <<_ASUNAME
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1806 ## --------- ##
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1807 ## Platform. ##
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1808 ## --------- ##
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1809
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1810 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1811 uname -m = `(uname -m) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1812 uname -r = `(uname -r) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1813 uname -s = `(uname -s) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1814 uname -v = `(uname -v) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1815
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1816 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1817 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1818
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1819 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1820 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1821 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1822 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1823 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1824 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1825 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1826
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1827 _ASUNAME
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1828
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1830 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1831 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1832 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1833 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1834 $as_echo "PATH: $as_dir"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1835 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1836 IFS=$as_save_IFS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1837
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1838 } >&5
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1839
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1840 cat >&5 <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1841
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1842
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1843 ## ----------- ##
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1844 ## Core tests. ##
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1845 ## ----------- ##
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1846
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1847 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1848
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1849
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1850 # Keep a trace of the command line.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1851 # Strip out --no-create and --no-recursion so they do not pile up.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1852 # Strip out --silent because we don't want to record it for future runs.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1853 # Also quote any args containing shell meta-characters.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1854 # Make two passes to allow for proper duplicate-argument suppression.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1855 ac_configure_args=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1856 ac_configure_args0=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1857 ac_configure_args1=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1858 ac_must_keep_next=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1859 for ac_pass in 1 2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1860 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1861 for ac_arg
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1862 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1863 case $ac_arg in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1864 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1866 | -silent | --silent | --silen | --sile | --sil)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1867 continue ;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1868 *\'*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1869 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1870 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1871 case $ac_pass in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1872 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1873 2)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1874 as_fn_append ac_configure_args1 " '$ac_arg'"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1875 if test $ac_must_keep_next = true; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1876 ac_must_keep_next=false # Got value, back to normal.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1877 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1878 case $ac_arg in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1879 *=* | --config-cache | -C | -disable-* | --disable-* \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1880 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1881 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1882 | -with-* | --with-* | -without-* | --without-* | --x)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1883 case "$ac_configure_args0 " in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1884 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1885 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1886 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1887 -* ) ac_must_keep_next=true ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1888 esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1889 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1890 as_fn_append ac_configure_args " '$ac_arg'"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1891 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1892 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1893 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1894 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1895 { ac_configure_args0=; unset ac_configure_args0;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1896 { ac_configure_args1=; unset ac_configure_args1;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1897
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1898 # When interrupted or exit'd, cleanup temporary files, and complete
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1899 # config.log. We remove comments because anyway the quotes in there
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1900 # would cause problems or look ugly.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1901 # WARNING: Use '\'' to represent an apostrophe within the trap.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1902 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1903 trap 'exit_status=$?
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1904 # Save into config.log some information that might help in debugging.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1905 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1906 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1907
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1908 $as_echo "## ---------------- ##
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1909 ## Cache variables. ##
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1910 ## ---------------- ##"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1911 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1912 # The following way of writing the cache mishandles newlines in values,
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1913 (
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1914 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1915 eval ac_val=\$$ac_var
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1916 case $ac_val in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1917 *${as_nl}*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1918 case $ac_var in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1919 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1920 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1921 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1922 case $ac_var in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1923 _ | IFS | as_nl) ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1925 *) { eval $ac_var=; unset $ac_var;} ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1926 esac ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1927 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1928 done
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1929 (set) 2>&1 |
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1930 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1931 *${as_nl}ac_space=\ *)
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1932 sed -n \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1933 "s/'\''/'\''\\\\'\'''\''/g;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1935 ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1936 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1937 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1938 ;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1939 esac |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1940 sort
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1941 )
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1942 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1943
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1944 $as_echo "## ----------------- ##
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1945 ## Output variables. ##
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1946 ## ----------------- ##"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1947 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1948 for ac_var in $ac_subst_vars
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1949 do
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1950 eval ac_val=\$$ac_var
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1951 case $ac_val in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1952 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1953 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1954 $as_echo "$ac_var='\''$ac_val'\''"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1955 done | sort
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1956 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1957
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1958 if test -n "$ac_subst_files"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1959 $as_echo "## ------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1960 ## File substitutions. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1961 ## ------------------- ##"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1962 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1963 for ac_var in $ac_subst_files
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1964 do
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1965 eval ac_val=\$$ac_var
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1966 case $ac_val in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1967 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1968 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1969 $as_echo "$ac_var='\''$ac_val'\''"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1970 done | sort
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1971 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1972 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1973
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1974 if test -s confdefs.h; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1975 $as_echo "## ----------- ##
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1976 ## confdefs.h. ##
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1977 ## ----------- ##"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1978 echo
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1979 cat confdefs.h
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1980 echo
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1981 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1982 test "$ac_signal" != 0 &&
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1983 $as_echo "$as_me: caught signal $ac_signal"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1984 $as_echo "$as_me: exit $exit_status"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1985 } >&5
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1986 rm -f core *.core core.conftest.* &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1987 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1988 exit $exit_status
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1989 ' 0
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1990 for ac_signal in 1 2 13 15; do
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1991 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1992 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1993 ac_signal=0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1994
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1995 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1996 rm -f -r conftest* confdefs.h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1997
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
1998 $as_echo "/* confdefs.h */" > confdefs.h
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
1999
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2000 # Predefined preprocessor variables.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2001
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2002 cat >>confdefs.h <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2003 #define PACKAGE_NAME "$PACKAGE_NAME"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2004 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2005
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2006 cat >>confdefs.h <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2007 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2008 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2009
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2010 cat >>confdefs.h <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2011 #define PACKAGE_VERSION "$PACKAGE_VERSION"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2012 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2013
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2014 cat >>confdefs.h <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2015 #define PACKAGE_STRING "$PACKAGE_STRING"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2016 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2017
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2018 cat >>confdefs.h <<_ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2019 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2020 _ACEOF
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2021
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2022 cat >>confdefs.h <<_ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2023 #define PACKAGE_URL "$PACKAGE_URL"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2024 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2025
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2026
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2027 # Let the site file select an alternate cache file if it wants to.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2028 # Prefer an explicitly selected file to automatically selected ones.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2029 ac_site_file1=NONE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2030 ac_site_file2=NONE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2031 if test -n "$CONFIG_SITE"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2032 # We do not want a PATH search for config.site.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2033 case $CONFIG_SITE in #((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2034 -*) ac_site_file1=./$CONFIG_SITE;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2035 */*) ac_site_file1=$CONFIG_SITE;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2036 *) ac_site_file1=./$CONFIG_SITE;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2037 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2038 elif test "x$prefix" != xNONE; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2039 ac_site_file1=$prefix/share/config.site
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2040 ac_site_file2=$prefix/etc/config.site
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2041 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2042 ac_site_file1=$ac_default_prefix/share/config.site
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2043 ac_site_file2=$ac_default_prefix/etc/config.site
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2044 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2045 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2046 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2047 test "x$ac_site_file" = xNONE && continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2048 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2050 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2051 sed 's/^/| /' "$ac_site_file" >&5
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2052 . "$ac_site_file" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2053 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2055 as_fn_error $? "failed to load site script $ac_site_file
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2056 See \`config.log' for more details" "$LINENO" 5; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2057 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2058 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2059
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2060 if test -r "$cache_file"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2061 # Some versions of bash will fail to source /dev/null (special files
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2062 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2063 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2065 $as_echo "$as_me: loading cache $cache_file" >&6;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2066 case $cache_file in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2067 [\\/]* | ?:[\\/]* ) . "$cache_file";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2068 *) . "./$cache_file";;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2069 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2070 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2071 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2073 $as_echo "$as_me: creating cache $cache_file" >&6;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2074 >$cache_file
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2075 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2076
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2077 # Check that the precious variables saved in the cache have kept the same
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2078 # value.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2079 ac_cache_corrupted=false
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2080 for ac_var in $ac_precious_vars; do
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2081 eval ac_old_set=\$ac_cv_env_${ac_var}_set
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2082 eval ac_new_set=\$ac_env_${ac_var}_set
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2083 eval ac_old_val=\$ac_cv_env_${ac_var}_value
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2084 eval ac_new_val=\$ac_env_${ac_var}_value
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2085 case $ac_old_set,$ac_new_set in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2086 set,)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2088 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2089 ac_cache_corrupted=: ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2090 ,set)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2092 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2093 ac_cache_corrupted=: ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2094 ,);;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2095 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2096 if test "x$ac_old_val" != "x$ac_new_val"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2097 # differences in whitespace do not lead to failure.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2098 ac_old_val_w=`echo x $ac_old_val`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2099 ac_new_val_w=`echo x $ac_new_val`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2100 if test "$ac_old_val_w" != "$ac_new_val_w"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2102 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2103 ac_cache_corrupted=:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2104 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2106 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2107 eval $ac_var=\$ac_old_val
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2108 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2110 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2112 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2113 fi;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2114 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2115 # Pass precious variables to config.status.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2116 if test "$ac_new_set" = set; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2117 case $ac_new_val in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2118 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2119 *) ac_arg=$ac_var=$ac_new_val ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2120 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2121 case " $ac_configure_args " in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2122 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2123 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2124 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2125 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2126 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2127 if $ac_cache_corrupted; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2131 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2132 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2133 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2134 ## -------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2135 ## Main body of script. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2136 ## -------------------- ##
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2137
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2138 ac_ext=c
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2139 ac_cpp='$CPP $CPPFLAGS'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2143
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2144
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2145
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2146 ac_aux_dir=
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2147 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2148 if test -f "$ac_dir/install-sh"; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2149 ac_aux_dir=$ac_dir
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2150 ac_install_sh="$ac_aux_dir/install-sh -c"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2151 break
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2152 elif test -f "$ac_dir/install.sh"; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2153 ac_aux_dir=$ac_dir
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2154 ac_install_sh="$ac_aux_dir/install.sh -c"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2155 break
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2156 elif test -f "$ac_dir/shtool"; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2157 ac_aux_dir=$ac_dir
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2158 ac_install_sh="$ac_aux_dir/shtool install -c"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2159 break
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2160 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2161 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2162 if test -z "$ac_aux_dir"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2163 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2164 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2165
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2166 # These three variables are undocumented and unsupported,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2167 # and are intended to be withdrawn in a future Autoconf release.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2168 # They can cause serious problems if a builder's source tree is in a directory
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2169 # whose full name contains unusual characters.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2170 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2171 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2172 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2173
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2174
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2175 # Make sure we can run config.sub.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2176 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2177 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2178
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2180 $as_echo_n "checking build system type... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2181 if ${ac_cv_build+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2182 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2183 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2184 ac_build_alias=$build_alias
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2185 test "x$ac_build_alias" = x &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2186 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2187 test "x$ac_build_alias" = x &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2188 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2189 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2190 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2191
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2192 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2194 $as_echo "$ac_cv_build" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2195 case $ac_cv_build in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2196 *-*-*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2197 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2198 esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2199 build=$ac_cv_build
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2200 ac_save_IFS=$IFS; IFS='-'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2201 set x $ac_cv_build
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2202 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2203 build_cpu=$1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2204 build_vendor=$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2205 shift; shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2206 # Remember, the first character of IFS is used to create $*,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2207 # except with old shells:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2208 build_os=$*
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2209 IFS=$ac_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2210 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2211
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2212
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2214 $as_echo_n "checking host system type... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2215 if ${ac_cv_host+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2216 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2217 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2218 if test "x$host_alias" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2219 ac_cv_host=$ac_cv_build
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2220 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2221 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2222 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2223 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2224
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2225 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2227 $as_echo "$ac_cv_host" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2228 case $ac_cv_host in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2229 *-*-*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2230 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2231 esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2232 host=$ac_cv_host
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2233 ac_save_IFS=$IFS; IFS='-'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2234 set x $ac_cv_host
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2235 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2236 host_cpu=$1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2237 host_vendor=$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2238 shift; shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2239 # Remember, the first character of IFS is used to create $*,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2240 # except with old shells:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2241 host_os=$*
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2242 IFS=$ac_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2243 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2244
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2245
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2247 $as_echo_n "checking target system type... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2248 if ${ac_cv_target+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2249 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2250 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2251 if test "x$target_alias" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2252 ac_cv_target=$ac_cv_host
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2253 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2254 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2255 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2256 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2257
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2258 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2260 $as_echo "$ac_cv_target" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2261 case $ac_cv_target in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2262 *-*-*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2263 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2264 esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2265 target=$ac_cv_target
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2266 ac_save_IFS=$IFS; IFS='-'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2267 set x $ac_cv_target
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2268 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2269 target_cpu=$1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2270 target_vendor=$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2271 shift; shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2272 # Remember, the first character of IFS is used to create $*,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2273 # except with old shells:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2274 target_os=$*
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2275 IFS=$ac_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2276 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2277
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2278
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2279 # The aliases save the names the user supplied, while $host etc.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2280 # will get canonicalized.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2281 test -n "$target_alias" &&
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2282 test "$program_prefix$program_suffix$program_transform_name" = \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2283 NONENONEs,x,x, &&
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2284 program_prefix=${target_alias}-
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2285
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2286 am__api_version='1.11'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2287
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2288 # Find a good install program. We prefer a C program (faster),
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2289 # so one script is as good as another. But avoid the broken or
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2290 # incompatible versions:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2291 # SysV /etc/install, /usr/sbin/install
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2292 # SunOS /usr/etc/install
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2293 # IRIX /sbin/install
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2294 # AIX /bin/install
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2295 # AmigaOS /C/install, which installs bootblocks on floppy discs
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2296 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2297 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2298 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2299 # OS/2's system install, which has a completely different semantic
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2300 # ./install, which can be erroneously created by make from ./install.sh.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2301 # Reject install programs that cannot install multiple files.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2303 $as_echo_n "checking for a BSD-compatible install... " >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2304 if test -z "$INSTALL"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2305 if ${ac_cv_path_install+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2306 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2307 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2309 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2310 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2311 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2312 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2313 # Account for people who put trailing slashes in PATH elements.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2314 case $as_dir/ in #((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2315 ./ | .// | /[cC]/* | \
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2316 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2317 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2318 /usr/ucb/* ) ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2319 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2320 # OSF1 and SCO ODT 3.0 have their own names for install.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2321 # Don't use installbsd from OSF since it installs stuff as root
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2322 # by default.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2323 for ac_prog in ginstall scoinst install; do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2324 for ac_exec_ext in '' $ac_executable_extensions; do
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2325 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2326 if test $ac_prog = install &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2327 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2328 # AIX install. It has an incompatible calling convention.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2329 :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2330 elif test $ac_prog = install &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2331 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2332 # program-specific install script used by HP pwplus--don't use.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2333 :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2334 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2335 rm -rf conftest.one conftest.two conftest.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2336 echo one > conftest.one
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2337 echo two > conftest.two
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2338 mkdir conftest.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2339 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2340 test -s conftest.one && test -s conftest.two &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2341 test -s conftest.dir/conftest.one &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2342 test -s conftest.dir/conftest.two
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2343 then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2344 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2345 break 3
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2346 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2347 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2348 fi
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2349 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2350 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2351 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2352 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2353
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2354 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2355 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2356
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2357 rm -rf conftest.one conftest.two conftest.dir
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2358
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2359 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2360 if test "${ac_cv_path_install+set}" = set; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2361 INSTALL=$ac_cv_path_install
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2362 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2363 # As a last resort, use the slow shell script. Don't cache a
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2364 # value for INSTALL within a source directory, because that will
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2365 # break other packages using the cache if that directory is
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2366 # removed, or if the value is a relative name.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2367 INSTALL=$ac_install_sh
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2368 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2369 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2371 $as_echo "$INSTALL" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2372
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2374 # It thinks the first close brace ends the variable substitution.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2375 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2376
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2377 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2378
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2379 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2380
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2382 $as_echo_n "checking whether build environment is sane... " >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2383 # Just in case
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2384 sleep 1
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2385 echo timestamp > conftest.file
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2386 # Reject unsafe characters in $srcdir or the absolute working directory
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2387 # name. Accept space and tab only in the latter.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2388 am_lf='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2389 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2390 case `pwd` in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2391 *[\\\"\#\$\&\'\`$am_lf]*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2392 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2393 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2394 case $srcdir in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2395 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2396 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2397 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2398
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2399 # Do `set' in a subshell so we don't clobber the current shell's
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2400 # arguments. Must try -L first in case configure is actually a
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2401 # symlink; some systems play weird games with the mod time of symlinks
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2402 # (eg FreeBSD returns the mod time of the symlink's containing
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2403 # directory).
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2404 if (
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2405 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2406 if test "$*" = "X"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2407 # -L didn't work.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2408 set X `ls -t "$srcdir/configure" conftest.file`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2409 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2410 rm -f conftest.file
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2411 if test "$*" != "X $srcdir/configure conftest.file" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2412 && test "$*" != "X conftest.file $srcdir/configure"; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2413
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2414 # If neither matched, then we have a broken ls. This can happen
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2415 # if, for instance, CONFIG_SHELL is bash and it inherits a
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2416 # broken ls alias from the environment. This has actually
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2417 # happened. Such a system could not be considered "sane".
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2418 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2419 alias in your environment" "$LINENO" 5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2420 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2421
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2422 test "$2" = conftest.file
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2423 )
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2424 then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2425 # Ok.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2426 :
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2427 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2428 as_fn_error $? "newly created file is older than distributed files!
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2429 Check your system clock" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2430 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2432 $as_echo "yes" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2433 test "$program_prefix" != NONE &&
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2434 program_transform_name="s&^&$program_prefix&;$program_transform_name"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2435 # Use a double $ so make ignores it.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2436 test "$program_suffix" != NONE &&
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2437 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2438 # Double any \ or $.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2439 # By default was `s,x,x', remove it if useless.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2440 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2441 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2442
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2443 # expand $ac_aux_dir to an absolute path
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2444 am_aux_dir=`cd $ac_aux_dir && pwd`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2445
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2446 if test x"${MISSING+set}" != xset; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2447 case $am_aux_dir in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2448 *\ * | *\ *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2449 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2450 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2451 MISSING="\${SHELL} $am_aux_dir/missing" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2452 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2453 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2454 # Use eval to expand $SHELL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2455 if eval "$MISSING --run true"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2456 am_missing_run="$MISSING --run "
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2457 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2458 am_missing_run=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2460 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2461 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2462
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2463 if test x"${install_sh}" != xset; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2464 case $am_aux_dir in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2465 *\ * | *\ *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2466 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2467 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2468 install_sh="\${SHELL} $am_aux_dir/install-sh"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2469 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2470 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2471
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2472 # Installed binaries are usually stripped using `strip' when the user
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2473 # run `make install-strip'. However `strip' might not be the right
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2474 # tool to use in cross-compilation environments, therefore Automake
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2475 # will honor the `STRIP' environment variable to overrule this program.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2476 if test "$cross_compiling" != no; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2477 if test -n "$ac_tool_prefix"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2478 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2479 set dummy ${ac_tool_prefix}strip; ac_word=$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2481 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2482 if ${ac_cv_prog_STRIP+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2483 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2484 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2485 if test -n "$STRIP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2486 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2487 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2489 for as_dir in $PATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2490 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2491 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2492 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2493 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2495 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2497 break 2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2498 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2499 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2500 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2501 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2502
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2503 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2504 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2505 STRIP=$ac_cv_prog_STRIP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2506 if test -n "$STRIP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2508 $as_echo "$STRIP" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2509 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2511 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2512 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2513
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2514
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2515 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2516 if test -z "$ac_cv_prog_STRIP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2517 ac_ct_STRIP=$STRIP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2518 # Extract the first word of "strip", so it can be a program name with args.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2519 set dummy strip; ac_word=$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2521 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2522 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2523 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2524 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2525 if test -n "$ac_ct_STRIP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2526 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2527 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2529 for as_dir in $PATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2530 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2531 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2532 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2533 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2535 ac_cv_prog_ac_ct_STRIP="strip"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2537 break 2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2538 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2539 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2540 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2541 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2542
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2543 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2544 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2545 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2546 if test -n "$ac_ct_STRIP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2548 $as_echo "$ac_ct_STRIP" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2549 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2551 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2552 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2553
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2554 if test "x$ac_ct_STRIP" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2555 STRIP=":"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2556 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2557 case $cross_compiling:$ac_tool_warned in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2558 yes:)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2561 ac_tool_warned=yes ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2562 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2563 STRIP=$ac_ct_STRIP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2564 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2565 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2566 STRIP="$ac_cv_prog_STRIP"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2567 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2568
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2569 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2570 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2571
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2573 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2574 if test -z "$MKDIR_P"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2575 if ${ac_cv_path_mkdir+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2576 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2577 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2579 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2580 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2581 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2582 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2583 for ac_prog in mkdir gmkdir; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2584 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2585 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2586 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2587 'mkdir (GNU coreutils) '* | \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2588 'mkdir (coreutils) '* | \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2589 'mkdir (fileutils) '4.1*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2590 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2591 break 3;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2592 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2593 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2594 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2595 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2596 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2597
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2598 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2599
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2600 test -d ./--version && rmdir ./--version
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2601 if test "${ac_cv_path_mkdir+set}" = set; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2602 MKDIR_P="$ac_cv_path_mkdir -p"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2603 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2604 # As a last resort, use the slow shell script. Don't cache a
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2605 # value for MKDIR_P within a source directory, because that will
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2606 # break other packages using the cache if that directory is
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2607 # removed, or if the value is a relative name.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2608 MKDIR_P="$ac_install_sh -d"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2609 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2610 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2612 $as_echo "$MKDIR_P" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2613
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2614 mkdir_p="$MKDIR_P"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2615 case $mkdir_p in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2616 [\\/$]* | ?:[\\/]*) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2617 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2618 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2619
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2620 for ac_prog in gawk mawk nawk awk
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2621 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2622 # Extract the first word of "$ac_prog", so it can be a program name with args.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2623 set dummy $ac_prog; ac_word=$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2625 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2626 if ${ac_cv_prog_AWK+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2627 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2628 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2629 if test -n "$AWK"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2630 ac_cv_prog_AWK="$AWK" # Let the user override the test.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2631 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2633 for as_dir in $PATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2634 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2635 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2636 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2637 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2639 ac_cv_prog_AWK="$ac_prog"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2641 break 2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2642 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2643 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2644 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2645 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2646
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2647 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2648 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2649 AWK=$ac_cv_prog_AWK
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2650 if test -n "$AWK"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2652 $as_echo "$AWK" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2653 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2655 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2656 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2657
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2658
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2659 test -n "$AWK" && break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2660 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2661
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2663 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2664 set x ${MAKE-make}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2665 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2666 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2667 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2668 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2669 cat >conftest.make <<\_ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2670 SHELL = /bin/sh
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2671 all:
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2672 @echo '@@@%%%=$(MAKE)=@@@%%%'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2673 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2674 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2675 case `${MAKE-make} -f conftest.make 2>/dev/null` in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2676 *@@@%%%=?*=@@@%%%*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2677 eval ac_cv_prog_make_${ac_make}_set=yes;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2678 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2679 eval ac_cv_prog_make_${ac_make}_set=no;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2680 esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2681 rm -f conftest.make
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2682 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2683 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2685 $as_echo "yes" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2686 SET_MAKE=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2687 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2689 $as_echo "no" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2690 SET_MAKE="MAKE=${MAKE-make}"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2691 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2692
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2693 rm -rf .tst 2>/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2694 mkdir .tst 2>/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2695 if test -d .tst; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2696 am__leading_dot=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2697 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2698 am__leading_dot=_
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2699 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2700 rmdir .tst 2>/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2701
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2702 if test "`cd $srcdir && pwd`" != "`pwd`"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2703 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2704 # is not polluted with repeated "-I."
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2705 am__isrc=' -I$(srcdir)'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2706 # test to see if srcdir already configured
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2707 if test -f $srcdir/config.status; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2708 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2709 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2710 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2711
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2712 # test whether we have cygpath
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2713 if test -z "$CYGPATH_W"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2714 if (cygpath --version) >/dev/null 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2715 CYGPATH_W='cygpath -w'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2716 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2717 CYGPATH_W=echo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2718 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2719 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2720
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2721
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2722 # Define the identity of the package.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2723 PACKAGE="chrpath"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2724 VERSION="0.13"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2725
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2726
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2727 cat >>confdefs.h <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2728 #define PACKAGE "$PACKAGE"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2729 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2730
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2731
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2732 cat >>confdefs.h <<_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2733 #define VERSION "$VERSION"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2734 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2735
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2736 # Some tools Automake needs.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2737
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2738 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2739
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2740
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2741 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2742
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2743
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2744 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2745
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2746
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2747 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2748
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2749
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2750 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2751
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2752 # We need awk for the "check" target. The system "awk" is bad on
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2753 # some platforms.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2754 # Always define AMTAR for backward compatibility.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2755
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2756 AMTAR=${AMTAR-"${am_missing_run}tar"}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2757
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2758 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2759
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2760
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2761
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2762
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2763
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2764
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2765
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2766 ac_config_headers="$ac_config_headers config.h"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2767
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2768
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2769
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2771 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2772 # Check whether --enable-maintainer-mode was given.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2773 if test "${enable_maintainer_mode+set}" = set; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2774 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2775 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2776 USE_MAINTAINER_MODE=no
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2777 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2778
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2780 $as_echo "$USE_MAINTAINER_MODE" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2781 if test $USE_MAINTAINER_MODE = yes; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2782 MAINTAINER_MODE_TRUE=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2783 MAINTAINER_MODE_FALSE='#'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2784 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2785 MAINTAINER_MODE_TRUE='#'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2786 MAINTAINER_MODE_FALSE=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2787 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2788
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2789 MAINT=$MAINTAINER_MODE_TRUE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2790
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2791
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2792
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2793 case "$target" in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2794 *-linux*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2795 LDRPATH=-Wl,-rpath,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2796 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2797 *-*-irix*|*-*-osf*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2798 LDRPATH="-rpath "
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2799 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2800 *-*-hpux*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2801 # Hm, this seem to set runpath on ia64, not rpath
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2802 LDRPATH="-Wl,+b,"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2803 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2804 *-*-darwin*)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2805 # No idea how to add rpath/runpath on Darwin
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2806 LDRPATH=""
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2807 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2808 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2809 LDRPATH="-R "
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2810 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2811 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2812
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2813
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2814
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2815 ac_ext=c
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2816 ac_cpp='$CPP $CPPFLAGS'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2820 if test -n "$ac_tool_prefix"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2821 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2822 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2824 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2825 if ${ac_cv_prog_CC+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2826 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2827 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2828 if test -n "$CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2830 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2832 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2833 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2834 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2835 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2836 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2838 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2840 break 2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2841 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2842 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2843 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2844 IFS=$as_save_IFS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2845
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2846 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2847 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2848 CC=$ac_cv_prog_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2849 if test -n "$CC"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2851 $as_echo "$CC" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2852 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2854 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2855 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2856
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2857
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2858 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2859 if test -z "$ac_cv_prog_CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2860 ac_ct_CC=$CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2861 # Extract the first word of "gcc", so it can be a program name with args.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2862 set dummy gcc; ac_word=$2
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2864 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2865 if ${ac_cv_prog_ac_ct_CC+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2866 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2867 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2868 if test -n "$ac_ct_CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2870 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2872 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2873 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2874 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2875 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2876 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2878 ac_cv_prog_ac_ct_CC="gcc"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2880 break 2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2881 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2882 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2883 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2884 IFS=$as_save_IFS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2885
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2886 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2887 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2888 ac_ct_CC=$ac_cv_prog_ac_ct_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2889 if test -n "$ac_ct_CC"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2891 $as_echo "$ac_ct_CC" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2892 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2894 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2895 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2896
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2897 if test "x$ac_ct_CC" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2898 CC=""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2899 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2900 case $cross_compiling:$ac_tool_warned in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2901 yes:)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2904 ac_tool_warned=yes ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2905 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2906 CC=$ac_ct_CC
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2907 fi
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2908 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2909 CC="$ac_cv_prog_CC"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2910 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2911
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2912 if test -z "$CC"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2913 if test -n "$ac_tool_prefix"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2914 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2915 set dummy ${ac_tool_prefix}cc; ac_word=$2
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2917 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2918 if ${ac_cv_prog_CC+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2919 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2920 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2921 if test -n "$CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2922 ac_cv_prog_CC="$CC" # Let the user override the test.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2923 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2925 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2926 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2927 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2928 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2929 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2931 ac_cv_prog_CC="${ac_tool_prefix}cc"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2933 break 2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2934 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2935 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2936 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2937 IFS=$as_save_IFS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2938
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2939 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2940 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2941 CC=$ac_cv_prog_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2942 if test -n "$CC"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2944 $as_echo "$CC" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2945 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2947 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2948 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2949
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2950
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2951 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2952 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2953 if test -z "$CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2954 # Extract the first word of "cc", so it can be a program name with args.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2955 set dummy cc; ac_word=$2
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2957 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2958 if ${ac_cv_prog_CC+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2959 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2960 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2961 if test -n "$CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2963 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2964 ac_prog_rejected=no
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2966 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2967 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2968 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2969 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2970 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2972 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2973 ac_prog_rejected=yes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2974 continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2975 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2976 ac_cv_prog_CC="cc"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2978 break 2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2979 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2980 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2981 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
2982 IFS=$as_save_IFS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2983
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2984 if test $ac_prog_rejected = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2985 # We found a bogon in the path, so make sure we never use it.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2986 set dummy $ac_cv_prog_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2987 shift
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2988 if test $# != 0; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2989 # We chose a different compiler from the bogus one.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2990 # However, it has the same basename, so the bogon will be chosen
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2991 # first if we set CC to just the basename; use the full file name.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2992 shift
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2993 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2994 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2995 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2996 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2997 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2998 CC=$ac_cv_prog_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
2999 if test -n "$CC"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3001 $as_echo "$CC" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3002 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3004 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3005 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3006
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3007
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3008 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3009 if test -z "$CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3010 if test -n "$ac_tool_prefix"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3011 for ac_prog in cl.exe
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3012 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3013 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3014 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3016 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3017 if ${ac_cv_prog_CC+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3018 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3019 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3020 if test -n "$CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3021 ac_cv_prog_CC="$CC" # Let the user override the test.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3022 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3024 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3025 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3026 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3027 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3028 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3030 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3032 break 2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3033 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3034 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3035 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3036 IFS=$as_save_IFS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3037
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3038 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3039 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3040 CC=$ac_cv_prog_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3041 if test -n "$CC"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3043 $as_echo "$CC" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3044 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3046 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3047 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3048
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3049
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3050 test -n "$CC" && break
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3051 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3052 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3053 if test -z "$CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3054 ac_ct_CC=$CC
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3055 for ac_prog in cl.exe
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3056 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3057 # Extract the first word of "$ac_prog", so it can be a program name with args.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3058 set dummy $ac_prog; ac_word=$2
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3060 $as_echo_n "checking for $ac_word... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3061 if ${ac_cv_prog_ac_ct_CC+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3062 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3063 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3064 if test -n "$ac_ct_CC"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3066 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3068 for as_dir in $PATH
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3069 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3070 IFS=$as_save_IFS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3071 test -z "$as_dir" && as_dir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3072 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3074 ac_cv_prog_ac_ct_CC="$ac_prog"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3076 break 2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3077 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3078 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3079 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3080 IFS=$as_save_IFS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3081
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3082 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3083 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3085 if test -n "$ac_ct_CC"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3087 $as_echo "$ac_ct_CC" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3088 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3090 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3091 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3092
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3093
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3094 test -n "$ac_ct_CC" && break
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3095 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3096
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3097 if test "x$ac_ct_CC" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3098 CC=""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3099 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3100 case $cross_compiling:$ac_tool_warned in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3101 yes:)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3104 ac_tool_warned=yes ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3105 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3106 CC=$ac_ct_CC
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3107 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3108 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3109
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3110 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3111
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3112
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3113 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3115 as_fn_error $? "no acceptable C compiler found in \$PATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3116 See \`config.log' for more details" "$LINENO" 5; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3117
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3118 # Provide some information about the compiler.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3119 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3120 set X $ac_compile
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3121 ac_compiler=$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3122 for ac_option in --version -v -V -qversion; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3123 { { ac_try="$ac_compiler $ac_option >&5"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3124 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3126 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3127 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3129 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3130 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3131 ac_status=$?
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3132 if test -s conftest.err; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3133 sed '10a\
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3134 ... rest of stderr output deleted ...
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3135 10q' conftest.err >conftest.er1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3136 cat conftest.er1 >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3137 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3138 rm -f conftest.er1 conftest.err
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3140 test $ac_status = 0; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3141 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3142
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3144 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3145
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3146 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3147 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3148 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3149
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3150 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3151 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3152 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3153 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3154 ac_clean_files_save=$ac_clean_files
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3155 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3156 # Try to create an executable without -o first, disregard a.out.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3157 # It will help us diagnose broken compilers, and finding out an intuition
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3158 # of exeext.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3160 $as_echo_n "checking whether the C compiler works... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3161 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3162
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3163 # The possible output files:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3164 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3165
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3166 ac_rmfiles=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3167 for ac_file in $ac_files
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3168 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3169 case $ac_file in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3171 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3172 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3173 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3174 rm -f $ac_rmfiles
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3175
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3176 if { { ac_try="$ac_link_default"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3177 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3179 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3180 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3182 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3183 (eval "$ac_link_default") 2>&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3184 ac_status=$?
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3186 test $ac_status = 0; }; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3187 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3188 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3189 # in a Makefile. We should not override ac_cv_exeext if it was cached,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3190 # so that the user can short-circuit this test for compilers unknown to
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3191 # Autoconf.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3192 for ac_file in $ac_files ''
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3193 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3194 test -f "$ac_file" || continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3195 case $ac_file in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3196 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3197 ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3198 [ab].out )
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3199 # We found the default executable, but exeext='' is most
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3200 # certainly right.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3201 break;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3202 *.* )
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3203 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3204 then :; else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3205 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3206 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3207 # We set ac_cv_exeext here because the later test for it is not
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3208 # safe: cross compilers may not add the suffix if given an `-o'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3209 # argument, so we may need to know it at that point already.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3210 # Even if this section looks crufty: it has the advantage of
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3211 # actually working.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3212 break;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3213 * )
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3214 break;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3215 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3216 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3217 test "$ac_cv_exeext" = no && ac_cv_exeext=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3218
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3219 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3220 ac_file=''
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3221 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3222 if test -z "$ac_file"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3224 $as_echo "no" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3225 $as_echo "$as_me: failed program was:" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3226 sed 's/^/| /' conftest.$ac_ext >&5
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3227
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3230 as_fn_error 77 "C compiler cannot create executables
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3231 See \`config.log' for more details" "$LINENO" 5; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3232 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3234 $as_echo "yes" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3235 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3237 $as_echo_n "checking for C compiler default output file name... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3239 $as_echo "$ac_file" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3240 ac_exeext=$ac_cv_exeext
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3241
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3242 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3243 ac_clean_files=$ac_clean_files_save
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3245 $as_echo_n "checking for suffix of executables... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3246 if { { ac_try="$ac_link"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3247 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3249 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3250 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3252 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3253 (eval "$ac_link") 2>&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3254 ac_status=$?
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3256 test $ac_status = 0; }; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3259 # work properly (i.e., refer to `conftest.exe'), while it won't with
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3260 # `rm'.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3261 for ac_file in conftest.exe conftest conftest.*; do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3262 test -f "$ac_file" || continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3263 case $ac_file in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3266 break;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3267 * ) break;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3268 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3269 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3270 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3273 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3274 See \`config.log' for more details" "$LINENO" 5; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3275 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3276 rm -f conftest conftest$ac_cv_exeext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3278 $as_echo "$ac_cv_exeext" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3279
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3280 rm -f conftest.$ac_ext
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3281 EXEEXT=$ac_cv_exeext
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3282 ac_exeext=$EXEEXT
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3284 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3285 #include <stdio.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3286 int
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3287 main ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3288 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3289 FILE *f = fopen ("conftest.out", "w");
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3290 return ferror (f) || fclose (f) != 0;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3291
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3292 ;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3293 return 0;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3294 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3295 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3296 ac_clean_files="$ac_clean_files conftest.out"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3297 # Check that the compiler produces executables we can run. If not, either
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3298 # the compiler is broken, or we cross compile.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3300 $as_echo_n "checking whether we are cross compiling... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3301 if test "$cross_compiling" != yes; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3302 { { ac_try="$ac_link"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3303 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3305 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3306 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3308 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3309 (eval "$ac_link") 2>&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3310 ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3312 test $ac_status = 0; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3313 if { ac_try='./conftest$ac_cv_exeext'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3314 { { case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3316 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3317 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3319 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3320 (eval "$ac_try") 2>&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3321 ac_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3323 test $ac_status = 0; }; }; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3324 cross_compiling=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3325 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3326 if test "$cross_compiling" = maybe; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3327 cross_compiling=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3328 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3331 as_fn_error $? "cannot run C compiled programs.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3332 If you meant to cross compile, use \`--host'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3333 See \`config.log' for more details" "$LINENO" 5; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3334 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3335 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3336 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3338 $as_echo "$cross_compiling" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3339
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3340 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3341 ac_clean_files=$ac_clean_files_save
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3343 $as_echo_n "checking for suffix of object files... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3344 if ${ac_cv_objext+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3345 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3346 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3348 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3349
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3350 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3351 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3352 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3353
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3354 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3355 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3356 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3357 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3358 rm -f conftest.o conftest.obj
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3359 if { { ac_try="$ac_compile"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3360 case "(($ac_try" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3362 *) ac_try_echo=$ac_try;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3363 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3365 $as_echo "$ac_try_echo"; } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3366 (eval "$ac_compile") 2>&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3367 ac_status=$?
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3369 test $ac_status = 0; }; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3370 for ac_file in conftest.o conftest.obj conftest.*; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3371 test -f "$ac_file" || continue;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3372 case $ac_file in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3374 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3375 break;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3376 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3377 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3378 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3379 $as_echo "$as_me: failed program was:" >&5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3380 sed 's/^/| /' conftest.$ac_ext >&5
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3381
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3384 as_fn_error $? "cannot compute suffix of object files: cannot compile
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3385 See \`config.log' for more details" "$LINENO" 5; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3386 fi
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3387 rm -f conftest.$ac_cv_objext conftest.$ac_ext
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3388 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3390 $as_echo "$ac_cv_objext" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3391 OBJEXT=$ac_cv_objext
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3392 ac_objext=$OBJEXT
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3394 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3395 if ${ac_cv_c_compiler_gnu+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3396 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3397 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3399 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3400
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3401 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3402 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3403 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3404 #ifndef __GNUC__
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3405 choke me
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3406 #endif
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3407
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3408 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3409 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3410 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3411 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3412 if ac_fn_c_try_compile "$LINENO"; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3413 ac_compiler_gnu=yes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3414 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3415 ac_compiler_gnu=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3416 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3418 ac_cv_c_compiler_gnu=$ac_compiler_gnu
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3419
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3420 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3422 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3423 if test $ac_compiler_gnu = yes; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3424 GCC=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3425 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3426 GCC=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3427 fi
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3428 ac_test_CFLAGS=${CFLAGS+set}
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3429 ac_save_CFLAGS=$CFLAGS
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3431 $as_echo_n "checking whether $CC accepts -g... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3432 if ${ac_cv_prog_cc_g+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3433 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3434 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3435 ac_save_c_werror_flag=$ac_c_werror_flag
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3436 ac_c_werror_flag=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3437 ac_cv_prog_cc_g=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3438 CFLAGS="-g"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3440 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3441
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3442 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3443 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3444 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3445
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3446 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3447 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3448 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3449 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3450 if ac_fn_c_try_compile "$LINENO"; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3451 ac_cv_prog_cc_g=yes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3452 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3453 CFLAGS=""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3455 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3456
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3457 int
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3458 main ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3459 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3460
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3461 ;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3462 return 0;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3463 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3464 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3465 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3466
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3467 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3468 ac_c_werror_flag=$ac_save_c_werror_flag
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3469 CFLAGS="-g"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3471 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3472
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3473 int
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3474 main ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3475 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3476
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3477 ;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3478 return 0;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3479 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3480 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3481 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3482 ac_cv_prog_cc_g=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3483 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3485 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3487 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3489 ac_c_werror_flag=$ac_save_c_werror_flag
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3490 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3492 $as_echo "$ac_cv_prog_cc_g" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3493 if test "$ac_test_CFLAGS" = set; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3494 CFLAGS=$ac_save_CFLAGS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3495 elif test $ac_cv_prog_cc_g = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3496 if test "$GCC" = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3497 CFLAGS="-g -O2"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3498 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3499 CFLAGS="-g"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3500 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3501 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3502 if test "$GCC" = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3503 CFLAGS="-O2"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3504 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3505 CFLAGS=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3506 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3507 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3509 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3510 if ${ac_cv_prog_cc_c89+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3511 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3512 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3513 ac_cv_prog_cc_c89=no
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3514 ac_save_CC=$CC
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3516 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3517 #include <stdarg.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3518 #include <stdio.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3519 #include <sys/types.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3520 #include <sys/stat.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3521 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3522 struct buf { int x; };
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3523 FILE * (*rcsopen) (struct buf *, struct stat *, int);
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3524 static char *e (p, i)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3525 char **p;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3526 int i;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3527 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3528 return p[i];
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3529 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3530 static char *f (char * (*g) (char **, int), char **p, ...)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3531 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3532 char *s;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3533 va_list v;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3534 va_start (v,p);
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3535 s = g (p, va_arg (v,int));
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3536 va_end (v);
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3537 return s;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3538 }
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3539
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3540 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3541 function prototypes and stuff, but not '\xHH' hex character constants.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3542 These don't provoke an error unfortunately, instead are silently treated
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3543 as 'x'. The following induces an error, until -std is added to get
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3544 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3545 array size at least. It's necessary to write '\x00'==0 to get something
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3546 that's true only with -std. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3547 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3548
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3549 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3550 inside strings and character constants. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3551 #define FOO(x) 'x'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3552 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3553
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3554 int test (int i, double x);
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3555 struct s1 {int (*f) (int a);};
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3556 struct s2 {int (*f) (double a);};
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3557 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3558 int argc;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3559 char **argv;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3560 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3561 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3562 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3563 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3564 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3565 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3566 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3567 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3568 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3569 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3570 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3571 CC="$ac_save_CC $ac_arg"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3572 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3573 ac_cv_prog_cc_c89=$ac_arg
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3574 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3575 rm -f core conftest.err conftest.$ac_objext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3576 test "x$ac_cv_prog_cc_c89" != "xno" && break
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3577 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3578 rm -f conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3579 CC=$ac_save_CC
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3580
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3581 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3582 # AC_CACHE_VAL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3583 case "x$ac_cv_prog_cc_c89" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3584 x)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3586 $as_echo "none needed" >&6; } ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3587 xno)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3589 $as_echo "unsupported" >&6; } ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3590 *)
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3591 CC="$CC $ac_cv_prog_cc_c89"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3593 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3594 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3595 if test "x$ac_cv_prog_cc_c89" != xno; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3596
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3597 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3598
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3599 ac_ext=c
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3600 ac_cpp='$CPP $CPPFLAGS'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3604 DEPDIR="${am__leading_dot}deps"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3605
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3606 ac_config_commands="$ac_config_commands depfiles"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3607
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3608
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3609 am_make=${MAKE-make}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3610 cat > confinc << 'END'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3611 am__doit:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3612 @echo this is the am__doit target
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3613 .PHONY: am__doit
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3614 END
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3615 # If we don't find an include directive, just comment out the code.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3617 $as_echo_n "checking for style of include used by $am_make... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3618 am__include="#"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3619 am__quote=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3620 _am_result=none
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3621 # First try GNU make style include.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3622 echo "include confinc" > confmf
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3623 # Ignore all kinds of additional output from `make'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3624 case `$am_make -s -f confmf 2> /dev/null` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3625 *the\ am__doit\ target*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3626 am__include=include
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3627 am__quote=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3628 _am_result=GNU
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3629 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3630 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3631 # Now try BSD make style include.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3632 if test "$am__include" = "#"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3633 echo '.include "confinc"' > confmf
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3634 case `$am_make -s -f confmf 2> /dev/null` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3635 *the\ am__doit\ target*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3636 am__include=.include
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3637 am__quote="\""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3638 _am_result=BSD
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3639 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3640 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3641 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3642
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3643
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3645 $as_echo "$_am_result" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3646 rm -f confinc confmf
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3647
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3648 # Check whether --enable-dependency-tracking was given.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3649 if test "${enable_dependency_tracking+set}" = set; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3650 enableval=$enable_dependency_tracking;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3651 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3652
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3653 if test "x$enable_dependency_tracking" != xno; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3654 am_depcomp="$ac_aux_dir/depcomp"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3655 AMDEPBACKSLASH='\'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3656 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3657 if test "x$enable_dependency_tracking" != xno; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3658 AMDEP_TRUE=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3659 AMDEP_FALSE='#'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3660 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3661 AMDEP_TRUE='#'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3662 AMDEP_FALSE=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3663 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3664
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3665
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3666
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3667 depcc="$CC" am_compiler_list=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3668
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3670 $as_echo_n "checking dependency style of $depcc... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3671 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3672 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3673 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3674 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3675 # We make a subdir and do the tests there. Otherwise we can end up
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3676 # making bogus files that we don't know about and never remove. For
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3677 # instance it was reported that on HP-UX the gcc test will end up
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3678 # making a dummy file named `D' -- because `-MD' means `put the output
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3679 # in D'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3680 mkdir conftest.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3681 # Copy depcomp to subdir because otherwise we won't find it if we're
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3682 # using a relative directory.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3683 cp "$am_depcomp" conftest.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3684 cd conftest.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3685 # We will build objects and dependencies in a subdirectory because
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3686 # it helps to detect inapplicable dependency modes. For instance
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3687 # both Tru64's cc and ICC support -MD to output dependencies as a
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3688 # side effect of compilation, but ICC will put the dependencies in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3689 # the current directory while Tru64 will put them in the object
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3690 # directory.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3691 mkdir sub
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3692
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3693 am_cv_CC_dependencies_compiler_type=none
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3694 if test "$am_compiler_list" = ""; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3695 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3696 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3697 am__universal=false
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3698 case " $depcc " in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3699 *\ -arch\ *\ -arch\ *) am__universal=true ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3700 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3701
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3702 for depmode in $am_compiler_list; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3703 # Setup a source with many dependencies, because some compilers
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3704 # like to wrap large dependency lists on column 80 (with \), and
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3705 # we should not choose a depcomp mode which is confused by this.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3706 #
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3707 # We need to recreate these files for each test, as the compiler may
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3708 # overwrite some of them when testing with obscure command lines.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3709 # This happens at least with the AIX C compiler.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3710 : > sub/conftest.c
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3711 for i in 1 2 3 4 5 6; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3712 echo '#include "conftst'$i'.h"' >> sub/conftest.c
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3713 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3714 # Solaris 8's {/usr,}/bin/sh.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3715 touch sub/conftst$i.h
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3716 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3717 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3718
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3719 # We check with `-c' and `-o' for the sake of the "dashmstdout"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3720 # mode. It turns out that the SunPro C++ compiler does not properly
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3721 # handle `-M -o', and we need to detect this. Also, some Intel
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3722 # versions had trouble with output in subdirs
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3723 am__obj=sub/conftest.${OBJEXT-o}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3724 am__minus_obj="-o $am__obj"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3725 case $depmode in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3726 gcc)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3727 # This depmode causes a compiler race in universal mode.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3728 test "$am__universal" = false || continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3729 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3730 nosideeffect)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3731 # after this tag, mechanisms are not by side-effect, so they'll
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3732 # only be used when explicitly requested
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3733 if test "x$enable_dependency_tracking" = xyes; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3734 continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3735 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3736 break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3737 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3738 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3739 msvisualcpp | msvcmsys)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3740 # This compiler won't grok `-c -o', but also, the minuso test has
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3741 # not run yet. These depmodes are late enough in the game, and
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3742 # so weak that their functioning should not be impacted.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3743 am__obj=conftest.${OBJEXT-o}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3744 am__minus_obj=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3745 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3746 none) break ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3747 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3748 if depmode=$depmode \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3749 source=sub/conftest.c object=$am__obj \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3750 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3751 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3752 >/dev/null 2>conftest.err &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3753 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3754 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3755 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3756 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3757 # icc doesn't choke on unknown options, it will just issue warnings
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3758 # or remarks (even with -Werror). So we grep stderr for any message
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3759 # that says an option was ignored or not supported.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3760 # When given -MP, icc 7.0 and 7.1 complain thusly:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3761 # icc: Command line warning: ignoring option '-M'; no argument required
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3762 # The diagnosis changed in icc 8.0:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3763 # icc: Command line remark: option '-MP' not supported
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3764 if (grep 'ignoring option' conftest.err ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3765 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3766 am_cv_CC_dependencies_compiler_type=$depmode
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3767 break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3768 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3769 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3770 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3771
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3772 cd ..
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3773 rm -rf conftest.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3774 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3775 am_cv_CC_dependencies_compiler_type=none
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3776 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3777
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3778 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3780 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3781 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3782
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3783 if
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3784 test "x$enable_dependency_tracking" != xno \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3785 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3786 am__fastdepCC_TRUE=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3787 am__fastdepCC_FALSE='#'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3788 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3789 am__fastdepCC_TRUE='#'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3790 am__fastdepCC_FALSE=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3791 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3792
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3793
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3794
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3795
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3796
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3797
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3798 ac_ext=c
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3799 ac_cpp='$CPP $CPPFLAGS'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3804 $as_echo_n "checking how to run the C preprocessor... " >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3805 # On Suns, sometimes $CPP names a directory.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3806 if test -n "$CPP" && test -d "$CPP"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3807 CPP=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3808 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3809 if test -z "$CPP"; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3810 if ${ac_cv_prog_CPP+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3811 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3812 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3813 # Double quotes because CPP needs to be expanded
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3814 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3815 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3816 ac_preproc_ok=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3817 for ac_c_preproc_warn_flag in '' yes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3818 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3819 # Use a header file that comes with gcc, so configuring glibc
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3820 # with a fresh cross-compiler works.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3822 # <limits.h> exists even on freestanding compilers.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3823 # On the NeXT, cc -E runs the code through the compiler's parser,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3824 # not just through cpp. "Syntax error" is here to catch this case.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3826 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3827 #ifdef __STDC__
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3828 # include <limits.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3829 #else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3830 # include <assert.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3831 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3832 Syntax error
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3833 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3834 if ac_fn_c_try_cpp "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3835
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3836 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3837 # Broken: fails on valid input.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3838 continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3839 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3840 rm -f conftest.err conftest.i conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3841
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3842 # OK, works on sane cases. Now check whether nonexistent headers
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3843 # can be detected and how.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3845 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3846 #include <ac_nonexistent.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3847 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3848 if ac_fn_c_try_cpp "$LINENO"; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3849 # Broken: success on invalid input.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3850 continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3851 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3852 # Passes both tests.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3853 ac_preproc_ok=:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3854 break
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3855 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3856 rm -f conftest.err conftest.i conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3857
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3858 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3859 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3860 rm -f conftest.i conftest.err conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3861 if $ac_preproc_ok; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3862 break
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3863 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3864
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3865 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3866 ac_cv_prog_CPP=$CPP
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3867
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3868 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3869 CPP=$ac_cv_prog_CPP
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3870 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3871 ac_cv_prog_CPP=$CPP
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3872 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3874 $as_echo "$CPP" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3875 ac_preproc_ok=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3876 for ac_c_preproc_warn_flag in '' yes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3877 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3878 # Use a header file that comes with gcc, so configuring glibc
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3879 # with a fresh cross-compiler works.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3880 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3881 # <limits.h> exists even on freestanding compilers.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3882 # On the NeXT, cc -E runs the code through the compiler's parser,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3883 # not just through cpp. "Syntax error" is here to catch this case.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3885 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3886 #ifdef __STDC__
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3887 # include <limits.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3888 #else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3889 # include <assert.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3890 #endif
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3891 Syntax error
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3892 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3893 if ac_fn_c_try_cpp "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3894
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3895 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3896 # Broken: fails on valid input.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3897 continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3898 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3899 rm -f conftest.err conftest.i conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3900
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3901 # OK, works on sane cases. Now check whether nonexistent headers
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3902 # can be detected and how.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3904 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3905 #include <ac_nonexistent.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3906 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3907 if ac_fn_c_try_cpp "$LINENO"; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3908 # Broken: success on invalid input.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3909 continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3910 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3911 # Passes both tests.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3912 ac_preproc_ok=:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3913 break
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3914 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3915 rm -f conftest.err conftest.i conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3916
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3917 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3918 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3919 rm -f conftest.i conftest.err conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3920 if $ac_preproc_ok; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3921
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3922 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3925 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3926 See \`config.log' for more details" "$LINENO" 5; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3927 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3928
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3929 ac_ext=c
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3930 ac_cpp='$CPP $CPPFLAGS'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3934
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3935
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3937 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3938 if ${ac_cv_path_GREP+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3939 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3940 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3941 if test -z "$GREP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3942 ac_path_GREP_found=false
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3943 # Loop through the user's path and test for each of PROGNAME-LIST
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3945 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3946 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3947 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3948 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3949 for ac_prog in grep ggrep; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3950 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3951 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3952 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3953 # Check for GNU ac_path_GREP and select it if it is found.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3954 # Check for GNU $ac_path_GREP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3955 case `"$ac_path_GREP" --version 2>&1` in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3956 *GNU*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3957 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3958 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3959 ac_count=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3960 $as_echo_n 0123456789 >"conftest.in"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3961 while :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3962 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3963 cat "conftest.in" "conftest.in" >"conftest.tmp"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3964 mv "conftest.tmp" "conftest.in"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3965 cp "conftest.in" "conftest.nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3966 $as_echo 'GREP' >> "conftest.nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3967 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3968 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3969 as_fn_arith $ac_count + 1 && ac_count=$as_val
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3970 if test $ac_count -gt ${ac_path_GREP_max-0}; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3971 # Best one so far, save it but keep looking for a better one
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3972 ac_cv_path_GREP="$ac_path_GREP"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3973 ac_path_GREP_max=$ac_count
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
3974 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3975 # 10*(2^10) chars as input seems more than enough
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3976 test $ac_count -gt 10 && break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3977 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3978 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3979 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3980
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3981 $ac_path_GREP_found && break 3
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3982 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3983 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3984 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3985 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3986 if test -z "$ac_cv_path_GREP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3987 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3988 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3989 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3990 ac_cv_path_GREP=$GREP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3991 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3992
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3993 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3995 $as_echo "$ac_cv_path_GREP" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3996 GREP="$ac_cv_path_GREP"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3997
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3998
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4000 $as_echo_n "checking for egrep... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4001 if ${ac_cv_path_EGREP+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4002 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4003 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4004 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4005 then ac_cv_path_EGREP="$GREP -E"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4006 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4007 if test -z "$EGREP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4008 ac_path_EGREP_found=false
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4009 # Loop through the user's path and test for each of PROGNAME-LIST
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4011 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4012 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4013 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4014 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4015 for ac_prog in egrep; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4016 for ac_exec_ext in '' $ac_executable_extensions; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4017 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4018 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4019 # Check for GNU ac_path_EGREP and select it if it is found.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4020 # Check for GNU $ac_path_EGREP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4021 case `"$ac_path_EGREP" --version 2>&1` in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4022 *GNU*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4023 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4024 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4025 ac_count=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4026 $as_echo_n 0123456789 >"conftest.in"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4027 while :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4028 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4029 cat "conftest.in" "conftest.in" >"conftest.tmp"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4030 mv "conftest.tmp" "conftest.in"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4031 cp "conftest.in" "conftest.nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4032 $as_echo 'EGREP' >> "conftest.nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4033 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4035 as_fn_arith $ac_count + 1 && ac_count=$as_val
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4036 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4037 # Best one so far, save it but keep looking for a better one
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4038 ac_cv_path_EGREP="$ac_path_EGREP"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4039 ac_path_EGREP_max=$ac_count
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4040 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4041 # 10*(2^10) chars as input seems more than enough
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4042 test $ac_count -gt 10 && break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4043 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4045 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4046
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4047 $ac_path_EGREP_found && break 3
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4048 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4049 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4050 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4051 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4052 if test -z "$ac_cv_path_EGREP"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4053 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4054 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4055 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4056 ac_cv_path_EGREP=$EGREP
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4057 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4058
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4059 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4060 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4062 $as_echo "$ac_cv_path_EGREP" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4063 EGREP="$ac_cv_path_EGREP"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4064
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4065
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4067 $as_echo_n "checking for ANSI C header files... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4068 if ${ac_cv_header_stdc+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4069 $as_echo_n "(cached) " >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4070 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4072 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4073 #include <stdlib.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4074 #include <stdarg.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4075 #include <string.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4076 #include <float.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4077
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4078 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4079 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4080 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4081
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4082 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4083 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4084 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4085 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4086 if ac_fn_c_try_compile "$LINENO"; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4087 ac_cv_header_stdc=yes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4088 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4089 ac_cv_header_stdc=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4090 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4092
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4093 if test $ac_cv_header_stdc = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4094 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4096 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4097 #include <string.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4098
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4099 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4101 $EGREP "memchr" >/dev/null 2>&1; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4102
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4103 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4104 ac_cv_header_stdc=no
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4105 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4106 rm -f conftest*
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4107
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4108 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4109
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4110 if test $ac_cv_header_stdc = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4111 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4113 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4114 #include <stdlib.h>
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4115
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4116 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4118 $EGREP "free" >/dev/null 2>&1; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4119
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4120 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4121 ac_cv_header_stdc=no
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4122 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4123 rm -f conftest*
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4124
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4125 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4126
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4127 if test $ac_cv_header_stdc = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4128 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4129 if test "$cross_compiling" = yes; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4130 :
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4131 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4133 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4134 #include <ctype.h>
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4135 #include <stdlib.h>
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4136 #if ((' ' & 0x0FF) == 0x020)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4137 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4138 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4139 #else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4140 # define ISLOWER(c) \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4141 (('a' <= (c) && (c) <= 'i') \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4142 || ('j' <= (c) && (c) <= 'r') \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4143 || ('s' <= (c) && (c) <= 'z'))
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4144 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4145 #endif
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4146
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4147 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4148 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4149 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4150 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4151 int i;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4152 for (i = 0; i < 256; i++)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4153 if (XOR (islower (i), ISLOWER (i))
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4154 || toupper (i) != TOUPPER (i))
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4155 return 2;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4156 return 0;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4157 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4158 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4159 if ac_fn_c_try_run "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4160
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4161 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4162 ac_cv_header_stdc=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4163 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4165 conftest.$ac_objext conftest.beam conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4166 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4167
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4168 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4169 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4171 $as_echo "$ac_cv_header_stdc" >&6; }
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4172 if test $ac_cv_header_stdc = yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4173
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4174 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4175
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4176 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4177
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4178 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4179 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4180 inttypes.h stdint.h unistd.h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4181 do :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4183 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4184 "
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4185 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4186 cat >>confdefs.h <<_ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4187 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4188 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4189
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4190 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4191
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4192 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4193
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4194
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4195 for ac_header in getopt.h elf.h fcntl.h unistd.h link.h sys/link.h
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4196 do :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4198 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4199 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4200 cat >>confdefs.h <<_ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4201 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4202 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4203
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4204 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4205
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4206 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4207
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4208
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4210 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4211 if ${ac_cv_c_const+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4212 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4213 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4215 /* end confdefs.h. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4216
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4217 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4218 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4219 {
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4220 /* FIXME: Include the comments suggested by Paul. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4221 #ifndef __cplusplus
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4222 /* Ultrix mips cc rejects this. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4223 typedef int charset[2];
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4224 const charset cs;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4225 /* SunOS 4.1.1 cc rejects this. */
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4226 char const *const *pcpcc;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4227 char **ppc;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4228 /* NEC SVR4.0.2 mips cc rejects this. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4229 struct point {int x, y;};
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4230 static struct point const zero = {0,0};
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4231 /* AIX XL C 1.02.0.0 rejects this.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4232 It does not let you subtract one const X* pointer from another in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4233 an arm of an if-expression whose if-part is not a constant
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4234 expression */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4235 const char *g = "string";
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4236 pcpcc = &g + (g ? g-g : 0);
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4237 /* HPUX 7.0 cc rejects these. */
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4238 ++pcpcc;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4239 ppc = (char**) pcpcc;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4240 pcpcc = (char const *const *) ppc;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4241 { /* SCO 3.2v4 cc rejects this. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4242 char *t;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4243 char const *s = 0 ? (char *) 0 : (char const *) 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4244
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4245 *t++ = 0;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4246 if (s) return 0;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4247 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4248 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4249 int x[] = {25, 17};
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4250 const int *foo = &x[0];
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4251 ++foo;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4252 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4253 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4254 typedef const int *iptr;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4255 iptr p = 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4256 ++p;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4257 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4258 { /* AIX XL C 1.02.0.0 rejects this saying
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4259 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4260 struct s { int j; const int *ap[3]; };
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4261 struct s *b; b->j = 5;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4262 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4263 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4264 const int foo = 10;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4265 if (!foo) return 0;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4266 }
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4267 return !cs[0] && !zero.x;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4268 #endif
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4269
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4270 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4271 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4272 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4273 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4274 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4275 ac_cv_c_const=yes
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4276 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4277 ac_cv_c_const=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4278 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4280 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4282 $as_echo "$ac_cv_c_const" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4283 if test $ac_cv_c_const = no; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4284
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4285 $as_echo "#define const /**/" >>confdefs.h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4286
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4287 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4288
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4290 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4291 if ${ac_cv_c_bigendian+:} false; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4292 $as_echo_n "(cached) " >&6
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4293 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4294 ac_cv_c_bigendian=unknown
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4295 # See if we're dealing with a universal compiler.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4297 /* end confdefs.h. */
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4298 #ifndef __APPLE_CC__
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4299 not a universal capable compiler
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4300 #endif
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4301 typedef int dummy;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4302
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4303 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4304 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4305
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4306 # Check for potential -arch flags. It is not universal unless
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4307 # there are at least two -arch flags with different values.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4308 ac_arch=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4309 ac_prev=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4310 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4311 if test -n "$ac_prev"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4312 case $ac_word in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4313 i?86 | x86_64 | ppc | ppc64)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4314 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4315 ac_arch=$ac_word
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4316 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4317 ac_cv_c_bigendian=universal
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4318 break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4319 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4320 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4321 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4322 ac_prev=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4323 elif test "x$ac_word" = "x-arch"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4324 ac_prev=arch
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4325 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4326 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4327 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4329 if test $ac_cv_c_bigendian = unknown; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4330 # See if sys/param.h defines the BYTE_ORDER macro.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4332 /* end confdefs.h. */
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4333 #include <sys/types.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4334 #include <sys/param.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4335
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4336 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4337 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4338 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4339 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4340 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4341 && LITTLE_ENDIAN)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4342 bogus endian macros
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4343 #endif
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4344
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4345 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4346 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4347 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4348 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4349 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4350 # It does; now see whether it defined to BIG_ENDIAN or not.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4352 /* end confdefs.h. */
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4353 #include <sys/types.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4354 #include <sys/param.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4355
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4356 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4357 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4358 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4359 #if BYTE_ORDER != BIG_ENDIAN
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4360 not big endian
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4361 #endif
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4362
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4363 ;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4364 return 0;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4365 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4366 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4367 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4368 ac_cv_c_bigendian=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4369 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4370 ac_cv_c_bigendian=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4371 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4373 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4375 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4376 if test $ac_cv_c_bigendian = unknown; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4377 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4379 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4380 #include <limits.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4381
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4382 int
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4383 main ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4384 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4385 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4386 bogus endian macros
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4387 #endif
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4388
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4389 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4390 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4391 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4392 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4393 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4394 # It does; now see whether it defined to _BIG_ENDIAN or not.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4396 /* end confdefs.h. */
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4397 #include <limits.h>
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4398
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4399 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4400 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4401 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4402 #ifndef _BIG_ENDIAN
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4403 not big endian
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4404 #endif
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4405
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4406 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4407 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4408 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4409 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4410 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4411 ac_cv_c_bigendian=yes
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4412 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4413 ac_cv_c_bigendian=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4414 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4416 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4418 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4419 if test $ac_cv_c_bigendian = unknown; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4420 # Compile a test program.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4421 if test "$cross_compiling" = yes; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4422 # Try to guess by grepping values from an object file.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4424 /* end confdefs.h. */
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4425 short int ascii_mm[] =
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4426 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4427 short int ascii_ii[] =
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4428 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4429 int use_ascii (int i) {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4430 return ascii_mm[i] + ascii_ii[i];
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4431 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4432 short int ebcdic_ii[] =
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4433 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4434 short int ebcdic_mm[] =
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4435 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4436 int use_ebcdic (int i) {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4437 return ebcdic_mm[i] + ebcdic_ii[i];
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4438 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4439 extern int foo;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4440
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4441 int
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4442 main ()
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4443 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4444 return use_ascii (foo) == use_ebcdic (foo);
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4445 ;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4446 return 0;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4447 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4448 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4449 if ac_fn_c_try_compile "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4450 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4451 ac_cv_c_bigendian=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4452 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4453 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4454 if test "$ac_cv_c_bigendian" = unknown; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4455 ac_cv_c_bigendian=no
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4456 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4457 # finding both strings is unlikely to happen, but who knows?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4458 ac_cv_c_bigendian=unknown
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4459 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4460 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4461 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4463 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4465 /* end confdefs.h. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4466 $ac_includes_default
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4467 int
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4468 main ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4469 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4470
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4471 /* Are we little or big endian? From Harbison&Steele. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4472 union
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4473 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4474 long int l;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4475 char c[sizeof (long int)];
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4476 } u;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4477 u.l = 1;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4478 return u.c[sizeof (long int) - 1] == 1;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4479
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4480 ;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4481 return 0;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4482 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4483 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4484 if ac_fn_c_try_run "$LINENO"; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4485 ac_cv_c_bigendian=no
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4486 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4487 ac_cv_c_bigendian=yes
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4488 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4490 conftest.$ac_objext conftest.beam conftest.$ac_ext
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4491 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4492
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4493 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4494 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4496 $as_echo "$ac_cv_c_bigendian" >&6; }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4497 case $ac_cv_c_bigendian in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4498 yes)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4499 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4500 ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4501 no)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4502 ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4503 universal)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4504
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4505 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4506
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4507 ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4508 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4509 as_fn_error $? "unknown endianness
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4510 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4511 esac
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4512
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4513
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4514 for ac_func in getopt_long
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4515 do :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4516 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4517 if test "x$ac_cv_func_getopt_long" = xyes; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4518 cat >>confdefs.h <<_ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4519 #define HAVE_GETOPT_LONG 1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4520 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4521
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4522 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4523 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4524
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4525
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4526 if eval "test x$GCC = xyes"; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4527 for flag in \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4528 -ansi \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4529 -pedantic \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4530 -W \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4531 -Wall \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4532 -Wcast-align \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4533 -Wcast-qual \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4534 -Wcomments \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4535 -Wmissing-declarations \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4536 -Wmissing-prototypes \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4537 -Wpointer-arith \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4538 -Wreturn-type \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4539 -Wstrict-prototypes
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4540 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4541 case "$CFLAGS" in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4542 "$flag" | "$flag "* | *" $flag" | *" $flag "* )
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4543 :
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4544 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4545 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4546 CFLAGS="$CFLAGS $flag"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4547 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4548 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4549
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4550 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4551 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4552
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4553
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4554 # Check whether --with-coverage was given.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4555 if test "${with_coverage+set}" = set; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4556 withval=$with_coverage;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4557 case "$CFLAGS" in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4558 "-g" | "-g "* | *" -g" | *" -g "* )
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4559 :
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4560 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4561 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4562 CFLAGS="$CFLAGS -g"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4563 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4564 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4565
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4566 case "$CFLAGS" in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4567 "-fprofile-arcs" | "-fprofile-arcs "* | *" -fprofile-arcs" | *" -fprofile-arcs "* )
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4568 :
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4569 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4570 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4571 CFLAGS="$CFLAGS -fprofile-arcs"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4572 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4573 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4574
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4575 case "$CFLAGS" in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4576 "-ftest-coverage" | "-ftest-coverage "* | *" -ftest-coverage" | *" -ftest-coverage "* )
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4577 :
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4578 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4579 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4580 CFLAGS="$CFLAGS -ftest-coverage"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4581 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4582 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4583
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4584
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4585 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4586
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4587
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4588 ac_config_files="$ac_config_files Makefile testsuite/Makefile deb/Makefile"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4589
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4590 cat >confcache <<\_ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4591 # This file is a shell script that caches the results of configure
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4592 # tests run on this system so they can be shared between configure
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4593 # scripts and configure runs, see configure's option --config-cache.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4594 # It is not useful on other systems. If it contains results you don't
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4595 # want to keep, you may remove or edit it.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4596 #
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4597 # config.status only pays attention to the cache file if you give it
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4598 # the --recheck option to rerun configure.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4599 #
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4600 # `ac_cv_env_foo' variables (set or unset) will be overridden when
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4601 # loading this file, other *unset* `ac_cv_foo' will be assigned the
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4602 # following values.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4603
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4604 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4605
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4606 # The following way of writing the cache mishandles newlines in values,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4607 # but we know of no workaround that is simple, portable, and efficient.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4608 # So, we kill variables containing newlines.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4609 # Ultrix sh set writes to stderr and can't be redirected directly,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4610 # and sets the high bit in the cache file unless we assign to the vars.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4611 (
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4612 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4613 eval ac_val=\$$ac_var
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4614 case $ac_val in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4615 *${as_nl}*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4616 case $ac_var in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4617 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4619 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4620 case $ac_var in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4621 _ | IFS | as_nl) ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4622 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4623 *) { eval $ac_var=; unset $ac_var;} ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4624 esac ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4625 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4626 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4627
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4628 (set) 2>&1 |
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4629 case $as_nl`(ac_space=' '; set) 2>&1` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4630 *${as_nl}ac_space=\ *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4631 # `set' does not quote correctly, so add quotes: double-quote
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4632 # substitution turns \\\\ into \\, and sed turns \\ into \.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4633 sed -n \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4634 "s/'/'\\\\''/g;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4636 ;; #(
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4637 *)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4638 # `set' quotes correctly as required by POSIX, so do not add quotes.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4640 ;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4641 esac |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4642 sort
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4643 ) |
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4644 sed '
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4645 /^ac_cv_env_/b end
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4646 t clear
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4647 :clear
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4649 t end
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4650 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4651 :end' >>confcache
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4652 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4653 if test -w "$cache_file"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4654 if test "x$cache_file" != "x/dev/null"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4656 $as_echo "$as_me: updating cache $cache_file" >&6;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4657 if test ! -f "$cache_file" || test -h "$cache_file"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4658 cat confcache >"$cache_file"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4659 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4660 case $cache_file in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4661 */* | ?:*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4662 mv -f confcache "$cache_file"$$ &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4663 mv -f "$cache_file"$$ "$cache_file" ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4664 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4665 mv -f confcache "$cache_file" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4666 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4667 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4668 fi
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4669 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4671 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4672 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4673 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4674 rm -f confcache
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4675
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4676 test "x$prefix" = xNONE && prefix=$ac_default_prefix
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4677 # Let make expand exec_prefix.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4678 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4679
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4680 DEFS=-DHAVE_CONFIG_H
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4681
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4682 ac_libobjs=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4683 ac_ltlibobjs=
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4684 U=
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4685 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4686 # 1. Remove the extension, and $U if already installed.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4687 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4688 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4689 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4690 # will be set to the directory where LIBOBJS objects are built.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4691 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4692 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4693 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4694 LIBOBJS=$ac_libobjs
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4695
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4696 LTLIBOBJS=$ac_ltlibobjs
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4697
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4698
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4699 if test -n "$EXEEXT"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4700 am__EXEEXT_TRUE=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4701 am__EXEEXT_FALSE='#'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4702 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4703 am__EXEEXT_TRUE='#'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4704 am__EXEEXT_FALSE=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4705 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4706
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4707 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4708 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4710 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4711 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4712 as_fn_error $? "conditional \"AMDEP\" was never defined.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4714 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4715 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4716 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4718 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4719
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4720
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4721 : "${CONFIG_STATUS=./config.status}"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4722 ac_write_fail=0
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4723 ac_clean_files_save=$ac_clean_files
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4724 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4726 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4727 as_write_fail=0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4728 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4729 #! $SHELL
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4730 # Generated by $as_me.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4731 # Run this file to recreate the current configuration.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4732 # Compiler output produced by configure, useful for debugging
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4733 # configure, is in config.log if it exists.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4734
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4735 debug=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4736 ac_cs_recheck=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4737 ac_cs_silent=false
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4738
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4739 SHELL=\${CONFIG_SHELL-$SHELL}
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4740 export SHELL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4741 _ASEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4742 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4743 ## -------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4744 ## M4sh Initialization. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4745 ## -------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4746
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4747 # Be more Bourne compatible
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4748 DUALCASE=1; export DUALCASE # for MKS sh
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4749 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4750 emulate sh
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4751 NULLCMD=:
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4752 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4753 # is contrary to our usage. Disable this feature.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4754 alias -g '${1+"$@"}'='"$@"'
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4755 setopt NO_GLOB_SUBST
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4756 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4757 case `(set -o) 2>/dev/null` in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4758 *posix*) :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4759 set -o posix ;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4760 *) :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4761 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4762 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4763 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4764
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4765
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4766 as_nl='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4767 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4768 export as_nl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4769 # Printing a long string crashes Solaris 7 /usr/bin/printf.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4770 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4773 # Prefer a ksh shell builtin over an external printf program on Solaris,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4774 # but without wasting forks for bash or zsh.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4775 if test -z "$BASH_VERSION$ZSH_VERSION" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4776 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4777 as_echo='print -r --'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4778 as_echo_n='print -rn --'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4779 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4780 as_echo='printf %s\n'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4781 as_echo_n='printf %s'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4782 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4783 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4784 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4785 as_echo_n='/usr/ucb/echo -n'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4786 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4787 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4788 as_echo_n_body='eval
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4789 arg=$1;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4790 case $arg in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4791 *"$as_nl"*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4792 expr "X$arg" : "X\\(.*\\)$as_nl";
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4793 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4794 esac;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4795 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4796 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4797 export as_echo_n_body
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4798 as_echo_n='sh -c $as_echo_n_body as_echo'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4799 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4800 export as_echo_body
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4801 as_echo='sh -c $as_echo_body as_echo'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4802 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4803
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4804 # The user is always right.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4805 if test "${PATH_SEPARATOR+set}" != set; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4806 PATH_SEPARATOR=:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4807 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4808 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4809 PATH_SEPARATOR=';'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4810 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4811 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4812
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4813
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4814 # IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4815 # We need space, tab and new line, in precisely that order. Quoting is
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4816 # there to prevent editors from complaining about space-tab.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4817 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4818 # splitting by setting IFS to empty value.)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4819 IFS=" "" $as_nl"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4820
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4821 # Find who we are. Look in the path if we contain no directory separator.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4822 as_myself=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4823 case $0 in #((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4824 *[\\/]* ) as_myself=$0 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4825 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4826 for as_dir in $PATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4827 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4828 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4829 test -z "$as_dir" && as_dir=.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4830 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4831 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4832 IFS=$as_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4833
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4834 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4835 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4836 # We did not find ourselves, most probably we were run as `sh COMMAND'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4837 # in which case we are not to be found in the path.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4838 if test "x$as_myself" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4839 as_myself=$0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4840 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4841 if test ! -f "$as_myself"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4842 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4843 exit 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4844 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4845
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4846 # Unset variables that we do not need and which cause bugs (e.g. in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4847 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4848 # suppresses any "Segmentation fault" message there. '((' could
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4849 # trigger a bug in pdksh 5.2.14.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4850 for as_var in BASH_ENV ENV MAIL MAILPATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4851 do eval test x\${$as_var+set} = xset \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4852 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4853 done
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4854 PS1='$ '
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4855 PS2='> '
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4856 PS4='+ '
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4857
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4858 # NLS nuisances.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4859 LC_ALL=C
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4860 export LC_ALL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4861 LANGUAGE=C
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4862 export LANGUAGE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4863
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4864 # CDPATH.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4865 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4866
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4867
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4868 # as_fn_error STATUS ERROR [LINENO LOG_FD]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4869 # ----------------------------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4870 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4871 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4872 # script with STATUS, using 1 if that was 0.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4873 as_fn_error ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4874 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4875 as_status=$1; test $as_status -eq 0 && as_status=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4876 if test "$4"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4877 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4878 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4879 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4880 $as_echo "$as_me: error: $2" >&2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4881 as_fn_exit $as_status
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4882 } # as_fn_error
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4883
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4884
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4885 # as_fn_set_status STATUS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4886 # -----------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4887 # Set $? to STATUS, without forking.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4888 as_fn_set_status ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4889 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4890 return $1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4891 } # as_fn_set_status
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4892
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4893 # as_fn_exit STATUS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4894 # -----------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4895 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4896 as_fn_exit ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4897 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4898 set +e
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4899 as_fn_set_status $1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4900 exit $1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4901 } # as_fn_exit
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4902
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4903 # as_fn_unset VAR
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4904 # ---------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4905 # Portably unset VAR.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4906 as_fn_unset ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4907 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4908 { eval $1=; unset $1;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4909 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4910 as_unset=as_fn_unset
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4911 # as_fn_append VAR VALUE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4912 # ----------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4913 # Append the text in VALUE to the end of the definition contained in VAR. Take
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4914 # advantage of any shell optimizations that allow amortized linear growth over
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4915 # repeated appends, instead of the typical quadratic growth present in naive
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4916 # implementations.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4917 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4918 eval 'as_fn_append ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4919 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4920 eval $1+=\$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4921 }'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4922 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4923 as_fn_append ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4924 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4925 eval $1=\$$1\$2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4926 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4927 fi # as_fn_append
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4928
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4929 # as_fn_arith ARG...
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4930 # ------------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4931 # Perform arithmetic evaluation on the ARGs, and store the result in the
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4932 # global $as_val. Take advantage of shells that can avoid forks. The arguments
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4933 # must be portable across $(()) and expr.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4934 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4935 eval 'as_fn_arith ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4936 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4937 as_val=$(( $* ))
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4938 }'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4939 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4940 as_fn_arith ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4941 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4942 as_val=`expr "$@" || test $? -eq 1`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4943 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4944 fi # as_fn_arith
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4945
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4946
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4947 if expr a : '\(a\)' >/dev/null 2>&1 &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4948 test "X`expr 00001 : '.*\(...\)'`" = X001; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4949 as_expr=expr
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4950 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4951 as_expr=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4952 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4953
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4954 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4955 as_basename=basename
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4956 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4957 as_basename=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4958 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4959
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4960 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4961 as_dirname=dirname
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4962 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4963 as_dirname=false
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4964 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4965
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4966 as_me=`$as_basename -- "$0" ||
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4968 X"$0" : 'X\(//\)$' \| \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4969 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4970 $as_echo X/"$0" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4971 sed '/^.*\/\([^/][^/]*\)\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4972 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4973 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4974 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4975 /^X\/\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4976 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4977 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4978 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4979 /^X\/\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4980 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4981 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4982 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4983 s/.*/./; q'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4984
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4985 # Avoid depending upon Character Ranges.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4986 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4987 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4988 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4989 as_cr_digits='0123456789'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4990 as_cr_alnum=$as_cr_Letters$as_cr_digits
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
4991
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4992 ECHO_C= ECHO_N= ECHO_T=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4993 case `echo -n x` in #(((((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4994 -n*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4995 case `echo 'xy\c'` in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4996 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4997 xy) ECHO_C='\c';;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4998 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
4999 ECHO_T=' ';;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5000 esac;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5001 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5002 ECHO_N='-n';;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5003 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5004
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5005 rm -f conf$$ conf$$.exe conf$$.file
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5006 if test -d conf$$.dir; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5007 rm -f conf$$.dir/conf$$.file
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5008 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5009 rm -f conf$$.dir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5010 mkdir conf$$.dir 2>/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5011 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5012 if (echo >conf$$.file) 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5013 if ln -s conf$$.file conf$$ 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5014 as_ln_s='ln -s'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5015 # ... but there are two gotchas:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5016 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5017 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5018 # In both cases, we have to default to `cp -p'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5019 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5020 as_ln_s='cp -p'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5021 elif ln conf$$.file conf$$ 2>/dev/null; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5022 as_ln_s=ln
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5023 else
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5024 as_ln_s='cp -p'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5025 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5026 else
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5027 as_ln_s='cp -p'
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5028 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5029 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5030 rmdir conf$$.dir 2>/dev/null
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5031
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5032
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5033 # as_fn_mkdir_p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5034 # -------------
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5035 # Create "$as_dir" as a directory, including parents if necessary.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5036 as_fn_mkdir_p ()
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5037 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5038
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5039 case $as_dir in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5040 -*) as_dir=./$as_dir;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5041 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5042 test -d "$as_dir" || eval $as_mkdir_p || {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5043 as_dirs=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5044 while :; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5045 case $as_dir in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5046 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5047 *) as_qdir=$as_dir;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5048 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5049 as_dirs="'$as_qdir' $as_dirs"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5050 as_dir=`$as_dirname -- "$as_dir" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5052 X"$as_dir" : 'X\(//\)[^/]' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5053 X"$as_dir" : 'X\(//\)$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5054 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5055 $as_echo X"$as_dir" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5057 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5058 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5059 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5060 /^X\(\/\/\)[^/].*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5061 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5062 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5063 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5064 /^X\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5065 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5066 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5067 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5068 /^X\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5069 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5070 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5071 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5072 s/.*/./; q'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5073 test -d "$as_dir" && break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5074 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5075 test -z "$as_dirs" || eval "mkdir $as_dirs"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5076 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5077
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5078
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5079 } # as_fn_mkdir_p
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5080 if mkdir -p . 2>/dev/null; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5081 as_mkdir_p='mkdir -p "$as_dir"'
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5082 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5083 test -d ./-p && rmdir ./-p
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5084 as_mkdir_p=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5085 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5086
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5087 if test -x / >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5088 as_test_x='test -x'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5089 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5090 if ls -dL / >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5091 as_ls_L_option=L
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5092 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5093 as_ls_L_option=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5094 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5095 as_test_x='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5096 eval sh -c '\''
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5097 if test -d "$1"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5098 test -d "$1/.";
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5099 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5100 case $1 in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5101 -*)set "./$1";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5102 esac;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5103 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5104 ???[sx]*):;;*)false;;esac;fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5105 '\'' sh
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5106 '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5107 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5108 as_executable_p=$as_test_x
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5109
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5110 # Sed expression to map a string onto a valid CPP name.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5111 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5112
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5113 # Sed expression to map a string onto a valid variable name.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5114 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5115
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5116
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5117 exec 6>&1
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5118 ## ----------------------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5119 ## Main body of $CONFIG_STATUS script. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5120 ## ----------------------------------- ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5121 _ASEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5122 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5123
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5125 # Save the log message, to keep $0 and so on meaningful, and to
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5126 # report actual input values of CONFIG_FILES etc. instead of their
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5127 # values after options handling.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5128 ac_log="
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5129 This file was extended by "chrpath" $as_me "0.13", which was
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5130 generated by GNU Autoconf 2.68. Invocation command line was
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5131
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5132 CONFIG_FILES = $CONFIG_FILES
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5133 CONFIG_HEADERS = $CONFIG_HEADERS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5134 CONFIG_LINKS = $CONFIG_LINKS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5135 CONFIG_COMMANDS = $CONFIG_COMMANDS
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5136 $ $0 $@
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5137
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5138 on `(hostname || uname -n) 2>/dev/null | sed 1q`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5139 "
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5140
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5141 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5142
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5143 case $ac_config_files in *"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5144 "*) set x $ac_config_files; shift; ac_config_files=$*;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5145 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5146
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5147 case $ac_config_headers in *"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5148 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5149 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5150
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5151
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5153 # Files that config.status was made for.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5154 config_files="$ac_config_files"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5155 config_headers="$ac_config_headers"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5156 config_commands="$ac_config_commands"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5157
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5158 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5159
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5161 ac_cs_usage="\
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5162 \`$as_me' instantiates files and other configuration actions
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5163 from templates according to the current configuration. Unless the files
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5164 and actions are specified as TAGs, all are instantiated by default.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5165
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5166 Usage: $0 [OPTION]... [TAG]...
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5167
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5168 -h, --help print this help, then exit
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5169 -V, --version print version number and configuration settings, then exit
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5170 --config print configuration, then exit
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5171 -q, --quiet, --silent
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5172 do not print progress messages
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5173 -d, --debug don't remove temporary files
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5174 --recheck update $as_me by reconfiguring in the same conditions
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5175 --file=FILE[:TEMPLATE]
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5176 instantiate the configuration file FILE
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5177 --header=FILE[:TEMPLATE]
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5178 instantiate the configuration header FILE
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5179
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5180 Configuration files:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5181 $config_files
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5182
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5183 Configuration headers:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5184 $config_headers
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5185
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5186 Configuration commands:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5187 $config_commands
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5188
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5189 Report bugs to <pere@hungry.com>."
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5190
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5191 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5193 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5194 ac_cs_version="\\
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5195 "chrpath" config.status "0.13"
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5196 configured by $0, generated by GNU Autoconf 2.68,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5197 with options \\"\$ac_cs_config\\"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5198
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5199 Copyright (C) 2010 Free Software Foundation, Inc.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5200 This config.status script is free software; the Free Software Foundation
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5201 gives unlimited permission to copy, distribute and modify it."
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5202
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5203 ac_pwd='$ac_pwd'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5204 srcdir='$srcdir'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5205 INSTALL='$INSTALL'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5206 MKDIR_P='$MKDIR_P'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5207 AWK='$AWK'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5208 test -n "\$AWK" || AWK=awk
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5209 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5210
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5212 # The default lists apply if the user does not specify any file.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5213 ac_need_defaults=:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5214 while test $# != 0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5215 do
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5216 case $1 in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5217 --*=?*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5218 ac_option=`expr "X$1" : 'X\([^=]*\)='`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5219 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5220 ac_shift=:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5221 ;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5222 --*=)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5223 ac_option=`expr "X$1" : 'X\([^=]*\)='`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5224 ac_optarg=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5225 ac_shift=:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5226 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5227 *)
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5228 ac_option=$1
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5229 ac_optarg=$2
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5230 ac_shift=shift
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5231 ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5232 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5233
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5234 case $ac_option in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5235 # Handling of the options.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5236 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5237 ac_cs_recheck=: ;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5238 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5239 $as_echo "$ac_cs_version"; exit ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5240 --config | --confi | --conf | --con | --co | --c )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5241 $as_echo "$ac_cs_config"; exit ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5242 --debug | --debu | --deb | --de | --d | -d )
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5243 debug=: ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5244 --file | --fil | --fi | --f )
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5245 $ac_shift
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5246 case $ac_optarg in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5247 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5248 '') as_fn_error $? "missing file argument" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5249 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5250 as_fn_append CONFIG_FILES " '$ac_optarg'"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5251 ac_need_defaults=false;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5252 --header | --heade | --head | --hea )
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5253 $ac_shift
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5254 case $ac_optarg in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5255 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5256 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5257 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5258 ac_need_defaults=false;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5259 --he | --h)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5260 # Conflict between --help and --header
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5261 as_fn_error $? "ambiguous option: \`$1'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5262 Try \`$0 --help' for more information.";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5263 --help | --hel | -h )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5264 $as_echo "$ac_cs_usage"; exit ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5266 | -silent | --silent | --silen | --sile | --sil | --si | --s)
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5267 ac_cs_silent=: ;;
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5268
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5269 # This is an error.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5270 -*) as_fn_error $? "unrecognized option: \`$1'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5271 Try \`$0 --help' for more information." ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5272
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5273 *) as_fn_append ac_config_targets " $1"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5274 ac_need_defaults=false ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5275
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5276 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5277 shift
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5278 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5279
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5280 ac_configure_extra_args=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5281
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5282 if $ac_cs_silent; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5283 exec 6>/dev/null
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5284 ac_configure_extra_args="$ac_configure_extra_args --silent"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5285 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5286
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5287 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5289 if \$ac_cs_recheck; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5290 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5291 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5292 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5293 CONFIG_SHELL='$SHELL'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5294 export CONFIG_SHELL
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5295 exec "\$@"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5296 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5297
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5298 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5300 exec 5>>config.log
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5301 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5302 echo
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5303 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5304 ## Running $as_me. ##
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5305 _ASBOX
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5306 $as_echo "$ac_log"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5307 } >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5308
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5309 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5311 #
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5312 # INIT-COMMANDS
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5313 #
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5314 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5315
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5316 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5317
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5319
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5320 # Handling of arguments.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5321 for ac_config_target in $ac_config_targets
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5322 do
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5323 case $ac_config_target in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5324 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5325 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5326 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5327 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5328 "deb/Makefile") CONFIG_FILES="$CONFIG_FILES deb/Makefile" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5329
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5330 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5331 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5332 done
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5333
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5334
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5335 # If the user did not use the arguments to specify the items to instantiate,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5336 # then the envvar interface is used. Set only those that are not.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5337 # We use the long form for the default assignment because of an extremely
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5338 # bizarre bug on SunOS 4.1.3.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5339 if $ac_need_defaults; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5340 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5341 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5342 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5343 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5344
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5345 # Have a temporary directory for convenience. Make it in the build tree
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5346 # simply because there is no reason against having it here, and in addition,
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5347 # creating and moving files from /tmp can sometimes cause problems.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5348 # Hook for its removal unless debugging.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5349 # Note that there is a small window in which the directory will not be cleaned:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5350 # after its creation but before its name has been assigned to `$tmp'.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5351 $debug ||
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5352 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5353 tmp= ac_tmp=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5354 trap 'exit_status=$?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5355 : "${ac_tmp:=$tmp}"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5356 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5357 ' 0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5358 trap 'as_fn_exit 1' 1 2 13 15
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5359 }
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5360 # Create a (secure) tmp directory for tmp files.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5361
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5362 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5363 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5364 test -d "$tmp"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5365 } ||
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5366 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5367 tmp=./conf$$-$RANDOM
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5368 (umask 077 && mkdir "$tmp")
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5369 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5370 ac_tmp=$tmp
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5371
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5372 # Set up the scripts for CONFIG_FILES section.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5373 # No need to generate them if there are no CONFIG_FILES.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5374 # This happens for instance with `./config.status config.h'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5375 if test -n "$CONFIG_FILES"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5376
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5377
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5378 ac_cr=`echo X | tr X '\015'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5379 # On cygwin, bash can eat \r inside `` if the user requested igncr.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5380 # But we know of no other shell where ac_cr would be empty at this
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5381 # point, so we can use a bashism as a fallback.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5382 if test "x$ac_cr" = x; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5383 eval ac_cr=\$\'\\r\'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5384 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5385 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5386 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5387 ac_cs_awk_cr='\\r'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5388 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5389 ac_cs_awk_cr=$ac_cr
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5390 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5391
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5392 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5393 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5394
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5395
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5396 {
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5397 echo "cat >conf$$subs.awk <<_ACEOF" &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5398 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5399 echo "_ACEOF"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5400 } >conf$$subs.sh ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5401 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5402 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5403 ac_delim='%!_!# '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5404 for ac_last_try in false false false false false :; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5405 . ./conf$$subs.sh ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5406 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5407
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5408 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5409 if test $ac_delim_n = $ac_delim_num; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5410 break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5411 elif $ac_last_try; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5412 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5413 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5414 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5415 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5416 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5417 rm -f conf$$subs.sh
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5418
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5420 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5421 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5422 sed -n '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5423 h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5424 s/^/S["/; s/!.*/"]=/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5425 p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5426 g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5427 s/^[^!]*!//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5428 :repl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5429 t repl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5430 s/'"$ac_delim"'$//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5431 t delim
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5432 :nl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5433 h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5434 s/\(.\{148\}\)..*/\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5435 t more1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5436 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5437 p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5438 n
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5439 b repl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5440 :more1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5441 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5442 p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5443 g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5444 s/.\{148\}//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5445 t nl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5446 :delim
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5447 h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5448 s/\(.\{148\}\)..*/\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5449 t more2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5450 s/["\\]/\\&/g; s/^/"/; s/$/"/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5451 p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5452 b
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5453 :more2
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5454 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5455 p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5456 g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5457 s/.\{148\}//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5458 t delim
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5459 ' <conf$$subs.awk | sed '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5460 /^[^""]/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5461 N
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5462 s/\n//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5463 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5464 ' >>$CONFIG_STATUS || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5465 rm -f conf$$subs.awk
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5467 _ACAWK
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5468 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5469 for (key in S) S_is_set[key] = 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5470 FS = ""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5471
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5472 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5473 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5474 line = $ 0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5475 nfields = split(line, field, "@")
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5476 substed = 0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5477 len = length(field[1])
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5478 for (i = 2; i < nfields; i++) {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5479 key = field[i]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5480 keylen = length(key)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5481 if (S_is_set[key]) {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5482 value = S[key]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5483 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5484 len += length(value) + length(field[++i])
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5485 substed = 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5486 } else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5487 len += 1 + keylen
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5488 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5489
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5490 print line
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5491 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5492
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5493 _ACAWK
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5494 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5496 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5497 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5498 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5499 cat
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5500 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5501 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5502 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5503
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5504 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5505 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5506 # trailing colons and then remove the whole line if VPATH becomes empty
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5507 # (actually we leave an empty line to preserve line numbers).
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5508 if test "x$srcdir" = x.; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5509 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5510 h
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5511 s///
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5512 s/^/:/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5513 s/[ ]*$/:/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5514 s/:\$(srcdir):/:/g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5515 s/:\${srcdir}:/:/g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5516 s/:@srcdir@:/:/g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5517 s/^:*//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5518 s/:*$//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5519 x
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5520 s/\(=[ ]*\).*/\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5521 G
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5522 s/\n//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5523 s/^[^=]*=[ ]*$//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5524 }'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5525 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5526
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5528 fi # test -n "$CONFIG_FILES"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5529
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5530 # Set up the scripts for CONFIG_HEADERS section.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5531 # No need to generate them if there are no CONFIG_HEADERS.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5532 # This happens for instance with `./config.status Makefile'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5533 if test -n "$CONFIG_HEADERS"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5534 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5535 BEGIN {
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5536 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5537
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5538 # Transform confdefs.h into an awk script `defines.awk', embedded as
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5539 # here-document in config.status, that substitutes the proper values into
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5540 # config.h.in to produce config.h.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5541
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5542 # Create a delimiter string that does not exist in confdefs.h, to ease
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5543 # handling of long lines.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5544 ac_delim='%!_!# '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5545 for ac_last_try in false false :; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5546 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5547 if test -z "$ac_tt"; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5548 break
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5549 elif $ac_last_try; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5550 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5551 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5552 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5553 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5554 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5555
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5556 # For the awk script, D is an array of macro values keyed by name,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5557 # likewise P contains macro parameters if any. Preserve backslash
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5558 # newline sequences.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5559
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5560 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5561 sed -n '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5562 s/.\{148\}/&'"$ac_delim"'/g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5563 t rset
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5564 :rset
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5565 s/^[ ]*#[ ]*define[ ][ ]*/ /
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5566 t def
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5567 d
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5568 :def
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5569 s/\\$//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5570 t bsnl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5571 s/["\\]/\\&/g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5572 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5573 D["\1"]=" \3"/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5574 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5575 d
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5576 :bsnl
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5577 s/["\\]/\\&/g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5578 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5579 D["\1"]=" \3\\\\\\n"\\/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5580 t cont
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5581 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5582 t cont
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5583 d
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5584 :cont
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5585 n
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5586 s/.\{148\}/&'"$ac_delim"'/g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5587 t clear
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5588 :clear
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5589 s/\\$//
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5590 t bsnlc
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5591 s/["\\]/\\&/g; s/^/"/; s/$/"/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5592 d
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5593 :bsnlc
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5594 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5595 b cont
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5596 ' <confdefs.h | sed '
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5597 s/'"$ac_delim"'/"\\\
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5598 "/g' >>$CONFIG_STATUS || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5599
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5601 for (key in D) D_is_set[key] = 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5602 FS = ""
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5603 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5604 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5605 line = \$ 0
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5606 split(line, arg, " ")
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5607 if (arg[1] == "#") {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5608 defundef = arg[2]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5609 mac1 = arg[3]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5610 } else {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5611 defundef = substr(arg[1], 2)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5612 mac1 = arg[2]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5613 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5614 split(mac1, mac2, "(") #)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5615 macro = mac2[1]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5616 prefix = substr(line, 1, index(line, defundef) - 1)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5617 if (D_is_set[macro]) {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5618 # Preserve the white space surrounding the "#".
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5619 print prefix "define", macro P[macro] D[macro]
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5620 next
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5621 } else {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5622 # Replace #undef with comments. This is necessary, for example,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5623 # in the case of _POSIX_SOURCE, which is predefined and required
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5624 # on some systems where configure will not decide to define it.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5625 if (defundef == "undef") {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5626 print "/*", prefix defundef, macro, "*/"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5627 next
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5628 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5629 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5630 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5631 { print }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5632 _ACAWK
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5633 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5635 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5636 fi # test -n "$CONFIG_HEADERS"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5637
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5638
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5639 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5640 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5641 for ac_tag
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5642 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5643 case $ac_tag in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5644 :[FHLC]) ac_mode=$ac_tag; continue;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5645 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5646 case $ac_mode$ac_tag in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5647 :[FHL]*:*);;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5648 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5649 :[FH]-) ac_tag=-:-;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5650 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5651 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5652 ac_save_IFS=$IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5653 IFS=:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5654 set x $ac_tag
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5655 IFS=$ac_save_IFS
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5656 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5657 ac_file=$1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5658 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5659
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5660 case $ac_mode in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5661 :L) ac_source=$1;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5662 :[FH])
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5663 ac_file_inputs=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5664 for ac_f
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5665 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5666 case $ac_f in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5667 -) ac_f="$ac_tmp/stdin";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5668 *) # Look for the file first in the build tree, then in the source tree
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5669 # (if the path is not absolute). The absolute path cannot be DOS-style,
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5670 # because $ac_f cannot contain `:'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5671 test -f "$ac_f" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5672 case $ac_f in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5673 [\\/$]*) false;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5674 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5675 esac ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5676 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5677 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5678 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5679 as_fn_append ac_file_inputs " '$ac_f'"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5680 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5681
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5682 # Let's still pretend it is `configure' which instantiates (i.e., don't
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5683 # use $as_me), people would be surprised to read:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5684 # /* config.h. Generated by config.status. */
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5685 configure_input='Generated from '`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5686 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5687 `' by configure.'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5688 if test x"$ac_file" != x-; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5689 configure_input="$ac_file. $configure_input"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5691 $as_echo "$as_me: creating $ac_file" >&6;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5692 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5693 # Neutralize special characters interpreted by sed in replacement strings.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5694 case $configure_input in #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5695 *\&* | *\|* | *\\* )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5696 ac_sed_conf_input=`$as_echo "$configure_input" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5697 sed 's/[\\\\&|]/\\\\&/g'`;; #(
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5698 *) ac_sed_conf_input=$configure_input;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5699 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5700
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5701 case $ac_tag in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5702 *:-:* | *:-) cat >"$ac_tmp/stdin" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5704 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5705 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5706 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5707
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5708 ac_dir=`$as_dirname -- "$ac_file" ||
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5709 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5710 X"$ac_file" : 'X\(//\)[^/]' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5711 X"$ac_file" : 'X\(//\)$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5712 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5713 $as_echo X"$ac_file" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5715 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5716 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5717 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5718 /^X\(\/\/\)[^/].*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5719 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5720 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5721 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5722 /^X\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5723 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5724 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5725 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5726 /^X\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5727 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5728 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5729 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5730 s/.*/./; q'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5731 as_dir="$ac_dir"; as_fn_mkdir_p
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5732 ac_builddir=.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5733
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5734 case "$ac_dir" in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5736 *)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5738 # A ".." for each directory in $ac_dir_suffix.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5740 case $ac_top_builddir_sub in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5743 esac ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5744 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5745 ac_abs_top_builddir=$ac_pwd
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5747 # for backward compatibility:
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5748 ac_top_builddir=$ac_top_build_prefix
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5749
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5750 case $srcdir in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5751 .) # We are building in place.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5752 ac_srcdir=.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5753 ac_top_srcdir=$ac_top_builddir_sub
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5754 ac_abs_top_srcdir=$ac_pwd ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5755 [\\/]* | ?:[\\/]* ) # Absolute name.
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5756 ac_srcdir=$srcdir$ac_dir_suffix;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5757 ac_top_srcdir=$srcdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5758 ac_abs_top_srcdir=$srcdir ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5759 *) # Relative name.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5761 ac_top_srcdir=$ac_top_build_prefix$srcdir
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5763 esac
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5765
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5766
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5767 case $ac_mode in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5768 :F)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5769 #
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5770 # CONFIG_FILE
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5771 #
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5772
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5773 case $INSTALL in
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5774 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5775 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5776 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5777 ac_MKDIR_P=$MKDIR_P
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5778 case $MKDIR_P in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5779 [\\/$]* | ?:[\\/]* ) ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5780 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5781 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5782 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5783
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5785 # If the template does not know about datarootdir, expand it.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5786 # FIXME: This hack should be removed a few years after 2.60.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5787 ac_datarootdir_hack=; ac_datarootdir_seen=
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5788 ac_sed_dataroot='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5789 /datarootdir/ {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5790 p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5791 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5792 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5793 /@datadir@/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5794 /@docdir@/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5795 /@infodir@/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5796 /@localedir@/p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5797 /@mandir@/p'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5798 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5799 *datarootdir*) ac_datarootdir_seen=yes;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5800 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5802 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5803 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5805 ac_datarootdir_hack='
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5806 s&@datadir@&$datadir&g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5807 s&@docdir@&$docdir&g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5808 s&@infodir@&$infodir&g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5809 s&@localedir@&$localedir&g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5810 s&@mandir@&$mandir&g
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5811 s&\\\${datarootdir}&$datarootdir&g' ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5812 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5813 _ACEOF
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5814
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5815 # Neutralize VPATH when `$srcdir' = `.'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5816 # Shell code in configure.ac might set extrasub.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5817 # FIXME: do we really want to maintain this feature?
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5819 ac_sed_extra="$ac_vpsub
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5820 $extrasub
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5821 _ACEOF
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5823 :t
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5824 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5825 s|@configure_input@|$ac_sed_conf_input|;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5826 s&@top_builddir@&$ac_top_builddir_sub&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5827 s&@top_build_prefix@&$ac_top_build_prefix&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5828 s&@srcdir@&$ac_srcdir&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5829 s&@abs_srcdir@&$ac_abs_srcdir&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5830 s&@top_srcdir@&$ac_top_srcdir&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5831 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5832 s&@builddir@&$ac_builddir&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5833 s&@abs_builddir@&$ac_abs_builddir&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5834 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5835 s&@INSTALL@&$ac_INSTALL&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5836 s&@MKDIR_P@&$ac_MKDIR_P&;t t
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5837 $ac_datarootdir_hack
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5838 "
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5839 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5840 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5841
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5842 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5843 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5844 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5845 "$ac_tmp/out"`; test -z "$ac_out"; } &&
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5847 which seems to be undefined. Please make sure it is defined" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5848 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5849 which seems to be undefined. Please make sure it is defined" >&2;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5850
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5851 rm -f "$ac_tmp/stdin"
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5852 case $ac_file in
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5853 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5854 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5855 esac \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5856 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5857 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5858 :H)
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5859 #
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5860 # CONFIG_HEADER
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5861 #
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5862 if test x"$ac_file" != x-; then
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5863 {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5864 $as_echo "/* $configure_input */" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5865 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5866 } >"$ac_tmp/config.h" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5868 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5870 $as_echo "$as_me: $ac_file is unchanged" >&6;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5871 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5872 rm -f "$ac_file"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5873 mv "$ac_tmp/config.h" "$ac_file" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5874 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5875 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5876 else
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5877 $as_echo "/* $configure_input */" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5878 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5879 || as_fn_error $? "could not create -" "$LINENO" 5
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5880 fi
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5881 # Compute "$ac_file"'s index in $config_headers.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5882 _am_arg="$ac_file"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5883 _am_stamp_count=1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5884 for _am_header in $config_headers :; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5885 case $_am_header in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5886 $_am_arg | $_am_arg:* )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5887 break ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5888 * )
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5889 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5890 esac
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
5891 done
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5892 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5893 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5894 X"$_am_arg" : 'X\(//\)[^/]' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5895 X"$_am_arg" : 'X\(//\)$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5896 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5897 $as_echo X"$_am_arg" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5899 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5900 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5901 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5902 /^X\(\/\/\)[^/].*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5903 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5904 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5905 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5906 /^X\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5907 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5908 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5909 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5910 /^X\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5911 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5912 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5913 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5914 s/.*/./; q'`/stamp-h$_am_stamp_count
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5915 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5916
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5917 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5918 $as_echo "$as_me: executing $ac_file commands" >&6;}
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5919 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5920 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5921
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5922
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5923 case $ac_file$ac_mode in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5924 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5925 # Autoconf 2.62 quotes --file arguments for eval, but not when files
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5926 # are listed without --file. Let's play safe and only enable the eval
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5927 # if we detect the quoting.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5928 case $CONFIG_FILES in
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5929 *\'*) eval set x "$CONFIG_FILES" ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5930 *) set x $CONFIG_FILES ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5931 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5932 shift
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5933 for mf
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5934 do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5935 # Strip MF so we end up with the name of the file.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5936 mf=`echo "$mf" | sed -e 's/:.*$//'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5937 # Check whether this is an Automake generated Makefile or not.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5938 # We used to match only the files named `Makefile.in', but
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5939 # some people rename them; so instead we look at the file content.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5940 # Grep'ing the first line is not enough: some people post-process
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5941 # each Makefile.in and add a new line on top of each file to say so.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5942 # Grep'ing the whole file is not good either: AIX grep has a line
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5943 # limit of 2048, but all sed's we know have understand at least 4000.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5944 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5945 dirpart=`$as_dirname -- "$mf" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5946 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5947 X"$mf" : 'X\(//\)[^/]' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5948 X"$mf" : 'X\(//\)$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5949 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5950 $as_echo X"$mf" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5952 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5953 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5954 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5955 /^X\(\/\/\)[^/].*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5956 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5957 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5958 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5959 /^X\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5960 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5961 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5962 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5963 /^X\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5964 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5965 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5966 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5967 s/.*/./; q'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5968 else
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5969 continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5970 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5971 # Extract the definition of DEPDIR, am__include, and am__quote
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5972 # from the Makefile without running `make'.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5973 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5974 test -z "$DEPDIR" && continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5975 am__include=`sed -n 's/^am__include = //p' < "$mf"`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5976 test -z "am__include" && continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5977 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5978 # When using ansi2knr, U may be empty or an underscore; expand it
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5979 U=`sed -n 's/^U = //p' < "$mf"`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5980 # Find all dependency output files, they are included files with
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5981 # $(DEPDIR) in their names. We invoke sed twice because it is the
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5982 # simplest approach to changing $(DEPDIR) to its actual value in the
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5983 # expansion.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5984 for file in `sed -n "
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5985 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5986 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5987 # Make sure the directory exists.
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5988 test -f "$dirpart/$file" && continue
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5989 fdir=`$as_dirname -- "$file" ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5990 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5991 X"$file" : 'X\(//\)[^/]' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5992 X"$file" : 'X\(//\)$' \| \
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5993 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5994 $as_echo X"$file" |
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5996 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5997 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5998 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
5999 /^X\(\/\/\)[^/].*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6000 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6001 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6002 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6003 /^X\(\/\/\)$/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6004 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6005 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6006 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6007 /^X\(\/\).*/{
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6008 s//\1/
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6009 q
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6010 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6011 s/.*/./; q'`
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6012 as_dir=$dirpart/$fdir; as_fn_mkdir_p
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6013 # echo "creating $dirpart/$file"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6014 echo '# dummy' > "$dirpart/$file"
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6015 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6016 done
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6017 }
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6018 ;;
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6019
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6020 esac
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6021 done # for ac_tag
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6022
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6023
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6024 as_fn_exit 0
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6025 _ACEOF
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6026 ac_clean_files=$ac_clean_files_save
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6027
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6028 test $ac_write_fail = 0 ||
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6029 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6030
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6031
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6032 # configure is writing to config.log, and then calls config.status.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6033 # config.status does its own redirection, appending to config.log.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6034 # Unfortunately, on DOS this fails, as config.log is still kept open
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6035 # by configure, so config.status won't be able to write to it; its
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6036 # output is simply discarded. So we exec the FD to /dev/null,
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6037 # effectively closing config.log, so it can be properly (re)opened and
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6038 # appended to by config.status. When coming back to configure, we
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6039 # need to make the FD available again.
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6040 if test "$no_create" != yes; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6041 ac_cs_success=:
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6042 ac_config_status_args=
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6043 test "$silent" = yes &&
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6044 ac_config_status_args="$ac_config_status_args --quiet"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6045 exec 5>/dev/null
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6046 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6047 exec 5>>config.log
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6048 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6049 # would make configure fail if this is the last instruction.
1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6050 $ac_cs_success || as_fn_exit 1
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6051 fi
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6052 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
bbbfb3f97919 implement 32 and 64 bit support
Peter Meerwald <p.meerwald@bct-electronic.com>
parents: 0
diff changeset
6054 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
0
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6055 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6056
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6057
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6058 if test ! -d debian ; then
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6059 ln -s deb debian
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6060 fi
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6061
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6062 echo "Configure status:"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6063 echo "-----------------"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6064 echo " CC = $CC"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6065 echo " CFLAGS = $CFLAGS"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6066 echo " LDRPATH= $LDRPATH"
b8f7423e385c import 0.13
Peter Meerwald <pmeerw@pmeerw.net>
parents:
diff changeset
6067 echo

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.