File: configure.in

package info (click to toggle)
pearpc 0.4.0-5
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 5,516 kB
  • ctags: 11,829
  • sloc: cpp: 70,347; ansic: 8,830; sh: 3,419; asm: 2,097; lex: 321; makefile: 283; yacc: 195
file content (520 lines) | stat: -rw-r--r-- 14,819 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/system/types.h)

PACKAGE=pearpc
VERSION=0.4

dnl Check the system.
AC_CANONICAL_SYSTEM

AC_SUBST(PACKAGE)
AC_SUBST(VERSION)

AC_ARG_ENABLE(release,
	[  --enable-release        make an optimized build [default=yes]],,enable_release="yes")
AC_ARG_ENABLE(fpo,
	[  --enable-fpo            compile with -fomit-frame-pointer [default=yes]],,enable_fpo="yes")
AC_ARG_ENABLE(profiling,
	[  --enable-profiling      make a profile build (implies debug) [default=no]],,enable_profiling="no")
AC_ARG_ENABLE(debug,
	[  --enable-debug          make a debug build [default=no]],,enable_debug="no")
AC_ARG_ENABLE(cpu,
	[  --enable-cpu            choose cpu (generic or jitc_x86) [default=<YOUR-ARCH> or generic]],,enable_cpu="")
AC_ARG_ENABLE(ui,
	[  --enable-ui             choose ui (beos, gtk, qt, sdl, win32, or x11) [system-specific defaults]],,enable_ui="no")

PPC_CFLAGS="-Wundef -Wall -fsigned-char"
PPC_CXXFLAGS="-Wundef -Wall -Woverloaded-virtual -fsigned-char"
PPC_LDADD=""
PPC_LDFLAGS="$LDFLAGS"

if test "x$enable_release" = "xyes"; then
	PPC_CFLAGS="$CFLAGS $PPC_CFLAGS -O2"
	PPC_CXXFLAGS="$CXXFLAGS $PPC_CXXFLAGS -O2"
else
	PPC_CFLAGS="$PPC_CFLAGS -O0"
	PPC_CXXFLAGS="$PPC_CXXFLAGS -O0"
fi

if test "x$enable_fpo" = "xyes"; then
	PPC_CFLAGS="$PPC_CFLAGS -fomit-frame-pointer"
	PPC_CXXFLAGS="$PPC_CXXFLAGS -fomit-frame-pointer"
fi

if test "x$enable_profiling" = "xyes"; then
dnl	profiling implies debug
	enable_debug = "yes"
	PPC_CFLAGS="$PPC_CFLAGS -pg -g"
	PPC_CXXFLAGS="$PPC_CXXFLAGS -pg -g"
else
	if test "x$enable_debug" = "xyes"; then
		PPC_CFLAGS="$PPC_CFLAGS -g -fno-inline"
		PPC_CXXFLAGS="$PPC_CXXFLAGS -g -fno-inline"
	fi
fi

AM_INIT_AUTOMAKE($PACKAGE,$VERSION,no-define)
AM_CONFIG_HEADER(config.h)

dnl Check OS specifica

NASM_OPTS="-f elf"

case "$target_os" in
linux* | gnu* | k*bsd*-gnu)
	OSAPI_DIR=posix
	if test "x$enable_ui" = "xno"; then
		enable_ui="x11"
	fi	
	AC_MSG_RESULT([*** GNU, building POSIX version. we need pthread and rt.])
	PPC_LDADD="$PPC_LDADD -lpthread -lrt"
;;
freebsd*) 
	OSAPI_DIR=posix
	if test "x$enable_ui" = "xno"; then
		enable_ui="x11"
	fi	
	AC_MSG_RESULT([*** FREEBSD, building native FreeBSD version. we need pthread.])
	PPC_LDFLAGS="$PPC_LDFLAGS -pthread"
;;
cygwin*)
	OSAPI_DIR=win32
	if test "x$enable_ui" = "xno"; then
		enable_ui="win32"
	fi	
	AC_MSG_RESULT([*** CYGWIN, building native Win32 version (without cygwin.dll)])
	PPC_CFLAGS="$PPC_CFLAGS -mno-cygwin"
	PPC_CXXFLAGS="$PPC_CXXFLAGS -mno-cygwin"
        PPC_LDADD="$PPC_LDADD -lgdi32 -lcomdlg32 -lwinmm"
	NASM_OPTS="--prefix _ -f gnuwin32"
