Various changes
[deliverable/binutils-gdb.git] / sim / ppc / configure.in
CommitLineData
cb7a6892
MM
1dnl Process this file with autoconf to produce a configure script.
2AC_PREREQ(2.3)dnl
3AC_INIT(Makefile.in)
4
c494cadd 5AC_ARG_ENABLE(sim-cflags,
73c4941b 6[ --enable-sim-cflags=opts Extra CFLAGS for use in building simulator],
c494cadd
MM
7[case "${enableval}" in
8 yes) sim_cflags="-O2 -fomit-frame-pointer";;
9 no) sim_cflags="";;
e61900e6 10 *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
ba62bb1c 11esac
2bc7869d 12if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
ba62bb1c
MM
13 echo "Setting sim cflags = $sim_cflags" 6>&1
14fi],[sim_cflags=""])dnl
c494cadd 15
73c4941b 16AC_ARG_ENABLE(sim-warnings,
c5addc19 17[ --enable-sim-warnings=opts Extra CFLAGS for turning on compiler warnings except for idecode.o, semantics.o and psim.o],
73c4941b 18[case "${enableval}" in
c5addc19 19 yes) sim_warnings="-Wall -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations";;
73c4941b
MM
20 no) sim_warnings="-w";;
21 *) sim_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
ba62bb1c 22esac
2bc7869d 23if test x"$silent" != x"yes" && test x"$sim_warnings" != x""; then
ba62bb1c
MM
24 echo "Setting warning flags = $sim_warnings" 6>&1
25fi],[sim_warnings=""])dnl
73c4941b 26
c494cadd 27AC_ARG_ENABLE(sim-config,
73c4941b 28[ --enable-sim-config=file Override default config file],
c494cadd 29[case "${enableval}" in
a3114052 30 yes|no) AC_MSG_ERROR("No value supplied for --enable-sim-config=file");;
813ad010 31 *) if test -f "${srcdir}/${enableval}"; then
a3114052 32 sim_config="${enableval}";
813ad010 33 elif test -f "${srcdir}/${enableval}-config.h"; then
a3114052
MM
34 sim_config="${enableval}-config.h"
35 else
36 AC_MSG_ERROR("Config file $enableval was not found");
37 sim_config=std-config.h
38 fi;;
ba62bb1c 39esac
2bc7869d 40if test x"$silent" != x"yes" && test x"$sim_config" != x""; then
ba62bb1c 41 echo "Setting config flags = $sim_config" 6>&1
a3114052
MM
42fi],[sim_config="std-config.h"
43if test x"$silent" != x"yes"; then
44 echo "Setting config flags = $sim_config" 6>&1
45fi])dnl
c494cadd
MM
46
47AC_ARG_ENABLE(sim-opcode,
73c4941b 48[ --enable-sim-opcode=which Override default opcode lookup.],
c494cadd 49[case "${enableval}" in
a3114052 50 yes|no) AC_MSG_ERROR("No value supplied for --enable-sim-opcode=file");;
813ad010 51 *) if test -f "${srcdir}/${enableval}"; then
a3114052 52 sim_opcode="${enableval}"
813ad010 53 elif test -f "${srcdir}/ppc-opcode-${enableval}"; then
a3114052
MM
54 sim_opcode="ppc-opcode-${enableval}"
55 else
56 AC_MSG_ERROR("File $enableval is not an opcode rules file");
57 sim_opcode="ppc-opcode-complex"
58 fi;;
ba62bb1c 59esac
2bc7869d 60if test x"$silent" != x"yes" && test x"$sim_opcode" != x""; then
ba62bb1c 61 echo "Setting opcode flags = $sim_opcode" 6>&1
a3114052
MM
62fi],[sim_opcode="ppc-opcode-complex"
63if test x"$silent" != x"yes"; then
64 echo "Setting opcode flags = $sim_opcode"
65fi])dnl
c494cadd
MM
66
67AC_ARG_ENABLE(sim-switch,
73c4941b 68[ --enable-sim-switch Use a switch instead of a table for instruction call.],
c494cadd
MM
69[case "${enableval}" in
70 yes) sim_switch="-s";;
a3114052
MM
71 no) sim_switch="";;
72 *) AC_MSG_ERROR("--enable-sim-switch does not take a value"); sim_switch="";;
ba62bb1c 73esac
2bc7869d 74if test x"$silent" != x"yes" && test x"$sim_switch" != x""; then
ba62bb1c 75 echo "Setting switch flags = $sim_switch" 6>&1
2bc7869d
MM
76fi],[sim_switch="-s";
77if test x"$silent" != x"yes"; then
78 echo "Setting switch flags = $sim_switch" 6>&1
79fi])dnl
c494cadd
MM
80
81AC_ARG_ENABLE(sim-duplicate,
73c4941b 82[ --enable-sim-duplicate Expand (duplicate) semantic functions.],
c494cadd 83[case "${enableval}" in
a3114052
MM
84 yes) sim_dup="-e";;
85 no) sim_dup="";;
86 *) AC_MSG_ERROR("--enable-sim-duplicate does not take a value"); sim_dup="";;
ba62bb1c 87esac
2bc7869d 88if test x"$silent" != x"yes" && test x"$sim_dup" != x""; then
ba62bb1c 89 echo "Setting duplicate flags = $sim_dup" 6>&1
2bc7869d
MM
90fi],[sim_dup="-e"
91if test x"$silent" != x"yes"; then
92 echo "Setting duplicate flags = $sim_dup" 6>&1
93fi])dnl
c494cadd
MM
94
95AC_ARG_ENABLE(sim-filter,
73c4941b 96[ --enable-sim-filter=rule Specify filter rules.],
c494cadd 97[case "${enableval}" in
a3114052
MM
98 yes) AC_MSG_ERROR("--enable-sim-filter must be specified with a rule to filter or no"); sim_filter="";;
99 no) sim_filter="";;
100 *) sim_filter="-f $enableval";;
ba62bb1c 101esac
2bc7869d 102if test x"$silent" != x"yes" && test x"$sim_filter" != x""; then
ba62bb1c 103 echo "Setting filter flags = $sim_filter" 6>&1
2bc7869d
MM
104fi],[sim_filter="-f 64"
105if test x"$silent" != x"yes"; then
106 echo "Setting filter flags = $sim_filter" 6>&1
107fi])dnl
c494cadd
MM
108
109AC_ARG_ENABLE(sim-icache,
73c4941b 110[ --enable-sim-icache=size Specify instruction cache size.],
c05c182d 111icache=""
c494cadd 112[case "${enableval}" in
c05c182d 113 yes) sim_icache="-r 1024"; icache="1024";;
a3114052 114 no) sim_icache="";;
c05c182d
MM
115 *) sim_icache="-r ${enableval}"; icache="${enableval}";;
116esac
117if test x"$silent" != x"yes" && test x"$icache" != x""; then
118 echo "Setting instruction cache size to $icache"
119fi],[sim_icache="-r 1024"
120if test x"$silent" != x"yes"; then
121 echo "Setting instruction cache size to 1024"
122fi])dnl
c494cadd
MM
123
124AC_ARG_ENABLE(sim-inline,
73c4941b 125[ --enable-sim-inline=inlines Specify which functions should be inlined.],
c494cadd
MM
126[sim_inline=""
127case "$enableval" in
b3737d33
MM
128 no) sim_inline="";;
129 0) sim_inline="-DDEFAULT_INLINE=0";;
130 yes | 2) sim_inline="-DDEFAULT_INLINE=2";;
131 1) sim_inline="-DDEFAULT_INLINE=1";;
c494cadd
MM
132 *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
133 new_flag=""
134 case "$x" in
135 *_INLINE=*) new_flag="-D$x";;
136 *_INLINE) new_flag="-D$x=2";;
c05c182d 137 *=*) new_flag=`echo "$x" | sed -e "s/=/_INLINE=/" -e "s/^/-D/"`;;
c494cadd
MM
138 *) new_flag="-D$x""_INLINE=2";;
139 esac
c05c182d 140 if test x"$sim_inline" = x""; then
c494cadd
MM
141 sim_inline="$new_flag"
142 else
c05c182d 143 sim_inline="$sim_inline $new_flag"
c494cadd
MM
144 fi
145 done;;
ba62bb1c 146esac
2bc7869d 147if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
ba62bb1c
MM
148 echo "Setting inline flags = $sim_inline" 6>&1
149fi],[if test x"$GCC" != ""; then
b51e5b4f 150 sim_inline="-DDEFAULT_INLINE=1"
2bc7869d
MM
151 if test x"$silent" != x"yes"; then
152 echo "Setting inline flags = $sim_inline" 6>&1
153 fi
ba62bb1c
MM
154else
155 sim_inline=""
156fi])dnl
c494cadd
MM
157
158AC_ARG_ENABLE(sim-bswap,
73c4941b 159[ --enable-sim-bswap Use the BSWAP instruction on Intel 486s and Pentiums.],
c494cadd
MM
160[case "${enableval}" in
161 yes) sim_bswap="-DWITH_BSWAP=1";;
162 no) sim_bswap="-DWITH_BSWAP=0";;
a3114052 163 *) AC_MSG_ERROR("--enable-sim-bswap does not take a value"); sim_bswap="";;
ba62bb1c 164esac
2bc7869d 165if test x"$silent" != x"yes" && test x"$sim_bswap" != x""; then
ba62bb1c
MM
166 echo "Setting bswap flags = $sim_bswap" 6>&1
167fi],[sim_bswap=""])dnl
c494cadd
MM
168
169AC_ARG_ENABLE(sim-endian,
73c4941b 170[ --enable-sim-endian=endian Specify target byte endian orientation.],
c494cadd
MM
171[case "${enableval}" in
172 yes) case "$target" in
173 *powerpc-*) sim_endian="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
174 *powerpcle-*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
175 *) echo "Unknown target $target" 1>&6; sim_endian="-DWITH_TARGET_BYTE_ORDER=0";;
176 esac;;
177 no) sim_endian="-DWITH_TARGET_BYTE_ORDER=0";;
178 b*|B*) sim_endian="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN";;
179 l*|L*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
a3114052 180 *) AC_MSG_ERROR("Unknown value $enableval for --enable-sim-endian"); sim_endian="";;
ba62bb1c 181esac
2bc7869d 182if test x"$silent" != x"yes" && test x"$sim_endian" != x""; then
ba62bb1c
MM
183 echo "Setting endian flags = $sim_endian" 6>&1
184fi],[sim_endian=""])dnl
c494cadd
MM
185
186AC_ARG_ENABLE(sim-hostendian,
73c4941b 187[ --enable-sim-hostendain=end Specify host byte endian orientation.],
c494cadd
MM
188[case "${enableval}" in
189 no) sim_hostendian="-DWITH_HOST_BYTE_ORDER=0";;
190 b*|B*) sim_hostendian="-DWITH_HOST_BYTE_ORDER=BIG_ENDIAN";;
191 l*|L*) sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
a3114052 192 *) AC_MSG_ERROR("Unknown value $enableval for --enable-sim-hostendian"); sim_hostendian="";;
ba62bb1c 193esac
2bc7869d 194if test x"$silent" != x"yes" && test x"$sim_hostendian" != x""; then
ba62bb1c
MM
195 echo "Setting hostendian flags = $sim_hostendian" 6>&1
196fi],[sim_hostendian=""])dnl
c494cadd
MM
197
198AC_ARG_ENABLE(sim-smp,
73c4941b 199[ --enable-sim-smp=n Specify number of processors to configure for.],
c494cadd
MM
200[case "${enableval}" in
201 yes) sim_smp="-DWITH_SMP=2";;
202 no) sim_smp="-DWITH_SMP=0";;
203 *) sim_smp="-DWITH_SMP=$enableval";;
ba62bb1c 204esac
2bc7869d 205if test x"$silent" != x"yes" && test x"$sim_smp" != x""; then
ba62bb1c 206 echo "Setting smp flags = $sim_smp" 6>&1
2bc7869d
MM
207fi],[sim_smp="-DWITH_SMP=0"
208if test x"$silent" != x"yes"; then
209 echo "Setting smp flags = $sim_smp" 6>&1
210fi])dnl
c494cadd
MM
211
212AC_ARG_ENABLE(sim-bitsize,
73c4941b 213[ --enable-sim-bitsize=n Specify target bitsize (32 or 64).],
c494cadd 214[case "${enableval}" in
a3114052
MM
215 32|64) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
216 *) AC_MSG_ERROR("--enable-sim-bitsize was given $enableval, expected 32 or 64"); sim_bitsize="";;
ba62bb1c 217esac
2bc7869d 218if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
ba62bb1c
MM
219 echo "Setting bitsize flags = $sim_bitsize" 6>&1
220fi],[sim_bitsize=""])dnl
c494cadd
MM
221
222AC_ARG_ENABLE(sim-hostbitsize,
a3114052 223[ --enable-sim-hostbitsize=32|64 Specify host bitsize (32 or 64).],
c494cadd 224[case "${enableval}" in
a3114052
MM
225 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
226 *) AC_MSG_ERROR("--enable-sim-hostbitsize was given $enableval, expected 32 or 64"); sim_hostbitsize="";;
ba62bb1c 227esac
2bc7869d 228if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
ba62bb1c
MM
229 echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
230fi],[sim_hostbitsize=""])dnl
c494cadd
MM
231
232AC_ARG_ENABLE(sim-env,
73c4941b 233[ --enable-sim-env=env Specify target environment (operating, virtual, user).],
c494cadd
MM
234[case "${enableval}" in
235 operating | os | oea) sim_env="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT";;
236 virtual | vea) sim_env="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT";;
237 user | uea) sim_env="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
a3114052
MM
238 no) sim_env="-DWITH_ENVIRONMENT=0";;
239 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-env"); sim_env="";;
ba62bb1c 240esac
2bc7869d 241if test x"$silent" != x"yes" && test x"$sim_env" != x""; then
ba62bb1c
MM
242 echo "Setting env flags = $sim_env" 6>&1
243fi],[sim_env=""])dnl
c494cadd
MM
244
245AC_ARG_ENABLE(sim-timebase,
73c4941b 246[ --enable-sim-timebase Specify whether the PPC timebase is supported.],
c494cadd
MM
247[case "${enableval}" in
248 yes) sim_timebase="-DWITH_TIME_BASE=1";;
249 no) sim_timebase="-DWITH_TIME_BASE=0";;
a3114052 250 *) AC_MSG_ERROR("--enable-sim-timebase does not take a value"); sim_timebase="";;
ba62bb1c 251esac
2bc7869d 252if test x"$silent" != x"yes" && test x"$sim_timebase" != x""; then
ba62bb1c
MM
253 echo "Setting timebase flags = $sim_timebase" 6>&1
254fi],[sim_timebase=""])dnl
c494cadd
MM
255
256AC_ARG_ENABLE(sim-alignment,
73c4941b 257[ --enable-sim-alignment=align Specify strict or nonstrict alignment.],
c494cadd
MM
258[case "${enableval}" in
259 yes | strict | STRICT) sim_alignment="-DWITH_ALIGNMENT=STRICT_ALIGNMENT";;
ba62bb1c 260 no | nonstrict | NONSTRICT) sim_alignment="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
a3114052 261 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-alignment"); sim_alignment="";;
ba62bb1c 262esac
2bc7869d 263if test x"$silent" != x"yes" && test x"$sim_alignment" != x""; then
ba62bb1c
MM
264 echo "Setting alignment flags = $sim_alignment" 6>&1
265fi],[sim_alignment=""])dnl
c494cadd
MM
266
267AC_ARG_ENABLE(sim-trace,
73c4941b 268[ --enable-sim-trace Specify whether tracing is supported.],
c494cadd
MM
269[case "${enableval}" in
270 yes) sim_trace="-DWITH_TRACE=1";;
271 no) sim_trace="-DWITH_TRACE=0";;
a3114052 272 *) AC_MSG_ERROR("--enable-sim-trace does not take a value"); sim_trace="";;
ba62bb1c 273esac
2bc7869d 274if test x"$silent" != x"yes" && test x"$sim_trace" != x""; then
ba62bb1c
MM
275 echo "Setting trace flags = $sim_trace" 6>&1
276fi],[sim_trace=""])dnl
c494cadd
MM
277
278AC_ARG_ENABLE(sim-assert,
73c4941b 279[ --enable-sim-assert Specify whether to perform random assertions.],
c494cadd
MM
280[case "${enableval}" in
281 yes) sim_assert="-DWITH_ASSERT=1";;
282 no) sim_assert="-DWITH_ASSERT=0";;
a3114052 283 *) AC_MSG_ERROR("--enable-sim-assert does not take a value"); sim_assert="";;
ba62bb1c 284esac
2bc7869d 285if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
ba62bb1c
MM
286 echo "Setting assert flags = $sim_assert" 6>&1
287fi],[sim_assert=""])dnl
c494cadd 288
a3114052
MM
289AC_ARG_ENABLE(sim-reserved-bits,
290[ --enable-sim-reserved-bits Specify whether to check reserved bits in instruction.],
291[case "${enableval}" in
292 yes) sim_reserved="-DWITH_RESERVED_BITS=1";;
293 no) sim_reserved="-DWITH_RESERVED_BITS=0";;
294 *) AC_MSG_ERROR("--enable-sim-reserved-bits does not take a value"); sim_reserved="";;
295esac
296if test x"$silent" != x"yes" && test x"$sim_reserved" != x""; then
297 echo "Setting reserved flags = $sim_reserved" 6>&1
298fi],[sim_reserved=""])dnl
299
c494cadd 300AC_ARG_ENABLE(sim-float,
73c4941b 301[ --enable-sim-float Specify whether to use host floating point or simulate.],
c494cadd
MM
302[case "${enableval}" in
303 yes | hard) sim_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";;
304 no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
a3114052 305 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-float"); sim_float="";;
ba62bb1c 306esac
2bc7869d 307if test x"$silent" != x"yes" && test x"$sim_float" != x""; then
ba62bb1c
MM
308 echo "Setting float flags = $sim_float" 6>&1
309fi],[sim_float=""])dnl
c494cadd
MM
310
311AC_ARG_ENABLE(sim-monitor,
73c4941b 312[ --enable-sim-monitor=mon Specify whether to enable monitoring events.],
c494cadd
MM
313[case "${enableval}" in
314 yes) sim_mon="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";;
315 no) sim_mon="-DWITH_MON=0";;
316 instruction) sim_mon="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";;
317 memory) sim_mon="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
a3114052 318 *) AC_MSG_ERROR("Unknown value $enableval passed to --enable-sim-mon"); sim_env="";;
ba62bb1c 319esac
2bc7869d 320if test x"$silent" != x"yes" && test x"$sim_mon" != x""; then
ba62bb1c
MM
321 echo "Setting monitor flags = $sim_mon" 6>&1
322fi],[sim_mon=""])dnl
c494cadd 323
73c4941b
MM
324AC_ARG_ENABLE(sim-function-unit,
325[ --enable-sim-function-unit Specify whether detailed functional unit support is built.],
326[case "${enableval}" in
327 yes) sim_func="-DWITH_FUNCTION_UNIT=1";;
328 no) sim_func="-DWITH_FUNCTION_UNIT=0";;
a3114052 329 *) AC_MSG_ERROR("--enable-sim-function-unit does not take a value"); sim_func="";;
ba62bb1c 330esac
2bc7869d 331if test x"$silent" != x"yes" && test x"$sim_func" != x""; then
ba62bb1c
MM
332 echo "Setting function-unit flags = $sim_func" 6>&1
333fi],[sim_func=""])dnl
73c4941b
MM
334
335AC_ARG_ENABLE(sim-model,
336[ --enable-sim-model=which Specify PowerPC to model.],
337[case "${enableval}" in
a3114052
MM
338 yes|no) AC_MSG_ERROR("No value supplied for --enable-sim-model=model");;
339 *) sim_model="-DWITH_MODEL=${enableval}";;
ba62bb1c 340esac
2bc7869d 341if test x"$silent" != x"yes" && test x"$sim_model" != x""; then
ba62bb1c
MM
342 echo "Setting model flags = $sim_model" 6>&1
343fi],[sim_model=""])dnl
73c4941b
MM
344
345AC_ARG_ENABLE(sim-default-model,
346[ --enable-sim-default-model=which Specify default PowerPC to model.],
347[case "${enableval}" in
a3114052
MM
348 yes|no) AC_MSG_ERROR("No value supplied for --enable-sim-default-model=model");;
349 *) sim_default_model="-DWITH_DEFAULT_MODEL=${enableval}";;
ba62bb1c 350esac
2bc7869d 351if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
ba62bb1c
MM
352 echo "Setting default-model flags = $sim_default_model" 6>&1
353fi],[sim_model=""])dnl
8b3797aa 354
cb7a6892
MM
355AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
356AC_CANONICAL_SYSTEM
357AC_ARG_PROGRAM
358
359. ${srcdir}/../../bfd/configure.host
360
ba62bb1c
MM
361AC_CONFIG_HEADER(config.h:config.in)
362
8b3797aa
MM
363AC_PROG_CC
364AC_SUBST(CFLAGS)
365AC_SUBST(HDEFINES)
366AR=${AR-ar}
367AC_SUBST(AR)
368AC_PROG_RANLIB
c494cadd 369AC_SUBST(sim_cflags)
73c4941b 370AC_SUBST(sim_warnings)
c494cadd
MM
371AC_SUBST(sim_config)
372AC_SUBST(sim_opcode)
373AC_SUBST(sim_switch)
374AC_SUBST(sim_dup)
375AC_SUBST(sim_filter)
376AC_SUBST(sim_icache)
377AC_SUBST(sim_inline)
378AC_SUBST(sim_bswap)
379AC_SUBST(sim_endian)
380AC_SUBST(sim_hostendian)
381AC_SUBST(sim_smp)
382AC_SUBST(sim_bitsize)
383AC_SUBST(sim_hostbitsize)
384AC_SUBST(sim_env)
385AC_SUBST(sim_timebase)
386AC_SUBST(sim_alignment)
387AC_SUBST(sim_float)
388AC_SUBST(sim_trace)
389AC_SUBST(sim_assert)
a3114052 390AC_SUBST(sim_reserved)
c494cadd 391AC_SUBST(sim_monitor)
73c4941b
MM
392AC_SUBST(sim_func)
393AC_SUBST(sim_model)
394AC_SUBST(sim_default_model)
c494cadd
MM
395
396AC_CHECK_FUNCS(getrusage)
8b3797aa
MM
397
398# Put a plausible default for CC_FOR_BUILD in Makefile.
399AC_C_CROSS
400if test "x$cross_compiling" = "xno"; then
401 CC_FOR_BUILD='$(CC)'
cb7a6892 402else
8b3797aa 403 CC_FOR_BUILD=gcc
cb7a6892 404fi
8b3797aa 405AC_SUBST(CC_FOR_BUILD)
cb7a6892 406
c494cadd 407AC_CHECK_HEADERS(string.h strings.h stdlib.h time.h sys/times.h unistd.h sys/resource.h)
cb7a6892 408
8b3797aa
MM
409AC_OUTPUT(Makefile,
410[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
This page took 0.052822 seconds and 4 git commands to generate.