Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:plunky:20121017104429

Diff

Diff from 1.121 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc/configure.ac

Annotated File View

gmcgarry
1.33
1                                                -*- Autoconf -*-
pj
1.1
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.59)
ragge
1.94
5 AC_INIT([pcc], [1.1.0.DEVEL], <pcc-list@ludd.ltu.se>)
pj
1.1
6 AC_CONFIG_HEADER([config.h])
7
pj
1.7
8 AC_CANONICAL_TARGET
ragge
1.2
9
gmcgarry
1.52
10 abi=unknown
11 endian=little
gmcgarry
1.79
12 targosver=0
gmcgarry
1.52
13 tls=no
gmcgarry
1.73
14 gcccompat=yes
plunky
1.101
15 pccdebug=yes
plunky
1.120
16 stripping=yes
gmcgarry
1.99
17 native=no
gmcgarry
1.97
18 useyasm=no
plunky
1.103
19 stabs=no
ragge
1.87
20 # allowed: UNSIGNED (4-char u_int), INT (4-char int), SHORT (2-char u_short)
ragge
1.86
21 wchar_type=INT
ragge
1.2
22
ragge
1.8
23 case "$target_os" in
gmcgarry
1.58
24
25     apple)
26         targos=apple
27         abi=classic68k
plunky
1.103
28         stabs=yes
ragge
1.8
29         case "$target_cpu" in
gmcgarry
1.58
30             m68k) targmach=m68k endian=big ;;
ragge
1.8
31         esac
ragge
1.2
32         ;;
gmcgarry
1.25
33
gmcgarry
1.73
34     bsd)
35         targos=bsd
36         abi=aout
37         targmach=pdp11
ragge
1.87
38         wchar_type=USHORT
gmcgarry
1.73
39         ;;
40
gmcgarry
1.58
41     darwin*)
42         targos=darwin
43         abi=macho
plunky
1.103
44         stabs=yes
gmcgarry
1.79
45         case "$target_os" in
ragge
1.88
46             *10.*) targosver=10 ;;
gmcgarry
1.79
47             *9.*) targosver=9 ;;
48             *8.*) targosver=8 ;;
49             *7.*) targosver=7 ;;
50         esac
ragge
1.19
51         case "$target_cpu" in
ragge
1.26
52             i?86) targmach=i386 ;;
gmcgarry
1.32
53             powerpc) targmach=powerpc endian=big ;;
gmcgarry
1.80
54             x86_64) targmach=amd64 ;;
ragge
1.19
55         esac
gmcgarry
1.58
56         ;;
gmcgarry
1.25
57
ragge
1.20
58     dragonfly*)
59         targos=dragonfly
gmcgarry
1.44
60         abi=elf
plunky
1.103
61         stabs=yes
gmcgarry
1.52
62         tls=yes
ragge
1.20
63         case "$target_cpu" in
ragge
1.26
64             i?86) targmach=i386 ;;
ragge
1.95
65             x86_64) targmach=amd64 ;;
ragge
1.20
66         esac
67         ;;
gmcgarry
1.25
68
ragge
1.22
69     freebsd*)
gmcgarry
1.44
70         targos=freebsd
71         abi=elf
plunky
1.103
72         stabs=yes
gmcgarry
1.79
73         case "$target_os" in
plunky
1.107
74             *10.*) targosver=10 ;;
ragge
1.89
75             *9.*) targosver=9 ;;
76             *8.*) targosver=8 ;;
gmcgarry
1.79
77             *7.*) targosver=7 ;;
78             *6.*) targosver=6 ;;
79             *5.*) targosver=5 ;;
80             *4.*) targosver=4 ;;
81         esac
ragge
1.22
82         case "$target_cpu" in
ragge
1.26
83             i386) targmach=i386 ;;
plunky
1.109
84             sparc64) targmach=sparc64 endian=big ;;
ragge
1.89
85             x86_64) targmach=amd64 ;;
ragge
1.22
86         esac
87         ;;
88
ragge
1.8
89     linux*)
pj
1.7
90         targos=linux
gmcgarry
1.44
91         abi=elf
plunky
1.103
92         stabs=yes
ragge
1.8
93         case "$target_cpu" in
ragge
1.26
94             i?86) targmach=i386 ;;
gmcgarry
1.45
95             powerpc*) targmach=powerpc endian=big ;;
ragge
1.82
96             x86_64) targmach=amd64 ;;
ragge
1.90
97             mipseb) targmach=mips endian=big ;;
98             mips*) targmach=mips ;;
ragge
1.8
99         esac
pj
1.7
100         ;;
gmcgarry
1.25
101
ragge
1.50
102     midnightbsd*)
103         targos=midnightbsd
104         abi=elf
plunky
1.103
105         stabs=yes
ragge
1.50
106         case "$target_cpu" in
107             i?86) targmach=i386 ;;
108             sparc64) targmach=sparc64 endian=big ;;
109         esac
110         ;;
111
gmcgarry
1.77
112     mingw*)
113         targos=win32
114         abi=pecoff
115         wchar_type=USHORT
116         targmach=i386
gmcgarry
1.78
117         altincdir="c:/mingw/include"
118         altlibdir="c:/mingw/lib"
gmcgarry
1.77
119         ;;
120
ragge
1.96
121     minix*)
122         targos=minix
plunky
1.103
123         stabs=yes
ragge
1.96
124         case "$target_os" in
125             # explicit setting
126             minixaout|minix2|*aout) abi=aout ;;
127             minixelf|minix3|*elf) abi=elf ;;
128             # default to ELF
129             *) abi=elf ;;
130         esac
gmcgarry
1.58
131         case "$target_cpu" in
ragge
1.96
132             i86) targmach=i86 ;;
133             i?86) targmach=i386 ;;
gmcgarry
1.58
134         esac
135         ;;
136
ragge
1.24
137     mirbsd*)
138         targos=mirbsd
gmcgarry
1.44
139         abi=elf
plunky
1.103
140         stabs=yes
gmcgarry
1.74
141         wchar_type=USHORT
ragge
1.24
142         case "$target_cpu" in
ragge
1.26
143             i?86) targmach=i386 ;;
ragge
1.24
144         esac
145         ;;
gmcgarry
1.25
146
gmcgarry
1.58
147     netbsd*)
148         targos=netbsd
149         abi=elf
plunky
1.103
150         stabs=yes
gmcgarry
1.79
151         case "$target_os" in
plunky
1.106
152             *7.*) targosver=7 ;;
153             *6.*) targosver=6 ;;
gmcgarry
1.79
154             *5.*) targosver=5 ;;
155             *4.*) targosver=4 ;;
156             *3.*) targosver=3 ;;
157             *2.*) targosver=2 ;;
158             *1.*) targosver=1 ;;
159         esac
gmcgarry
1.58
160         case "$target_cpu" in
161             armeb) targmach=arm endian=big ;;
162             arm*) targmach=arm ;;
163             i?86) targmach=i386 ;;
164             m68k*) targmach=m68k endian=big ;;
165             mipseb) targmach=mips endian=big ;;
166             mips*) targmach=mips ;;
gmcgarry
1.73
167             pdp10) targmach=pdp10 ;;
gmcgarry
1.58
168             powerpc) targmach=powerpc endian=big ;;
169             sparc64) targmach=sparc64 endian=big ;;
170             vax) targmach=vax ;;
gmcgarry
1.73
171             x86_64) targmach=amd64 ;;
gmcgarry
1.58
172         esac
gmcgarry
1.47
173         ;;
174
gmcgarry
1.58
175     nextstep*)
176         targos=nextstep
177         abi=macho
plunky
1.103
178         stabs=yes
gmcgarry
1.51
179         case "$target_cpu" in
gmcgarry
1.58
180             i?86) targmach=i386 ;;
181             sparc) targmach=sparc endian=big ;;
182             hppa) targmach=hppa endian=big ;;
gmcgarry
1.51
183         esac
184         ;;
185
gmcgarry
1.58
186     openbsd*)
187         targos=openbsd
188         abi=elf
plunky
1.103
189         stabs=yes
gmcgarry
1.51
190         case "$target_cpu" in
gmcgarry
1.58
191             i?86) targmach=i386 ;;
192             vax) targmach=vax ;;
193             powerpc) targmach=powerpc endian=big ;;
194             sparc64) targmach=sparc64 endian=big ;;
ragge
1.83
195             x86_64) targmach=amd64 ;;
gmcgarry
1.51
196         esac
197         ;;
198
ragge
1.117
199     sysv4*)
200         targos=sysv4
201         abi=elf
202         case "$target_cpu" in
203             i?86) targmach=i386 ;;
204         esac
205         ;;
206
gmcgarry
1.53
207     sunos*|solaris*)
208         targos=sunos
209         abi=elf
plunky
1.103
210         stabs=yes
gmcgarry
1.53
211         case "$target_cpu" in
212             i?86) targmach=i386 ;;
213             sparc*) targmach=sparc64 endian=big ;;
214         esac
215         ;;
216
gmcgarry
1.58
217     windows*|pe*)
218         target_alias=i386-pe
219         targos=win32
220         abi=pecoff
gmcgarry
1.74
221         wchar_type=USHORT
gmcgarry
1.58
222         targmach=i386
223         ;;
224
ragge
1.8
225     *)
226         targos="$target_os"
227         case "$target_cpu" in
228             m16c) targmach=m16c ;;
ragge
1.15
229             nova) targmach=nova ;;
ragge
1.8
230         esac
pj
1.5
231         ;;
pj
1.7
232 esac
gmcgarry
1.44
233
ragge
1.2
234 if test "X$targos" = X -o "X$targmach" = X ; then
pj
1.7
235         AC_MSG_ERROR(['$target' is not (yet) supported by pcc.])
ragge
1.2
236 fi
pj
1.1
237
gmcgarry
1.77
238 case "$host_os" in
239
ragge
1.114
240     apple)
241         hostos=apple
242         ;;
243     bsd)
244         hostos=bsd
245         ;;
246     darwin*)
247         echo $targosver
248         if test "$targosver" -ge 10 ; then
249                 targmach=amd64
250         fi
251         hostos=darwin
252         ;;
253     dragonfly*)
254         hostos=dragonfly
255         ;;
256     freebsd*)
257         hostos=freebsd
258         ;;
259     linux*)
260         hostos=linux
261         ;;
262     midnightbsd*)
263         hostos=midnightbsd
264         ;;
265     mingw*)
266         hostos=win32
267         ;;
268     minix*)
269         hostos=minix
270         ;;
271     mirbsd*)
272         hostos=mirbsd
273         ;;
274     netbsd*)
275         hostos=netbsd
276         ;;
277     nextstep*)
278         hostos=nextstep
279         ;;
280     openbsd*)
281         hostos=openbsd
282         ;;
283     sunos*|solaris*)
284         ADD_CPPFLAGS="$ADD_CPPFLAGS -D_XOPEN_SOURCE=600"
285         hostos=sunos
286         ;;
287     pe*|windows*)
gmcgarry
1.77
288         # quick hack for cross-build to win32 host
ragge
1.114
289         hostos=win32
gmcgarry
1.77
290         if "$prefix" = NONE; then
291                 prefix="c:/pcc"
292                 assembler="yasm.exe -p gnu -f win32"
293                 linker="link.exe /nologo"
plunky
1.102
294                 ADD_CPPFLAGS="$ADD_CPPFLAGS -DMSLINKER"
gmcgarry
1.77
295         fi
296         ;;
297
298 esac
299
gmcgarry
1.32
300 if test "X$endian" = "Xbig" ; then
gmcgarry
1.44
301         AC_DEFINE(TARGET_BIG_ENDIAN, 1,
302                 [Define if target defaults to BIG endian])
gmcgarry
1.32
303 else
gmcgarry
1.44
304         AC_DEFINE(TARGET_LITTLE_ENDIAN, 1,
305                 [Define if target defaults to LITTLE endian])
gmcgarry
1.32
306 fi
307
gmcgarry
1.44
308 case "$abi" in
gmcgarry
1.61
309         elf*)           AC_DEFINE(ELFABI, [], [Using ELF ABI]) ;;
310         aout)           AC_DEFINE(AOUTABI, [], [Using a.out ABI]) ;;
311         macho)          AC_DEFINE(MACHOABI, [], [Using Mach-O ABI]) ;;
312         coff)           AC_DEFINE(COFFABI, [], [Using COFF ABI]) ;;
313         ecoff)          AC_DEFINE(ECOFFABI, [], [Using ECOFF ABI]) ;;
314         pecoff)         AC_DEFINE(PECOFFABI, [], [Using PE/COFF ABI]) ;;
315         classic68k)     AC_DEFINE(CLASSIC68K, [], [Using Classic 68k ABI]) ;;
gmcgarry
1.44
316 esac
317
plunky
1.103
318 if test "$stabs" = "yes"; then
319         AC_DEFINE(STABS, 1, [Enable STABS debugging output])
320 fi
321
gmcgarry
1.33
322 # Specify alternate assembler, linker, include and lib paths
323 AC_ARG_WITH(incdir,
324         AC_HELP_STRING([--with-incdir=<path>],
325                 [Specify the default include path.]),
gmcgarry
1.34
326         altincdir=$withval,
gmcgarry
1.33
327         [])
328 AC_ARG_WITH(libdir,
329         AC_HELP_STRING([--with-libdir=<path>],
330                 [Specify the default library path.]),
gmcgarry
1.34
331         altlibdir=$withval,
gmcgarry
1.33
332         [])
333 AC_ARG_WITH(assembler,
334         AC_HELP_STRING([--with-assembler=<path>],
335                 [Specify alternate assember.]),
gmcgarry
1.63
336         assembler=$withval,
gmcgarry
1.33
337         [])
338 AC_ARG_WITH(linker,
339         AC_HELP_STRING([--with-linker=<path>],
340                 [Specify alternate linker.]),
gmcgarry
1.63
341         linker=$withval,
gmcgarry
1.33
342         [])
reed
1.42
343 AC_ARG_ENABLE(tls,
344         AC_HELP_STRING([--enable-tls],
345                 [Enable Thread-local storage (TLS).]),
gmcgarry
1.52
346         [tls=$enableval], [])
reed
1.42
347 if test "$tls" = "yes"; then
ragge
1.50
348         AC_DEFINE(TLS, 1, [Enable thread-local storage (TLS).])
reed
1.42
349 fi
plunky
1.116
350 AC_ARG_ENABLE(Werror,
351         AC_HELP_STRING([--enable-Werror],
352                 [Enable use of compiler -Werror flag]),
353         [werror=$enableval], [])
354 if test "$werror" = "yes"; then
355         ADD_CFLAGS="$ADD_CFLAGS -Werror"
356 fi
ragge
1.71
357 AC_ARG_ENABLE(gcc-compat,
358         AC_HELP_STRING([--disable-gcc-compat],
359                 [Disable GCC compatibility]),
360         [gcccompat=$enableval], [])
gmcgarry
1.73
361 if test "$gcccompat" = "yes"; then
ragge
1.71
362         ADD_CPPFLAGS="$ADD_CPPFLAGS -DGCC_COMPAT";
363 fi
plunky
1.101
364 AC_ARG_ENABLE(pcc-debug,
365         AC_HELP_STRING([--disable-pcc-debug],
366                 [Disable PCC debugging]),
367         [pccdebug=$enableval], [])
368 if test "$pccdebug" = "yes"; then
369         ADD_CPPFLAGS="$ADD_CPPFLAGS -DPCC_DEBUG";
370 fi
plunky
1.120
371
372 AC_ARG_ENABLE(stripping,
373         AC_HELP_STRING([--disable-stripping],
374                 [Disable stripping of symbols in installed binaries]),
375         [stripping=$enableval], [])
376 if test "$stripping" = "yes"; then
377         if test -z "$INSTALL_PROGRAM"; then
378                 INSTALL_PROGRAM='${INSTALL} -s'
379         else
380                 AC_MSG_WARN([Installed binaries may be unstripped])
381         fi
382 fi
383
gmcgarry
1.97
384 AC_ARG_WITH(yasm,
385         AC_HELP_STRING([--use-yasm], [Use yasm assembler]),
386         useyasm=$withval,
387         [])
388 if test "$useyasm" = "yes"; then
389         assembler="yasm"
plunky
1.102
390         ADD_CPPFLAGS="$ADD_CPPFLAGS -DUSE_YASM"
gmcgarry
1.97
391 fi
gmcgarry
1.99
392 AC_ARG_ENABLE(native,
393         AC_HELP_STRING([--enable-native],
394                 [Build the compiler as a native rather than cross-build compiler]),
395         [native=$enableval], [])
gmcgarry
1.33
396
397 # setup for building a cross-compiler
gmcgarry
1.99
398 if test "X$native" = "Xyes" -o "X$target_alias" = "X$host_alias" -o "X$target_alias" = "X"; then
gmcgarry
1.33
399         BINPREFIX=""
400 else
401         BINPREFIX="${target_alias}-"
402         test "X$prefix" = XNONE && prefix="$ac_default_prefix"
403         test "X$exec_prefix" = XNONE && exec_prefix="${prefix}"
404         if test -z "$altincdir"; then
405                 altincdir=${exec_prefix}/${target_alias}/include
406         fi
407         if test -z "$altlibdir"; then
408                 altlibdir=${exec_prefix}/${target_alias}/lib
409         fi
410         if test -z "$assembler"; then
411                 assembler=${BINPREFIX}as
412         fi
413         if test -z  "$linker"; then
414                 linker=${BINPREFIX}ld
415         fi
416         preprocessor="${BINPREFIX}cpp"
417         compiler="${BINPREFIX}ccom"
418 fi
419 AC_SUBST(BINPREFIX)
420
421 if test -n "$altincdir"; then
422         AC_DEFINE_UNQUOTED(STDINC, "$altincdir",
423                 [Define alternate standard include directory])
424 fi
425 if test -n "$altlibdir"; then
426         AC_DEFINE_UNQUOTED(LIBDIR, "${altlibdir}/",
427                 [Define alternate standard lib directory])
428 fi
429 if test -n "$assembler"; then
430         AC_DEFINE_UNQUOTED(ASSEMBLER, "$assembler",
431                 [Define path to alternate assembler])
432 fi
433 if test -n "$linker"; then
434         AC_DEFINE_UNQUOTED(LINKER, "$linker",
435                 [Define path to alternate linker])
436 fi
437 if test -n "$preprocessor"; then
plunky
1.105
438         AC_DEFINE_UNQUOTED(PREPROCESSOR, "$preprocessor",
gmcgarry
1.33
439                 [Define path to alternate preprocessor])
440 fi
441 if test -n "$compiler"; then
plunky
1.105
442         AC_DEFINE_UNQUOTED(COMPILER, "$compiler",
ragge
1.67
443                 [Define path to alternate compiler])
gmcgarry
1.33
444 fi
gmcgarry
1.32
445
ragge
1.87
446 case $wchar_type in
447 USHORT) wchar_size=2 ;;
448 UNSIGNED|INT) wchar_size=4 ;;
449 *) AC_MSG_ERROR([Unknown wchar_t '$wchar_type'.]) ;;
450 esac
451
gmcgarry
1.74
452 AC_DEFINE_UNQUOTED(WCHAR_TYPE, $wchar_type, [Type to use for wide characters])
plunky
1.104
453 AC_DEFINE_UNQUOTED(WCHAR_SIZE, $wchar_size, [Size of wide-character type in chars])
gmcgarry
1.74
454
gmcgarry
1.58
455 # check for additional compiler flags
pj
1.1
456 AC_PROG_CC
plunky
1.116
457 DESIRED_FLAGS="-Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wsign-compare -Wtruncate"
gmcgarry
1.54
458 for flag in $DESIRED_FLAGS
459 do
460         AC_MSG_CHECKING([whether $CC accepts $flag])
plunky
1.111
461         cflags="$CFLAGS"
462         CFLAGS="$CFLAGS $flag"
463         AC_COMPILE_IFELSE([
464             AC_LANG_PROGRAM([[]], [[]])
465           ], [
plunky
1.113
466             use_flag=yes
plunky
1.111
467           ], [
plunky
1.113
468             use_flag=no
plunky
1.111
469         ])
470         CFLAGS="$cflags"
plunky
1.113
471
472         AC_MSG_RESULT([$use_flag])
473         if test $use_flag = yes; then
474             ADD_CFLAGS="$ADD_CFLAGS $flag"
475         fi
gmcgarry
1.54
476 done
pj
1.1
477
gmcgarry
1.33
478 # setup for cross-compiling mkext
479 AC_MSG_CHECKING([for a C compiler for mkext])
480 if test $cross_compiling = yes; then
481         AC_MSG_RESULT([cross compiling])
482         AC_CHECK_PROGS(CC_FOR_BUILD, [pcc gcc cc])
483 else
484         AC_MSG_RESULT([not cross compiling])
485         CC_FOR_BUILD=${CC-cc}
486         AC_SUBST(CC_FOR_BUILD)
487 fi
488
plunky
1.110
489 AC_CACHE_CHECK([for C99 printf size specifiers], ac_cv_have_c99_format, [
gmcgarry
1.49
490   AC_RUN_IFELSE([
491     AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [[
492       char buf[64];
493       if (sprintf(buf, "%lld%hhd%jd%zd%td", (long long int)1, (char)2, (intmax_t)3, (size_t)4, (ptrdiff_t)5) != 5)
494         exit(1);
495       else if (strcmp(buf, "12345"))
496         exit(2);
497       ]])],
plunky
1.110
498     [ ac_cv_have_c99_format=yes ],
499     [ ac_cv_have_c99_format=no ],
500     [ ac_cv_have_c99_format=yes ])
gmcgarry
1.49
501 ])
plunky
1.110
502 if test $ac_cv_have_c99_format = yes; then
gmcgarry
1.49
503   AC_DEFINE([HAVE_C99_FORMAT], 1,
504     [Define to 1 if printf supports C99 size specifiers])
505 fi
gmcgarry
1.46
506
gmcgarry
1.54
507 # Byteorder of host
508 AC_C_BIGENDIAN([AC_DEFINE(HOST_BIG_ENDIAN,[],[Define if host is BIG endian])],
509         [AC_DEFINE(HOST_LITTLE_ENDIAN,[],[Define if host is LITTLE endian])],
510         [],[])
511
512 # Checks for programs.
513 AC_PROG_MAKE_SET
514 AC_PROG_INSTALL
515 AC_PROG_YACC
516 AC_PROG_LEX
517
pj
1.1
518 # Checks for libraries.
519
520 # Checks for header files.
ragge
1.2
521 # AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
gmcgarry
1.70
522 AC_CHECK_HEADERS([string.h malloc.h libgen.h])
gmcgarry
1.46
523 AC_HEADER_SYS_WAIT
pj
1.1
524
ragge
1.2
525 # Checks for library functions.
526 ##  AC_FUNC_STRTOD
527 # AC_FUNC_VPRINTF
528 # AC_CHECK_FUNCS([memset strchr strdup strrchr strtol])
gmcgarry
1.76
529 AC_CHECK_FUNCS([strtold vsnprintf snprintf mkstemp strlcat strlcpy basename getopt ffs vfork])
ragge
1.2
530
gmcgarry
1.64
531 AC_EXEEXT
532
ragge
1.2
533 AC_SUBST(targos)
gmcgarry
1.79
534 AC_SUBST(targosver)
ragge
1.2
535 AC_SUBST(targmach)
ragge
1.114
536 AC_SUBST(hostos)
ragge
1.2
537 AC_SUBST(prefix)
538 AC_SUBST(exec_prefix)
539 AC_SUBST(libexecdir)
ragge
1.16
540 AC_SUBST(includedir)
gmcgarry
1.51
541 AC_SUBST(PACKAGE_VERSION)
gmcgarry
1.62
542 AC_SUBST(ADD_CFLAGS)
ragge
1.71
543 AC_SUBST(ADD_CPPFLAGS)
pj
1.1
544
ragge
1.11
545 pcc_major=`echo $PACKAGE_VERSION | awk -F. '{print $1}'`
546 pcc_minor=`echo $PACKAGE_VERSION | awk -F. '{print $2}'`
547 pcc_minorminor=`echo $PACKAGE_VERSION | awk -F. '{print $3}'`
ragge
1.119
548 test -n "$MPVERSION" && MPVERSION=", $MPVERSION"
549 versstr="\"$PACKAGE_STRING `cat $srcdir/DATESTAMP` for $target$MPVERSION\""
ragge
1.11
550
gmcgarry
1.33
551 AC_DEFINE_UNQUOTED(PCC_MAJOR, $pcc_major, [Major version no])
552 AC_DEFINE_UNQUOTED(PCC_MINOR, $pcc_minor, [Minor version no])
553 AC_DEFINE_UNQUOTED(PCC_MINORMINOR, $pcc_minorminor, [Minor minor version no])
554 AC_DEFINE_UNQUOTED(VERSSTR, $versstr, [Version string])
gmcgarry
1.54
555
pj
1.1
556 AC_CONFIG_FILES([Makefile
ragge
1.10
557                 cc/Makefile
558                 cc/cc/Makefile
559                 cc/cpp/Makefile
560                 cc/ccom/Makefile
ragge
1.108
561                 cc/cxxcom/Makefile
joerg
1.98
562                 cc/driver/Makefile
ragge
1.10
563                 f77/Makefile
564                 f77/f77/Makefile
565                 f77/fcom/Makefile
566 ])
pj
1.1
567 AC_OUTPUT
gmcgarry
1.35
568
569 eval "exec_prefix=$exec_prefix"
570 eval "bindir=$bindir"
571 eval "libexecdir=$libexecdir"
572
573 echo
574 echo "Target CPU is .................... ${targmach}"
gmcgarry
1.44
575 echo "Target ABI is .................... ${abi}"
gmcgarry
1.35
576 echo "Target OS is ..................... ${targos}"
gmcgarry
1.64
577 echo "Compiler is called ............... ${BINPREFIX}pcc${EXEEXT}"
gmcgarry
1.35
578 echo "Installing compiler into ......... ${bindir}"
579 echo "Installing pre-processor into .... ${libexecdir}"
580 echo "Using assembler .................. ${assembler-<default>}"
581 echo "Using linker ..................... ${linker-<default>}"
582 echo "Using include path ............... ${altincdir-<default>}"
583 echo "Using library path ............... ${altlibdir-<default>}"
gmcgarry
1.52
584 echo "Has TLS support .................. $tls"
gmcgarry
1.73
585 echo "Has GCC compatibility ............ $gcccompat"
plunky
1.101
586 echo "Has PCC debugging ................ $pccdebug"
ragge
1.87
587 echo "Type of wchar_t is ............... ${wchar_type} (${wchar_size} chars)"
gmcgarry
1.35
588 echo
589 echo "Configure finished.  Do 'make && make install' to compile and install.
590 "
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-07-10 22:37 +0200