;;
mingw32*)
        OSAPI_DIR=win32
        if test "x$enable_ui" = "xno"; then
		enable_ui="win32"
	fi
	AC_MSG_RESULT([*** MinGW, building native Win32 version])
        PPC_LDADD="$PPC_LDADD -lgdi32 -lcomdlg32 -lwinmm"
        NASM_OPTS="--prefix _ -f win32"
;;
darwin*)
	OSAPI_DIR=posix
	if test "x$enable_ui" = "xno"; then
		enable_ui="x11"
	fi
	AC_MSG_RESULT([*** DARWIN, building native Darwin version (X11)])
;;
beos*)
	OSAPI_DIR=beos
	if test "x$enable_ui" = "xno"; then
		enable_ui="beos"
	fi
	AC_MSG_RESULT([*** BEOS, building native BeOS version])
        PPC_LDFLAGS="-lbe -lgame"
	PPC_CFLAGS="$PPC_CFLAGS -Wno-multichar"
	PPC_CXXFLAGS="$PPC_CXXFLAGS -Wno-multichar"
;;
*) 
	AC_MSG_WARN([configure: warning: $target_os: unknown target OS, assuming POSIX-compatible...])
	OSAPI_DIR=posix
	AC_MSG_WARN([*** assuming POSIX OS, we need pthread])
	PPC_LDADD="$PPC_LDADD -lpthread"
;;	
esac

case "$enable_cpu" in
jitc_x86*)
	CPU_DIR="cpu_jitc_x86"
;;	
generic*)
	CPU_DIR="cpu_generic"
;;	
*)
	CPU_DIR=""
;;	
esac

case "$target" in
i?86*)
	AC_MSG_RESULT([*** x86 target system])
	ARCH_DIR=x86
	if test -z "$CPU_DIR"; then
		CPU_DIR="cpu_jitc_x86"
	fi
;;
*)
	ARCH_DIR=generic
	if test -z "$CPU_DIR"; then
		CPU_DIR="cpu_generic"
	fi
;;
esac

AC_DEFINE_UNQUOTED(SYSTEM_OSAPI_SPECIFIC_TYPES_HDR, "system/osapi/$OSAPI_DIR/types.h", [Location of system/osapi/$OSAPI_DIR/types.h])
AC_DEFINE_UNQUOTED(SYSTEM_ARCH_SPECIFIC_FEATURES_DIR, "system/arch/$ARCH_DIR/sysfeatures.h", [Location of system/arch/$ARCH_DIR/sysfeatures.h])
AC_DEFINE_UNQUOTED(SYSTEM_ARCH_SPECIFIC_ENDIAN_DIR, "system/arch/$ARCH_DIR/sysendian.h", [Location of system/arch/$ARCH_DIR/sysendian.h])

PPC_CFLAGS="$PPC_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe";
PPC_CXXFLAGS="$PPC_CXXFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe";

AM_CONDITIONAL(USE_OSAPI_BEOS, test x$OSAPI_DIR = xbeos)
AM_CONDITIONAL(USE_OSAPI_POSIX, test x$OSAPI_DIR = xposix)
AM_CONDITIONAL(USE_OSAPI_WIN32, test x$OSAPI_DIR = xwin32)

AM_CONDITIONAL(USE_CPU_GENERIC, test x$CPU_DIR = xcpu_generic)
AM_CONDITIONAL(USE_CPU_JITC_X86, test x$CPU_DIR = xcpu_jitc_x86)

dnl Checks for programs.
AC_PROG_RANLIB
AC_PATH_PROGS(MAKE, gmake make, :)
AC_PROG_MAKE_SET
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP

dnl To ensure backward compatibility, Automake's `AM_PROG_LEX' invokes
dnl (indirectly) this macro twice, which will cause an annoying but
dnl benign "`AC_PROG_LEX' invoked multiple times" warning.  Future
dnl versions of Automake will fix this issue; meanwhile, just ignore
dnl this message.
dnl --- GNU Autoconf (version 2.58, 18 March 2004)
AM_PROG_LEX

AC_PROG_YACC
AC_PATH_PROG(AR, ar)
AC_PATH_PROG(AR, gar)

AC_DEFINE(HOST_ENDIANESS_BE, 1234, [big-endian byte-order helper constant])
AC_DEFINE(HOST_ENDIANESS_LE, 4321, [little-endian byte-order helper constant])

