summaryrefslogtreecommitdiff
path: root/devel/mingw32-gcc/files/patch-ac
blob: 1e93cbec7dc17f1d806eb6caa5956c174968c04c (plain) (blame)
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
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
*** libf2c/g2c.hin.orig	Fri Jan 25 16:35:46 2002
--- libf2c/g2c.hin	Fri Jan 25 16:36:32 2002
***************
*** 18,37 ****
  
  /* F2C_INTEGER will normally be `int' but would be `long' on 16-bit systems */
  /* we assume short, float are OK */
! typedef @F2C_INTEGER@ /* long int */ integer;
! typedef unsigned @F2C_INTEGER@ /* long */ uinteger;
  typedef char *address;
  typedef short int shortint;
  typedef float real;
  typedef double doublereal;
  typedef struct { real r, i; } complex;
  typedef struct { doublereal r, i; } doublecomplex;
! typedef @F2C_INTEGER@ /* long int */ logical;
  typedef short int shortlogical;
  typedef char logical1;
  typedef char integer1;
! typedef @F2C_LONGINT@ /* long long */ longint;		/* system-dependent */
! typedef unsigned @F2C_LONGINT@ /* long long */ ulongint;	/* system-dependent */
  #define qbit_clear(a,b)	((a) & ~((ulongint)1 << (b)))
  #define qbit_set(a,b)	((a) |  ((ulongint)1 << (b)))
  
--- 18,37 ----
  
  /* F2C_INTEGER will normally be `int' but would be `long' on 16-bit systems */
  /* we assume short, float are OK */
! typedef int /* long int */ integer;
! typedef unsigned int /* long */ uinteger;
  typedef char *address;
  typedef short int shortint;
  typedef float real;
  typedef double doublereal;
  typedef struct { real r, i; } complex;
  typedef struct { doublereal r, i; } doublecomplex;
! typedef int /* long int */ logical;
  typedef short int shortlogical;
  typedef char logical1;
  typedef char integer1;
! typedef long long int /* long long */ longint;		/* system-dependent */
! typedef unsigned long long int /* long long */ ulongint;	/* system-dependent */
  #define qbit_clear(a,b)	((a) & ~((ulongint)1 << (b)))
  #define qbit_set(a,b)	((a) |  ((ulongint)1 << (b)))
  
***************
*** 52,60 ****
  typedef short ftnlen;
  typedef short ftnint;
  #else
! typedef @F2C_INTEGER@ /* long int */ flag;
! typedef @F2C_INTEGER@ /* long int */ ftnlen;
! typedef @F2C_INTEGER@ /* long int */ ftnint;
  #endif
  
  /*external read, write*/
--- 52,60 ----
  typedef short ftnlen;
  typedef short ftnint;
  #else
! typedef int /* long int */ flag;
! typedef int /* long int */ ftnlen;
! typedef int /* long int */ ftnint;
  #endif
  
  /*external read, write*/
*** libf2c/configure.in.orig	Fri Jan 25 16:35:53 2002
--- libf2c/configure.in	Fri Jan 25 16:36:55 2002
***************
*** 99,196 ****
  extra_includes="-I$topsrcdir/gcc/f -I$topsrcdir/gcc -I$topsrcdir/include -I$topsrcdir/gcc/config -I$r/gcc"
  ac_cpp="$late_ac_cpp -DIN_GCC -DHAVE_CONFIG_H $extra_includes"
  
