Changeset 7e5a38 in git
- Timestamp:
- Dec 7, 2000, 4:04:03 PM (22 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 8f79d773fb56da78b5f8ed5221984b47fb7404a5
- Parents:
- 3c13f654591de9411714b65349412f92daf673a4
- Location:
- Singular
- Files:
-
- 7 added
- 1 deleted
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/Makefile.in
r3c13f6 r7e5a38 55 55 LDFLAGS = @LDFLAGS@ 56 56 LD_DYN_FLAGS = @LD_DYN_FLAGS@ 57 SFLAGS = @SFLAGS@ 58 SLDFLAGS = @SLDFLAGS@ 59 57 60 LD_LIBC = -lc 58 61 STATIC_LDFLAGS = @STATIC_LDFLAGS@ 59 62 LIBS = -lm @NEED_LIBS@ 63 DL_KERNEL = @DL_KERNEL@ 60 64 61 65 ifdef LD_STATIC 62 66 LDFLAGS := ${STATIC_LDFLAGS} ${LDFLAGS} 63 67 SING_EXEC = Singular-static 68 DL_KERNEL = 64 69 else 65 70 LDFLAGS := ${LD_DYN_FLAGS} ${LDFLAGS} 66 71 SING_EXEC = Singular 67 72 endif 68 69 73 70 74 ## … … 92 96 numbers.cc polys.cc p_polys.cc polys0.cc polys1.cc polys-impl.cc \ 93 97 ring.cc shortfl.cc silink.cc sing_mp.cc\ 94 sing_d ld.cc sing_dbm.cc kspoly.cc \98 sing_dbm.cc kspoly.cc \ 95 99 subexpr.cc syz.cc syz0.cc syz1.cc syz2.cc syz3.cc\ 96 100 timer.cc weight.cc \ … … 98 102 mpsr_Get.cc mpsr_GetMisc.cc mpsr_Error.cc \ 99 103 GMPrat.cc multicnt.cc npolygon.cc semic.cc spectrum.cc splist.cc \ 100 ndbm.cc libparse.cc mod_raw.cc \104 ndbm.cc libparse.cc mod_raw.cc \ 101 105 pcv.cc kbuckets.cc\ 102 106 mpr_inout.cc mpr_base.cc mpr_numeric.cc \ 103 prCopy.cc p_ Procs.cc p_Mult_q.cc \107 prCopy.cc p_Mult_q.cc \ 104 108 pDebug.cc pInline2.cc pInline1.cc pInline0.cc \ 105 109 pShallowCopyDelete.cc … … 108 112 CSOURCES=weight0.c fegetopt.c fereadl.c page.c feOpenWinntUrl.c dError.c mmstd.c 109 113 110 # special source files (need extra compiling and/or linking) 111 ESOURCES=iparith.cc tesths.cc mpsr_Tok.cc claptmpl.cc 112 113 SOURCES=${CSOURCES} ${CXXSOURCES} ${ESOURCES} mmalloc.cc\ 114 115 # C++ sources which are used if part of the kernel are dynamically linked 116 DL_KERNEL_SOURCES=p_Procs_Dynamic.cc 117 118 # C++ sources which are used for dynamic libraries if part of the kernel is 119 # dynamically linked 120 DL_LIB_SOURCES=p_Procs_Lib.cc 121 122 # C++ sources which are used if no parts of the kernel are dynamically linked 123 STATIC_SOURCES=p_Procs_Static.cc 124 125 # special C++ source files (need extra compiling and/or linking), for which 126 # dependencies should be generated 127 ESOURCES=mmalloc.cc iparith.cc \ 128 $(DL_KERNEL_SOURCES) $(DL_LIB_SOURCES) $(STATIC_SOURCES) 129 130 SOURCES=${CSOURCES} ${CXXSOURCES} ${ESOURCES} \ 114 131 grammar.y scanner.l libparse.l syz2.cc prCopyTemplate.cc \ 115 132 p_Delete__Template.cc p_ShallowCopyDelete__Template.cc \ … … 120 137 p_Merge_q__Template.cc pp_Mult_mm_Noether__Template.cc\ 121 138 p_kBucketSetLm__Template.cc \ 122 kInline.cc utils.cc utils.h 123 139 kInline.cc utils.cc utils.h febase.inc \ 140 tesths.cc mpsr_Tok.cc claptmpl.cc 124 141 125 142 HEADERS=algmap.h hutil.h lists.h stairc.h attrib.h ideals.h \ … … 134 151 fglmgauss.h fglmvec.h mpsr.h sing_mp.h \ 135 152 kstdfac.h mpsr_Get.h kmatrix.h\ 136 kutil.h mpsr_Put.h sing_dld.h\153 kutil.h mpsr_Put.h\ 137 154 ndbm.h polys-impl.h libparse.h \ 138 155 GMPrat.h multicnt.h npolygon.h semic.h spectrum.h splist.h multicnt.h \ … … 142 159 prCopy.h prCopyMacros.h \ 143 160 p_MemAdd.h p_MemCopy.h p_MemCmp.h p_Numbers.h \ 144 pInline2.h pInline1.h pInline0.h p_Procs.hmmalloc.h static.h\145 omSingularConfig.h pShallowCopyDelete.h 146 147 INCS=febase.inc iparith.inc mpsr_Tok.inc feOpt.inc 161 pInline2.h pInline1.h pInline0.h mmalloc.h static.h\ 162 omSingularConfig.h pShallowCopyDelete.h \ 163 p_Procs_Dynamic.h p_Procs_Impl.h p_Procs_Set.h \ 164 p_Procs.h p_Procs_Static.h 148 165 149 166 DISTFILES=${SOURCES} ${HEADERS} Makefile.in configure.in configure \ 150 167 mod2.h.in grammar.h testgh install-sh mkinstalldirs \ 151 ${INCS}check_aso.pl prCopy.pl168 check_aso.pl prCopy.pl 152 169 153 170 OBJS := $(CXXSOURCES:.cc=.o) $(CSOURCES:.c=.o) … … 155 172 ifeq ($(SINGUNAME),ix86-Win) 156 173 OBJS := $(OBJS) Singular_res.o 174 endif 175 176 ifeq ($(DL_KERNEL),1) 177 OBJS := $(OBJS) $(DL_KERNEL_SOURCES:.cc=.o) 178 DL_LIBS=p_Procs.so 179 else 180 OBJS := $(OBJS) $(STATIC_SOURCES:.cc=.o) 181 DL_LIBS= 157 182 endif 158 183 … … 199 224 ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $< 200 225 226 # building objects for shared libraries 227 %.dl_o : %.cc 228 ${CXX} ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} ${SFLAGS} -c $< -o $@ 229 230 201 231 all: $(SING_EXEC) 202 232 … … 206 236 echo "#define HAVE_STATIC" > static.h 207 237 ${MAKE} LD_STATIC=1 Singular 208 echo "#undef HA BE_STATIC" > static.h238 echo "#undef HAVE_STATIC" > static.h 209 239 ${INSTALL_PROGRAM} Singular Singular-static 210 240 211 241 Singular: mod2.h Makefile version.h scanner.cc ${OBJS} mmalloc.o \ 212 iparith.o tesths.cc libparse.cc claptmpl.o mpsr_Tok.o 242 iparith.o tesths.cc libparse.cc claptmpl.o mpsr_Tok.o $(DL_LIBS) 213 243 ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${CXXTEMPLFLAGS} ${DEFS} \ 214 244 -o Singular \ 215 245 tesths.cc iparith.o mpsr_Tok.o claptmpl.o\ 216 246 ${OBJS} ${LDFLAGS} ${LIBS} -lomalloc_ndebug mmalloc.o 247 248 %.static: version.h 249 test -r $* && mv $* save_$* 250 ${MAKE} DL_KERNEL=0 $* 251 ${INSTALL_PROGRAM} $* $*.static 252 rm -f $* 253 test -r save_$* && mv save_$* $* 217 254 218 255 iparith.o mpsr_Tok.o : iparith.inc mpsr_Tok.inc … … 259 296 ${LDFLAGS} ${LIBS} -lomalloc_ndebug mmalloc.o 260 297 261 feOpt. h: feOpt.inc feOptES.inc feOptTS.inc262 263 feOpt.inc: feOpt.cc mod2.h 298 feOpt.o: feOpt.inc feOptES.inc feOptTS.inc 299 300 feOpt.inc: feOpt.cc mod2.h feOpt.h 264 301 $(CXX) -DGENERATE_OPTION_INDEX feOpt.cc -o feOpt 265 302 ./feOpt 266 303 /bin/rm -f feOpt feOpt.exe 267 304 268 feOptES.inc: feOpt.cc 305 feOptES.inc: feOpt.cc mod2.h feOpt.h 269 306 $(CXX) -DGENERATE_OPTION_INDEX -DESINGULAR feOpt.cc -o feOpt 270 307 ./feOpt 271 308 rm -f feOpt feOpt.exe 272 309 273 feOptTS.inc: feOpt.cc 310 feOptTS.inc: feOpt.cc mod2.h feOpt.h 274 311 $(CXX) -DGENERATE_OPTION_INDEX -DTSINGULAR feOpt.cc -o feOpt 275 312 ./feOpt 276 313 rm -f feOpt feOpt.exe 277 314 278 prCopy. cc: prCopy.inc315 prCopy.o: prCopy.inc 279 316 280 317 prCopy.inc : prCopyMacros.h prCopyTemplate.cc prCopy.pl 281 318 $(PERL) prCopy.pl > prCopy.inc 282 319 283 p_Procs.inc: p_Procs.cc p_Procs.h mod2.h 284 $(CXX) -g -Wall -DNDEBUG -DGENERATE_P_PROCS p_Procs.cc -o p_Procs 285 ./p_Procs > p_Procs.inc 286 /bin/rm -f p_Procs p_Procs.exe 287 288 p_Procs_debug.inc: p_Procs.cc p_Procs.h mod2.h 289 $(CXX) -g -Wall -DGENERATE_P_PROCS p_Procs.cc -o p_Procs 290 ./p_Procs > p_Procs_debug.inc 291 /bin/rm -f p_Procs p_Procs.exe 292 293 p_Procs.o: p_Procs.inc p_Procs_debug.inc 320 # additional dependencies for p_Procs_[Static|Dynamic|Lib].cc 321 p_Procs_Static.o: p_Procs_Static.inc 322 p_Procs_Static.inc: p_Procs_Static.h 323 p_Procs_Dynamic.o: p_Procs_Dynamic.inc 324 p_Procs_Lib.o: p_Procs_Lib.inc 325 p_Procs_Dynamic.inc p_Procs_Lib.inc: p_Procs_Dynamic.h 326 327 # here is how p_Procs_[Static|Dynamic|Lib].inc is generated 328 p_Procs_%.inc: 329 $(CXX) -g -Wall -Dp_Procs_$* p_Procs_Generate.cc -o p_Procs_$* 330 ./p_Procs_$* > p_Procs_$*.inc 331 332 333 p_Procs.so: p_Procs_Lib.dl_o 334 ${CXX} ${CXXFLAGS} ${SFLAGS} ${SLDFLAGS} $< -o $@ 294 335 295 336 src: scanner.cc grammar.h grammar.cc libparse.cc … … 373 414 ## 374 415 mostlyclean: 375 -rm -f Singular Singular-static Singulara Singularg Singularp Singularb libparse feOpt*.inc p_Procs .inc p_Procs_debug.inc376 -rm -f *.o *.og core *.op *.ob *.ot Singulart *.od *_d.cc *_d.c p_Procs *.oa 377 -rm ESingular* TSingular*416 -rm -f Singular Singular-static Singulara Singularg Singularp Singularb libparse feOpt*.inc p_Procs_*.inc 417 -rm -f *.o *.og core *.op *.ob *.ot Singulart *.od *_d.cc *_d.c p_Procs *.oa *.dl_o* *.so* 418 -rm -f ESingular* TSingular* 378 419 379 420 clean: mostlyclean … … 438 479 ################################################################# 439 480 481 482 ## 483 ## .og files for having -O and -g object versions available at the same time 484 ## 485 486 OBJG1 := $(CXXSOURCES:.cc=.og) 487 OBJG2 := $(CSOURCES:.c=.og) 488 489 OBJP1 := $(CXXSOURCES:.cc=.op) 490 OBJP2 := $(CSOURCES:.c=.op) 491 492 OBJB1 := $(CXXSOURCES:.cc=.ob) 493 OBJB2 := $(CSOURCES:.c=.ob) 494 495 OBJT1 := $(CXXSOURCES:.cc=.ot) 496 OBJT2 := $(CSOURCES:.c=.ot) 497 498 OBJA1 := $(CXXSOURCES:.cc=.oa) 499 OBJA2 := $(CSOURCES:.c=.oa) 500 501 502 OBJG=$(OBJG1) $(OBJG2) 503 OBJP=$(OBJP1) $(OBJP2) 504 OBJB=$(OBJB1) $(OBJB2) 505 OBJT=$(OBJT1) $(OBJT2) 506 OBJA=$(OBJA1) $(OBJA2) 507 508 ifeq ($(DL_KERNEL),1) 509 510 OBJG := $(OBJG) $(DL_KERNEL_SOURCES:.cc=.og) 511 DL_LIBSG=p_Procs.sog 512 DL_TAILG=\"sog\" 513 514 OBJP := $(OBJP) $(DL_KERNEL_SOURCES:.cc=.op) 515 DL_LIBSP=p_Procs.sop 516 DL_TAILP=\"sop\" 517 518 OBJB := $(OBJB) $(DL_KERNEL_SOURCES:.cc=.ob) 519 DL_LIBSB=p_Procs.sob 520 DL_TAILB=\"sob\" 521 522 OBJT := $(OBJT) $(DL_KERNEL_SOURCES:.cc=.ot) 523 DL_LIBST=p_Procs.sot 524 DL_TAILT=\"sot\" 525 526 OBJA := $(OBJA) $(DL_KERNEL_SOURCES:.cc=.oa) 527 DL_LIBSA=p_Procs.soa 528 DL_TAILA=\"soa\" 529 530 else 531 532 OBJG := $(OBJG) $(STATIC_SOURCES:.cc=.og) 533 DL_LIBSG= 534 535 OBJP := $(OBJP) $(STATIC_SOURCES:.cc=.op) 536 DL_LIBSP= 537 538 OBJB := $(OBJB) $(STATIC_SOURCES:.cc=.ob) 539 DL_LIBSB= 540 541 OBJT := $(OBJT) $(STATIC_SOURCES:.cc=.ot) 542 DL_LIBST= 543 544 OBJA := $(OBJA) $(STATIC_SOURCES:.cc=.oa) 545 DL_LIBST= 546 547 endif 548 549 440 550 ## 441 551 ## compiler and linker options for debug version … … 450 560 CXXFLAGSG = -g -Wall -Wno-unused ${PIPE} 451 561 CXXTEMPLFLAGSG = -fno-implicit-templates 452 DEFSG = -D@SING_UNAME@ @DEFS@ 453 454 ## 455 ## .og files for having -O and -g object versions available at the same time 456 ## 457 458 OBJG1 := $(CXXSOURCES:.cc=.og) 459 OBJG2 := $(CSOURCES:.c=.og) 460 461 462 OBJG=$(OBJG1) $(OBJG2) 562 DEFSG = -D@SING_UNAME@ @DEFS@ -DDL_TAIL=$(DL_TAILG) 463 563 464 564 ## 465 565 ## Debug Targets 466 566 ## 567 568 p_Procs.sog: p_Procs_Lib.dl_og 569 ${CXXG} ${CXXFLAGSG} ${SFLAGS} ${SLDFLAGS} $< -o $@ 570 571 572 %.dl_og: %.cc 573 ${CXXG} ${CXXFLAGSG} ${CXXTEMPLFLAGSG} ${CPPFLAGS} ${DEFSG} ${SFLAGS} -c $< -o $@ 467 574 468 575 claptmpl.og: claptmpl.cc mod2.h 469 576 $(CXXG) ${CXXFLAGSG} ${CPPFLAGS} ${DEFSG} -c $< -o $@ 470 577 471 $(OBJG1) mmalloc.og:%.og: %.cc578 %.og: %.cc 472 579 $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGSG} ${CPPFLAGS} ${DEFSG} -c $< -o $@ 473 580 … … 475 582 $(CCG) ${CFLAGSG} ${CPPFLAGS} ${DEFSG} -c $< -o $@ 476 583 477 Singularg: scanner.cc $(OBJG) mmalloc.og \584 Singularg: scanner.cc $(OBJG) mmalloc.og $(DL_LIBSG)\ 478 585 iparith.og mpsr_Tok.og claptmpl.og tesths.cc version.h 479 586 $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGSG} ${CPPFLAGS} ${DEFSG} -o Singularg \ … … 526 633 ## 527 634 528 OBJP1 := $(CXXSOURCES:.cc=.op)529 OBJP2 := $(CSOURCES:.c=.op)530 OBJP=$(OBJP1) $(OBJP2)531 532 OBJB1 := $(CXXSOURCES:.cc=.ob)533 OBJB2 := $(CSOURCES:.c=.ob)534 OBJB=$(OBJB1) $(OBJB2)535 536 OBJT1 := $(CXXSOURCES:.cc=.ot)537 OBJT2 := $(CSOURCES:.c=.ot)538 OBJT=$(OBJT1) $(OBJT2)539 635 540 636 ## … … 543 639 544 640 ## for gprof 641 p_Procs.sop: p_Procs_Lib.dl_op 642 ${CXXP} ${CXXFLAGSP} ${SFLAGS} ${SLDFLAGS} $< -o $@ 643 644 645 %.dl_op: %.cc 646 ${CXXP} ${CXXFLAGSP} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSP} ${SFLAGS} -c $< -o $@ 647 648 545 649 claptmpl.op: claptmpl.cc mod2.h 546 650 $(CXXP) ${CXXFLAGSP} ${CPPFLAGS} ${DEFSP} -c $< -o $@ 547 651 548 $(OBJP1) mmalloc.op:%.op: %.cc652 %.op: %.cc 549 653 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGSP} ${CPPFLAGS} ${DEFSP} -c $< -o $@ 550 654 … … 566 670 567 671 ## for bprof 672 p_Procs.sob: p_Procs_Lib.dl_ob 673 ${CXXP} ${CXXFLAGSB} ${SFLAGS} ${SLDFLAGS} $< -o $@ 674 675 676 %.dl_ob: %.cc 677 ${CXXP} ${CXXFLAGSB} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSB} ${SFLAGS} -c $< -o $@ 678 679 568 680 claptmpl.ob: claptmpl.cc mod2.h 569 681 $(CXXP) ${CXXFLAGSP} ${CPPFLAGS} ${DEFSB} -c $< -o $@ 570 682 571 $(OBJB1) mmalloc.ob:%.ob: %.cc572 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGS P} ${CPPFLAGS} ${DEFSB} -c $< -o $@683 %.ob: %.cc 684 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSB} -c $< -o $@ 573 685 574 686 $(OBJB2) : %.ob: %.c … … 581 693 582 694 iparith.ob: iparith.inc iparith.cc 583 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGS P} ${CPPFLAGS} ${DEFSB} -c iparith.cc -o iparith.ob695 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSB} -c iparith.cc -o iparith.ob 584 696 585 697 mpsr_Tok.ob: iparith.inc mpsr_Tok.cc 586 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGS P} ${CPPFLAGS} ${DEFSB} -c mpsr_Tok.cc -o mpsr_Tok.ob698 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSB} -c mpsr_Tok.cc -o mpsr_Tok.ob 587 699 588 700 # 589 701 # for mtrack 590 702 # 703 p_Procs.sot: p_Procs_Lib.dl_ot 704 ${CXXP} ${CXXFLAGST} ${SFLAGS} ${SLDFLAGS} $< -o $@ 705 706 %.dl_ot: %.cc 707 ${CXXP} ${CXXFLAGST} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFST} ${SFLAGS} -c $< -o $@ 708 709 591 710 claptmpl.ot: claptmpl.cc mod2.h 592 711 $(CXXP) ${CXXFLAGST} ${CPPFLAGS} ${DEFST} -c $< -o $@ 593 712 594 $(OBJT1) mmalloc.ot:%.ot: %.cc595 $(CXXP) ${CXXFLAGST} ${CXXTEMPLFLAGS P} ${CPPFLAGS} ${DEFST} -c $< -o $@713 %.ot: %.cc 714 $(CXXP) ${CXXFLAGST} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFST} -c $< -o $@ 596 715 597 716 $(OBJT2) : %.ot: %.c … … 604 723 605 724 iparith.ot: iparith.inc iparith.cc 606 $(CXXP) ${CXXFLAGST} ${CXXTEMPLFLAGS B} ${CPPFLAGS} ${DEFST} -c iparith.cc -o iparith.ot725 $(CXXP) ${CXXFLAGST} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFST} -c iparith.cc -o iparith.ot 607 726 608 727 mpsr_Tok.ot: iparith.inc mpsr_Tok.cc 609 $(CXXP) ${CXXFLAGST} ${CXXTEMPLFLAGS B} ${CPPFLAGS} ${DEFST} -c mpsr_Tok.cc -o mpsr_Tok.ot728 $(CXXP) ${CXXFLAGST} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFST} -c mpsr_Tok.cc -o mpsr_Tok.ot 610 729 611 730 … … 614 733 # 615 734 DEFSA = -DOM_CHECK=1 -DHAVE_ASSUME -DNDEBUG -D@SING_UNAME@ @DEFS@ 616 OBJA1 := $(CXXSOURCES:.cc=.oa)617 OBJA2 := $(CSOURCES:.c=.oa)618 OBJA=$(OBJA1) $(OBJA2)619 735 CFLAGSA = -g -O -Wall -Wno-unused ${PIPE} 620 736 CXXFLAGSA = -g -O -Wall -Wno-unused ${PIPE} 621 737 738 p_Procs.soa: p_Procs_Lib.dl_oa 739 ${CXX} ${CXXFLAGSA} ${SFLAGS} ${SLDFLAGS} $< -o $@ 740 741 %.dl_oa: %.cc 742 ${CXX} ${CXXFLAGSA} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSA} ${SFLAGS} -c $< -o $@ 743 622 744 claptmpl.oa: claptmpl.cc mod2.h 623 745 $(CXX) ${CXXFLAGSA} ${CPPFLAGS} ${DEFSA} -c $< -o $@ 624 746 625 $(OBJA1) mmalloc.oa:%.oa: %.cc747 %.oa: %.cc 626 748 $(CXX) ${CXXFLAGSA} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFSA} -c $< -o $@ 627 749 … … 643 765 # for Macro expansion 644 766 # 645 CXXSOURCESD := $(CXXSOURCES:%.cc=%_d.cc) 767 CXXSOURCESD := $(CXXSOURCES:%.cc=%_d.cc) $(STATIC_SOURCES:%.cc=%_d.cc) 646 768 CSOURCESD := $(CSOURCES:%.c=%_d.c) 647 769 OBJD1 := $(CXXSOURCESD:.cc=.od) 648 770 OBJD2 := $(CSOURCESD:.c=.od) 649 650 p_ProcsGen_d.cc: p_Procs.cc p_Procs.h mod2.h651 $(CCG) -DNDEBUG -DGENERATE_P_PROCS ${CPPFLAGS} -E -P p_Procs.cc | $(PERL) -p -e 's/;/;\n/g' | $(PERL) -p -e 's/\{/\n\{/g' | $(PERL) -p -e 's/\}/\n\}/g' > $@652 p_ProcsGen_d: p_Procs_d.cc653 gcc -g -Wall -DNDEBUG -DGENERATE_P_PROCS p_Procs_d.cc -o p_ProcsGen_d654 771 655 772 %_d.c : %.c … … 683 800 684 801 %.dd: %.cc mod2.h 685 echo $(@:.dd=.og) $(@:.dd=.op) $(@:.dd=_d.cc) $(@:.dd=.od) $(@:.dd=.ob) $(@:.dd=.ot) $(@:.dd=.oa) " " \\ > $@802 echo $(@:.dd=.og) $(@:.dd=.op) $(@:.dd=_d.cc) $(@:.dd=.od) $(@:.dd=.ob) $(@:.dd=.ot) $(@:.dd=.oa) $(@:.dd=.dl_o) $(@:.dd=.dl_og) $(@:.dd=.dl_op) $(@:.dd=.dl_od) $(@:.dd=.dl_ob) $(@:.dd=.dl_ot) $(@:.dd=.dl_oa)" " \\ > $@ 686 803 $(CXXM) -DGENTABLE ${CPPFLAGS} ${DEFSG} $< >> $@ 687 804 … … 690 807 $(CCM) ${CPPFLAGS} ${DEFSG} $< >> $@ 691 808 692 depend: $(CXXSOURCES:.cc=.dd) $( CSOURCES:.c=.d) iparith.dd mmalloc.ddmod2.h809 depend: $(CXXSOURCES:.cc=.dd) $(ESOURCES:.cc=.dd) $(CSOURCES:.c=.d) mod2.h 693 810 cat *.d *.dd >depend 694 811 -
Singular/configure
r3c13f6 r7e5a38 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 24 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 19 19 --with-lex=[LEX,no] uses LEX as lex program, default is flex" 20 20 ac_help="$ac_help 21 --with-readline do use static readline for fancy display" 21 --with-readline=[dynamic,static,no] 22 do use dynamic/static/no readline for fancy display" 22 23 ac_help="$ac_help 23 24 --without-MP do not use MP (no MP links)" … … 31 32 --with-namespaces do compile namespace support" 32 33 ac_help="$ac_help 33 --with-dl do use dl (dynamic linking)" 34 --without-dl do not use dynamic linking, modules, and kernel" 35 ac_help="$ac_help 36 --with-dynamic-modules do compile with dynamic modules support" 37 ac_help="$ac_help 38 --without-dynamic-kernel 39 do not compile with dynamic kernel parts" 34 40 ac_help="$ac_help 35 41 --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic" … … 74 80 subdirs= 75 81 MFLAGS= MAKEFLAGS= 82 SHELL=${CONFIG_SHELL-/bin/sh} 76 83 # Maximum number of lines to put in a shell here document. 77 84 ac_max_here_lines=12 … … 357 364 358 365 -version | --version | --versio | --versi | --vers) 359 echo "configure generated by autoconf version 2.1 2"366 echo "configure generated by autoconf version 2.13" 360 367 exit 0 ;; 361 368 … … 527 534 ac_cpp='$CPP $CPPFLAGS' 528 535 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 529 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'536 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 530 537 cross_compiling=$ac_cv_prog_cc_cross 531 538 539 ac_exeext= 540 ac_objext=o 532 541 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 533 542 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 547 556 548 557 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 549 echo "configure:55 0: checking uname for singular" >&5558 echo "configure:559: checking uname for singular" >&5 550 559 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 551 560 echo $ac_n "(cached) $ac_c" 1>&6 … … 644 653 set dummy gcc; ac_word=$2 645 654 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 646 echo "configure:6 47: checking for $ac_word" >&5655 echo "configure:656: checking for $ac_word" >&5 647 656 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 648 657 echo $ac_n "(cached) $ac_c" 1>&6 … … 651 660 ac_cv_prog_CC="$CC" # Let the user override the test. 652 661 else 653 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 654 for ac_dir in $PATH; do 662 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 663 ac_dummy="$PATH" 664 for ac_dir in $ac_dummy; do 655 665 test -z "$ac_dir" && ac_dir=. 656 666 if test -f $ac_dir/$ac_word; then … … 673 683 set dummy cc; ac_word=$2 674 684 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 675 echo "configure:6 76: checking for $ac_word" >&5685 echo "configure:686: checking for $ac_word" >&5 676 686 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 677 687 echo $ac_n "(cached) $ac_c" 1>&6 … … 680 690 ac_cv_prog_CC="$CC" # Let the user override the test. 681 691 else 682 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" ${IFS}:"692 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 683 693 ac_prog_rejected=no 684 for ac_dir in $PATH; do 694 ac_dummy="$PATH" 695 for ac_dir in $ac_dummy; do 685 696 test -z "$ac_dir" && ac_dir=. 686 697 if test -f $ac_dir/$ac_word; then … … 717 728 fi 718 729 730 if test -z "$CC"; then 731 case "`uname -s`" in 732 *win32* | *WIN32*) 733 # Extract the first word of "cl", so it can be a program name with args. 734 set dummy cl; ac_word=$2 735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 736 echo "configure:737: checking for $ac_word" >&5 737 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 738 echo $ac_n "(cached) $ac_c" 1>&6 739 else 740 if test -n "$CC"; then 741 ac_cv_prog_CC="$CC" # Let the user override the test. 742 else 743 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 744 ac_dummy="$PATH" 745 for ac_dir in $ac_dummy; do 746 test -z "$ac_dir" && ac_dir=. 747 if test -f $ac_dir/$ac_word; then 748 ac_cv_prog_CC="cl" 749 break 750 fi 751 done 752 IFS="$ac_save_ifs" 753 fi 754 fi 755 CC="$ac_cv_prog_CC" 756 if test -n "$CC"; then 757 echo "$ac_t""$CC" 1>&6 758 else 759 echo "$ac_t""no" 1>&6 760 fi 761 ;; 762 esac 763 fi 719 764 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 720 765 fi 721 766 722 767 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 723 echo "configure:7 24: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5768 echo "configure:769: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 724 769 725 770 ac_ext=c … … 727 772 ac_cpp='$CPP $CPPFLAGS' 728 773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 729 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 730 775 cross_compiling=$ac_cv_prog_cc_cross 731 776 732 cat > conftest.$ac_ext <<EOF 733 #line 734 "configure" 734 #include "confdefs.h" 777 cat > conftest.$ac_ext << EOF 778 779 #line 780 "configure" 780 #include "confdefs.h" 781 735 782 main(){return(0);} 736 783 EOF 737 if { (eval echo configure:7 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then784 if { (eval echo configure:785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 738 785 ac_cv_prog_cc_works=yes 739 786 # If we can't run a trivial program, we are probably using a cross compiler. … … 749 796 fi 750 797 rm -fr conftest* 798 ac_ext=c 799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 800 ac_cpp='$CPP $CPPFLAGS' 801 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 802 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 803 cross_compiling=$ac_cv_prog_cc_cross 751 804 752 805 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 755 808 fi 756 809 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 757 echo "configure: 758: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5810 echo "configure:811: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 758 811 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 759 812 cross_compiling=$ac_cv_prog_cc_cross 760 813 761 814 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 762 echo "configure: 763: checking whether we are using GNU C" >&5815 echo "configure:816: checking whether we are using GNU C" >&5 763 816 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 764 817 echo $ac_n "(cached) $ac_c" 1>&6 … … 769 822 #endif 770 823 EOF 771 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then824 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 772 825 ac_cv_prog_gcc=yes 773 826 else … … 780 833 if test $ac_cv_prog_gcc = yes; then 781 834 GCC=yes 782 ac_test_CFLAGS="${CFLAGS+set}" 783 ac_save_CFLAGS="$CFLAGS" 784 CFLAGS= 785 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 786 echo "configure:787: checking whether ${CC-cc} accepts -g" >&5 835 else 836 GCC= 837 fi 838 839 ac_test_CFLAGS="${CFLAGS+set}" 840 ac_save_CFLAGS="$CFLAGS" 841 CFLAGS= 842 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 843 echo "configure:844: checking whether ${CC-cc} accepts -g" >&5 787 844 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 788 845 echo $ac_n "(cached) $ac_c" 1>&6 … … 799 856 800 857 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 801 if test "$ac_test_CFLAGS" = set; then 802 CFLAGS="$ac_save_CFLAGS" 803 elif test $ac_cv_prog_cc_g = yes; then 858 if test "$ac_test_CFLAGS" = set; then 859 CFLAGS="$ac_save_CFLAGS" 860 elif test $ac_cv_prog_cc_g = yes; then 861 if test "$GCC" = yes; then 804 862 CFLAGS="-g -O2" 805 863 else 864 CFLAGS="-g" 865 fi 866 else 867 if test "$GCC" = yes; then 806 868 CFLAGS="-O2" 869 else 870 CFLAGS= 807 871 fi 808 else809 GCC=810 test "${CFLAGS+set}" = set || CFLAGS="-g"811 872 fi 812 873 813 874 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 814 echo "configure:8 15: checking how to run the C preprocessor" >&5875 echo "configure:876: checking how to run the C preprocessor" >&5 815 876 # On Suns, sometimes $CPP names a directory. 816 877 if test -n "$CPP" && test -d "$CPP"; then … … 827 888 # not just through cpp. 828 889 cat > conftest.$ac_ext <<EOF 829 #line 8 30"configure"890 #line 891 "configure" 830 891 #include "confdefs.h" 831 892 #include <assert.h> … … 833 894 EOF 834 895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 835 { (eval echo configure:8 36: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }836 ac_err=`grep -v '^ *+' conftest.out `896 { (eval echo configure:897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 837 898 if test -z "$ac_err"; then 838 899 : … … 844 905 CPP="${CC-cc} -E -traditional-cpp" 845 906 cat > conftest.$ac_ext <<EOF 846 #line 847"configure"907 #line 908 "configure" 847 908 #include "confdefs.h" 848 909 #include <assert.h> … … 850 911 EOF 851 912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 852 { (eval echo configure: 853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }853 ac_err=`grep -v '^ *+' conftest.out `913 { (eval echo configure:914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 854 915 if test -z "$ac_err"; then 855 916 : … … 859 920 cat conftest.$ac_ext >&5 860 921 rm -rf conftest* 922 CPP="${CC-cc} -nologo -E" 923 cat > conftest.$ac_ext <<EOF 924 #line 925 "configure" 925 #include "confdefs.h" 926 #include <assert.h> 927 Syntax Error 928 EOF 929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 930 { (eval echo configure:931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 932 if test -z "$ac_err"; then 933 : 934 else 935 echo "$ac_err" >&5 936 echo "configure: failed program was:" >&5 937 cat conftest.$ac_ext >&5 938 rm -rf conftest* 861 939 CPP=/lib/cpp 862 940 fi … … 864 942 fi 865 943 rm -f conftest* 944 fi 945 rm -f conftest* 866 946 ac_cv_prog_CPP="$CPP" 867 947 fi … … 872 952 echo "$ac_t""$CPP" 1>&6 873 953 874 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ 954 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 875 955 do 876 956 # Extract the first word of "$ac_prog", so it can be a program name with args. 877 957 set dummy $ac_prog; ac_word=$2 878 958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 879 echo "configure: 880: checking for $ac_word" >&5959 echo "configure:960: checking for $ac_word" >&5 880 960 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 881 961 echo $ac_n "(cached) $ac_c" 1>&6 … … 884 964 ac_cv_prog_CXX="$CXX" # Let the user override the test. 885 965 else 886 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 887 for ac_dir in $PATH; do 966 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 967 ac_dummy="$PATH" 968 for ac_dir in $ac_dummy; do 888 969 test -z "$ac_dir" && ac_dir=. 889 970 if test -f $ac_dir/$ac_word; then … … 908 989 909 990 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 910 echo "configure:9 11: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5991 echo "configure:992: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 911 992 912 993 ac_ext=C … … 914 995 ac_cpp='$CXXCPP $CPPFLAGS' 915 996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 916 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 917 998 cross_compiling=$ac_cv_prog_cxx_cross 918 999 919 cat > conftest.$ac_ext <<EOF 920 #line 921 "configure" 921 #include "confdefs.h" 922 main(){return(0);} 923 EOF 924 if { (eval echo configure:925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1000 cat > conftest.$ac_ext << EOF 1001 1002 #line 1003 "configure" 1003 #include "confdefs.h" 1004 1005 int main(){return(0);} 1006 EOF 1007 if { (eval echo configure:1008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 925 1008 ac_cv_prog_cxx_works=yes 926 1009 # If we can't run a trivial program, we are probably using a cross compiler. … … 940 1023 ac_cpp='$CPP $CPPFLAGS' 941 1024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 942 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 943 1026 cross_compiling=$ac_cv_prog_cc_cross 944 1027 … … 948 1031 fi 949 1032 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 950 echo "configure: 951: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51033 echo "configure:1034: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 951 1034 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 952 1035 cross_compiling=$ac_cv_prog_cxx_cross 953 1036 954 1037 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 955 echo "configure: 956: checking whether we are using GNU C++" >&51038 echo "configure:1039: checking whether we are using GNU C++" >&5 956 1039 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 957 1040 echo $ac_n "(cached) $ac_c" 1>&6 … … 962 1045 #endif 963 1046 EOF 964 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure: 965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1047 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 965 1048 ac_cv_prog_gxx=yes 966 1049 else … … 973 1056 if test $ac_cv_prog_gxx = yes; then 974 1057 GXX=yes 975 ac_test_CXXFLAGS="${CXXFLAGS+set}" 976 ac_save_CXXFLAGS="$CXXFLAGS" 977 CXXFLAGS= 978 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 979 echo "configure:980: checking whether ${CXX-g++} accepts -g" >&5 1058 else 1059 GXX= 1060 fi 1061 1062 ac_test_CXXFLAGS="${CXXFLAGS+set}" 1063 ac_save_CXXFLAGS="$CXXFLAGS" 1064 CXXFLAGS= 1065 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1066 echo "configure:1067: checking whether ${CXX-g++} accepts -g" >&5 980 1067 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 981 1068 echo $ac_n "(cached) $ac_c" 1>&6 … … 992 1079 993 1080 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 994 if test "$ac_test_CXXFLAGS" = set; then 995 CXXFLAGS="$ac_save_CXXFLAGS" 996 elif test $ac_cv_prog_cxx_g = yes; then 1081 if test "$ac_test_CXXFLAGS" = set; then 1082 CXXFLAGS="$ac_save_CXXFLAGS" 1083 elif test $ac_cv_prog_cxx_g = yes; then 1084 if test "$GXX" = yes; then 997 1085 CXXFLAGS="-g -O2" 998 1086 else 1087 CXXFLAGS="-g" 1088 fi 1089 else 1090 if test "$GXX" = yes; then 999 1091 CXXFLAGS="-O2" 1092 else 1093 CXXFLAGS= 1000 1094 fi 1001 else1002 GXX=1003 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"1004 1095 fi 1005 1096 … … 1030 1121 # IRIX /sbin/install 1031 1122 # AIX /bin/install 1123 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1032 1124 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1033 1125 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1034 1126 # ./install, which can be erroneously created by make from ./install.sh. 1035 1127 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1036 echo "configure:1 037: checking for a BSD compatible install" >&51128 echo "configure:1129: checking for a BSD compatible install" >&5 1037 1129 if test -z "$INSTALL"; then 1038 1130 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1039 1131 echo $ac_n "(cached) $ac_c" 1>&6 1040 1132 else 1041 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" ${IFS}:"1133 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1042 1134 for ac_dir in $PATH; do 1043 1135 # Account for people who put trailing slashes in PATH elements. … … 1046 1138 *) 1047 1139 # OSF1 and SCO ODT 3.0 have their own names for install. 1048 for ac_prog in ginstall installbsd scoinst install; do 1140 # Don't use installbsd from OSF since it installs stuff as root 1141 # by default. 1142 for ac_prog in ginstall scoinst install; do 1049 1143 if test -f $ac_dir/$ac_prog; then 1050 1144 if test $ac_prog = install && 1051 1145 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1052 1146 # AIX install. It has an incompatible calling convention. 1053 # OSF/1 installbsd also uses dspmsg, but is usable.1054 1147 : 1055 1148 else … … 1081 1174 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1082 1175 1176 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1177 1083 1178 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1084 1179 1085 1180 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1086 echo "configure:1 087: checking for AIX" >&51181 echo "configure:1182: checking for AIX" >&5 1087 1182 cat > conftest.$ac_ext <<EOF 1088 #line 1 089"configure"1183 #line 1184 "configure" 1089 1184 #include "confdefs.h" 1090 1185 #ifdef _AIX … … 1116 1211 # check whether the compiler accepts -pipe 1117 1212 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1118 echo "configure:1 119: checking whether compiler accepts -pipe" >&51213 echo "configure:1214: checking whether compiler accepts -pipe" >&5 1119 1214 temp_cflags=${CFLAGS} 1120 1215 CFLAGS="${CFLAGS} -pipe" … … 1123 1218 else 1124 1219 cat > conftest.$ac_ext <<EOF 1125 #line 1 126"configure"1220 #line 1221 "configure" 1126 1221 #include "confdefs.h" 1127 1222 … … 1130 1225 ; return 0; } 1131 1226 EOF 1132 if { (eval echo configure:1 133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1227 if { (eval echo configure:1228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1133 1228 rm -rf conftest* 1134 1229 ac_cv_cxx_have_pipe=yes … … 1154 1249 # Customize CFLAGS 1155 1250 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1156 echo "configure:1 157: checking whether _AIX is defined" >&51251 echo "configure:1252: checking whether _AIX is defined" >&5 1157 1252 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1158 1253 echo $ac_n "(cached) $ac_c" 1>&6 1159 1254 else 1160 1255 cat > conftest.$ac_ext <<EOF 1161 #line 1 162"configure"1256 #line 1257 "configure" 1162 1257 #include "confdefs.h" 1163 1258 #ifdef _AIX … … 1210 1305 1211 1306 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1212 echo "configure:1 213: checking whether ${MAKE-make} sets \${MAKE}" >&51307 echo "configure:1308: checking whether ${MAKE-make} sets \${MAKE}" >&5 1213 1308 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1214 1309 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 1288 1383 if test "${with_lex+set}" != set; then 1289 1384 echo $ac_n "checking for flex""... $ac_c" 1>&6 1290 echo "configure:1 291: checking for flex" >&51385 echo "configure:1386: checking for flex" >&5 1291 1386 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then 1292 1387 echo $ac_n "(cached) $ac_c" 1>&6 … … 1319 1414 set dummy $ac_prog; ac_word=$2 1320 1415 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1321 echo "configure:1 322: checking for $ac_word" >&51416 echo "configure:1417: checking for $ac_word" >&5 1322 1417 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 1323 1418 echo $ac_n "(cached) $ac_c" 1>&6 … … 1326 1421 ac_cv_prog_LEX="$LEX" # Let the user override the test. 1327 1422 else 1328 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1329 for ac_dir in $PATH; do 1423 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1424 ac_dummy="$PATH" 1425 for ac_dir in $ac_dummy; do 1330 1426 test -z "$ac_dir" && ac_dir=. 1331 1427 if test -f $ac_dir/$ac_word; then … … 1358 1454 set dummy $ac_prog; ac_word=$2 1359 1455 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1360 echo "configure:1 361: checking for $ac_word" >&51456 echo "configure:1457: checking for $ac_word" >&5 1361 1457 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then 1362 1458 echo $ac_n "(cached) $ac_c" 1>&6 … … 1365 1461 ac_cv_prog_BISON="$BISON" # Let the user override the test. 1366 1462 else 1367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1368 for ac_dir in $PATH; do 1463 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1464 ac_dummy="$PATH" 1465 for ac_dir in $ac_dummy; do 1369 1466 test -z "$ac_dir" && ac_dir=. 1370 1467 if test -f $ac_dir/$ac_word; then … … 1392 1489 # ln -s 1393 1490 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1394 echo "configure:1 395: checking whether ln -s works" >&51491 echo "configure:1492: checking whether ln -s works" >&5 1395 1492 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1396 1493 echo $ac_n "(cached) $ac_c" 1>&6 … … 1418 1515 set dummy $ac_prog; ac_word=$2 1419 1516 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1420 echo "configure:1 421: checking for $ac_word" >&51517 echo "configure:1518: checking for $ac_word" >&5 1421 1518 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1422 1519 echo $ac_n "(cached) $ac_c" 1>&6 … … 1425 1522 ac_cv_prog_PERL="$PERL" # Let the user override the test. 1426 1523 else 1427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 1428 for ac_dir in $PATH; do 1524 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1525 ac_dummy="$PATH" 1526 for ac_dir in $ac_dummy; do 1429 1527 test -z "$ac_dir" && ac_dir=. 1430 1528 if test -f $ac_dir/$ac_word; then … … 1449 1547 # lib checks 1450 1548 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1451 echo "configure:1 452: checking for atof in -lm" >&51549 echo "configure:1550: checking for atof in -lm" >&5 1452 1550 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1453 1551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1457 1555 LIBS="-lm $LIBS" 1458 1556 cat > conftest.$ac_ext <<EOF 1459 #line 1 460"configure"1557 #line 1558 "configure" 1460 1558 #include "confdefs.h" 1461 1559 /* Override any gcc2 internal prototype to avoid an error. */ … … 1468 1566 ; return 0; } 1469 1567 EOF 1470 if { (eval echo configure:1 471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1568 if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1471 1569 rm -rf conftest* 1472 1570 eval "ac_cv_lib_$ac_lib_var=yes" … … 1496 1594 1497 1595 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1498 echo "configure:1 499: checking for socket in -lbsd" >&51596 echo "configure:1597: checking for socket in -lbsd" >&5 1499 1597 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1500 1598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1504 1602 LIBS="-lbsd $LIBS" 1505 1603 cat > conftest.$ac_ext <<EOF 1506 #line 1 507"configure"1604 #line 1605 "configure" 1507 1605 #include "confdefs.h" 1508 1606 /* Override any gcc2 internal prototype to avoid an error. */ … … 1515 1613 ; return 0; } 1516 1614 EOF 1517 if { (eval echo configure:1 518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1615 if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1518 1616 rm -rf conftest* 1519 1617 eval "ac_cv_lib_$ac_lib_var=yes" … … 1543 1641 1544 1642 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1545 echo "configure:1 546: checking for listen in -lsocket" >&51643 echo "configure:1644: checking for listen in -lsocket" >&5 1546 1644 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1547 1645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1551 1649 LIBS="-lsocket $LIBS" 1552 1650 cat > conftest.$ac_ext <<EOF 1553 #line 1 554"configure"1651 #line 1652 "configure" 1554 1652 #include "confdefs.h" 1555 1653 /* Override any gcc2 internal prototype to avoid an error. */ … … 1562 1660 ; return 0; } 1563 1661 EOF 1564 if { (eval echo configure:1 565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1662 if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1565 1663 rm -rf conftest* 1566 1664 eval "ac_cv_lib_$ac_lib_var=yes" … … 1590 1688 1591 1689 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1592 echo "configure:1 593: checking for gethostbyname in -lnsl" >&51690 echo "configure:1691: checking for gethostbyname in -lnsl" >&5 1593 1691 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1594 1692 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1598 1696 LIBS="-lnsl $LIBS" 1599 1697 cat > conftest.$ac_ext <<EOF 1600 #line 16 01"configure"1698 #line 1699 "configure" 1601 1699 #include "confdefs.h" 1602 1700 /* Override any gcc2 internal prototype to avoid an error. */ … … 1609 1707 ; return 0; } 1610 1708 EOF 1611 if { (eval echo configure:1 612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1709 if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1612 1710 rm -rf conftest* 1613 1711 eval "ac_cv_lib_$ac_lib_var=yes" … … 1637 1735 1638 1736 echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6 1639 echo "configure:1 640: checking for index in -lucb" >&51737 echo "configure:1738: checking for index in -lucb" >&5 1640 1738 ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'` 1641 1739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1645 1743 LIBS="-lucb $LIBS" 1646 1744 cat > conftest.$ac_ext <<EOF 1647 #line 1 648"configure"1745 #line 1746 "configure" 1648 1746 #include "confdefs.h" 1649 1747 /* Override any gcc2 internal prototype to avoid an error. */ … … 1656 1754 ; return 0; } 1657 1755 EOF 1658 if { (eval echo configure:1 659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1756 if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1659 1757 rm -rf conftest* 1660 1758 eval "ac_cv_lib_$ac_lib_var=yes" … … 1684 1782 1685 1783 1784 # check for dl lib 1785 case "$ac_cv_singuname" in 1786 HPUX*) 1787 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 1788 echo "configure:1789: checking for shl_load in -ldld" >&5 1789 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 1790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1791 echo $ac_n "(cached) $ac_c" 1>&6 1792 else 1793 ac_save_LIBS="$LIBS" 1794 LIBS="-ldld $LIBS" 1795 cat > conftest.$ac_ext <<EOF 1796 #line 1797 "configure" 1797 #include "confdefs.h" 1798 /* Override any gcc2 internal prototype to avoid an error. */ 1799 /* We use char because int might match the return type of a gcc2 1800 builtin and then its argument prototype would still apply. */ 1801 char shl_load(); 1802 1803 int main() { 1804 shl_load() 1805 ; return 0; } 1806 EOF 1807 if { (eval echo configure:1808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1808 rm -rf conftest* 1809 eval "ac_cv_lib_$ac_lib_var=yes" 1810 else 1811 echo "configure: failed program was:" >&5 1812 cat conftest.$ac_ext >&5 1813 rm -rf conftest* 1814 eval "ac_cv_lib_$ac_lib_var=no" 1815 fi 1816 rm -f conftest* 1817 LIBS="$ac_save_LIBS" 1818 1819 fi 1820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1821 echo "$ac_t""yes" 1>&6 1822 ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1823 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1824 cat >> confdefs.h <<EOF 1825 #define $ac_tr_lib 1 1826 EOF 1827 1828 LIBS="-ldld $LIBS" 1829 1830 else 1831 echo "$ac_t""no" 1>&6 1832 fi 1833 1834 if test "$ac_cv_lib_dld_shl_load" = yes; then 1835 LD_DYN_FLAGS="-ldld -Xlinker -E" 1836 SFLAGS="-fPIC -DPIC" 1837 SLDFLAGS=-shared 1838 ac_lib_dl=yes 1839 fi 1840 ;; 1841 *Linux*) 1842 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 1843 echo "configure:1844: checking for dlopen in -ldl" >&5 1844 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 1845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1846 echo $ac_n "(cached) $ac_c" 1>&6 1847 else 1848 ac_save_LIBS="$LIBS" 1849 LIBS="-ldl $LIBS" 1850 cat > conftest.$ac_ext <<EOF 1851 #line 1852 "configure" 1852 #include "confdefs.h" 1853 /* Override any gcc2 internal prototype to avoid an error. */ 1854 /* We use char because int might match the return type of a gcc2 1855 builtin and then its argument prototype would still apply. */ 1856 char dlopen(); 1857 1858 int main() { 1859 dlopen() 1860 ; return 0; } 1861 EOF 1862 if { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1863 rm -rf conftest* 1864 eval "ac_cv_lib_$ac_lib_var=yes" 1865 else 1866 echo "configure: failed program was:" >&5 1867 cat conftest.$ac_ext >&5 1868 rm -rf conftest* 1869 eval "ac_cv_lib_$ac_lib_var=no" 1870 fi 1871 rm -f conftest* 1872 LIBS="$ac_save_LIBS" 1873 1874 fi 1875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1876 echo "$ac_t""yes" 1>&6 1877 ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1878 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1879 cat >> confdefs.h <<EOF 1880 #define $ac_tr_lib 1 1881 EOF 1882 1883 LIBS="-ldl $LIBS" 1884 1885 else 1886 echo "$ac_t""no" 1>&6 1887 fi 1888 1889 if test "$ac_cv_lib_dl_dlopen" = yes; then 1890 LD_DYN_FLAGS="-ldl -rdynamic" 1891 SFLAGS="-fPIC -DPIC" 1892 SLDFLAGS=-shared 1893 ac_lib_dl=yes 1894 fi 1895 ;; 1896 esac 1897 1898 1899 1900 1686 1901 # heder file checks 1687 1902 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1688 echo "configure:1 689: checking for ANSI C header files" >&51903 echo "configure:1904: checking for ANSI C header files" >&5 1689 1904 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1690 1905 echo $ac_n "(cached) $ac_c" 1>&6 1691 1906 else 1692 1907 cat > conftest.$ac_ext <<EOF 1693 #line 1 694"configure"1908 #line 1909 "configure" 1694 1909 #include "confdefs.h" 1695 1910 #include <stdlib.h> … … 1699 1914 EOF 1700 1915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1701 { (eval echo configure:1 702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1702 ac_err=`grep -v '^ *+' conftest.out `1916 { (eval echo configure:1917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1703 1918 if test -z "$ac_err"; then 1704 1919 rm -rf conftest* … … 1716 1931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1717 1932 cat > conftest.$ac_ext <<EOF 1718 #line 1 719"configure"1933 #line 1934 "configure" 1719 1934 #include "confdefs.h" 1720 1935 #include <string.h> … … 1734 1949 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1735 1950 cat > conftest.$ac_ext <<EOF 1736 #line 1 737"configure"1951 #line 1952 "configure" 1737 1952 #include "confdefs.h" 1738 1953 #include <stdlib.h> … … 1755 1970 else 1756 1971 cat > conftest.$ac_ext <<EOF 1757 #line 1 758"configure"1972 #line 1973 "configure" 1758 1973 #include "confdefs.h" 1759 1974 #include <ctype.h> … … 1766 1981 1767 1982 EOF 1768 if { (eval echo configure:1 769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null1983 if { (eval echo configure:1984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1769 1984 then 1770 1985 : … … 1793 2008 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1794 2009 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1795 echo "configure: 1796: checking for $ac_hdr" >&52010 echo "configure:2011: checking for $ac_hdr" >&5 1796 2011 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1797 2012 echo $ac_n "(cached) $ac_c" 1>&6 1798 2013 else 1799 2014 cat > conftest.$ac_ext <<EOF 1800 #line 1801"configure"2015 #line 2016 "configure" 1801 2016 #include "confdefs.h" 1802 2017 #include <$ac_hdr> 1803 2018 EOF 1804 2019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1805 { (eval echo configure: 1806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1806 ac_err=`grep -v '^ *+' conftest.out `2020 { (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1807 2022 if test -z "$ac_err"; then 1808 2023 rm -rf conftest* … … 1835 2050 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1836 2051 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1837 echo "configure: 1838: checking for $ac_hdr" >&52052 echo "configure:2053: checking for $ac_hdr" >&5 1838 2053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1839 2054 echo $ac_n "(cached) $ac_c" 1>&6 1840 2055 else 1841 2056 cat > conftest.$ac_ext <<EOF 1842 #line 1843"configure"2057 #line 2058 "configure" 1843 2058 #include "confdefs.h" 1844 2059 #include <$ac_hdr> 1845 2060 EOF 1846 2061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1847 { (eval echo configure: 1848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1848 ac_err=`grep -v '^ *+' conftest.out `2062 { (eval echo configure:2063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1849 2064 if test -z "$ac_err"; then 1850 2065 rm -rf conftest* … … 1874 2089 # typedefs, structures 1875 2090 echo $ac_n "checking for working const""... $ac_c" 1>&6 1876 echo "configure: 1877: checking for working const" >&52091 echo "configure:2092: checking for working const" >&5 1877 2092 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1878 2093 echo $ac_n "(cached) $ac_c" 1>&6 1879 2094 else 1880 2095 cat > conftest.$ac_ext <<EOF 1881 #line 1882"configure"2096 #line 2097 "configure" 1882 2097 #include "confdefs.h" 1883 2098 … … 1928 2143 ; return 0; } 1929 2144 EOF 1930 if { (eval echo configure: 1931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2145 if { (eval echo configure:2146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1931 2146 rm -rf conftest* 1932 2147 ac_cv_c_const=yes … … 1949 2164 1950 2165 echo $ac_n "checking for inline""... $ac_c" 1>&6 1951 echo "configure: 1952: checking for inline" >&52166 echo "configure:2167: checking for inline" >&5 1952 2167 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1953 2168 echo $ac_n "(cached) $ac_c" 1>&6 … … 1956 2171 for ac_kw in inline __inline__ __inline; do 1957 2172 cat > conftest.$ac_ext <<EOF 1958 #line 1959"configure"2173 #line 2174 "configure" 1959 2174 #include "confdefs.h" 1960 2175 … … 1963 2178 ; return 0; } 1964 2179 EOF 1965 if { (eval echo configure: 1966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2180 if { (eval echo configure:2181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1966 2181 rm -rf conftest* 1967 2182 ac_cv_c_inline=$ac_kw; break … … 1989 2204 1990 2205 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1991 echo "configure: 1992: checking for size_t" >&52206 echo "configure:2207: checking for size_t" >&5 1992 2207 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1993 2208 echo $ac_n "(cached) $ac_c" 1>&6 1994 2209 else 1995 2210 cat > conftest.$ac_ext <<EOF 1996 #line 1997"configure"2211 #line 2212 "configure" 1997 2212 #include "confdefs.h" 1998 2213 #include <sys/types.h> … … 2003 2218 EOF 2004 2219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2005 egrep " size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then2220 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2006 2221 rm -rf conftest* 2007 2222 ac_cv_type_size_t=yes … … 2022 2237 2023 2238 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2024 echo "configure:2 025: checking whether time.h and sys/time.h may both be included" >&52239 echo "configure:2240: checking whether time.h and sys/time.h may both be included" >&5 2025 2240 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2026 2241 echo $ac_n "(cached) $ac_c" 1>&6 2027 2242 else 2028 2243 cat > conftest.$ac_ext <<EOF 2029 #line 2 030"configure"2244 #line 2245 "configure" 2030 2245 #include "confdefs.h" 2031 2246 #include <sys/types.h> … … 2036 2251 ; return 0; } 2037 2252 EOF 2038 if { (eval echo configure:2 039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2253 if { (eval echo configure:2254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2039 2254 rm -rf conftest* 2040 2255 ac_cv_header_time=yes … … 2057 2272 2058 2273 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2059 echo "configure:2 060: checking whether struct tm is in sys/time.h or time.h" >&52274 echo "configure:2275: checking whether struct tm is in sys/time.h or time.h" >&5 2060 2275 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2061 2276 echo $ac_n "(cached) $ac_c" 1>&6 2062 2277 else 2063 2278 cat > conftest.$ac_ext <<EOF 2064 #line 2 065"configure"2279 #line 2280 "configure" 2065 2280 #include "confdefs.h" 2066 2281 #include <sys/types.h> … … 2070 2285 ; return 0; } 2071 2286 EOF 2072 if { (eval echo configure:2 073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2287 if { (eval echo configure:2288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2073 2288 rm -rf conftest* 2074 2289 ac_cv_struct_tm=time.h … … 2095 2310 # for constant arguments. Useless! 2096 2311 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2097 echo "configure:2 098: checking for working alloca.h" >&52312 echo "configure:2313: checking for working alloca.h" >&5 2098 2313 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2099 2314 echo $ac_n "(cached) $ac_c" 1>&6 2100 2315 else 2101 2316 cat > conftest.$ac_ext <<EOF 2102 #line 2 103"configure"2317 #line 2318 "configure" 2103 2318 #include "confdefs.h" 2104 2319 #include <alloca.h> … … 2107 2322 ; return 0; } 2108 2323 EOF 2109 if { (eval echo configure:2 110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2110 2325 rm -rf conftest* 2111 2326 ac_cv_header_alloca_h=yes … … 2128 2343 2129 2344 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2130 echo "configure:2 131: checking for alloca" >&52345 echo "configure:2346: checking for alloca" >&5 2131 2346 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2132 2347 echo $ac_n "(cached) $ac_c" 1>&6 2133 2348 else 2134 2349 cat > conftest.$ac_ext <<EOF 2135 #line 2 136"configure"2350 #line 2351 "configure" 2136 2351 #include "confdefs.h" 2137 2352 … … 2139 2354 # define alloca __builtin_alloca 2140 2355 #else 2141 # if HAVE_ALLOCA_H 2142 # include <alloca.h> 2356 # ifdef _MSC_VER 2357 # include <malloc.h> 2358 # define alloca _alloca 2143 2359 # else 2144 # ifdef _AIX 2360 # if HAVE_ALLOCA_H 2361 # include <alloca.h> 2362 # else 2363 # ifdef _AIX 2145 2364 #pragma alloca 2146 # else2147 # ifndef alloca /* predefined by HP cc +Olibcalls */2365 # else 2366 # ifndef alloca /* predefined by HP cc +Olibcalls */ 2148 2367 char *alloca (); 2368 # endif 2149 2369 # endif 2150 2370 # endif … … 2156 2376 ; return 0; } 2157 2377 EOF 2158 if { (eval echo configure:2 159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2378 if { (eval echo configure:2379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2159 2379 rm -rf conftest* 2160 2380 ac_cv_func_alloca_works=yes … … 2181 2401 # contain a buggy version. If you still want to use their alloca, 2182 2402 # use ar to extract alloca.o from them instead of compiling alloca.c. 2183 ALLOCA=alloca. o2403 ALLOCA=alloca.${ac_objext} 2184 2404 cat >> confdefs.h <<\EOF 2185 2405 #define C_ALLOCA 1 … … 2188 2408 2189 2409 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2190 echo "configure:2 191: checking whether alloca needs Cray hooks" >&52410 echo "configure:2411: checking whether alloca needs Cray hooks" >&5 2191 2411 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2192 2412 echo $ac_n "(cached) $ac_c" 1>&6 2193 2413 else 2194 2414 cat > conftest.$ac_ext <<EOF 2195 #line 2 196 "configure"2415 #line 2416 "configure" 2196 2416 #include "confdefs.h" 2197 2417 #if defined(CRAY) && ! defined(CRAY2) … … 2218 2438 for ac_func in _getb67 GETB67 getb67; do 2219 2439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2220 echo "configure:2 221: checking for $ac_func" >&52440 echo "configure:2441: checking for $ac_func" >&5 2221 2441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2222 2442 echo $ac_n "(cached) $ac_c" 1>&6 2223 2443 else 2224 2444 cat > conftest.$ac_ext <<EOF 2225 #line 2 226 "configure"2445 #line 2446 "configure" 2226 2446 #include "confdefs.h" 2227 2447 /* System header to define __stub macros and hopefully few prototypes, … … 2246 2466 ; return 0; } 2247 2467 EOF 2248 if { (eval echo configure:2 249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2468 if { (eval echo configure:2469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2249 2469 rm -rf conftest* 2250 2470 eval "ac_cv_func_$ac_func=yes" … … 2273 2493 2274 2494 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2275 echo "configure:2 276: checking stack direction for C alloca" >&52495 echo "configure:2496: checking stack direction for C alloca" >&5 2276 2496 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2277 2497 echo $ac_n "(cached) $ac_c" 1>&6 … … 2281 2501 else 2282 2502 cat > conftest.$ac_ext <<EOF 2283 #line 2 284 "configure"2503 #line 2504 "configure" 2284 2504 #include "confdefs.h" 2285 2505 find_stack_direction () … … 2300 2520 } 2301 2521 EOF 2302 if { (eval echo configure:2 303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2522 if { (eval echo configure:2523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2303 2523 then 2304 2524 ac_cv_c_stack_direction=1 … … 2323 2543 if test $ac_cv_prog_gcc = yes; then 2324 2544 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2325 echo "configure:2 326: checking whether ${CC-cc} needs -traditional" >&52545 echo "configure:2546: checking whether ${CC-cc} needs -traditional" >&5 2326 2546 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2327 2547 echo $ac_n "(cached) $ac_c" 1>&6 … … 2329 2549 ac_pattern="Autoconf.*'x'" 2330 2550 cat > conftest.$ac_ext <<EOF 2331 #line 2 332 "configure"2551 #line 2552 "configure" 2332 2552 #include "confdefs.h" 2333 2553 #include <sgtty.h> … … 2347 2567 if test $ac_cv_prog_gcc_traditional = no; then 2348 2568 cat > conftest.$ac_ext <<EOF 2349 #line 2 350 "configure"2569 #line 2570 "configure" 2350 2570 #include "confdefs.h" 2351 2571 #include <termio.h> … … 2372 2592 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2373 2593 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2374 echo "configure:2 375: checking for $ac_hdr" >&52594 echo "configure:2595: checking for $ac_hdr" >&5 2375 2595 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2376 2596 echo $ac_n "(cached) $ac_c" 1>&6 2377 2597 else 2378 2598 cat > conftest.$ac_ext <<EOF 2379 #line 2 380 "configure"2599 #line 2600 "configure" 2380 2600 #include "confdefs.h" 2381 2601 #include <$ac_hdr> 2382 2602 EOF 2383 2603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2384 { (eval echo configure:2 385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2385 ac_err=`grep -v '^ *+' conftest.out `2604 { (eval echo configure:2605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2386 2606 if test -z "$ac_err"; then 2387 2607 rm -rf conftest* … … 2411 2631 do 2412 2632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2413 echo "configure:2 414: checking for $ac_func" >&52633 echo "configure:2634: checking for $ac_func" >&5 2414 2634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2415 2635 echo $ac_n "(cached) $ac_c" 1>&6 2416 2636 else 2417 2637 cat > conftest.$ac_ext <<EOF 2418 #line 2 419 "configure"2638 #line 2639 "configure" 2419 2639 #include "confdefs.h" 2420 2640 /* System header to define __stub macros and hopefully few prototypes, … … 2439 2659 ; return 0; } 2440 2660 EOF 2441 if { (eval echo configure:2 442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2661 if { (eval echo configure:2662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2442 2662 rm -rf conftest* 2443 2663 eval "ac_cv_func_$ac_func=yes" … … 2464 2684 2465 2685 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2466 echo "configure:2 467: checking for working mmap" >&52686 echo "configure:2687: checking for working mmap" >&5 2467 2687 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2468 2688 echo $ac_n "(cached) $ac_c" 1>&6 … … 2472 2692 else 2473 2693 cat > conftest.$ac_ext <<EOF 2474 #line 2 475 "configure"2694 #line 2695 "configure" 2475 2695 #include "confdefs.h" 2476 2696 … … 2612 2832 2613 2833 EOF 2614 if { (eval echo configure:2 615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null2834 if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2615 2835 then 2616 2836 ac_cv_func_mmap_fixed_mapped=yes … … 2635 2855 2636 2856 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2637 echo "configure:2 638: checking return type of signal handlers" >&52857 echo "configure:2858: checking return type of signal handlers" >&5 2638 2858 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2639 2859 echo $ac_n "(cached) $ac_c" 1>&6 2640 2860 else 2641 2861 cat > conftest.$ac_ext <<EOF 2642 #line 2 643 "configure"2862 #line 2863 "configure" 2643 2863 #include "confdefs.h" 2644 2864 #include <sys/types.h> … … 2657 2877 ; return 0; } 2658 2878 EOF 2659 if { (eval echo configure:2 660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2879 if { (eval echo configure:2880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2660 2880 rm -rf conftest* 2661 2881 ac_cv_type_signal=void … … 2676 2896 2677 2897 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2678 echo "configure:2 679: checking for vprintf" >&52898 echo "configure:2899: checking for vprintf" >&5 2679 2899 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2680 2900 echo $ac_n "(cached) $ac_c" 1>&6 2681 2901 else 2682 2902 cat > conftest.$ac_ext <<EOF 2683 #line 2 684 "configure"2903 #line 2904 "configure" 2684 2904 #include "confdefs.h" 2685 2905 /* System header to define __stub macros and hopefully few prototypes, … … 2704 2924 ; return 0; } 2705 2925 EOF 2706 if { (eval echo configure:2 707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2926 if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2707 2927 rm -rf conftest* 2708 2928 eval "ac_cv_func_vprintf=yes" … … 2728 2948 if test "$ac_cv_func_vprintf" != yes; then 2729 2949 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2730 echo "configure:2 731: checking for _doprnt" >&52950 echo "configure:2951: checking for _doprnt" >&5 2731 2951 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2732 2952 echo $ac_n "(cached) $ac_c" 1>&6 2733 2953 else 2734 2954 cat > conftest.$ac_ext <<EOF 2735 #line 2 736 "configure"2955 #line 2956 "configure" 2736 2956 #include "confdefs.h" 2737 2957 /* System header to define __stub macros and hopefully few prototypes, … … 2756 2976 ; return 0; } 2757 2977 EOF 2758 if { (eval echo configure:2 759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2978 if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2759 2979 rm -rf conftest* 2760 2980 eval "ac_cv_func__doprnt=yes" … … 2783 3003 do 2784 3004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2785 echo "configure: 2786: checking for $ac_func" >&53005 echo "configure:3006: checking for $ac_func" >&5 2786 3006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2787 3007 echo $ac_n "(cached) $ac_c" 1>&6 2788 3008 else 2789 3009 cat > conftest.$ac_ext <<EOF 2790 #line 2791 "configure"3010 #line 3011 "configure" 2791 3011 #include "confdefs.h" 2792 3012 /* System header to define __stub macros and hopefully few prototypes, … … 2811 3031 ; return 0; } 2812 3032 EOF 2813 if { (eval echo configure: 2814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3033 if { (eval echo configure:3034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2814 3034 rm -rf conftest* 2815 3035 eval "ac_cv_func_$ac_func=yes" … … 2839 3059 # arithmetic shifts 2840 3060 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 2841 echo "configure: 2842: checking whether your machine has correct arithmetic shifts" >&53061 echo "configure:3062: checking whether your machine has correct arithmetic shifts" >&5 2842 3062 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 2843 3063 echo $ac_n "(cached) $ac_c" 1>&6 … … 2852 3072 else 2853 3073 cat > conftest.$ac_ext <<EOF 2854 #line 2855 "configure"3074 #line 3075 "configure" 2855 3075 #include "confdefs.h" 2856 3076 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 2857 3077 EOF 2858 if { (eval echo configure: 2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3078 if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2859 3079 then 2860 3080 ac_cv_shift=yes … … 2881 3101 # check for a peculiar constructor initialization 2882 3102 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 2883 echo "configure: 2884: checking whether explicit C++ constructor calls are allowed" >&53103 echo "configure:3104: checking whether explicit C++ constructor calls are allowed" >&5 2884 3104 2885 3105 ac_ext=C … … 2887 3107 ac_cpp='$CXXCPP $CPPFLAGS' 2888 3108 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2889 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'3109 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2890 3110 cross_compiling=$ac_cv_prog_cxx_cross 2891 3111 … … 2894 3114 else 2895 3115 cat > conftest.$ac_ext <<EOF 2896 #line 2897 "configure"3116 #line 3117 "configure" 2897 3117 #include "confdefs.h" 2898 3118 … … 2912 3132 ; return 0; } 2913 3133 EOF 2914 if { (eval echo configure: 2915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3134 if { (eval echo configure:3135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2915 3135 rm -rf conftest* 2916 3136 ac_cv_explicit_const=yes … … 2928 3148 ac_cpp='$CPP $CPPFLAGS' 2929 3149 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2930 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'3150 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2931 3151 cross_compiling=$ac_cv_prog_cc_cross 2932 3152 … … 2941 3161 # sprintf returns number of printed chars 2942 3162 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 2943 echo "configure: 2944: checking whether vsprintf returns number of printed chars" >&53163 echo "configure:3164: checking whether vsprintf returns number of printed chars" >&5 2944 3164 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 2945 3165 echo $ac_n "(cached) $ac_c" 1>&6 … … 2949 3169 else 2950 3170 cat > conftest.$ac_ext <<EOF 2951 #line 2952 "configure"3171 #line 3172 "configure" 2952 3172 #include "confdefs.h" 2953 3173 #include <stdio.h> 2954 3174 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 2955 3175 EOF 2956 if { (eval echo configure: 2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3176 if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2957 3177 then 2958 3178 ac_cv_returns_n_of_chars=yes … … 2980 3200 # determine ALIGN_8 2981 3201 echo $ac_n "checking size of char""... $ac_c" 1>&6 2982 echo "configure: 2983: checking size of char" >&53202 echo "configure:3203: checking size of char" >&5 2983 3203 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 2984 3204 echo $ac_n "(cached) $ac_c" 1>&6 … … 2988 3208 else 2989 3209 cat > conftest.$ac_ext <<EOF 2990 #line 2991 "configure"3210 #line 3211 "configure" 2991 3211 #include "confdefs.h" 2992 3212 #include <stdio.h> … … 2999 3219 } 3000 3220 EOF 3001 if { (eval echo configure:3 002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3221 if { (eval echo configure:3222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3002 3222 then 3003 3223 ac_cv_sizeof_char=`cat conftestval` … … 3019 3239 3020 3240 echo $ac_n "checking size of short""... $ac_c" 1>&6 3021 echo "configure:3 022: checking size of short" >&53241 echo "configure:3242: checking size of short" >&5 3022 3242 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3023 3243 echo $ac_n "(cached) $ac_c" 1>&6 … … 3027 3247 else 3028 3248 cat > conftest.$ac_ext <<EOF 3029 #line 3 030 "configure"3249 #line 3250 "configure" 3030 3250 #include "confdefs.h" 3031 3251 #include <stdio.h> … … 3038 3258 } 3039 3259 EOF 3040 if { (eval echo configure:3 041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3260 if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3041 3261 then 3042 3262 ac_cv_sizeof_short=`cat conftestval` … … 3058 3278 3059 3279 echo $ac_n "checking size of int""... $ac_c" 1>&6 3060 echo "configure:3 061: checking size of int" >&53280 echo "configure:3281: checking size of int" >&5 3061 3281 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3062 3282 echo $ac_n "(cached) $ac_c" 1>&6 … … 3066 3286 else 3067 3287 cat > conftest.$ac_ext <<EOF 3068 #line 3 069 "configure"3288 #line 3289 "configure" 3069 3289 #include "confdefs.h" 3070 3290 #include <stdio.h> … … 3077 3297 } 3078 3298 EOF 3079 if { (eval echo configure:3 080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3299 if { (eval echo configure:3300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3080 3300 then 3081 3301 ac_cv_sizeof_int=`cat conftestval` … … 3097 3317 3098 3318 echo $ac_n "checking size of long""... $ac_c" 1>&6 3099 echo "configure:3 100: checking size of long" >&53319 echo "configure:3320: checking size of long" >&5 3100 3320 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3101 3321 echo $ac_n "(cached) $ac_c" 1>&6 … … 3105 3325 else 3106 3326 cat > conftest.$ac_ext <<EOF 3107 #line 3 108 "configure"3327 #line 3328 "configure" 3108 3328 #include "confdefs.h" 3109 3329 #include <stdio.h> … … 3116 3336 } 3117 3337 EOF 3118 if { (eval echo configure:3 119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3338 if { (eval echo configure:3339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3119 3339 then 3120 3340 ac_cv_sizeof_long=`cat conftestval` … … 3136 3356 3137 3357 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3138 echo "configure:3 139: checking size of void*" >&53358 echo "configure:3359: checking size of void*" >&5 3139 3359 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3140 3360 echo $ac_n "(cached) $ac_c" 1>&6 … … 3144 3364 else 3145 3365 cat > conftest.$ac_ext <<EOF 3146 #line 3 147 "configure"3366 #line 3367 "configure" 3147 3367 #include "confdefs.h" 3148 3368 #include <stdio.h> … … 3155 3375 } 3156 3376 EOF 3157 if { (eval echo configure:3 158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3377 if { (eval echo configure:3378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3158 3378 then 3159 3379 ac_cv_sizeof_voidp=`cat conftestval` … … 3175 3395 3176 3396 echo $ac_n "checking size of double""... $ac_c" 1>&6 3177 echo "configure:3 178: checking size of double" >&53397 echo "configure:3398: checking size of double" >&5 3178 3398 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3179 3399 echo $ac_n "(cached) $ac_c" 1>&6 … … 3183 3403 else 3184 3404 cat > conftest.$ac_ext <<EOF 3185 #line 3 186 "configure"3405 #line 3406 "configure" 3186 3406 #include "confdefs.h" 3187 3407 #include <stdio.h> … … 3194 3414 } 3195 3415 EOF 3196 if { (eval echo configure:3 197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3416 if { (eval echo configure:3417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3197 3417 then 3198 3418 ac_cv_sizeof_double=`cat conftestval` … … 3214 3434 3215 3435 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3216 echo "configure:3 217: checking whether byte ordering is bigendian" >&53436 echo "configure:3437: checking whether byte ordering is bigendian" >&5 3217 3437 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3218 3438 echo $ac_n "(cached) $ac_c" 1>&6 … … 3221 3441 # See if sys/param.h defines the BYTE_ORDER macro. 3222 3442 cat > conftest.$ac_ext <<EOF 3223 #line 3 224 "configure"3443 #line 3444 "configure" 3224 3444 #include "confdefs.h" 3225 3445 #include <sys/types.h> … … 3232 3452 ; return 0; } 3233 3453 EOF 3234 if { (eval echo configure:3 235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3454 if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3235 3455 rm -rf conftest* 3236 3456 # It does; now see whether it defined to BIG_ENDIAN or not. 3237 3457 cat > conftest.$ac_ext <<EOF 3238 #line 3 239 "configure"3458 #line 3459 "configure" 3239 3459 #include "confdefs.h" 3240 3460 #include <sys/types.h> … … 3247 3467 ; return 0; } 3248 3468 EOF 3249 if { (eval echo configure:3 250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3469 if { (eval echo configure:3470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3250 3470 rm -rf conftest* 3251 3471 ac_cv_c_bigendian=yes … … 3267 3487 else 3268 3488 cat > conftest.$ac_ext <<EOF 3269 #line 3 270 "configure"3489 #line 3490 "configure" 3270 3490 #include "confdefs.h" 3271 3491 main () { … … 3280 3500 } 3281 3501 EOF 3282 if { (eval echo configure:3 283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest&& (./conftest; exit) 2>/dev/null3502 if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3283 3503 then 3284 3504 ac_cv_c_bigendian=no … … 3370 3590 fi 3371 3591 3592 # Check whether --with-dynamic-modules or --without-dynamic-modules was given. 3593 if test "${with_dynamic_modules+set}" = set; then 3594 withval="$with_dynamic_modules" 3595 : 3596 fi 3597 3598 # Check whether --with-dynamic-kernel or --without-dynamic-kernel was given. 3599 if test "${with_dynamic_kernel+set}" = set; then 3600 withval="$with_dynamic_kernel" 3601 : 3602 fi 3603 3372 3604 # Check whether --with-apint or --without-apint was given. 3373 3605 if test "${with_apint+set}" = set; then … … 3384 3616 3385 3617 3618 3619 echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6 3620 echo "configure:3621: checking whether to use dynamic linking" >&5 3621 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 3622 cat >> confdefs.h <<\EOF 3623 #define HAVE_DL 1 3624 EOF 3625 3626 ac_have_dl=yes 3627 echo "$ac_t""yes" 1>&6 3628 else 3629 echo "$ac_t""no" 1>&6 3630 fi 3631 3386 3632 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3387 echo "configure:3 388: checking for tgetent in -lncurses" >&53633 echo "configure:3634: checking for tgetent in -lncurses" >&5 3388 3634 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3389 3635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3393 3639 LIBS="-lncurses $LIBS" 3394 3640 cat > conftest.$ac_ext <<EOF 3395 #line 3 396"configure"3641 #line 3642 "configure" 3396 3642 #include "confdefs.h" 3397 3643 /* Override any gcc2 internal prototype to avoid an error. */ … … 3404 3650 ; return 0; } 3405 3651 EOF 3406 if { (eval echo configure:3 407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3652 if { (eval echo configure:3653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3407 3653 rm -rf conftest* 3408 3654 eval "ac_cv_lib_$ac_lib_var=yes" … … 3431 3677 \ 3432 3678 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3433 echo "configure:3 434: checking for tgetent in -lcurses" >&53679 echo "configure:3680: checking for tgetent in -lcurses" >&5 3434 3680 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3435 3681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3439 3685 LIBS="-lcurses $LIBS" 3440 3686 cat > conftest.$ac_ext <<EOF 3441 #line 3 442"configure"3687 #line 3688 "configure" 3442 3688 #include "confdefs.h" 3443 3689 /* Override any gcc2 internal prototype to avoid an error. */ … … 3450 3696 ; return 0; } 3451 3697 EOF 3452 if { (eval echo configure:3 453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3698 if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3453 3699 rm -rf conftest* 3454 3700 eval "ac_cv_lib_$ac_lib_var=yes" … … 3477 3723 \ 3478 3724 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3479 echo "configure:3 480: checking for tgetent in -ltermcap" >&53725 echo "configure:3726: checking for tgetent in -ltermcap" >&5 3480 3726 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3481 3727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3485 3731 LIBS="-ltermcap $LIBS" 3486 3732 cat > conftest.$ac_ext <<EOF 3487 #line 3 488"configure"3733 #line 3734 "configure" 3488 3734 #include "confdefs.h" 3489 3735 /* Override any gcc2 internal prototype to avoid an error. */ … … 3496 3742 ; return 0; } 3497 3743 EOF 3498 if { (eval echo configure:3 499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3744 if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3499 3745 rm -rf conftest* 3500 3746 eval "ac_cv_lib_$ac_lib_var=yes" … … 3529 3775 3530 3776 # readline 3531 if test "$with_readline" = yes; then 3777 if test "$with_readline" = dynamic && test "$ac_cv_have_dl" != yes; then 3778 echo "configure: warning: can not build dynamic readline without dynamic linking" 1>&2 3779 with_readline=static 3780 fi 3781 3782 3783 if test "$with_readline" != dynamic && test "$with_readline" != no; then 3532 3784 3533 3785 ac_ext=C … … 3535 3787 ac_cpp='$CXXCPP $CPPFLAGS' 3536 3788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 3537 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'3789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 3538 3790 cross_compiling=$ac_cv_prog_cxx_cross 3539 3791 3540 3792 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3541 echo "configure:3 542: checking for rl_abort in -lreadline" >&53793 echo "configure:3794: checking for rl_abort in -lreadline" >&5 3542 3794 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3543 3795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3547 3799 LIBS="-lreadline $LIBS" 3548 3800 cat > conftest.$ac_ext <<EOF 3549 #line 3 550"configure"3801 #line 3802 "configure" 3550 3802 #include "confdefs.h" 3551 3803 /* Override any gcc2 internal prototype to avoid an error. */ … … 3561 3813 ; return 0; } 3562 3814 EOF 3563 if { (eval echo configure:3 564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3815 if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3564 3816 rm -rf conftest* 3565 3817 eval "ac_cv_lib_$ac_lib_var=yes" … … 3589 3841 3590 3842 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 3591 echo "configure:3 592: checking how to run the C++ preprocessor" >&53843 echo "configure:3844: checking how to run the C++ preprocessor" >&5 3592 3844 if test -z "$CXXCPP"; then 3593 3845 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 3598 3850 ac_cpp='$CXXCPP $CPPFLAGS' 3599 3851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 3600 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'3852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 3601 3853 cross_compiling=$ac_cv_prog_cxx_cross 3602 3854 CXXCPP="${CXX-g++} -E" 3603 3855 cat > conftest.$ac_ext <<EOF 3604 #line 3 605"configure"3856 #line 3857 "configure" 3605 3857 #include "confdefs.h" 3606 3858 #include <stdlib.h> 3607 3859 EOF 3608 3860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3609 { (eval echo configure:3 610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3610 ac_err=`grep -v '^ *+' conftest.out `3861 { (eval echo configure:3862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3611 3863 if test -z "$ac_err"; then 3612 3864 : … … 3620 3872 rm -f conftest* 3621 3873 ac_cv_prog_CXXCPP="$CXXCPP" 3874 ac_ext=C 3875 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 3876 ac_cpp='$CXXCPP $CPPFLAGS' 3877 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 3878 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 3879 cross_compiling=$ac_cv_prog_cxx_cross 3622 3880 fi 3623 3881 fi … … 3629 3887 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3630 3888 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3631 echo "configure:3 632: checking for $ac_hdr" >&53889 echo "configure:3890: checking for $ac_hdr" >&5 3632 3890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3633 3891 echo $ac_n "(cached) $ac_c" 1>&6 3634 3892 else 3635 3893 cat > conftest.$ac_ext <<EOF 3636 #line 3 637"configure"3894 #line 3895 "configure" 3637 3895 #include "confdefs.h" 3638 3896 #include <$ac_hdr> 3639 3897 EOF 3640 3898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3641 { (eval echo configure:3 642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3642 ac_err=`grep -v '^ *+' conftest.out `3899 { (eval echo configure:3900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3643 3901 if test -z "$ac_err"; then 3644 3902 rm -rf conftest* … … 3668 3926 test "$ac_cv_header_readline_readline_h" = yes; then 3669 3927 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3670 echo "configure:3 671: checking whether readline.h is ok" >&53928 echo "configure:3929: checking whether readline.h is ok" >&5 3671 3929 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3672 3930 echo $ac_n "(cached) $ac_c" 1>&6 3673 3931 else 3674 3932 cat > conftest.$ac_ext <<EOF 3675 #line 3 676"configure"3933 #line 3934 "configure" 3676 3934 #include "confdefs.h" 3677 3935 #include<unistd.h> … … 3698 3956 ; return 0; } 3699 3957 EOF 3700 if { (eval echo configure:3 701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3958 if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3701 3959 rm -rf conftest* 3702 3960 ac_cv_header_readline_readline_h_ok="yes" … … 3714 3972 #not ok -- try once more with explicitly declaring everything 3715 3973 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3716 echo "configure:3 717: checking whether or not we nevertheless can use readline" >&53974 echo "configure:3975: checking whether or not we nevertheless can use readline" >&5 3717 3975 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3718 3976 echo $ac_n "(cached) $ac_c" 1>&6 3719 3977 else 3720 3978 cat > conftest.$ac_ext <<EOF 3721 #line 3 722"configure"3979 #line 3980 "configure" 3722 3980 #include "confdefs.h" 3723 3981 #include <stdio.h> … … 3753 4011 ; return 0; } 3754 4012 EOF 3755 if { (eval echo configure: 3756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4013 if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3756 4014 rm -rf conftest* 3757 4015 ac_cv_have_readline="yes" … … 3781 4039 EOF 3782 4040 3783 else3784 echo "configure: warning: building without readline: disabling fancy display" 1>&23785 4041 fi 3786 4042 ac_ext=c … … 3788 4044 ac_cpp='$CPP $CPPFLAGS' 3789 4045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 3790 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'4046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 3791 4047 cross_compiling=$ac_cv_prog_cc_cross 3792 4048 3793 4049 fi 3794 4050 4051 echo $ac_n "checking which readline to use""... $ac_c" 1>&6 4052 echo "configure:4053: checking which readline to use" >&5 4053 if test "$ac_cv_with_readline" = dynamic; then 4054 echo "$ac_t""dynamic" 1>&6 4055 cat >> confdefs.h <<\EOF 4056 #define HAVE_DYN_RL 1 4057 EOF 4058 4059 elif test "$ac_cv_have_readline" = yes; then 4060 echo "$ac_t""static" 1>&6 4061 else 4062 echo "$ac_t""none" 1>&6 4063 echo "configure: warning: building without readline: disabling fancy display" 1>&2 4064 fi 4065 3795 4066 NEED_LIBS=$LIBS 3796 4067 3797 4068 # gmp, smallgmp, MP, MPT, factory, libfac 3798 4069 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 3799 echo "configure: 3800: checking for main in -lgmp" >&54070 echo "configure:4071: checking for main in -lgmp" >&5 3800 4071 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 3801 4072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3805 4076 LIBS="-lgmp $LIBS" 3806 4077 cat > conftest.$ac_ext <<EOF 3807 #line 3808"configure"4078 #line 4079 "configure" 3808 4079 #include "confdefs.h" 3809 4080 … … 3812 4083 ; return 0; } 3813 4084 EOF 3814 if { (eval echo configure: 3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4085 if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3815 4086 rm -rf conftest* 3816 4087 eval "ac_cv_lib_$ac_lib_var=yes" … … 3843 4114 fi 3844 4115 echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6 3845 echo "configure: 3846: checking for main in -lsmallgmp" >&54116 echo "configure:4117: checking for main in -lsmallgmp" >&5 3846 4117 ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'` 3847 4118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3851 4122 LIBS="-lsmallgmp $LIBS" 3852 4123 cat > conftest.$ac_ext <<EOF 3853 #line 3854"configure"4124 #line 4125 "configure" 3854 4125 #include "confdefs.h" 3855 4126 … … 3858 4129 ; return 0; } 3859 4130 EOF 3860 if { (eval echo configure: 3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4131 if { (eval echo configure:4132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3861 4132 rm -rf conftest* 3862 4133 eval "ac_cv_lib_$ac_lib_var=yes" … … 3886 4157 3887 4158 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 3888 echo "configure: 3889: checking for IMP_PutGmpInt in -lMP" >&54159 echo "configure:4160: checking for IMP_PutGmpInt in -lMP" >&5 3889 4160 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 3890 4161 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3894 4165 LIBS="-lMP $LIBS" 3895 4166 cat > conftest.$ac_ext <<EOF 3896 #line 3897"configure"4167 #line 4168 "configure" 3897 4168 #include "confdefs.h" 3898 4169 /* Override any gcc2 internal prototype to avoid an error. */ … … 3905 4176 ; return 0; } 3906 4177 EOF 3907 if { (eval echo configure: 3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4178 if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3908 4179 rm -rf conftest* 3909 4180 eval "ac_cv_lib_$ac_lib_var=yes" … … 3932 4203 fi 3933 4204 3934 echo $ac_n "checking for MPT_GetTre ein -lMPT""... $ac_c" 1>&63935 echo "configure: 3936: checking for MPT_GetTree in -lMPT" >&53936 ac_lib_var=`echo MPT'_'MPT_GetTre e| sed 'y%./+-%__p_%'`4205 echo $ac_n "checking for MPT_GetTre in -lMPT""... $ac_c" 1>&6 4206 echo "configure:4207: checking for MPT_GetTre in -lMPT" >&5 4207 ac_lib_var=`echo MPT'_'MPT_GetTre | sed 'y%./+-%__p_%'` 3937 4208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3938 4209 echo $ac_n "(cached) $ac_c" 1>&6 … … 3941 4212 LIBS="-lMPT $LIBS" 3942 4213 cat > conftest.$ac_ext <<EOF 3943 #line 3944"configure"4214 #line 4215 "configure" 3944 4215 #include "confdefs.h" 3945 4216 /* Override any gcc2 internal prototype to avoid an error. */ 3946 4217 /* We use char because int might match the return type of a gcc2 3947 4218 builtin and then its argument prototype would still apply. */ 3948 char MPT_GetTre e();4219 char MPT_GetTre(); 3949 4220 3950 4221 int main() { 3951 MPT_GetTre e()4222 MPT_GetTre() 3952 4223 ; return 0; } 3953 4224 EOF 3954 if { (eval echo configure: 3955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4225 if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3955 4226 rm -rf conftest* 3956 4227 eval "ac_cv_lib_$ac_lib_var=yes" … … 3980 4251 3981 4252 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 3982 echo "configure: 3983: checking for atof in -lsingcf" >&54253 echo "configure:4254: checking for atof in -lsingcf" >&5 3983 4254 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 3984 4255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3988 4259 LIBS="-lsingcf $LIBS" 3989 4260 cat > conftest.$ac_ext <<EOF 3990 #line 3991"configure"4261 #line 4262 "configure" 3991 4262 #include "confdefs.h" 3992 4263 /* Override any gcc2 internal prototype to avoid an error. */ … … 3999 4270 ; return 0; } 4000 4271 EOF 4001 if { (eval echo configure:4 002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4272 if { (eval echo configure:4273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4002 4273 rm -rf conftest* 4003 4274 eval "ac_cv_lib_$ac_lib_var=yes" … … 4027 4298 4028 4299 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4029 echo "configure:4 030: checking for atof in -lsingfac" >&54300 echo "configure:4301: checking for atof in -lsingfac" >&5 4030 4301 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4031 4302 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4035 4306 LIBS="-lsingfac $LIBS" 4036 4307 cat > conftest.$ac_ext <<EOF 4037 #line 4 038"configure"4308 #line 4309 "configure" 4038 4309 #include "confdefs.h" 4039 4310 /* Override any gcc2 internal prototype to avoid an error. */ … … 4046 4317 ; return 0; } 4047 4318 EOF 4048 if { (eval echo configure:4 049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4319 if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4049 4320 rm -rf conftest* 4050 4321 eval "ac_cv_lib_$ac_lib_var=yes" … … 4074 4345 4075 4346 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 4076 echo "configure:4 077: checking for omTestAddr in -lomalloc" >&54347 echo "configure:4348: checking for omTestAddr in -lomalloc" >&5 4077 4348 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 4078 4349 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4082 4353 LIBS="-lomalloc $LIBS" 4083 4354 cat > conftest.$ac_ext <<EOF 4084 #line 4 085"configure"4355 #line 4356 "configure" 4085 4356 #include "confdefs.h" 4086 4357 /* Override any gcc2 internal prototype to avoid an error. */ … … 4093 4364 ; return 0; } 4094 4365 EOF 4095 if { (eval echo configure:4 096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4366 if { (eval echo configure:4367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4096 4367 rm -rf conftest* 4097 4368 eval "ac_cv_lib_$ac_lib_var=yes" … … 4121 4392 4122 4393 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 4123 echo "configure:4 124: checking for main in -lomalloc_ndebug" >&54394 echo "configure:4395: checking for main in -lomalloc_ndebug" >&5 4124 4395 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 4125 4396 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4129 4400 LIBS="-lomalloc_ndebug $LIBS" 4130 4401 cat > conftest.$ac_ext <<EOF 4131 #line 4 132"configure"4402 #line 4403 "configure" 4132 4403 #include "confdefs.h" 4133 4404 … … 4136 4407 ; return 0; } 4137 4408 EOF 4138 if { (eval echo configure:4 139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4409 if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4139 4410 rm -rf conftest* 4140 4411 eval "ac_cv_lib_$ac_lib_var=yes" … … 4168 4439 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4169 4440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4170 echo "configure:4 171: checking for $ac_hdr" >&54441 echo "configure:4442: checking for $ac_hdr" >&5 4171 4442 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4172 4443 echo $ac_n "(cached) $ac_c" 1>&6 4173 4444 else 4174 4445 cat > conftest.$ac_ext <<EOF 4175 #line 4 176"configure"4446 #line 4447 "configure" 4176 4447 #include "confdefs.h" 4177 4448 #include <$ac_hdr> 4178 4449 EOF 4179 4450 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4180 { (eval echo configure:4 181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4181 ac_err=`grep -v '^ *+' conftest.out `4451 { (eval echo configure:4452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4452 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4182 4453 if test -z "$ac_err"; then 4183 4454 rm -rf conftest* … … 4247 4518 4248 4519 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4249 echo "configure:4 250: checking which apint package to use" >&54520 echo "configure:4521: checking which apint package to use" >&5 4250 4521 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4251 4522 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4289 4560 # 4290 4561 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4291 echo "configure:4 292: checking whether to have MP" >&54562 echo "configure:4563: checking whether to have MP" >&5 4292 4563 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4293 4564 if (test "${will_have_gmp}" = yes) && \ … … 4320 4591 4321 4592 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4322 echo "configure:4 323: checking whether to have factory" >&54593 echo "configure:4594: checking whether to have factory" >&5 4323 4594 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4324 4595 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4351 4622 4352 4623 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4353 echo "configure:4 354: checking whether to have libfac" >&54624 echo "configure:4625: checking whether to have libfac" >&5 4354 4625 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4355 4626 if (test "${will_have_factory}" = yes) && \ … … 4385 4656 4386 4657 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4387 echo "configure:4 388: checking whether to have dbm links" >&54658 echo "configure:4659: checking whether to have dbm links" >&5 4388 4659 if test "$with_dbm" != no; then 4389 4660 cat >> confdefs.h <<\EOF … … 4397 4668 4398 4669 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4399 echo "configure:4 400: checking whether to have namespaces" >&54670 echo "configure:4671: checking whether to have namespaces" >&5 4400 4671 if test "$with_namespaces" != yes; then 4401 4672 echo "$ac_t""no" 1>&6 … … 4408 4679 fi 4409 4680 4410 echo $ac_n "checking whether to have dl lib""... $ac_c" 1>&6 4411 echo "configure:4412: checking whether to have dl lib" >&5 4412 4413 case "$ac_cv_singuname" in 4414 HPUX-9) 4415 echo "$ac_t""dld" 1>&6 4416 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4417 echo "configure:4418: checking for shl_load in -ldld" >&5 4418 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4420 echo $ac_n "(cached) $ac_c" 1>&6 4421 else 4422 ac_save_LIBS="$LIBS" 4423 LIBS="-ldld $LIBS" 4424 cat > conftest.$ac_ext <<EOF 4425 #line 4426 "configure" 4426 #include "confdefs.h" 4427 /* Override any gcc2 internal prototype to avoid an error. */ 4428 /* We use char because int might match the return type of a gcc2 4429 builtin and then its argument prototype would still apply. */ 4430 char shl_load(); 4431 4432 int main() { 4433 shl_load() 4434 ; return 0; } 4435 EOF 4436 if { (eval echo configure:4437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4437 rm -rf conftest* 4438 eval "ac_cv_lib_$ac_lib_var=yes" 4439 else 4440 echo "configure: failed program was:" >&5 4441 cat conftest.$ac_ext >&5 4442 rm -rf conftest* 4443 eval "ac_cv_lib_$ac_lib_var=no" 4444 fi 4445 rm -f conftest* 4446 LIBS="$ac_save_LIBS" 4447 4448 fi 4449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4450 echo "$ac_t""yes" 1>&6 4451 ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 4452 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4453 cat >> confdefs.h <<EOF 4454 #define $ac_tr_lib 1 4455 EOF 4456 4457 LIBS="-ldld $LIBS" 4458 4459 else 4460 echo "$ac_t""no" 1>&6 4461 fi 4462 4463 LD_DYN_FLAGS="-ldld -Xlinker -E" 4464 cat >> confdefs.h <<\EOF 4465 #define HAVE_DL 1 4466 EOF 4467 4468 ;; 4469 HPUX-10) 4470 echo "$ac_t""dld" 1>&6 4471 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4472 echo "configure:4473: checking for shl_load in -ldld" >&5 4473 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4475 echo $ac_n "(cached) $ac_c" 1>&6 4476 else 4477 ac_save_LIBS="$LIBS" 4478 LIBS="-ldld $LIBS" 4479 cat > conftest.$ac_ext <<EOF 4480 #line 4481 "configure" 4481 #include "confdefs.h" 4482 /* Override any gcc2 internal prototype to avoid an error. */ 4483 /* We use char because int might match the return type of a gcc2 4484 builtin and then its argument prototype would still apply. */ 4485 char shl_load(); 4486 4487 int main() { 4488 shl_load() 4489 ; return 0; } 4490 EOF 4491 if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4492 rm -rf conftest* 4493 eval "ac_cv_lib_$ac_lib_var=yes" 4494 else 4495 echo "configure: failed program was:" >&5 4496 cat conftest.$ac_ext >&5 4497 rm -rf conftest* 4498 eval "ac_cv_lib_$ac_lib_var=no" 4499 fi 4500 rm -f conftest* 4501 LIBS="$ac_save_LIBS" 4502 4503 fi 4504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4505 echo "$ac_t""yes" 1>&6 4506 ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 4507 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4508 cat >> confdefs.h <<EOF 4509 #define $ac_tr_lib 1 4510 EOF 4511 4512 LIBS="-ldld $LIBS" 4513 4514 else 4515 echo "$ac_t""no" 1>&6 4516 fi 4517 4518 LD_DYN_FLAGS="-ldld -Xlinker -E" 4519 cat >> confdefs.h <<\EOF 4520 #define HAVE_DL 1 4521 EOF 4522 4523 ;; 4524 *Linux*) 4525 echo "$ac_t""dl" 1>&6 4526 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4527 echo "configure:4528: checking for dlopen in -ldl" >&5 4528 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4530 echo $ac_n "(cached) $ac_c" 1>&6 4531 else 4532 ac_save_LIBS="$LIBS" 4533 LIBS="-ldl $LIBS" 4534 cat > conftest.$ac_ext <<EOF 4535 #line 4536 "configure" 4536 #include "confdefs.h" 4537 /* Override any gcc2 internal prototype to avoid an error. */ 4538 /* We use char because int might match the return type of a gcc2 4539 builtin and then its argument prototype would still apply. */ 4540 char dlopen(); 4541 4542 int main() { 4543 dlopen() 4544 ; return 0; } 4545 EOF 4546 if { (eval echo configure:4547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4547 rm -rf conftest* 4548 eval "ac_cv_lib_$ac_lib_var=yes" 4549 else 4550 echo "configure: failed program was:" >&5 4551 cat conftest.$ac_ext >&5 4552 rm -rf conftest* 4553 eval "ac_cv_lib_$ac_lib_var=no" 4554 fi 4555 rm -f conftest* 4556 LIBS="$ac_save_LIBS" 4557 4558 fi 4559 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4560 echo "$ac_t""yes" 1>&6 4561 ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 4562 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4563 cat >> confdefs.h <<EOF 4564 #define $ac_tr_lib 1 4565 EOF 4566 4567 LIBS="-ldl $LIBS" 4568 4569 else 4570 echo "$ac_t""no" 1>&6 4571 fi 4572 4573 LD_DYN_FLAGS="-ldl -rdynamic" 4574 cat >> confdefs.h <<\EOF 4575 #define HAVE_DL 1 4576 EOF 4577 4578 ;; 4579 *) 4580 echo "$ac_t""no" 1>&6 4581 ;; 4582 esac 4583 4584 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 4585 echo "configure:4586: checking whether to have dynamic loading" >&5 4586 if test "$with_dl" != yes; then 4681 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 4682 echo "configure:4683: checking whether to have dynamic modules" >&5 4683 if test "$with_dynamic_modules" != yes || test "$ac_have_dl" != yes; then 4587 4684 echo "$ac_t""no" 1>&6 4588 4685 else … … 4594 4691 fi 4595 4692 4693 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 4694 echo "configure:4695: checking whether to have dynamic kernel" >&5 4695 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 4696 DL_KERNEL=1 4697 4698 echo "$ac_t""yes" 1>&6 4699 fi 4700 4596 4701 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 4597 echo "configure:4 598: checking whether to have Plural" >&54702 echo "configure:4703: checking whether to have Plural" >&5 4598 4703 if test "$with_plural" != yes; then 4599 4704 echo "$ac_t""no" 1>&6 … … 4605 4710 echo "$ac_t""yes" 1>&6 4606 4711 fi 4607 4608 4712 4609 4713 … … 4637 4741 # and sets the high bit in the cache file unless we assign to the vars. 4638 4742 (set) 2>&1 | 4639 case `(ac_space=' '; set ) 2>&1` in4743 case `(ac_space=' '; set | grep ac_space) 2>&1` in 4640 4744 *ac_space=\ *) 4641 4745 # `set' does not quote correctly, so add quotes (double-quote substitution … … 4704 4808 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 4705 4809 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 4706 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"4810 echo "$CONFIG_STATUS generated by autoconf version 2.13" 4707 4811 exit 0 ;; 4708 4812 -help | --help | --hel | --he | --h) … … 4724 4828 $ac_vpsub 4725 4829 $extrasub 4830 s%@SHELL@%$SHELL%g 4726 4831 s%@CFLAGS@%$CFLAGS%g 4727 4832 s%@CPPFLAGS@%$CPPFLAGS%g 4728 4833 s%@CXXFLAGS@%$CXXFLAGS%g 4834 s%@FFLAGS@%$FFLAGS%g 4729 4835 s%@DEFS@%$DEFS%g 4730 4836 s%@LDFLAGS@%$LDFLAGS%g … … 4757 4863 s%@CXX@%$CXX%g 4758 4864 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 4865 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 4759 4866 s%@INSTALL_DATA@%$INSTALL_DATA%g 4760 4867 s%@PIPE@%$PIPE%g … … 4768 4875 s%@LN_S@%$LN_S%g 4769 4876 s%@PERL@%$PERL%g 4877 s%@LD_DYN_FLAGS@%$LD_DYN_FLAGS%g 4878 s%@SFLAGS@%$SFLAGS%g 4879 s%@SLDFLAGS@%$SLDFLAGS%g 4770 4880 s%@ALLOCA@%$ALLOCA%g 4771 4881 s%@CXXCPP@%$CXXCPP%g 4772 4882 s%@NEED_LIBS@%$NEED_LIBS%g 4773 s%@ LD_DYN_FLAGS@%$LD_DYN_FLAGS%g4883 s%@DL_KERNEL@%$DL_KERNEL%g 4774 4884 4775 4885 CEOF -
Singular/configure.in
r3c13f6 r7e5a38 254 254 AC_CHECK_LIB(nsl, gethostbyname) 255 255 AC_CHECK_LIB(ucb, index) 256 257 # check for dl lib 258 case "$ac_cv_singuname" in 259 HPUX*) 260 AC_CHECK_LIB(dld, shl_load) 261 if test "$ac_cv_lib_dld_shl_load" = yes; then 262 LD_DYN_FLAGS="-ldld -Xlinker -E" 263 SFLAGS="-fPIC -DPIC" 264 SLDFLAGS=-shared 265 ac_lib_dl=yes 266 fi 267 ;; 268 *Linux*) 269 AC_CHECK_LIB(dl, dlopen) 270 if test "$ac_cv_lib_dl_dlopen" = yes; then 271 LD_DYN_FLAGS="-ldl -rdynamic" 272 SFLAGS="-fPIC -DPIC" 273 SLDFLAGS=-shared 274 ac_lib_dl=yes 275 fi 276 ;; 277 esac 278 AC_SUBST(LD_DYN_FLAGS) 279 AC_SUBST(SFLAGS) 280 AC_SUBST(SLDFLAGS) 256 281 257 282 # heder file checks … … 373 398 AC_ARG_WITH( 374 399 readline, 375 [ --with-readline do use static readline for fancy display]) 400 [ --with-readline=[dynamic,static,no] 401 do use dynamic/static/no readline for fancy display]) 376 402 AC_ARG_WITH( 377 403 MP, … … 391 417 AC_ARG_WITH( 392 418 dl, 393 [ --with-dl do use dl (dynamic linking)]) 419 [ --without-dl do not use dynamic linking, modules, and kernel]) 420 AC_ARG_WITH( 421 dynamic-modules, 422 [ --with-dynamic-modules do compile with dynamic modules support]) 423 AC_ARG_WITH( 424 dynamic-kernel, 425 [ --without-dynamic-kernel 426 do not compile with dynamic kernel parts]) 394 427 AC_ARG_WITH(apint, 395 428 [ --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic]) … … 405 438 dnl 406 439 440 441 AC_MSG_CHECKING(whether to use dynamic linking) 442 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 443 AC_DEFINE(HAVE_DL) 444 ac_have_dl=yes 445 AC_MSG_RESULT(yes) 446 else 447 AC_MSG_RESULT(no) 448 fi 449 407 450 AC_CHECK_LIB(ncurses,tgetent,,\ 408 451 AC_CHECK_LIB(curses,tgetent,,\ … … 410 453 411 454 # readline 412 if test "$with_readline" = yes; then 455 if test "$with_readline" = dynamic && test "$ac_cv_have_dl" != yes; then 456 AC_MSG_WARN(can not build dynamic readline without dynamic linking) 457 with_readline=static 458 fi 459 460 461 if test "$with_readline" != dynamic && test "$with_readline" != no; then 413 462 AC_LANG_SAVE 414 463 AC_LANG_CPLUSPLUS … … 490 539 if test "$ac_cv_have_readline" = yes; then 491 540 AC_DEFINE(HAVE_READLINE) 492 else493 AC_MSG_WARN(building without readline: disabling fancy display)494 541 fi 495 542 AC_LANG_RESTORE 496 543 fi 497 544 545 AC_MSG_CHECKING(which readline to use) 546 if test "$ac_cv_with_readline" = dynamic; then 547 AC_MSG_RESULT(dynamic) 548 AC_DEFINE(HAVE_DYN_RL) 549 elif test "$ac_cv_have_readline" = yes; then 550 AC_MSG_RESULT(static) 551 else 552 AC_MSG_RESULT(none) 553 AC_MSG_WARN(building without readline: disabling fancy display) 554 fi 555 498 556 NEED_LIBS=$LIBS 499 557 … … 505 563 AC_CHECK_LIB(smallgmp, main) 506 564 AC_CHECK_LIB(MP, IMP_PutGmpInt) 507 AC_CHECK_LIB(MPT, MPT_GetTre e)565 AC_CHECK_LIB(MPT, MPT_GetTre) 508 566 AC_CHECK_LIB(singcf, atof) 509 567 AC_CHECK_LIB(singfac, atof) … … 683 741 fi 684 742 685 AC_MSG_CHECKING(whether to have dl lib) 686 687 case "$ac_cv_singuname" in 688 HPUX-9) 689 AC_MSG_RESULT(dld) 690 AC_CHECK_LIB(dld, shl_load) 691 LD_DYN_FLAGS="-ldld -Xlinker -E" 692 AC_DEFINE(HAVE_DL) 693 ;; 694 HPUX-10) 695 AC_MSG_RESULT(dld) 696 AC_CHECK_LIB(dld, shl_load) 697 LD_DYN_FLAGS="-ldld -Xlinker -E" 698 AC_DEFINE(HAVE_DL) 699 ;; 700 *Linux*) 701 AC_MSG_RESULT(dl) 702 AC_CHECK_LIB(dl, dlopen) 703 LD_DYN_FLAGS="-ldl -rdynamic" 704 AC_DEFINE(HAVE_DL) 705 ;; 706 *) 707 AC_MSG_RESULT(no) 708 ;; 709 esac 710 711 AC_MSG_CHECKING(whether to have dynamic loading) 712 if test "$with_dl" != yes; then 743 AC_MSG_CHECKING(whether to have dynamic modules) 744 if test "$with_dynamic_modules" != yes || test "$ac_have_dl" != yes; then 713 745 AC_MSG_RESULT(no) 714 746 else 715 747 AC_DEFINE(HAVE_DYNAMIC_LOADING) 748 AC_MSG_RESULT(yes) 749 fi 750 751 AC_MSG_CHECKING(whether to have dynamic kernel) 752 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 753 DL_KERNEL=1 754 AC_SUBST(DL_KERNEL) 716 755 AC_MSG_RESULT(yes) 717 756 fi … … 725 764 fi 726 765 727 AC_SUBST(LD_DYN_FLAGS)728 766 729 767 OUTPUT_MAKEFILES=Makefile -
Singular/dError.h
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 9/00 9 * Version: $Id: dError.h,v 1. 3 2000-09-25 12:26:30obachman Exp $9 * Version: $Id: dError.h,v 1.4 2000-12-07 15:03:55 obachman Exp $ 10 10 *******************************************************************/ 11 11 #ifndef DERROR_H … … 18 18 extern int dReportError(const char* fmt, ...); 19 19 #define dReportBug(s) \ 20 dReportError("Bug reported %s\n occur deat %s,%l\n", s, __FILE__, __LINE__)20 dReportError("Bug reported %s\n occured at %s,%l\n", s, __FILE__, __LINE__) 21 21 #endif 22 22 -
Singular/kstd2.cc
r3c13f6 r7e5a38 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.6 4 2000-11-28 11:50:53obachman Exp $ */4 /* $Id: kstd2.cc,v 1.65 2000-12-07 15:03:55 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 498 498 int olddeg,reduc; 499 499 int hilbeledeg=1,hilbcount=0,minimcnt=0; 500 #ifdef PROT_LENGTH 501 int length; 502 #endif 500 503 501 504 initBuchMoraCrit(strat); /*set Gebauer, honey, sugarCrit*/ … … 632 635 633 636 // enter into S, L, and T 637 #ifdef PROT_LENGTH 638 if (TEST_OPT_PROT) 639 { 640 length += strat->P.GetpLength(); 641 Print("[%d:%d]", strat->P.GetpLength(), length); 642 } 643 #endif 634 644 enterT(strat->P, strat); 635 645 enterpairs(strat->P.p,strat->sl,strat->P.ecart,pos,strat, strat->tl); -
Singular/misc.cc
r3c13f6 r7e5a38 29 29 #include "ring.h" 30 30 #include "omSingularConfig.h" 31 #include "p_Procs.h" 31 32 32 33 #include "static.h" … … 604 605 #else 605 606 #if defined(HAVE_READLINE) && !defined(FEREAD) 606 StringAppendS(" readline,");607 StringAppendS("static readline,"); 607 608 #else 608 609 #ifdef HAVE_FEREAD … … 625 626 #endif 626 627 #ifdef HAVE_NAMESPACES 627 StringAppendS(" Namespaces,");628 StringAppendS("namespaces,"); 628 629 #endif 629 630 #ifdef HAVE_DYNAMIC_LOADING 630 StringAppendS("DynamicLoading,"); 631 #endif 631 StringAppendS("dynamic modules,"); 632 #endif 633 if (p_procs_dynamic) StringAppendS("dynamic p_Procs,"); 632 634 #ifdef TEST 633 635 StringAppendS("TESTs,"); -
Singular/mod2.h.in
r3c13f6 r7e5a38 6 6 * DO NOT EDIT! 7 7 * 8 * Version: $Id: mod2.h.in,v 1.9 3 2000-10-30 13:50:25obachman Exp $8 * Version: $Id: mod2.h.in,v 1.94 2000-12-07 15:03:56 obachman Exp $ 9 9 *******************************************************************/ 10 10 #ifndef MOD2_H … … 16 16 /* Define to use dynamic linking */ 17 17 #undef HAVE_DL 18 /* Define to use readline lib for fancy display */18 /* Define to use static readline lib for fancy display */ 19 19 #undef HAVE_READLINE 20 /* Define if you want to use dld's*/21 #undef HAVE_D LD20 /* define to use dynamic version of readline lib */ 21 #undef HAVE_DYN_RL 22 22 /* Define to have dbm links */ 23 23 #undef HAVE_DBM … … 144 144 * Defines which are not set by configure 145 145 ******************************************************************/ 146 /* define to use the dynamic linking of readline in non-distributions builds */147 /* #undef USE_STATIC_RL */148 146 149 147 /* Default value for timer resolution in ticks per second */ … … 192 190 * Evaluate the set defines 193 191 ******************************************************************/ 194 /* dynamic readline or readline ? */195 #ifdef HAVE_DL196 #if !defined(USE_STATIC_RL)197 #define HAVE_DYN_RL198 #endif199 #endif200 201 192 /* FGLM needs factory */ 202 193 #ifdef HAVE_FACTORY -
Singular/mod_raw.cc
r3c13f6 r7e5a38 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: mod_raw.cc,v 1. 8 2000-05-23 13:10:10 SingularExp $ */4 /* $Id: mod_raw.cc,v 1.9 2000-12-07 15:03:57 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: machine depend code for dynamic modules … … 15 15 #include "static.h" 16 16 #ifdef HAVE_STATIC 17 #undef HAVE_DYNAMIC_LOADING 18 #undef HAVE_DYN_RL 17 #undef HAVE_DL 19 18 #endif 20 19 21 #if defined(HAVE_D YNAMIC_LOADING) || defined(HAVE_DYN_RL)20 #if defined(HAVE_DL) 22 21 #include "mod_raw.h" 22 #include "febase.h" 23 24 /***************************************************************************** 25 * 26 * General section 27 * These are just wrappers around the repsective dynl_* calls 28 * which look for the binary in the bin_dir of Singular and ommit warnings if 29 * somethings goes wrong 30 * 31 *****************************************************************************/ 32 static BOOLEAN warn_handle = FALSE; 33 static BOOLEAN warn_proc = FALSE; 34 #ifndef DL_TAIL 35 #define DL_TAIL "so" 36 #endif 37 38 void* dynl_open_binary_warn(char* binary_name) 39 { 40 void* handle = NULL; 41 const char* bin_dir = feGetResource('b'); 42 if (bin_dir != NULL) 43 { 44 char path_name[MAXPATHLEN]; 45 sprintf(path_name, "%s%s%s.%s", bin_dir, DIR_SEPP, binary_name, 46 DL_TAIL); 47 handle = dynl_open(path_name); 48 if (handle == NULL && ! warn_handle) 49 { 50 Warn("Could not open dynamic library: %s", path_name); 51 Warn("Error message from system: %s", dynl_error()); 52 Warn("Singular will work properly, but much slower."); 53 Warn("See the INSTALL section in the Singular manual for details."); 54 warn_handle = TRUE; 55 } 56 } 57 return handle; 58 } 59 60 void* dynl_sym_warn(void* handle, char* proc) 61 { 62 void *proc_ptr = NULL; 63 if (handle != NULL) 64 { 65 proc_ptr = dynl_sym(handle, proc); 66 if (proc_ptr == NULL && ! warn_proc) 67 { 68 Warn("Could load a procedure from a dynamic library"); 69 Warn("Error message from system: %s", dynl_error()); 70 Warn("Singular will work properly, but much slower."); 71 Warn("See the INSTALL section in the Singular manual for details."); 72 warn_proc = TRUE; 73 } 74 } 75 return proc_ptr; 76 } 23 77 24 78 … … 299 353 300 354 301 #endif /* HAVE_D YNAMIC_LOADING*/355 #endif /* HAVE_DL */ -
Singular/mod_raw.h
r3c13f6 r7e5a38 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: mod_raw.h,v 1. 4 2000-02-01 15:30:26 SingularExp $ */6 /* $Id: mod_raw.h,v 1.5 2000-12-07 15:03:57 obachman Exp $ */ 7 7 /* 8 8 * ABSTRACT: machine depend code for dynamic modules … … 14 14 */ 15 15 16 #if defined(HAVE_DYNAMIC_LOADING) || defined(HAVE_DYN_RL) 16 #if defined(HAVE_DL) 17 void* dynl_open_binary_warn(char* binary_name); 18 void* dynl_sym_warn(void* handle, char* proc); 17 19 18 20 void * dynl_open(char *filename); … … 22 24 23 25 24 #endif /* HAVE_D YNAMIC_LOADING || HAVE_DYN_RL */26 #endif /* HAVE_DL */ 25 27 #endif /* MOD_RAW_H */ -
Singular/p_Add_q__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Add_q__Template.cc,v 1. 4 2000-10-30 13:40:22obachman Exp $9 * Version: $Id: p_Add_q__Template.cc,v 1.5 2000-12-07 15:03:57 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 17 17 * 18 18 ***************************************************************/ 19 poly p_Add_q(poly p, poly q, int &Shorter, const ring r)19 LINKAGE poly p_Add_q(poly p, poly q, int &Shorter, const ring r) 20 20 { 21 21 p_Test(p, r); -
Singular/p_Copy__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Copy__Template.cc,v 1. 4 2000-10-30 13:40:22obachman Exp $9 * Version: $Id: p_Copy__Template.cc,v 1.5 2000-12-07 15:03:57 obachman Exp $ 10 10 *******************************************************************/ 11 11 12 poly p_Copy(poly s_p, const ring r)12 LINKAGE poly p_Copy(poly s_p, const ring r) 13 13 { 14 14 // let's not do tests here -- but instead allow -
Singular/p_Delete__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Delete__Template.cc,v 1. 2 2000-09-18 09:19:25obachman Exp $9 * Version: $Id: p_Delete__Template.cc,v 1.3 2000-12-07 15:03:57 obachman Exp $ 10 10 *******************************************************************/ 11 11 12 void p_Delete(poly* pp, const ring r)12 LINKAGE void p_Delete(poly* pp, const ring r) 13 13 { 14 14 poly p = *pp; -
Singular/p_Merge_q__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Merge_q__Template.cc,v 1. 2 2000-11-08 17:12:33obachman Exp $9 * Version: $Id: p_Merge_q__Template.cc,v 1.3 2000-12-07 15:03:58 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 16 16 * 17 17 ***************************************************************/ 18 poly p_Merge_q(poly p, poly q, const ring r)18 LINKAGE poly p_Merge_q(poly p, poly q, const ring r) 19 19 { 20 20 assume(p != NULL && q != NULL); -
Singular/p_Minus_mm_Mult_qq__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Minus_mm_Mult_qq__Template.cc,v 1. 9 2000-11-28 11:50:55obachman Exp $9 * Version: $Id: p_Minus_mm_Mult_qq__Template.cc,v 1.10 2000-12-07 15:03:58 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 18 18 * 19 19 ***************************************************************/ 20 poly p_Minus_mm_Mult_qq(poly p, poly m, poly q, int& Shorter, const poly spNoether, const ring r, poly &last)20 LINKAGE poly p_Minus_mm_Mult_qq(poly p, poly m, poly q, int& Shorter, const poly spNoether, const ring r, poly &last) 21 21 { 22 22 p_Test(p, r); -
Singular/p_Mult_mm__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Mult_mm__Template.cc,v 1. 7 2000-11-08 13:14:43obachman Exp $9 * Version: $Id: p_Mult_mm__Template.cc,v 1.8 2000-12-07 15:03:58 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 17 17 * 18 18 ***************************************************************/ 19 poly p_Mult_mm(poly p, const poly m, const ring ri)19 LINKAGE poly p_Mult_mm(poly p, const poly m, const ring ri) 20 20 { 21 21 p_Test(p, ri); -
Singular/p_Mult_nn__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Mult_nn__Template.cc,v 1. 2 2000-09-18 09:19:26obachman Exp $9 * Version: $Id: p_Mult_nn__Template.cc,v 1.3 2000-12-07 15:03:58 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 17 17 * 18 18 ***************************************************************/ 19 poly p_Mult_nn(poly p, const number n, const ring r)19 LINKAGE poly p_Mult_nn(poly p, const number n, const ring r) 20 20 { 21 21 pAssume(!n_IsZero(n,r)); -
Singular/p_Neg__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_Neg__Template.cc,v 1. 2 2000-09-18 09:19:27obachman Exp $9 * Version: $Id: p_Neg__Template.cc,v 1.3 2000-12-07 15:03:59 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 16 16 * 17 17 ***************************************************************/ 18 poly p_Neg(poly p, const ring r)18 LINKAGE poly p_Neg(poly p, const ring r) 19 19 { 20 20 poly q = p; -
Singular/p_Procs.h
r3c13f6 r7e5a38 8 8 * Author: obachman (Olaf Bachmann) 9 9 * Created: 8/00 10 * Version: $Id: p_Procs.h,v 1.1 0 2000-11-28 11:50:55obachman Exp $10 * Version: $Id: p_Procs.h,v 1.11 2000-12-07 15:03:59 obachman Exp $ 11 11 *******************************************************************/ 12 12 #ifndef P_PROCS_H … … 56 56 57 57 58 void p_ SetProcs(ring r, p_Procs_s* p_Procs);58 void p_ProcsSet(ring r, p_Procs_s* p_Procs); 59 59 #ifdef RDEBUG 60 60 void p_Debug_GetSpecNames(const ring r, char* &field, char* &length, … … 62 62 void p_Debug_GetProcNames(const ring r, p_Procs_s* p_Procs); 63 63 #endif 64 // if set, then dynamic p_procs are used, otherwise static 65 extern BOOLEAN p_procs_dynamic; 64 66 65 67 #endif /* ! P_PROCS_H */ -
Singular/p_ShallowCopyDelete__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_ShallowCopyDelete__Template.cc,v 1. 5 2000-10-30 13:40:23obachman Exp $9 * Version: $Id: p_ShallowCopyDelete__Template.cc,v 1.6 2000-12-07 15:04:01 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 16 16 * Returns: 17 17 ***************************************************************/ 18 poly p_ShallowCopyDelete(poly s_p, const ring r, omBin d_bin)18 LINKAGE poly p_ShallowCopyDelete(poly s_p, const ring r, omBin d_bin) 19 19 { 20 20 spolyrec dp; -
Singular/p_kBucketSetLm__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_kBucketSetLm__Template.cc,v 1. 2 2000-12-05 13:01:11 obachman Exp $9 * Version: $Id: p_kBucketSetLm__Template.cc,v 1.3 2000-12-07 15:04:01 obachman Exp $ 10 10 *******************************************************************/ 11 11 12 void p_kBucketSetLm(kBucket_pt bucket)12 LINKAGE void p_kBucketSetLm(kBucket_pt bucket) 13 13 { 14 14 int j = 0; -
Singular/pp_Mult_Coeff_mm_DivSelect__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pp_Mult_Coeff_mm_DivSelect__Template.cc,v 1. 3 2000-10-30 13:40:26obachman Exp $9 * Version: $Id: pp_Mult_Coeff_mm_DivSelect__Template.cc,v 1.4 2000-12-07 15:04:01 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 17 17 * 18 18 ***************************************************************/ 19 poly pp_Mult_Coeff_mm_DivSelect(poly p, const poly m, const ring r)19 LINKAGE poly pp_Mult_Coeff_mm_DivSelect(poly p, const poly m, const ring r) 20 20 { 21 21 number n = pGetCoeff(m); -
Singular/pp_Mult_mm_Noether__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pp_Mult_mm_Noether__Template.cc,v 1. 2 2000-11-28 11:50:56obachman Exp $9 * Version: $Id: pp_Mult_mm_Noether__Template.cc,v 1.3 2000-12-07 15:04:02 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 18 18 * 19 19 ***************************************************************/ 20 poly pp_Mult_mm_Noether(poly p, const poly m, const poly spNoether, int &ll, 21 const ring ri, poly &last) 20 LINKAGE poly pp_Mult_mm_Noether(poly p, const poly m, const poly spNoether, int &ll, const ring ri, poly &last) 22 21 { 23 22 p_Test(p, ri); -
Singular/pp_Mult_mm__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pp_Mult_mm__Template.cc,v 1. 8 2000-11-24 19:30:50obachman Exp $9 * Version: $Id: pp_Mult_mm__Template.cc,v 1.9 2000-12-07 15:04:02 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 16 16 * 17 17 ***************************************************************/ 18 poly pp_Mult_mm(poly p, const poly m, const ring ri, poly &last)18 LINKAGE poly pp_Mult_mm(poly p, const poly m, const ring ri, poly &last) 19 19 { 20 20 p_Test(p, ri); -
Singular/pp_Mult_nn__Template.cc
r3c13f6 r7e5a38 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pp_Mult_nn__Template.cc,v 1. 5 2000-10-30 13:40:26obachman Exp $9 * Version: $Id: pp_Mult_nn__Template.cc,v 1.6 2000-12-07 15:04:02 obachman Exp $ 10 10 *******************************************************************/ 11 11 … … 16 16 * 17 17 ***************************************************************/ 18 poly pp_Mult_nn(poly p, const number n, const ring r)18 LINKAGE poly pp_Mult_nn(poly p, const number n, const ring r) 19 19 { 20 20 pAssume(!n_IsZero(n,r)); -
Singular/ring.cc
r3c13f6 r7e5a38 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.14 7 2000-12-06 11:03:27 SingularExp $ */4 /* $Id: ring.cc,v 1.148 2000-12-07 15:04:02 obachman Exp $ */ 5 5 6 6 /* … … 3138 3138 // p_Procs: call AFTER NegWeightL 3139 3139 r->p_Procs = (p_Procs_s*)omAlloc(sizeof(p_Procs_s)); 3140 p_ SetProcs(r, r->p_Procs);3140 p_ProcsSet(r, r->p_Procs); 3141 3141 3142 3142 return FALSE; -
Singular/static.h
r3c13f6 r7e5a38 1 #undef HA BE_STATIC1 #undef HAVE_STATIC
Note: See TracChangeset
for help on using the changeset viewer.