dnl Figure out what version of the posix system timers to use
if test "x$OSAPI_DIR" = "xposix"; then
	AC_CHECK_LIB(rt, clock_settime,
	[
		AC_DEFINE(USE_POSIX_REALTIME_CLOCK, 1, [Prefer POSIX realtime clock API])
		PPC_LDADD="$PPC_LDADD -lrt"
		AC_EGREP_CPP(yes,
		[
			#include <signal.h>
			#ifdef SIGRTMIN
				   yes
			#endif
		], syssignal=SIGRTMIN, syssignal=SIGALRM
		)
	], [
		AC_CHECK_LIB(c, setitimer,
		[
			AC_DEFINE(USE_POSIX_SETITIMER, 1, [Use interval timer clock API])
			syssignal=SIGALRM
			PPC_LDADD="$PPC_LDADD"
		], [
			AC_MSG_ERROR([*** Unable to find timer mechanism, should have either POSIX realtime API or BSD interval timer API ***])
		]
		)
	]
	)
	AC_DEFINE_UNQUOTED(SYSTIMER_SIGNAL, $syssignal, [Which signal to use for clock timer])
fi	

AC_C_BIGENDIAN(
	AC_DEFINE(HOST_ENDIANESS, HOST_ENDIANESS_BE, [Which host endianess/byte-order?]),
 	AC_DEFINE(HOST_ENDIANESS, HOST_ENDIANESS_LE, [Which host endianess/byte-order?]),
	[
	AC_MSG_WARN([couldn't determine host endianess/byte-order. assuming your machine is little-endian.])
	AC_DEFINE(HOST_ENDIANESS, HOST_ENDIANESS_LE, [Which host endianess/byte-order?])
	]
)

dnl This non-sense is needed to work around the fact, that autoconf-2.13 provides
dnl a different AC_C_BIGENDIAN macro (without parameters) and doesn't moan when
dnl giving them anyway. GRRRRR. autoconf-2.5 works OK.
case "$ac_cv_c_bigendian" in
yes*)
	AC_DEFINE(HOST_ENDIANESS, HOST_ENDIANESS_BE, [Which host endianess/byte-order?])
;;
no*)
  	AC_DEFINE(HOST_ENDIANESS, HOST_ENDIANESS_LE, [Which host endianess/byte-order?])
;;
esac
dnl /non-sense

if test "x$CPU_DIR" = "xcpu_jitc_x86" -o "x$ARCH_DIR" = "x86"; then
	AC_PATH_PROG(NASM, nasm)
	if test -z "$NASM"; then
		AC_MSG_ERROR([*** 'nasm' missing, please install or fix your \$PATH ***])
	fi
fi

if test -z "$AR"; then
	AC_MSG_ERROR([*** 'ar' and 'gar' missing, please install one of them or fix your \$PATH ***])
fi

dnl Checks for libraries.

UI_DIR="$enable_ui"
case "$enable_ui" in
x11)
	AC_PATH_X
	AC_PATH_XTRA

	AC_CHECK_LIB(X11, XOpenDisplay,
		[
			AC_SUBST(X_CFLAGS)
			PPC_LDADD="$PPC_LDADD -lX11"
			PPC_LDFLAGS="$PPC_LDFLAGS $X_LIBS"
		],
		AC_MSG_ERROR([Could not find XOpenDisplay in -lX11.]),
		$X_LIBS
	)