- # The AC_EGREP_CPPs below have been known to fail when the header
- # path is wrong after things have been moved about; the cpp error status
- # counts for nothing.  First check that there aren't any errors from
- # the headers.
- CFLAGS="$CFLAGS -DHAVE_CONFIG_H -DIN_GCC $extra_includes"
- AC_TRY_COMPILE([#include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"],,,
- AC_MSG_ERROR([Can't run check for integer sizes -- see config.log]))
- CFLAGS=$late_cflags
- 
- AC_CACHE_VAL(g77_cv_sys_f2cinteger,
- echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
- AC_EGREP_CPP(F2C_INTEGER=long int,
- [#include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cINTEGER == FFECOM_f2ccodeLONG
- F2C_INTEGER=long int
- #elif FFECOM_f2cINTEGER == FFECOM_f2ccodeINT
- F2C_INTEGER=int
- #else
- #  error "Cannot find a suitable type for F2C_INTEGER"
- #endif
- ],
-  g77_cv_sys_f2cinteger="long int",)
- if test "$g77_cv_sys_f2cinteger" = ""; then
- echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
-   AC_EGREP_CPP(F2C_INTEGER=int,
- [#include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cINTEGER == FFECOM_f2ccodeLONG
- F2C_INTEGER=long int
- #elif FFECOM_f2cINTEGER == FFECOM_f2ccodeINT
- F2C_INTEGER=int
- #else
- #  error "Cannot find a suitable type for F2C_INTEGER"
- #endif
- ],
-    g77_cv_sys_f2cinteger=int,)
- fi
- if test "$g77_cv_sys_f2cinteger" = ""; then
-   AC_MSG_RESULT("")
-   AC_MSG_ERROR([Can't determine type for f2c integer; config.log may help.])
- fi
- )
- AC_MSG_RESULT($g77_cv_sys_f2cinteger)
- F2C_INTEGER=$g77_cv_sys_f2cinteger
- AC_SUBST(F2C_INTEGER)
- 
- AC_MSG_CHECKING(f2c long int type)
- AC_CACHE_VAL(g77_cv_sys_f2clongint,
- echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
- AC_EGREP_CPP(F2C_LONGINT=long int,
- [#include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cLONGINT == FFECOM_f2ccodeLONG
- F2C_LONGINT=long int
- #elif FFECOM_f2cLONGINT == FFECOM_f2ccodeLONGLONG
- F2C_LONGINT=long long int
- #else
- #  error "Cannot find a suitable type for F2C_LONGINT"
- #endif
- ],
-  g77_cv_sys_f2clongint="long int",)
- 
- if test "$g77_cv_sys_f2clongint" = ""; then
- echo "configure:__oline__: using $ac_cpp" >&AC_FD_CC
-   AC_EGREP_CPP(F2C_LONGINT=long long int,
- [#include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cLONGINT == FFECOM_f2ccodeLONG
- F2C_LONGINT=long int
- #elif FFECOM_f2cLONGINT == FFECOM_f2ccodeLONGLONG
- F2C_LONGINT=long long int
- #else
- #  error "Cannot find a suitable type for F2C_LONGINT"
- #endif
- ],
-    g77_cv_sys_f2clongint="long long int",)
- fi
- if test "$g77_cv_sys_f2clongint" = ""; then
-   AC_MSG_RESULT("")
-   AC_MSG_ERROR([Can't determine type for f2c long int; config.log may help.])
- fi
- )
- AC_MSG_RESULT($g77_cv_sys_f2clongint)
- F2C_LONGINT=$g77_cv_sys_f2clongint
- AC_SUBST(F2C_LONGINT)
  ac_cpp=$late_ac_cpp
  
  # avoid confusion in case the `makefile's from the f2c distribution have
--- 99,104 ----
*** libf2c/configure.orig	Fri Jan 25 16:35:57 2002
--- libf2c/configure	Fri Jan 25 16:37:03 2002
***************
*** 28,33 ****
--- 28,34 ----
  program_transform_name=s,x,x,
  silent=
  site=
+ sitefile=
  srcdir=
  target=NONE
  verbose=
***************
*** 142,147 ****
--- 143,149 ----
    --help                  print this message
    --no-create             do not create output files
    --quiet, --silent       do not print \`checking...' messages
+   --site-file=FILE        use FILE as the site file
    --version               print the version of autoconf that created configure
  Directory and file names:
    --prefix=PREFIX         install architecture-independent files in PREFIX
***************
*** 312,317 ****
--- 314,324 ----
    -site=* | --site=* | --sit=*)
      site="$ac_optarg" ;;
  
+   -site-file | --site-file | --site-fil | --site-fi | --site-f)
+     ac_prev=sitefile ;;
+   -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
+     sitefile="$ac_optarg" ;;
+ 
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
      ac_prev=srcdir ;;
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
***************
*** 477,488 ****
  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  
  # Prefer explicitly selected file to automatically selected ones.
! if test -z "$CONFIG_SITE"; then
!   if test "x$prefix" != xNONE; then
!     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
!   else
!     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    fi
  fi
  for ac_site_file in $CONFIG_SITE; do
    if test -r "$ac_site_file"; then
--- 484,499 ----
  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  
  # Prefer explicitly selected file to automatically selected ones.
! if test -z "$sitefile"; then
!   if test -z "$CONFIG_SITE"; then
!     if test "x$prefix" != xNONE; then
!       CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
!     else
!       CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
!     fi
    fi
+ else
+   CONFIG_SITE="$sitefile"
  fi
  for ac_site_file in $CONFIG_SITE; do
    if test -r "$ac_site_file"; then
***************
*** 558,564 ****
  compiler_name=f771
  rm -f skip-this-dir
  echo $ac_n "checking if compiler $compiler_name has been built""... $ac_c" 1>&6
! echo "configure:562: checking if compiler $compiler_name has been built" >&5
  if eval "test \"`echo '$''{'g77_cv_compiler_exists'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 569,575 ----
  compiler_name=f771
  rm -f skip-this-dir
  echo $ac_n "checking if compiler $compiler_name has been built""... $ac_c" 1>&6
! echo "configure:573: checking if compiler $compiler_name has been built" >&5
  if eval "test \"`echo '$''{'g77_cv_compiler_exists'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 589,595 ****
  # Extract the first word of "gcc", so it can be a program name with args.
  set dummy gcc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:593: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 600,606 ----
  # Extract the first word of "gcc", so it can be a program name with args.
  set dummy gcc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:604: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 619,625 ****
    # Extract the first word of "cc", so it can be a program name with args.
  set dummy cc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:623: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 630,636 ----
    # Extract the first word of "cc", so it can be a program name with args.
  set dummy cc; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:634: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 670,676 ****
        # Extract the first word of "cl", so it can be a program name with args.
  set dummy cl; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:674: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 681,687 ----
        # Extract the first word of "cl", so it can be a program name with args.
  set dummy cl; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:685: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 702,708 ****
  fi
  
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  
  ac_ext=c
  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
--- 713,719 ----
  fi
  
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:717: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  
  ac_ext=c
  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
***************
*** 713,724 ****
  
  cat > conftest.$ac_ext << EOF
  
! #line 717 "configure"
  #include "confdefs.h"
  
  main(){return(0);}
  EOF
! if { (eval echo configure:722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    ac_cv_prog_cc_works=yes
    # If we can't run a trivial program, we are probably using a cross compiler.
    if (./conftest; exit) 2>/dev/null; then
--- 724,735 ----
  
  cat > conftest.$ac_ext << EOF
  
! #line 728 "configure"
  #include "confdefs.h"
  
  main(){return(0);}
  EOF
! if { (eval echo configure:733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    ac_cv_prog_cc_works=yes
    # If we can't run a trivial program, we are probably using a cross compiler.
    if (./conftest; exit) 2>/dev/null; then
***************
*** 744,755 ****
    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  fi
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:748: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  cross_compiling=$ac_cv_prog_cc_cross
  
  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:753: checking whether we are using GNU C" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 755,766 ----
    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  fi
  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  cross_compiling=$ac_cv_prog_cc_cross
  
  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:764: checking whether we are using GNU C" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 758,764 ****
    yes;
  #endif
  EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    ac_cv_prog_gcc=yes
  else
    ac_cv_prog_gcc=no
--- 769,775 ----
    yes;
  #endif
  EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    ac_cv_prog_gcc=yes
  else
    ac_cv_prog_gcc=no
***************
*** 777,783 ****
  ac_save_CFLAGS="$CFLAGS"
  CFLAGS=
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:781: checking whether ${CC-cc} accepts -g" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 788,794 ----
  ac_save_CFLAGS="$CFLAGS"
  CFLAGS=
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:792: checking whether ${CC-cc} accepts -g" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 817,823 ****
    # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:821: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 828,834 ----
    # Extract the first word of "ranlib", so it can be a program name with args.
  set dummy ranlib; ac_word=$2
  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:832: checking for $ac_word" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 857,863 ****
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:861: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 868,874 ----
  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  # ./install, which can be erroneously created by make from ./install.sh.
  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:872: checking for a BSD compatible install" >&5
  if test -z "$INSTALL"; then
  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 910,916 ****
  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  
  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:914: checking whether ${MAKE-make} sets \${MAKE}" >&5
  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
--- 921,927 ----
  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  
  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:925: checking whether ${MAKE-make} sets \${MAKE}" >&5
  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
***************
*** 939,945 ****
  
  # Sanity check for the cross-compilation case:
  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:943: checking how to run the C preprocessor" >&5
  # On Suns, sometimes $CPP names a directory.
  if test -n "$CPP" && test -d "$CPP"; then
    CPP=
--- 950,956 ----
  
  # Sanity check for the cross-compilation case:
  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:954: checking how to run the C preprocessor" >&5
  # On Suns, sometimes $CPP names a directory.
  if test -n "$CPP" && test -d "$CPP"; then
    CPP=
***************
*** 954,966 ****
    # On the NeXT, cc -E runs the code through the compiler's parser,
    # not just through cpp.
    cat > conftest.$ac_ext <<EOF
! #line 958 "configure"
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    :
--- 965,977 ----
    # On the NeXT, cc -E runs the code through the compiler's parser,
    # not just through cpp.
    cat > conftest.$ac_ext <<EOF
! #line 969 "configure"
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    :
***************
*** 971,983 ****
    rm -rf conftest*
    CPP="${CC-cc} -E -traditional-cpp"
    cat > conftest.$ac_ext <<EOF
! #line 975 "configure"
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    :
--- 982,994 ----
    rm -rf conftest*
    CPP="${CC-cc} -E -traditional-cpp"
    cat > conftest.$ac_ext <<EOF
! #line 986 "configure"
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    :
***************
*** 988,1000 ****
    rm -rf conftest*
    CPP="${CC-cc} -nologo -E"
    cat > conftest.$ac_ext <<EOF
! #line 992 "configure"
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    :
--- 999,1011 ----
    rm -rf conftest*
    CPP="${CC-cc} -nologo -E"
    cat > conftest.$ac_ext <<EOF
! #line 1003 "configure"
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    :
***************
*** 1020,1036 ****
  
  ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
! echo "configure:1024: checking for stdio.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1029 "configure"
  #include "confdefs.h"
  #include <stdio.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
--- 1031,1047 ----
  
  ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
  echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
! echo "configure:1035: checking for stdio.h" >&5
  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 1040 "configure"
  #include "confdefs.h"
  #include <stdio.h>
  EOF
  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  if test -z "$ac_err"; then
    rm -rf conftest*
***************
*** 1061,1225 ****
  # (via com.h).  proj.h and com.h are in gcc/f/, config.h which they need
  # is in gcc/ and the config files are in gcc/config/.
  echo $ac_n "checking f2c integer type""... $ac_c" 1>&6
! echo "configure:1065: checking f2c integer type" >&5
  # Set this back later below!
  late_ac_cpp=$ac_cpp
  late_cflags=$CFLAGS
  extra_includes="-I$topsrcdir/gcc/f -I$topsrcdir/gcc -I$topsrcdir/include -I$topsrcdir/gcc/config -I$r/gcc"
  ac_cpp="$late_ac_cpp -DIN_GCC -DHAVE_CONFIG_H $extra_includes"
  
- # The AC_EGREP_CPPs below have been known to fail when the header
- # path is wrong after things have been moved about; the cpp error status
- # counts for nothing.  First check that there aren't any errors from
- # the headers.
- CFLAGS="$CFLAGS -DHAVE_CONFIG_H -DIN_GCC $extra_includes"
- cat > conftest.$ac_ext <<EOF
- #line 1078 "configure"
- #include "confdefs.h"
- #include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- int main() {
- 
- ; return 0; }
- EOF
- if { (eval echo configure:1087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-   :
- else
-   echo "configure: failed program was:" >&5
-   cat conftest.$ac_ext >&5
-   rm -rf conftest*
-   { echo "configure: error: Can't run check for integer sizes -- see config.log" 1>&2; exit 1; }
- fi
- rm -f conftest*
- CFLAGS=$late_cflags
- 
- if eval "test \"`echo '$''{'g77_cv_sys_f2cinteger'+set}'`\" = set"; then
-   echo $ac_n "(cached) $ac_c" 1>&6
- else
-   echo "configure:1101: using $ac_cpp" >&5
- cat > conftest.$ac_ext <<EOF
- #line 1103 "configure"
- #include "confdefs.h"
- #include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cINTEGER == FFECOM_f2ccodeLONG
- F2C_INTEGER=long int
- #elif FFECOM_f2cINTEGER == FFECOM_f2ccodeINT
- F2C_INTEGER=int
- #else
- #  error "Cannot find a suitable type for F2C_INTEGER"
- #endif
- 
- EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-   egrep "F2C_INTEGER=long int" >/dev/null 2>&1; then
-   rm -rf conftest*
-   g77_cv_sys_f2cinteger="long int"
- fi
- rm -f conftest*
- 
- if test "$g77_cv_sys_f2cinteger" = ""; then
- echo "configure:1125: using $ac_cpp" >&5
-   cat > conftest.$ac_ext <<EOF
- #line 1127 "configure"
- #include "confdefs.h"
- #include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cINTEGER == FFECOM_f2ccodeLONG
- F2C_INTEGER=long int
- #elif FFECOM_f2cINTEGER == FFECOM_f2ccodeINT
- F2C_INTEGER=int
- #else
- #  error "Cannot find a suitable type for F2C_INTEGER"
- #endif
- 
- EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-   egrep "F2C_INTEGER=int" >/dev/null 2>&1; then
-   rm -rf conftest*
-   g77_cv_sys_f2cinteger=int
- fi
- rm -f conftest*
- 
- fi
- if test "$g77_cv_sys_f2cinteger" = ""; then
-   echo "$ac_t""""" 1>&6
-   { echo "configure: error: Can't determine type for f2c integer; config.log may help." 1>&2; exit 1; }
- fi
- 
- fi
- 
- echo "$ac_t""$g77_cv_sys_f2cinteger" 1>&6
- F2C_INTEGER=$g77_cv_sys_f2cinteger
- 
- 
- echo $ac_n "checking f2c long int type""... $ac_c" 1>&6
- echo "configure:1161: checking f2c long int type" >&5
- if eval "test \"`echo '$''{'g77_cv_sys_f2clongint'+set}'`\" = set"; then
-   echo $ac_n "(cached) $ac_c" 1>&6
- else
-   echo "configure:1165: using $ac_cpp" >&5
- cat > conftest.$ac_ext <<EOF
- #line 1167 "configure"
- #include "confdefs.h"
- #include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cLONGINT == FFECOM_f2ccodeLONG
- F2C_LONGINT=long int
- #elif FFECOM_f2cLONGINT == FFECOM_f2ccodeLONGLONG
- F2C_LONGINT=long long int
- #else
- #  error "Cannot find a suitable type for F2C_LONGINT"
- #endif
- 
- EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-   egrep "F2C_LONGINT=long int" >/dev/null 2>&1; then
-   rm -rf conftest*
-   g77_cv_sys_f2clongint="long int"
- fi
- rm -f conftest*
- 
- 
- if test "$g77_cv_sys_f2clongint" = ""; then
- echo "configure:1190: using $ac_cpp" >&5
-   cat > conftest.$ac_ext <<EOF
- #line 1192 "configure"
- #include "confdefs.h"
- #include "proj.h"
- #define FFECOM_DETERMINE_TYPES 1
- #include "com.h"
- #if FFECOM_f2cLONGINT == FFECOM_f2ccodeLONG
- F2C_LONGINT=long int
- #elif FFECOM_f2cLONGINT == FFECOM_f2ccodeLONGLONG
- F2C_LONGINT=long long int
- #else
- #  error "Cannot find a suitable type for F2C_LONGINT"
- #endif
- 
- EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-   egrep "F2C_LONGINT=long long int" >/dev/null 2>&1; then
-   rm -rf conftest*
-   g77_cv_sys_f2clongint="long long int"
- fi
- rm -f conftest*
- 
- fi
- if test "$g77_cv_sys_f2clongint" = ""; then
-   echo "$ac_t""""" 1>&6
-   { echo "configure: error: Can't determine type for f2c long int; config.log may help." 1>&2; exit 1; }
- fi
- 
- fi
- 
- echo "$ac_t""$g77_cv_sys_f2clongint" 1>&6
- F2C_LONGINT=$g77_cv_sys_f2clongint
- 
  ac_cpp=$late_ac_cpp
  
  # avoid confusion in case the `makefile's from the f2c distribution have
--- 1072,1084 ----
  # (via com.h).  proj.h and com.h are in gcc/f/, config.h which they need
  # is in gcc/ and the config files are in gcc/config/.
  echo $ac_n "checking f2c integer type""... $ac_c" 1>&6
! echo "configure:1076: checking f2c integer type" >&5
  # Set this back later below!
  late_ac_cpp=$ac_cpp
  late_cflags=$CFLAGS
  extra_includes="-I$topsrcdir/gcc/f -I$topsrcdir/gcc -I$topsrcdir/include -I$topsrcdir/gcc/config -I$r/gcc"
  ac_cpp="$late_ac_cpp -DIN_GCC -DHAVE_CONFIG_H $extra_includes"
  
  ac_cpp=$late_ac_cpp
  
  # avoid confusion in case the `makefile's from the f2c distribution have
***************
*** 1267,1273 ****
  fi
  
  echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:1271: checking host system type" >&5
  
  host_alias=$host
  case "$host_alias" in
--- 1126,1132 ----
  fi
  
  echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:1130: checking host system type" >&5
  
  host_alias=$host
  case "$host_alias" in
***************
*** 1288,1294 ****
  echo "$ac_t""$host" 1>&6
  
  echo $ac_n "checking target system type""... $ac_c" 1>&6
! echo "configure:1292: checking target system type" >&5
  
  target_alias=$target
  case "$target_alias" in
--- 1147,1153 ----
  echo "$ac_t""$host" 1>&6
  
  echo $ac_n "checking target system type""... $ac_c" 1>&6
! echo "configure:1151: checking target system type" >&5
  
  target_alias=$target
  case "$target_alias" in
***************
*** 1306,1312 ****
  echo "$ac_t""$target" 1>&6
  
  echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:1310: checking build system type" >&5
  
  build_alias=$build
  case "$build_alias" in
--- 1165,1171 ----
  echo "$ac_t""$target" 1>&6
  
  echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:1169: checking build system type" >&5
  
  build_alias=$build
  case "$build_alias" in
***************
*** 1487,1494 ****
  s%@INSTALL_DATA@%$INSTALL_DATA%g
  s%@SET_MAKE@%$SET_MAKE%g
  s%@CPP@%$CPP%g
- s%@F2C_INTEGER@%$F2C_INTEGER%g
- s%@F2C_LONGINT@%$F2C_LONGINT%g
  s%@gcc_version@%$gcc_version%g
  s%@gcc_version_trigger@%$gcc_version_trigger%g
  s%@host@%$host%g
--- 1346,1351 ----