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
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
|
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#
Index: src/acinclude.m4
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ src/acinclude.m4 2006-06-07 18:00:45.249541424 +0200
@@ -0,0 +1,223 @@
+dnl
+dnl Get the cflags and libraries from the gtk-config script
+dnl
+
+dnl define an autoconf function to check for a specified version of GTK, and
+dnl try to compile/link a GTK program. this gets used once for GTK 1.1.16.
+dnl
+dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
+dnl
+AC_DEFUN(AM_PATH_GTK,
+[
+ if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
+ {
+ min_gtk_version=ifelse([$1], ,0.99.7,$1)
+ AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
+ no_gtk=""
+ if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
+ && $PKG_CONFIG --exists gtk+-2.0; then
+ {
+ dnl We should be using PKG_CHECK_MODULES() instead of this hack.
+ dnl But I guess the dependency on pkgconfig.m4 is not wanted or
+ dnl something like that.
+ GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
+ GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
+ gtk_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
+ gtk_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
+ gtk_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
+ }
+ elif test "X$GTK_CONFIG" != "Xno"; then
+ {
+ GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
+ GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
+ gtk_major_version=`$GTK_CONFIG $gtk_config_args --version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
+ gtk_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
+ gtk_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
+ }
+ else
+ no_gtk=yes
+ fi
+
+ if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
+ {
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$LIBS $GTK_LIBS"
+
+ dnl
+ dnl Now check if the installed GTK is sufficiently new. (Also sanity
+ dnl checks the results of gtk-config to some extent
+ dnl
+ rm -f conf.gtktest
+ AC_TRY_RUN([
+#include <gtk/gtk.h>
+#include <stdio.h>
+
+int
+main ()
+{
+int major, minor, micro;
+char *tmp_version;
+
+system ("touch conf.gtktest");
+
+/* HP/UX 9 (%@#!) writes to sscanf strings */
+tmp_version = g_strdup("$min_gtk_version");
+if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
+ printf("%s, bad version string\n", "$min_gtk_version");
+ exit(1);
+ }
+
+if ((gtk_major_version > major) ||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) &&
+ (gtk_micro_version >= micro)))
+{
+ return 0;
+}
+return 1;
+}
+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ }
+ fi
+ if test "x$no_gtk" = x ; then
+ if test "x$enable_gtktest" = "xyes"; then
+ AC_MSG_RESULT(yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version)
+ else
+ AC_MSG_RESULT(found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version)
+ fi
+ ifelse([$2], , :, [$2])
+ else
+ {
+ AC_MSG_RESULT(no)
+ GTK_CFLAGS=""
+ GTK_LIBS=""
+ ifelse([$3], , :, [$3])
+ }
+ fi
+ }
+ else
+ GTK_CFLAGS=""
+ GTK_LIBS=""
+ ifelse([$3], , :, [$3])
+ fi
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+ rm -f conf.gtktest
+])
+
+dnl ---------------------------------------------------------------------------
+dnl gnome
+dnl ---------------------------------------------------------------------------
+AC_DEFUN([GNOME_INIT_HOOK],
+[
+ AC_SUBST(GNOME_LIBS)
+ AC_SUBST(GNOME_LIBDIR)
+ AC_SUBST(GNOME_INCLUDEDIR)
+
+ AC_ARG_WITH(gnome-includes,
+ [ --with-gnome-includes=DIR Specify location of GNOME headers],
+ [CFLAGS="$CFLAGS -I$withval"]
+ )
+
+ AC_ARG_WITH(gnome-libs,
+ [ --with-gnome-libs=DIR Specify location of GNOME libs],
+ [LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval]
+ )
+
+ AC_ARG_WITH(gnome,
+ [ --with-gnome Specify prefix for GNOME files],
+ if test x$withval = xyes; then
+ want_gnome=yes
+ ifelse([$1], [], :, [$1])
+ else
+ if test "x$withval" = xno; then
+ want_gnome=no
+ else
+ want_gnome=yes
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ CFLAGS="$CFLAGS -I$withval/include"
+ gnome_prefix=$withval/lib
+ fi
+ fi,
+ want_gnome=yes)
+
+ if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then
+ {
+ AC_MSG_CHECKING(for libgnomeui-2.0)
+ if $PKG_CONFIG --exists libgnomeui-2.0; then
+ AC_MSG_RESULT(yes)
+ GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0`
+ GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0`
+ GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0`
+ $1
+ else
+ AC_MSG_RESULT(not found)
+ if test "x$2" = xfail; then
+ AC_MSG_ERROR(Could not find libgnomeui-2.0 via pkg-config)
+ fi
+ fi
+ }
+ elif test "x$want_gnome" = xyes; then
+ {
+ AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
+ if test "$GNOME_CONFIG" = "no"; then
+ no_gnome_config="yes"
+ else
+ AC_MSG_CHECKING(if $GNOME_CONFIG works)
+ if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
+ AC_MSG_RESULT(yes)
+ GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`"
+ GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
+ GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
+ $1
+ else
+ AC_MSG_RESULT(no)
+ no_gnome_config="yes"
+ fi
+ fi
+
+ if test x$exec_prefix = xNONE; then
+ if test x$prefix = xNONE; then
+ gnome_prefix=$ac_default_prefix/lib
+ else
+ gnome_prefix=$prefix/lib
+ fi
+ else
+ gnome_prefix=`eval echo \`echo $libdir\``
+ fi
+
+ if test "$no_gnome_config" = "yes"; then
+ AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix)
+ if test -f $gnome_prefix/gnomeConf.sh; then
+ AC_MSG_RESULT(found)
+ echo "loading gnome configuration from" \
+ "$gnome_prefix/gnomeConf.sh"
+ . $gnome_prefix/gnomeConf.sh
+ $1
+ else
+ AC_MSG_RESULT(not found)
+ if test x$2 = xfail; then
+ AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
+ fi
+ fi
+ fi
+ }
+ fi
+])
+
+AC_DEFUN([GNOME_INIT],[
+ GNOME_INIT_HOOK([],fail)
+])
+
+
Index: src/configure.in
===================================================================
--- src.orig/configure.in 2006-05-04 12:46:11.000000000 +0200
+++ src/configure.in 2006-06-07 18:09:16.326845864 +0200
@@ -4,7 +4,7 @@
dnl Should also work with autoconf 2.54 and later.
AC_INIT(vim.h)
-AC_CONFIG_HEADER(auto/config.h:config.h.in)
+AC_CONFIG_HEADER(config.h:config.h.in)
dnl Being able to run configure means the system is Unix (compatible).
AC_DEFINE(UNIX)
@@ -49,10 +49,10 @@
dnl If configure thinks we are cross compiling, there is probably something
dnl wrong with the CC or CFLAGS settings, give an understandable error message
-if test "$cross_compiling" = yes; then
- AC_MSG_ERROR([cannot compile a simple program, check CC and CFLAGS
- (cross compiling doesn't work)])
-fi
+dnl if test "$cross_compiling" = yes; then
+dnl AC_MSG_ERROR([cannot compile a simple program, check CC and CFLAGS
+dnl (cross compiling doesn't work)])
+dnl fi
dnl gcc-cpp has the wonderful -MM option to produce nicer dependencies.
dnl But gcc 3.1 changed the meaning! See near the end.
@@ -330,6 +330,17 @@
compiledby=""; AC_MSG_RESULT(no))
AC_SUBST(compiledby)
+dnl on FreeBSD tclsh is a silly script, look for tclsh8.0 or tclsh8.2
+AC_MSG_CHECKING(--with-x argument)
+AC_ARG_WITH(x, [ --with-x= use X],
+[
+if test X"$withval" = Xno; then
+ no_x=yes
+fi
+],
+AC_MSG_RESULT($withval),
+AC_MSG_RESULT(yes))
+
AC_MSG_CHECKING(--disable-xsmp argument)
AC_ARG_ENABLE(xsmp,
[ --disable-xsmp Disable XSMP session management],
@@ -514,7 +525,7 @@
LDFLAGS="$perlldflags $LDFLAGS"
fi
PERL_LIBS=$perllibs
- PERL_SRC="auto/if_perl.c if_perlsfio.c"
+ PERL_SRC="if_perl.c if_perlsfio.c"
PERL_OBJ="objects/if_perl.o objects/if_perlsfio.o"
PERL_PRO="if_perl.pro if_perlsfio.pro"
AC_DEFINE(FEAT_PERL)
@@ -1323,241 +1334,6 @@
SKIP_CARBON=YES
fi
-dnl
-dnl Get the cflags and libraries from the gtk-config script
-dnl
-
-dnl define an autoconf function to check for a specified version of GTK, and
-dnl try to compile/link a GTK program. this gets used once for GTK 1.1.16.
-dnl
-dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
-dnl Test for GTK, and define GTK_CFLAGS, GTK_LIBDIR and GTK_LIBS
-dnl
-AC_DEFUN(AM_PATH_GTK,
-[
- if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
- {
- min_gtk_version=ifelse([$1], ,0.99.7,$1)
- AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
- no_gtk=""
- if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
- && $PKG_CONFIG --exists gtk+-2.0; then
- {
- dnl We should be using PKG_CHECK_MODULES() instead of this hack.
- dnl But I guess the dependency on pkgconfig.m4 is not wanted or
- dnl something like that.
- GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
- GTK_LIBDIR=`$PKG_CONFIG --libs-only-L gtk+-2.0`
- GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
- gtk_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
- gtk_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
- gtk_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
- }
- elif test "X$GTK_CONFIG" != "Xno"; then
- {
- GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
- GTK_LIBDIR=
- GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
- gtk_major_version=`$GTK_CONFIG $gtk_config_args --version | \
- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
- gtk_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
- gtk_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
- sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
- }
- else
- no_gtk=yes
- fi
-
- if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
- {
- ac_save_CFLAGS="$CFLAGS"
- ac_save_LIBS="$LIBS"
- CFLAGS="$CFLAGS $GTK_CFLAGS"
- LIBS="$LIBS $GTK_LIBS"
-
- dnl
- dnl Now check if the installed GTK is sufficiently new. (Also sanity
- dnl checks the results of gtk-config to some extent
- dnl
- rm -f conf.gtktest
- AC_TRY_RUN([
-#include <gtk/gtk.h>
-#include <stdio.h>
-
-int
-main ()
-{
-int major, minor, micro;
-char *tmp_version;
-
-system ("touch conf.gtktest");
-
-/* HP/UX 9 (%@#!) writes to sscanf strings */
-tmp_version = g_strdup("$min_gtk_version");
-if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
- printf("%s, bad version string\n", "$min_gtk_version");
- exit(1);
- }
-
-if ((gtk_major_version > major) ||
- ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
- ((gtk_major_version == major) && (gtk_minor_version == minor) &&
- (gtk_micro_version >= micro)))
-{
- return 0;
-}
-return 1;
-}
-],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
- CFLAGS="$ac_save_CFLAGS"
- LIBS="$ac_save_LIBS"
- }
- fi
- if test "x$no_gtk" = x ; then
- if test "x$enable_gtktest" = "xyes"; then
- AC_MSG_RESULT(yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version)
- else
- AC_MSG_RESULT(found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version)
- fi
- ifelse([$2], , :, [$2])
- else
- {
- AC_MSG_RESULT(no)
- GTK_CFLAGS=""
- GTK_LIBS=""
- ifelse([$3], , :, [$3])
- }
- fi
- }
- else
- GTK_CFLAGS=""
- GTK_LIBS=""
- ifelse([$3], , :, [$3])
- fi
- AC_SUBST(GTK_CFLAGS)
- AC_SUBST(GTK_LIBS)
- rm -f conf.gtktest
-])
-
-dnl ---------------------------------------------------------------------------
-dnl gnome
-dnl ---------------------------------------------------------------------------
-AC_DEFUN([GNOME_INIT_HOOK],
-[
- AC_SUBST(GNOME_LIBS)
- AC_SUBST(GNOME_LIBDIR)
- AC_SUBST(GNOME_INCLUDEDIR)
-
- AC_ARG_WITH(gnome-includes,
- [ --with-gnome-includes=DIR Specify location of GNOME headers],
- [CFLAGS="$CFLAGS -I$withval"]
- )
-
- AC_ARG_WITH(gnome-libs,
- [ --with-gnome-libs=DIR Specify location of GNOME libs],
- [LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval]
- )
-
- AC_ARG_WITH(gnome,
- [ --with-gnome Specify prefix for GNOME files],
- if test x$withval = xyes; then
- want_gnome=yes
- ifelse([$1], [], :, [$1])
- else
- if test "x$withval" = xno; then
- want_gnome=no
- else
- want_gnome=yes
- LDFLAGS="$LDFLAGS -L$withval/lib"
- CFLAGS="$CFLAGS -I$withval/include"
- gnome_prefix=$withval/lib
- fi
- fi,
- want_gnome=yes)
-
- if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then
- {
- AC_MSG_CHECKING(for libgnomeui-2.0)
- if $PKG_CONFIG --exists libgnomeui-2.0; then
- AC_MSG_RESULT(yes)
- GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0`
- GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0`
- GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0`
-
- dnl On FreeBSD we need -pthread but pkg-config doesn't include it.
- dnl This might not be the right way but it works for me...
- AC_MSG_CHECKING(for FreeBSD)
- if test "`(uname) 2>/dev/null`" = FreeBSD; then
- AC_MSG_RESULT(yes, adding -pthread)
- GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
- GNOME_LIBS="$GNOME_LIBS -pthread"
- else
- AC_MSG_RESULT(no)
- fi
- $1
- else
- AC_MSG_RESULT(not found)
- if test "x$2" = xfail; then
- AC_MSG_ERROR(Could not find libgnomeui-2.0 via pkg-config)
- fi
- fi
- }
- elif test "x$want_gnome" = xyes; then
- {
- AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
- if test "$GNOME_CONFIG" = "no"; then
- no_gnome_config="yes"
- else
- AC_MSG_CHECKING(if $GNOME_CONFIG works)
- if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
- AC_MSG_RESULT(yes)
- GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`"
- GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
- GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
- $1
- else
- AC_MSG_RESULT(no)
- no_gnome_config="yes"
- fi
- fi
-
- if test x$exec_prefix = xNONE; then
- if test x$prefix = xNONE; then
- gnome_prefix=$ac_default_prefix/lib
- else
- gnome_prefix=$prefix/lib
- fi
- else
- gnome_prefix=`eval echo \`echo $libdir\``
- fi
-
- if test "$no_gnome_config" = "yes"; then
- AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix)
- if test -f $gnome_prefix/gnomeConf.sh; then
- AC_MSG_RESULT(found)
- echo "loading gnome configuration from" \
- "$gnome_prefix/gnomeConf.sh"
- . $gnome_prefix/gnomeConf.sh
- $1
- else
- AC_MSG_RESULT(not found)
- if test x$2 = xfail; then
- AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
- fi
- fi
- fi
- }
- fi
-])
-
-AC_DEFUN([GNOME_INIT],[
- GNOME_INIT_HOOK([],fail)
-])
-
dnl ---------------------------------------------------------------------------
dnl Check for GTK. First checks for gtk-config, cause it needs that to get the
@@ -1977,7 +1753,7 @@
AC_TRY_RUN([#include <ctype.h>
main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }],
AC_DEFINE(BROKEN_TOUPPER) AC_MSG_RESULT(bad),
- AC_MSG_RESULT(good), AC_MSG_ERROR(failed to compile test program))
+ AC_MSG_RESULT(good), AC_MSG_WARN(failed to compile test program))
AC_MSG_CHECKING(whether __DATE__ and __TIME__ work)
AC_TRY_COMPILE(, [printf("(" __DATE__ " " __TIME__ ")");],
@@ -2165,7 +1941,7 @@
# include <termcap.h>
#endif
main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }],
- res="OK", res="FAIL", res="FAIL")
+ res="OK", res="FAIL", res="OK")
if test "$res" = "OK"; then
break
fi
@@ -2197,7 +1973,8 @@
{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }],
AC_MSG_RESULT([no -- we are in termcap land]),
AC_MSG_RESULT([yes -- terminfo spoken here]); AC_DEFINE(TERMINFO),
- AC_MSG_ERROR(failed to compile test program.))
+ AC_MSG_WARN(crosscompiling - defaulting to terminfo)
+ AC_DEFINE(TERMINFO))
if test "x$olibs" != "x$LIBS"; then
AC_MSG_CHECKING(what tgetent() returns for an unknown terminal)
@@ -2209,7 +1986,8 @@
{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }],
AC_MSG_RESULT(zero); AC_DEFINE(TGETENT_ZERO_ERR, 0),
AC_MSG_RESULT(non-zero),
- AC_MSG_ERROR(failed to compile test program.))
+ AC_MSG_WARN(crosscompiling - defaulting to zero)
+ AC_DEFINE(TGETENT_ZERO_ERR))
fi
AC_MSG_CHECKING(whether termcap.h contains ospeed)
@@ -2360,7 +2138,7 @@
fi
],
AC_MSG_RESULT([can't determine - assume ptys are world accessable]),
- AC_MSG_ERROR(failed to compile test program))
+ AC_MSG_WARN(failed to compile test program))
rm -f conftest_grp
dnl Checks for library functions. ===================================
@@ -2403,7 +2181,7 @@
AC_MSG_RESULT(it is usable),
AC_MSG_RESULT(it stinks)
AC_DEFINE(BAD_GETCWD),
- AC_MSG_ERROR(failed to compile test program))
+ AC_MSG_WARN(failed to compile test program))
dnl Check for functions in one big call, to reduce the size of configure
AC_CHECK_FUNCS(bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
@@ -2427,13 +2205,20 @@
AC_MSG_RESULT(yes); AC_DEFINE(HAVE_ST_BLKSIZE),
AC_MSG_RESULT(no))
-AC_MSG_CHECKING(whether stat() ignores a trailing slash)
+AC_CACHE_CHECK([whether stat() ignores a trailing slash],
+ [ac_cv_func_stat_ignores_trailing_slash],
AC_TRY_RUN(
[#include <sys/types.h>
#include <sys/stat.h>
main() {struct stat st; exit(stat("configure/", &st) != 0); }],
- AC_MSG_RESULT(yes); AC_DEFINE(STAT_IGNORES_SLASH),
- AC_MSG_RESULT(no), AC_MSG_ERROR(failed to compile test program))
+ ac_cv_func_stat_ignores_trailing_slash=yes,
+ ac_cv_func_stat_ignores_trailing_slash=no,
+ ac_cv_func_stat_ignores_trailing_slash=no
+))
+
+if X"$ac_cv_func_stat_ignores_trailing_slash" = Xyes; then
+ AC_DEFINE(STAT_IGNORES_SLASH)
+fi
dnl Link with iconv for charset translation, if not found without library.
dnl check for iconv() requires including iconv.h
@@ -2640,9 +2425,9 @@
AC_DEFINE(USEBCOPY) AC_MSG_RESULT(bcopy does),
AC_TRY_RUN([#define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog],
AC_DEFINE(USEMEMCPY) AC_MSG_RESULT(memcpy does), AC_MSG_RESULT(no),
- AC_MSG_ERROR(failed to compile test program)),
- AC_MSG_ERROR(failed to compile test program)),
- AC_MSG_ERROR(failed to compile test program))
+ AC_MSG_WARN(failed to compile test program)),
+ AC_MSG_WARN(failed to compile test program)),
+ AC_MSG_WARN(failed to compile test program))
dnl Check for multibyte locale functions
dnl Find out if _Xsetlocale() is supported by libX11.
@@ -2868,6 +2653,6 @@
AC_SUBST(DEPEND_CFLAGS_FILTER)
dnl write output files
-AC_OUTPUT(auto/config.mk:config.mk.in)
+AC_OUTPUT(config.mk:config.mk.in)
dnl vim: set sw=2 tw=78 fo+=l:
Index: src/proto/if_perl.pro
===================================================================
--- src.orig/proto/if_perl.pro 2006-05-07 15:09:36.000000000 +0200
+++ src/proto/if_perl.pro 2006-06-07 18:10:54.164972208 +0200
@@ -1,4 +1,4 @@
-/* auto/if_perl.c */
+/* if_perl.c */
extern int perl_enabled __ARGS((int verbose));
extern void perl_end __ARGS((void));
extern void msg_split __ARGS((char_u *s, int attr));
Index: src/link.sh
===================================================================
--- src.orig/link.sh 2005-01-25 20:11:17.000000000 +0100
+++ src/link.sh 2006-06-07 18:10:54.164972208 +0200
@@ -16,18 +16,18 @@
exit_value=0
#
-# If auto/link.sed already exists, use it. We assume a previous run of
+# If link.sed already exists, use it. We assume a previous run of
# link.sh has found the correct set of libraries.
#
-if test -f auto/link.sed; then
- echo "link.sh: The file 'auto/link.sed' exists, which is going to be used now."
- echo "link.sh: If linking fails, try deleting the auto/link.sed file."
- echo "link.sh: If this fails too, try creating an empty auto/link.sed file."
+if test -f link.sed; then
+ echo "link.sh: The file 'link.sed' exists, which is going to be used now."
+ echo "link.sh: If linking fails, try deleting the link.sed file."
+ echo "link.sh: If this fails too, try creating an empty link.sed file."
else
# If linking works with the full link command, try removing some libraries,
# that are known not to be needed on at least one system.
-# Remove auto/pathdef.c if there is a new link command and compile it again.
+# Remove pathdef.c if there is a new link command and compile it again.
# There is a loop to remove libraries that appear several times.
#
# Notes:
@@ -38,7 +38,7 @@
#
cat link.cmd
if sh link.cmd; then
- touch auto/link.sed
+ touch link.sed
cp link.cmd linkit.sh
for libname in SM ICE nsl dnet dnet_stub inet socket dir elf iconv Xt Xmu Xp Xpm X11 Xdmcp x w dl pthread thread readline m perl crypt attr; do
cont=yes
@@ -46,22 +46,22 @@
if grep "l$libname " linkit.sh >/dev/null; then
if test ! -f link1.sed; then
echo "link.sh: OK, linking works, let's try removing a few libraries."
- echo "link.sh: See auto/link.log for details."
- rm -f auto/link.log
+ echo "link.sh: See link.log for details."
+ rm -f link.log
fi
echo "s/-l$libname *//" >link1.sed
- sed -f auto/link.sed <link.cmd >linkit2.sh
+ sed -f link.sed <link.cmd >linkit2.sh
sed -f link1.sed <linkit2.sh >linkit.sh
# keep the last -lm
if test $libname != "m" || grep "lm " linkit.sh >/dev/null; then
echo "link.sh: Trying to remove the $libname library..."
- cat linkit.sh >>auto/link.log
+ cat linkit.sh >>link.log
# Redirect this link output, it may contain error messages which
# should be ignored.
- if sh linkit.sh >>auto/link.log 2>&1; then
+ if sh linkit.sh >>link.log 2>&1; then
echo "link.sh: We don't need the $libname library!"
- cat link1.sed >>auto/link.sed
- rm -f auto/pathdef.c
+ cat link1.sed >>link.sed
+ rm -f pathdef.c
else
echo "link.sh: We DO need the $libname library."
cont=
@@ -77,7 +77,7 @@
fi
done
done
- if test ! -f auto/pathdef.c; then
+ if test ! -f pathdef.c; then
$MAKE objects/pathdef.o
fi
if test ! -f link1.sed; then
@@ -92,23 +92,23 @@
#
# Now do the real linking.
#
-if test -s auto/link.sed; then
- echo "link.sh: Using auto/link.sed file to remove a few libraries"
- sed -f auto/link.sed <link.cmd >linkit.sh
+if test -s link.sed; then
+ echo "link.sh: Using link.sed file to remove a few libraries"
+ sed -f link.sed <link.cmd >linkit.sh
cat linkit.sh
if sh linkit.sh; then
exit_value=0
echo "link.sh: Linked fine with a few libraries removed"
else
exit_value=$?
- echo "link.sh: Linking failed, making auto/link.sed empty and trying again"
- mv -f auto/link.sed link2.sed
- touch auto/link.sed
- rm -f auto/pathdef.c
+ echo "link.sh: Linking failed, making link.sed empty and trying again"
+ mv -f link.sed link2.sed
+ touch link.sed
+ rm -f pathdef.c
$MAKE objects/pathdef.o
fi
fi
-if test -f auto/link.sed -a ! -s auto/link.sed -a ! -f link3.sed; then
+if test -f link.sed -a ! -s link.sed -a ! -f link3.sed; then
echo "link.sh: Using unmodified link command"
cat link.cmd
if sh link.cmd; then
@@ -117,8 +117,8 @@
else
exit_value=$?
if test -f link2.sed; then
- echo "link.sh: Linking doesn't work at all, removing auto/link.sed"
- rm -f auto/link.sed
+ echo "link.sh: Linking doesn't work at all, removing link.sed"
+ rm -f link.sed
fi
fi
fi
Index: src/Makefile
===================================================================
--- src.orig/Makefile 2006-05-07 15:25:27.000000000 +0200
+++ src/Makefile 2006-06-07 18:17:32.150469216 +0200
@@ -70,8 +70,8 @@
# this in two steps with:
# make config
# make
-# The configuration phase creates/overwrites auto/config.h and
-# auto/config.mk.
+# The configuration phase creates/overwrites config.h and
+# config.mk.
# The configure script is created with "make autoconf". It can detect
# different features of your system and act accordingly. However, it is
# not correct for all systems. Check this:
@@ -86,14 +86,14 @@
# make reconfig
#
# - If you do not trust the automatic configuration code, then inspect
-# auto/config.h and auto/config.mk, before starting the actual build
-# phase. If possible edit this Makefile, rather than auto/config.mk --
+# config.h and config.mk, before starting the actual build
+# phase. If possible edit this Makefile, rather than config.mk --
# especially look at the definition of VIMLOC below. Note that the
-# configure phase overwrites auto/config.mk and auto/config.h again.
+# configure phase overwrites config.mk and config.h again.
# - If you get error messages, find out what is wrong and try to correct
# it in this Makefile. You may need to do "make reconfig" when you
# change anything that configure uses (e.g. switching from an old C
-# compiler to an ANSI C compiler). Only when auto/configure does
+# compiler to an ANSI C compiler). Only when configure does
# something wrong you may need to change one of the other files. If
# you find a clean way to fix the problem, consider sending a note to
# the author of autoconf (bug-gnu-utils@prep.ai.mit.edu) or Vim
@@ -110,7 +110,7 @@
# If the new Vim seems to be working OK you can install it and the
# documentation in the appropriate location. The default is
# "/usr/local". Change "prefix" below to change the location.
-# "auto/pathdef.c" will be compiled again after changing this to make
+# "pathdef.c" will be compiled again after changing this to make
# the executable know where the help files are located.
# Note that any existing executable is removed or overwritten. If you
# want to keep it you will have to make a backup copy first.
@@ -231,7 +231,7 @@
# (I) SINIX-N 5.42 and 5.43 need some EXTRA_LIBS. Also for Reliant-Unix.
# (J) If you get undefined symbols, see below for a solution.
# (K) See lines to uncomment below for machines with 64 bit pointers.
-# (L) For Silicon Graphics O2 workstations remove "-lnsl" from auto/config.mk
+# (L) For Silicon Graphics O2 workstations remove "-lnsl" from config.mk
# (M) gcc version cygnus-2.0.1 does NOT work (symptom: "dl" deletes two
# characters instead of one).
# (N) SCO with decmouse.
@@ -245,7 +245,7 @@
# detection, since the configure script runs into an error when it
# detects Python (probably because of the bash shell).
# (V) See lines to uncomment below.
-# (X) Need to use the .include "auto/config.mk" line below
+# (X) Need to use the .include "config.mk" line below
# (Y) See line with c89 below
# (Z) See lines with cc or c89 below
# (a) See line with EXTRA_LIBS below.
@@ -274,20 +274,20 @@
#GUI_LIB_LOC = -L/usr/X11R6/lib
# }}}
-######################## auto/config.mk ######################## {{{1
-# At this position auto/config.mk is included. When starting from the
-# distribution it is almost empty. After running auto/configure it contains
+######################## config.mk ######################## {{{1
+# At this position config.mk is included. When starting from the
+# distribution it is almost empty. After running configure it contains
# settings that have been discovered for your system. Settings below this
-# include override settings in auto/config.mk!
+# include override settings in config.mk!
-# Note: if auto/config.mk is lost somehow (e.g., because configure was
-# interrupted), create an empty auto/config.mk file and do "make config".
+# Note: if config.mk is lost somehow (e.g., because configure was
+# interrupted), create an empty config.mk file and do "make config".
-# (X) How to include auto/config.mk depends on the version of "make" you have,
+# (X) How to include config.mk depends on the version of "make" you have,
# if the current choice doesn't work, try the other one.
-include auto/config.mk
-#.include "auto/config.mk"
+include config.mk
+#.include "config.mk"
CClink = $(CC)
#}}}
@@ -367,7 +367,7 @@
# Uncomment this when you want to include the Perl interface.
# The Perl option sometimes causes problems, because it adds extra flags
# to the command line. If you see strange flags during compilation, check in
-# auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
+# config.mk where they come from. If it's PERL_CFLAGS, try commenting
# the next line.
# When you get an error for a missing "perl.exp" file, try creating an emtpy
# one: "touch perl.exp".
@@ -696,12 +696,12 @@
# 1. If you don't have an X server: Comment out CONF_OPT_GUI and uncomment
# CONF_OPT_X = --without-x.
# 2. make config
-# 3. edit auto/config.mk and remove -ldir and -ltermcap from LIBS. It doesn't
+# 3. edit config.mk and remove -ldir and -ltermcap from LIBS. It doesn't
# have -ldir (does config find it somewhere?) and -ltermcap has at
# least one problem so I use termlib.o instead. The problem with
# termcap is that it segfaults if you call it with the name of
# a non-existent terminal type.
-# 4. edit auto/config.h and add #define USE_TMPNAM
+# 4. edit config.h and add #define USE_TMPNAM
# 5. add termlib.o to OBJ
# 6. make
@@ -767,7 +767,7 @@
#GUI_LIB_LOC = -L/usr/lib64
# then
# 1) make config
-# 2) edit auto/config.mk and delete the -lelf entry in the LIBS line
+# 2) edit config.mk and delete the -lelf entry in the LIBS line
# 3) make
#
# or (for 32bit pointers) uncomment the following line
@@ -775,7 +775,7 @@
#GUI_LIB_LOC = -L/usr/lib32
# then
# 1) make config
-# 2) edit auto/config.mk, add -n32 to LDFLAGS
+# 2) edit config.mk, add -n32 to LDFLAGS
# 3) make
###
@@ -1372,7 +1372,7 @@
ops.c \
option.c \
os_unix.c \
- auto/pathdef.c \
+ pathdef.c \
popupmnu.c \
quickfix.c \
regexp.c \
@@ -1394,7 +1394,7 @@
TAGS_SRC = *.c *.cpp if_perl.xs
-EXTRA_SRC = hangulin.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
+EXTRA_SRC = hangulin.c if_mzsch.c if_perl.c if_perlsfio.c \
if_python.c if_tcl.c if_ruby.c if_sniff.c gui_beval.c \
workshop.c wsdebug.c integration.c netbeans.c
@@ -1537,14 +1537,14 @@
# Run configure with all the setting from above.
#
-# Note: auto/config.h doesn't depend on configure, because running configure
-# doesn't always update auto/config.h. The timestamp isn't changed if the
+# Note: config.h doesn't depend on configure, because running configure
+# doesn't always update config.h. The timestamp isn't changed if the
# file contents didn't change (to avoid recompiling everything). Including a
-# dependency on auto/config.h would cause running configure each time when
-# auto/config.h isn't updated. The dependency on auto/config.mk should make
+# dependency on config.h would cause running configure each time when
+# config.h isn't updated. The dependency on config.mk should make
# sure configure is run when it's needed.
#
-config auto/config.mk: auto/configure config.mk.in config.h.in
+config config.mk: configure config.mk.in config.h.in
GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
@@ -1559,24 +1559,24 @@
# Use "make reconfig" to rerun configure without cached values.
# When config.h changes, most things will be recompiled automatically.
-# Invoke $(MAKE) to run config with the empty auto/config.mk.
-# Invoke $(MAKE) to build all with the filled auto/config.mk.
+# Invoke $(MAKE) to run config with the empty config.mk.
+# Invoke $(MAKE) to build all with the filled config.mk.
reconfig: scratch clean
$(MAKE) -f Makefile config
$(MAKE) -f Makefile all
-# Run autoconf to produce auto/configure.
+# Run autoconf to produce configure.
# Note:
# - DO NOT RUN autoconf MANUALLY! It will overwrite ./configure instead of
-# producing auto/configure.
+# producing configure.
# - autoconf is not run automatically, because a patch usually changes both
-# configure.in and auto/configure but can't update the timestamps. People
+# configure.in and configure but can't update the timestamps. People
# who do not have (the correct version of) autoconf would run into trouble.
#
# Two tricks are required to make autoconf put its output in the "auto" dir:
# - Temporarily move the ./configure script to ./configure.save. Don't
# overwrite it, it's probably the result of an aborted autoconf.
-# - Use sed to change ./config.log to auto/config.log in the configure script.
+# - Use sed to change ./config.log to config.log in the configure script.
# Autoconf 2.5x (2.59 at least) produces a few more files that we need to take
# care of:
# - configure.lineno: has the line numbers replaced with $LINENO. That
@@ -1587,14 +1587,14 @@
autoconf:
if test ! -f configure.save; then mv configure configure.save; fi
autoconf
- sed -e 's+>config.log+>auto/config.log+' -e 's+\./config.log+auto/config.log+' configure > auto/configure
- chmod 755 auto/configure
+ sed -e 's+>config.log+>config.log+' -e 's+\./config.log+config.log+' configure > configure
+ chmod 755 configure
mv -f configure.save configure
-rm -rf autom4te.cache
- -rm -f auto/config.status auto/config.cache
+ -rm -f config.status config.cache
-# Re-execute this Makefile to include the new auto/config.mk produced by
-# configure Only used when typing "make" with a fresh auto/config.mk.
+# Re-execute this Makefile to include the new config.mk produced by
+# configure Only used when typing "make" with a fresh config.mk.
myself:
$(MAKE) -f Makefile all
@@ -1605,7 +1605,7 @@
# Link the target for normal use or debugging.
# A shell script is used to try linking without unneccesary libraries.
-$(VIMTARGET): auto/config.mk objects $(OBJ) version.c version.h
+$(VIMTARGET): config.mk objects $(OBJ) version.c version.h
$(CCC) version.c -o objects/version.o
@LINK="$(PURIFY) $(SHRPENV) $(CClink) $(ALL_LIB_DIRS) $(LDFLAGS) \
-o $(VIMTARGET) $(OBJ) objects/version.o $(ALL_LIBS)" \
@@ -1644,7 +1644,7 @@
# cproto $(PFLAGS) -DFEAT_GUI $(*F).c > $@
# Always define FEAT_GUI. This may generate a few warnings if it's also
-# defined in auto/config.h, you can ignore that.
+# defined in config.h, you can ignore that.
.c.pro:
cproto $(PFLAGS) -DFEAT_GUI $< > proto/$@
echo "/* vim: set ft=c : */" >> proto/$@
@@ -1674,18 +1674,18 @@
echo "/* vim: set ft=c : */" >> proto/$@
os_vms.pro: os_vms.c
-# must use os_vms_conf.h for auto/config.h
- mv auto/config.h auto/config.h.save
- cp os_vms_conf.h auto/config.h
+# must use os_vms_conf.h for config.h
+ mv config.h config.h.save
+ cp os_vms_conf.h config.h
cproto $(PFLAGS) -DVMS -UFEAT_GUI_ATHENA -UFEAT_GUI_NEXTAW -UFEAT_GUI_MOTIF -UFEAT_GUI_GTK $< > proto/$@
echo "/* vim: set ft=c : */" >> proto/$@
- rm auto/config.h
- mv auto/config.h.save auto/config.h
+ rm config.h
+ mv config.h.save config.h
# if_perl.pro is special: Use the generated if_perl.c for input and remove
# prototypes for local functions.
-if_perl.pro: auto/if_perl.c
- cproto $(PFLAGS) -DFEAT_GUI auto/if_perl.c | sed "/_VI/d" > proto/$@
+if_perl.pro: if_perl.c
+ cproto $(PFLAGS) -DFEAT_GUI if_perl.c | sed "/_VI/d" > proto/$@
notags:
@@ -2152,8 +2152,8 @@
# We support common typing mistakes for Juergen! :-)
clean celan: testclean
-rm -f *.o objects/* core $(VIMTARGET).core $(VIMTARGET) vim xxd/*.o
- -rm -f $(TOOLS) auto/osdef.h auto/pathdef.c auto/if_perl.c
- -rm -f conftest* *~ auto/link.sed
+ -rm -f $(TOOLS) osdef.h pathdef.c if_perl.c
+ -rm -f conftest* *~ link.sed
-rm -rf $(APPDIR)
if test -d $(PODIR); then \
cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) clean; \
@@ -2167,11 +2167,11 @@
mkdir $(SHADOWDIR)
cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../mkinstalldirs .
mkdir $(SHADOWDIR)/auto
- cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
- cd $(SHADOWDIR); rm -f auto/link.sed
+ cd $(SHADOWDIR)/auto; ln -s ../../configure .
+ cd $(SHADOWDIR); rm -f link.sed
cp Makefile configure $(SHADOWDIR)
- rm -f $(SHADOWDIR)/auto/config.mk $(SHADOWDIR)/config.mk.dist
- cp config.mk.dist $(SHADOWDIR)/auto/config.mk
+ rm -f $(SHADOWDIR)/config.mk $(SHADOWDIR)/config.mk.dist
+ cp config.mk.dist $(SHADOWDIR)/config.mk
cp config.mk.dist $(SHADOWDIR)
mkdir $(SHADOWDIR)/xxd
cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
@@ -2201,10 +2201,10 @@
# Start configure from scratch
scrub scratch:
- -rm -f auto/config.status auto/config.cache config.log auto/config.log
- -rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
- touch auto/config.h
- cp config.mk.dist auto/config.mk
+ -rm -f config.status config.cache config.log config.log
+ -rm -f config.h link.log link.sed config.mk
+ touch config.h
+ cp config.mk.dist config.mk
distclean: clean scratch
-rm -f tags
@@ -2252,16 +2252,16 @@
.c.o:
$(CCC) $<
-auto/if_perl.c: if_perl.xs
+if_perl.c: if_perl.xs
$(PERL) -e 'unless ( $$] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$$_ $$_\n" }}' > $@
$(PERL) $(PERLLIB)/ExtUtils/xsubpp -prototypes -typemap \
$(PERLLIB)/ExtUtils/typemap if_perl.xs >> $@
-auto/osdef.h: auto/config.h osdef.sh osdef1.h.in osdef2.h.in
+osdef.h: config.h osdef.sh osdef1.h.in osdef2.h.in
CC="$(CC) $(OSDEF_CFLAGS)" srcdir=$(srcdir) sh $(srcdir)/osdef.sh
QUOTESED = sed -e 's/"/\\"/g' -e 's/\\"/"/' -e 's/\\";$$/";/'
-auto/pathdef.c: Makefile auto/config.mk
+pathdef.c: Makefile config.mk
-@echo creating $@
-@echo '/* pathdef.c */' > $@
-@echo '/* This file is automatically created by Makefile' >> $@
@@ -2390,8 +2390,8 @@
objects/if_mzsch.o: if_mzsch.c
$(CCC) -o $@ if_mzsch.c
-objects/if_perl.o: auto/if_perl.c
- $(CCC) -o $@ auto/if_perl.c
+objects/if_perl.o: if_perl.c
+ $(CCC) -o $@ if_perl.c
objects/if_perlsfio.o: if_perlsfio.c
$(CCC) -o $@ if_perlsfio.c
@@ -2465,8 +2465,8 @@
objects/os_unix.o: os_unix.c
$(CCC) -o $@ os_unix.c
-objects/pathdef.o: auto/pathdef.c
- $(CCC) -o $@ auto/pathdef.c
+objects/pathdef.o: pathdef.c
+ $(CCC) -o $@ pathdef.c
objects/py_config.o: $(PYTHON_CONFDIR)/config.c
$(CCC) -o $@ $(PYTHON_CONFDIR)/config.c \
@@ -2609,200 +2609,200 @@
###############################################################################
### (automatically generated by 'make depend')
### Dependencies:
-objects/buffer.o: buffer.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/buffer.o: buffer.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h version.h
-objects/charset.o: charset.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/charset.o: charset.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/diff.o: diff.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/diff.o: diff.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/digraph.o: digraph.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/digraph.o: digraph.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/edit.o: edit.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/edit.o: edit.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/eval.o: eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/eval.o: eval.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h version.h
-objects/ex_cmds.o: ex_cmds.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/ex_cmds.o: ex_cmds.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h version.h
-objects/ex_cmds2.o: ex_cmds2.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/ex_cmds2.o: ex_cmds2.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h version.h
-objects/ex_docmd.o: ex_docmd.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/ex_docmd.o: ex_docmd.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/ex_eval.o: ex_eval.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/ex_eval.o: ex_eval.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/ex_getln.o: ex_getln.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/ex_getln.o: ex_getln.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/fileio.o: fileio.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/fileio.o: fileio.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/fold.o: fold.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/fold.o: fold.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/getchar.o: getchar.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/getchar.o: getchar.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/hardcopy.o: hardcopy.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/hardcopy.o: hardcopy.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h version.h
-objects/hashtab.o: hashtab.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/hashtab.o: hashtab.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/if_cscope.o: if_cscope.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/if_cscope.o: if_cscope.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h if_cscope.h
-objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h version.h
-objects/main.o: main.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/main.o: main.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h farsi.c arabic.c
-objects/mark.o: mark.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/mark.o: mark.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/memfile.o: memfile.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/memfile.o: memfile.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/memline.o: memline.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/memline.o: memline.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/menu.o: menu.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/menu.o: menu.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/message.o: message.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/message.o: message.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/misc1.o: misc1.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/misc1.o: misc1.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h version.h
-objects/misc2.o: misc2.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/misc2.o: misc2.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/move.o: move.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/move.o: move.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/mbyte.o: mbyte.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/mbyte.o: mbyte.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/normal.o: normal.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/normal.o: normal.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/ops.o: ops.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
+objects/ops.o: ops.c vim.h config.h feature.h os_unix.h osdef.h ascii.h \
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
-objects/option.o: option.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/option.o: option.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/os_unix.o: os_unix.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/os_unix.o: os_unix.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h os_unixx.h
-objects/pathdef.o: auto/pathdef.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
- ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./option.h \
+objects/pathdef.o: pathdef.c ./vim.h ./config.h ./feature.h ./os_unix.h \
+ ./osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./option.h \
./structs.h ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro \
./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h
-objects/popupmnu.o: popupmnu.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/popupmnu.o: popupmnu.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/quickfix.o: quickfix.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/quickfix.o: quickfix.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/regexp.o: regexp.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/regexp.o: regexp.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/screen.o: screen.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/screen.o: screen.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/search.o: search.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/search.o: search.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/spell.o: spell.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/spell.o: spell.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/syntax.o: syntax.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/syntax.o: syntax.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/tag.o: tag.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
+objects/tag.o: tag.c vim.h config.h feature.h os_unix.h osdef.h ascii.h \
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
-objects/term.o: term.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/term.o: term.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/ui.o: ui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
+objects/ui.o: ui.c vim.h config.h feature.h os_unix.h osdef.h ascii.h \
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
-objects/undo.o: undo.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/undo.o: undo.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/version.o: version.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/version.o: version.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h version.h
-objects/window.o: window.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/window.o: window.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/gui.o: gui.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
+objects/gui.o: gui.c vim.h config.h feature.h os_unix.h osdef.h ascii.h \
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
-objects/gui_gtk.o: gui_gtk.c gui_gtk_f.h vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_gtk.o: gui_gtk.c gui_gtk_f.h vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h ../pixmaps/stock_icons.h
-objects/gui_gtk_f.o: gui_gtk_f.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_gtk_f.o: gui_gtk_f.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h gui_gtk_f.h
-objects/gui_motif.o: gui_motif.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_motif.o: gui_motif.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h gui_xmebw.h ../pixmaps/alert.xpm \
../pixmaps/error.xpm ../pixmaps/generic.xpm ../pixmaps/info.xpm \
@@ -2822,16 +2822,16 @@
../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
../pixmaps/tb_minwidth.xpm
-objects/gui_xmdlg.o: gui_xmdlg.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_xmdlg.o: gui_xmdlg.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/gui_xmebw.o: gui_xmebw.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_xmebw.o: gui_xmebw.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h gui_xmebwp.h gui_xmebw.h
-objects/gui_athena.o: gui_athena.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_athena.o: gui_athena.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h gui_at_sb.h gui_x11_pm.h \
../pixmaps/tb_new.xpm ../pixmaps/tb_open.xpm ../pixmaps/tb_close.xpm \
@@ -2849,73 +2849,73 @@
../pixmaps/tb_shell.xpm ../pixmaps/tb_replace.xpm \
../pixmaps/tb_vsplit.xpm ../pixmaps/tb_maxwidth.xpm \
../pixmaps/tb_minwidth.xpm
-objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_gtk_x11.o: gui_gtk_x11.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h gui_gtk_f.h ../runtime/vim32x32.xpm \
../runtime/vim16x16.xpm ../runtime/vim48x48.xpm
-objects/gui_x11.o: gui_x11.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/gui_x11.o: gui_x11.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h ../runtime/vim32x32.xpm ../runtime/vim16x16.xpm \
../runtime/vim48x48.xpm
-objects/gui_at_sb.o: gui_at_sb.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_at_sb.o: gui_at_sb.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h gui_at_sb.h
-objects/gui_at_fs.o: gui_at_fs.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_at_fs.o: gui_at_fs.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h gui_at_sb.h
-objects/pty.o: pty.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h ascii.h \
+objects/pty.o: pty.c vim.h config.h feature.h os_unix.h osdef.h ascii.h \
keymap.h term.h macros.h option.h structs.h regexp.h gui.h gui_beval.h \
proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h arabic.h
-objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/hangulin.o: hangulin.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/if_mzsch.o: if_mzsch.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/if_mzsch.o: if_mzsch.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h if_mzsch.h
-objects/if_perl.o: auto/if_perl.c ./vim.h ./auto/config.h ./feature.h ./os_unix.h \
- ./auto/osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./option.h \
+objects/if_perl.o: if_perl.c ./vim.h ./config.h ./feature.h ./os_unix.h \
+ ./osdef.h ./ascii.h ./keymap.h ./term.h ./macros.h ./option.h \
./structs.h ./regexp.h ./gui.h ./gui_beval.h proto/gui_beval.pro \
./ex_cmds.h ./proto.h ./globals.h ./farsi.h ./arabic.h
-objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/if_perlsfio.o: if_perlsfio.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/if_python.o: if_python.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/if_python.o: if_python.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/if_tcl.o: if_tcl.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/if_tcl.o: if_tcl.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h
-objects/if_ruby.o: if_ruby.c vim.h auto/config.h feature.h os_unix.h auto/osdef.h \
+objects/if_ruby.o: if_ruby.c vim.h config.h feature.h os_unix.h osdef.h \
ascii.h keymap.h term.h macros.h option.h structs.h regexp.h gui.h \
gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h globals.h farsi.h \
arabic.h version.h
-objects/if_sniff.o: if_sniff.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/if_sniff.o: if_sniff.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h os_unixx.h
-objects/gui_beval.o: gui_beval.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/gui_beval.o: gui_beval.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h
-objects/workshop.o: workshop.c auto/config.h integration.h vim.h feature.h \
- os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h \
+objects/workshop.o: workshop.c config.h integration.h vim.h feature.h \
+ os_unix.h osdef.h ascii.h keymap.h term.h macros.h option.h \
structs.h regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h \
proto.h globals.h farsi.h arabic.h version.h workshop.h
objects/wsdebug.o: wsdebug.c
-objects/integration.o: integration.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/integration.o: integration.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h integration.h
-objects/netbeans.o: netbeans.c vim.h auto/config.h feature.h os_unix.h \
- auto/osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
+objects/netbeans.o: netbeans.c vim.h config.h feature.h os_unix.h \
+ osdef.h ascii.h keymap.h term.h macros.h option.h structs.h \
regexp.h gui.h gui_beval.h proto/gui_beval.pro ex_cmds.h proto.h \
globals.h farsi.h arabic.h version.h
Index: src/osdef.sh
===================================================================
--- src.orig/osdef.sh 2004-06-07 16:32:26.000000000 +0200
+++ src/osdef.sh 2006-06-07 18:10:54.170971296 +0200
@@ -25,7 +25,7 @@
# define select select_declared_wrong
#endif
#define tgetstr tgetstr_declared_wrong
-#include "auto/config.h"
+#include "config.h"
#include "os_unix.h" /* bring in most header files, more follow below */
#include "os_unixx.h" /* bring in header files for os_unix.c */
@@ -73,10 +73,10 @@
EOF
cat osdef0.ccc | sed -n -f osdef11.sed >> osdef2.sed
-sed -f osdef2.sed < $srcdir/osdef1.h.in > auto/osdef.h
+sed -f osdef2.sed < $srcdir/osdef1.h.in > osdef.h
cat osdef0.ccc | sed -n -f osdef21.sed > osdef2.sed
-sed -f osdef2.sed < $srcdir/osdef2.h.in >> auto/osdef.h
+sed -f osdef2.sed < $srcdir/osdef2.h.in >> osdef.h
rm osdef0.c osdef0.cc osdef0.ccc osdef11.sed osdef21.sed osdef2.sed
@@ -89,7 +89,7 @@
exit 1
fi
cat $srcdir/osdef1.h.in $srcdir/osdef2.h.in >osdefX.h.in
-if eval test "`diff auto/osdef.h osdefX.h.in | wc -l`" -eq 4; then
+if eval test "`diff osdef.h osdefX.h.in | wc -l`" -eq 4; then
echo " Hmm, sed is very pessimistic about your system header files."
echo " But it did not dump core -- strange! Let's continue carefully..."
echo " If this fails, you may want to remove offending lines from osdef.h"
Index: src/pathdef.sh
===================================================================
--- src.orig/pathdef.sh 2004-06-07 16:32:26.000000000 +0200
+++ src/pathdef.sh 2006-06-07 18:10:54.171971144 +0200
@@ -1,11 +1,11 @@
#! /bin/sh
#
-# pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists
+# pathdef.sh: adjust pathdef.c for link.sed, if it exists
#
-if test -s auto/link.sed; then
- cp auto/pathdef.c auto/pathdef.tmp
- sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c
- rm -f auto/pathdef.tmp
+if test -s link.sed; then
+ cp pathdef.c auto/pathdef.tmp
+ sed -f link.sed <auto/pathdef.tmp >auto/pathdef.c
+ rm -f pathdef.tmp
fi
# vim:set sw=2 et:
Index: src/vim.h
===================================================================
--- src.orig/vim.h 2006-04-30 17:32:38.000000000 +0200
+++ src/vim.h 2006-06-07 18:13:32.711869416 +0200
@@ -29,7 +29,7 @@
/* ============ the header file puzzle (ca. 50-100 pieces) ========= */
#ifdef HAVE_CONFIG_H /* GNU autoconf (or something else) was here */
-# include "auto/config.h"
+# include "config.h"
# define HAVE_PATHDEF
/*
@@ -38,7 +38,7 @@
* test program. Other items from configure may also be wrong then!
*/
# if (SIZEOF_INT == 0)
- Error: configure did not run properly. Check auto/config.log.
+ Error: configure did not run properly. Check config.log.
# endif
/*
@@ -259,7 +259,7 @@
*/
#if !defined(__cplusplus) && defined(UNIX) \
&& !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */
-# include "auto/osdef.h" /* bring missing declarations in */
+# include "osdef.h" /* bring missing declarations in */
#endif
#ifdef __EMX__
Index: src/workshop.c
===================================================================
--- src.orig/workshop.c 2006-02-26 19:23:47.000000000 +0100
+++ src/workshop.c 2006-06-07 18:10:54.174970688 +0200
@@ -9,7 +9,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include "auto/config.h"
+# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
|