;;
qt)
	dnl Check for QTDIR environment variable.
	AC_MSG_CHECKING([whether QTDIR environment variable is set])
	if test -z "$QTDIR"; then
	  AC_MSG_RESULT([no])
	  AC_MSG_ERROR([QTDIR must be properly set.])
	else
	  AC_MSG_RESULT([$QTDIR])
	fi

	dnl Checks for Qt library.
	AC_CACHE_CHECK([for Qt library],
	  ac_qtlib, [
	  for X in qt-mt qt; do
	    if test -z "$ac_qtlib"; then
	      if test -f $QTDIR/lib/lib$X.so -o -f $QTDIR/lib/lib$X.a; then
	        ac_qtlib=$X
	      fi
	    fi
	  done
	])
	if test -z "$ac_qtlib"; then
	  AC_MSG_ERROR([Qt library not found. Maybe QTDIR isn't properly set.])
	fi

	dnl Check for Qt multi-thread support.
	if test "x$ac_qtlib" = "xqt-mt"; then
	  ac_thread="thread"
	fi
	AC_SUBST(ac_thread)

	CFLAGS="$CFLAGS -I$QTDIR/include"
	LIBS="-L$QTDIR/lib -L/usr/X11R6/lib"

	AC_CACHE_CHECK(
		[for Qt library version >= 3.0.0], ac_qtlib_version,
		[	AC_TRY_LINK(
			[
				#include "qglobal.h"
			],
			[
				#if QT_VERSION < 0x030000
				#error Qt library 3.0.0 or greater required.
				#endif
			],
			[
				ac_qtlib_version="yes"
				QT_CFLAGS="$CFLAGS"
				QT_LIBS="-l$ac_qtlib"
				QT_LDFLAGS="$LIBS"
			],
			[
				QT_CFLAGS=""
				QT_LIBS=""
				QT_LDFLAGS=""
				AC_MSG_ERROR([*** QT version 3.0.0 is required for QT gui.  Upgrade or try a different --enable-ui option.])
			])
			CFLAGS="$ac_save_CFLAGS"
			LIBS="$ac_save_LIBS"
		]
	)

	AC_SUBST(QT_CFLAGS)

	dnl A common error message:
dnl	ac_qtdir_errmsg="not found in current PATH. Maybe QT development environment isn't available (qt3-devel)."

	PPC_LDADD="$PPC_LDADD $QT_LIBS"
	PPC_LDFLAGS="$PPC_LDFLAGS $QT_LDFLAGS"
;;
gtk)
;;
beos)
;;
sdl)
	SDL_VERSION=1.2.0

	AM_PATH_SDL($SDL_VERSION,
		    :,
		    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
	)
	
	SDL_CFLAGS=`echo "$SDL_CFLAGS" | sed 's/-Dmain=SDL_main//'`
	SDL_LIBS=`echo "$SDL_LIBS" | sed 's/-mwindows//' | sed 's/-lmingw32//'`
	LDFLAGS="$LDFLAGS $SDL_LIBS"
	PPC_CFLAGS="$PPC_CFLAGS $SDL_CFLAGS"
	PPC_CXXFLAGS="$PPC_CXXFLAGS $SDL_CFLAGS"
	PPC_LDADD="$PPC_LDADD $SDL_LIBS"
	PPC_LDFLAGS="$PPC_LDFLAGS $SDL_LIBS"
;;
win32)
;;
*)
	AC_MSG_ERROR([Invalid parameter to --enable-ui: '$enable_ui'. Run './configure --help' for a list of valid parameters.])
;;
esac

AM_CONDITIONAL(USE_ARCH_X86, test x$ARCH_DIR = xx86)
AM_CONDITIONAL(USE_ARCH_GENERIC, test x$ARCH_DIR = xgeneric)

AM_CONDITIONAL(USE_UI_QT, test x$UI_DIR = xqt)
AM_CONDITIONAL(USE_UI_GTK, test x$UI_DIR = xgtk)
AM_CONDITIONAL(USE_UI_BEOS, test x$UI_DIR = xbeos)
AM_CONDITIONAL(USE_UI_SDL, test x$UI_DIR = xsdl)
AM_CONDITIONAL(USE_UI_WIN32, test x$UI_DIR = xwin32)
AM_CONDITIONAL(USE_UI_X11, test x$UI_DIR = xx11)

dnl Checks for some functions.
AC_CHECK_FUNCS([setenv memset])

AC_CHECK_FUNCS(log2, , AC_MSG_CHECKING(for log2 in math.h)
	AC_TRY_LINK([#include <math.h>], 
	[ log2(1.0); ], 
	AC_DEFINE(HAVE_LOG2) AC_MSG_RESULT(yes),
	AC_MSG_RESULT(no)))

AC_CHECK_FUNCS(exp2, , AC_MSG_CHECKING(for exp2 in math.h)
	AC_TRY_LINK([#include <math.h>], 
	[ exp2(0.0); ], 
	AC_DEFINE(HAVE_EXP2) AC_MSG_RESULT(yes),
	AC_MSG_RESULT(no)))

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(pthread.h, AC_DEFINE(PTHREAD_HDR, <pthread.h>, [Have pthread.h?]))
AC_CHECK_HEADERS([sys/socket.h])
AC_CHECK_HEADERS([asm/types.h])
AC_CHECK_HEADERS([stdint.h])

case "$target_os" in
linux*)
        AC_CHECK_HEADERS([asm/types.h])
        
        dnl Have Linux TUN?
        AC_CHECK_HEADERS(linux/netlink.h, AC_DEFINE(HAVE_LINUX_TUN, 1, [Have TUN/TAP headers?]),,
             [[
             #if HAVE_ASM_TYPES_H
             # include <asm/types.h>
             #endif
             #if HAVE_SYS_SOCKET_H
             # include <sys/socket.h>
             #endif
             ]])
;;
beos*)
	echo "BEOS CFLAGS=$CFLAGS"
	echo "BEOS CPPFLAGS=$CPPFLAGS"
	echo "BEOS CXFLAGS=$CXXFLAGS"
        dnl Have BeOS TUN ? (same API as Linux, except the device path)
        dnl might be in linux/ for compatibility
        AC_CHECK_HEADERS(linux/if_tun.h, AC_DEFINE(HAVE_BEOS_TUN, 1, [Have TUN/TAP headers?]))
        dnl but it really makes more sense in net/ (WTF does Linux put that in linux/ ?)
        dnl AC_CHECK_HEADERS(net/if_tun.h, AC_DEFINE(HAVE_BEOS_TUN, 1, [Have TUN/TAP headers?]))
	dnl needed to enumerate interfaces under BONE
	AC_CHECK_LIB(socket, socket, [PPC_LDFLAGS="$PPC_LDFLAGS -lsocket"])
;;
darwin*)
        AC_CHECK_HEADERS(mach/clock.h, AC_DEFINE(HAVE_MACH_CLOCK_H, 1, [Have mach/clock.h]))
;;
esac

dnl AC_CONFIG_HEADER(config.h)

CFLAGS="$PPC_CFLAGS"
CXXFLAGS="$PPC_CXXFLAGS"

dnl Makefile vars.
AC_SUBST(ARCH_DIR)
AC_SUBST(CPU_DIR)
AC_SUBST(UI_DIR)
AC_SUBST(OSAPI_DIR)
AC_SUBST(NASM_OPTS)
AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)
AC_SUBST(PPC_LDADD)
AC_SUBST(PPC_LDFLAGS)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

AC_CHECK_SIZEOF(char, 1)
AC_CHECK_SIZEOF(short, 2)
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(long int, 4)
AC_CHECK_SIZEOF(long long, 8)

#AC_SUBST(PTHREAD_FLAGS)

AC_OUTPUT([
Makefile
doc/Makefile
scripts/Makefile
src/Makefile
src/cpu/Makefile
src/cpu/cpu_generic/Makefile
src/cpu/cpu_jitc_x86/Makefile
src/debug/Makefile
src/io/Makefile
src/io/3c90x/Makefile
src/io/ide/Makefile
src/io/graphic/Makefile
src/io/rtl8139/Makefile
src/io/prom/Makefile
src/io/prom/fs/Makefile
src/io/prom/fs/hfs/Makefile
src/io/prom/fs/hfsplus/Makefile
src/io/cuda/Makefile
src/io/pci/Makefile
src/io/pic/Makefile
src/io/macio/Makefile
src/io/nvram/Makefile
src/io/usb/Makefile
src/system/Makefile
src/system/arch/Makefile
src/system/arch/x86/Makefile
src/system/arch/generic/Makefile
src/system/osapi/Makefile
src/system/osapi/beos/Makefile
src/system/osapi/posix/Makefile
src/system/osapi/win32/Makefile
src/system/ui/Makefile
src/system/ui/beos/Makefile
src/system/ui/gtk/Makefile
src/system/ui/qt/Makefile
src/system/ui/sdl/Makefile
src/system/ui/win32/Makefile
src/system/ui/x11/Makefile
src/tools/Makefile
])

AC_MSG_RESULT([])
AC_MSG_RESULT([$0 successful.])
AC_MSG_RESULT([])
AC_MSG_RESULT([================================================================================])
AC_MSG_RESULT([                             Configuration summary])
AC_MSG_RESULT([================================================================================])
AC_MSG_RESULT([])
AC_MSG_RESULT([cpu emulation method:                $CPU_DIR])
AC_MSG_RESULT([compiled for architecture:           $ARCH_DIR])
AC_MSG_RESULT([compiled for OS-API:                 $OSAPI_DIR])
AC_MSG_RESULT([compiled for UI system:              $UI_DIR])
AC_MSG_RESULT([enable debug:                        $enable_debug])
AC_MSG_RESULT([enable profiling:                    $enable_profiling])
AC_MSG_RESULT([make release build:                  $enable_release])
AC_MSG_RESULT([omit frame pointer:                  $enable_fpo])
AC_MSG_RESULT([final C compiler flags:              $PPC_CFLAGS])
AC_MSG_RESULT([final C++ compiler flags:            $PPC_CXXFLAGS])
AC_MSG_RESULT([final linker flags:                  $PPC_LDFLAGS])
AC_MSG_RESULT([final linker add:                    $PPC_LDADD])
AC_MSG_RESULT([])
AC_MSG_RESULT([================================================================================])