home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / superopt-2.5-diffs.gz / superopt-2.5-diffs
Text File  |  1996-10-13  |  50KB  |  1,492 lines

  1. This file contains patches that transform the baseline version into
  2. the amiga version.  Assuming that you have unarchived the baseline
  3. version in the current directory, just run the command:
  4.  
  5.     patch -p1 -E -b .pbak <diff-file
  6.  
  7. where 'diff-file' is this patch file.  After running patch you should
  8. remove all the generated *.pbak files, and look for any *.rej files
  9. that indicate a problem patching the baseline source.
  10.  
  11. diff -rup --new-file baseline/fsf/superopt/Makefile amiga/fsf/superopt/Makefile
  12. --- baseline/fsf/superopt/Makefile    Mon May 22 23:20:27 1995
  13. +++ amiga/fsf/superopt/Makefile    Wed Dec 31 17:00:00 1969
  14. @@ -1,141 +0,0 @@
  15. -# Makefile for GNU superoptimizer
  16. -
  17. -MAXCOST = 3
  18. -EXTRA = -shifts -extracts
  19. -
  20. -CC = gcc
  21. -DBG = -g
  22. -OPT = -O
  23. -CFLAGS = $(CPU) $(OPT) $(DBG)
  24. -ALL_MACHINES =    superopt-sparc \
  25. -        superopt-power \
  26. -        superopt-powerpc \
  27. -        superopt-m88000 \
  28. -        superopt-am29k \
  29. -        superopt-mc68000 \
  30. -        superopt-mc68020 \
  31. -        superopt-i386 \
  32. -        superopt-i960a \
  33. -        superopt-i960b \
  34. -        superopt-pyr \
  35. -        superopt-alpha \
  36. -        superopt-sh \
  37. -        superopt-hppa
  38. -
  39. -OBJS    = superopt.o
  40. -SRCS    = superopt.c
  41. -HDRS    = run_program.def insn.def goal.def superopt.h version.h longlong.h
  42. -BINDIR    = /usr/local/bin
  43. -INSTALL    = install -c
  44. -FILES    = README COPYING Makefile TODO ChangeLog superopt.c synth.def $(HDRS)
  45. -
  46. -VERSION = `sed 's,char \*version_string = "\([0-9.]*\)";,\1,' < version.h`
  47. -
  48. -superopt: $(SRCS) $(HDRS)
  49. -    $(CC) $(CFLAGS) -o superopt $(SRCS)
  50. -
  51. -clean:
  52. -    rm -f $(OBJS) superopt $(ALL_MACHINES) *.tmp
  53. -
  54. -install: superopt
  55. -    $(INSTALL) superopt $(BINDIR)/superopt
  56. -
  57. -all: $(ALL_MACHINES)
  58. -
  59. -install-all: all
  60. -    for x in $(ALL_MACHINES); do $(INSTALL) $$x $(BINDIR)/$$x; done
  61. -
  62. -run-all: sparc.res power.res powerpc.res m88000.res am29k.res mc68000.res \
  63. -    mc68020.res i386.res i960a.res i960b.res pyr.res alpha.res sh.res \
  64. -    hppa.res
  65. -    @echo "Done!"
  66. -
  67. -superopt-sparc: $(SRCS) $(HDRS)
  68. -    $(CC) $(CFLAGS) -DSPARC -o superopt-sparc $(SRCS)
  69. -sparc.res: superopt-sparc
  70. -    ./superopt-sparc -all $(EXTRA) -max $(MAXCOST) -as >sparc.tmp 2>&1
  71. -    mv sparc.tmp sparc.res
  72. -
  73. -superopt-power: $(SRCS) $(HDRS)
  74. -    $(CC) $(CFLAGS) -DPOWER -o superopt-power $(SRCS)
  75. -power.res: superopt-power
  76. -    ./superopt-power -all $(EXTRA) -max $(MAXCOST) -as >power.tmp 2>&1
  77. -    mv power.tmp power.res
  78. -
  79. -superopt-powerpc: $(SRCS) $(HDRS)
  80. -    $(CC) $(CFLAGS) -DPOWERPC -o superopt-powerpc $(SRCS)
  81. -powerpc.res: superopt-powerpc
  82. -    ./superopt-powerpc -all $(EXTRA) -max $(MAXCOST) -as >powerpc.tmp 2>&1
  83. -    mv powerpc.tmp powerpc.res
  84. -
  85. -superopt-m88000: $(SRCS) $(HDRS)
  86. -    $(CC) $(CFLAGS) -DM88000 -o superopt-m88000 $(SRCS)
  87. -m88000.res: superopt-m88000
  88. -    ./superopt-m88000 -all $(EXTRA) -max $(MAXCOST) -as >m88000.tmp 2>&1
  89. -    mv m88000.tmp m88000.res
  90. -
  91. -superopt-am29k: $(SRCS) $(HDRS)
  92. -    $(CC) $(CFLAGS) -DAM29K -o superopt-am29k $(SRCS)
  93. -am29k.res: superopt-am29k
  94. -    ./superopt-am29k -all $(EXTRA) -max $(MAXCOST) -as >am29k.tmp 2>&1
  95. -    mv am29k.tmp am29k.res
  96. -
  97. -superopt-mc68000: $(SRCS) $(HDRS)
  98. -    $(CC) $(CFLAGS) -DMC68000 -o superopt-mc68000 $(SRCS)
  99. -mc68000.res: superopt-mc68000
  100. -    ./superopt-mc68000 -all $(EXTRA) -max $(MAXCOST) -as >mc68000.tmp 2>&1
  101. -    mv mc68000.tmp mc68000.res
  102. -
  103. -superopt-mc68020: $(SRCS) $(HDRS)
  104. -    $(CC) $(CFLAGS) -DMC68020 -o superopt-mc68020 $(SRCS)
  105. -mc68020.res: superopt-mc68020
  106. -    ./superopt-mc68020 -all $(EXTRA) -max $(MAXCOST) -as >mc68020.tmp 2>&1
  107. -    mv mc68020.tmp mc68020.res
  108. -
  109. -superopt-i386: $(SRCS) $(HDRS)
  110. -    $(CC) $(CFLAGS) -DI386 -o superopt-i386 $(SRCS)
  111. -i386.res: superopt-i386
  112. -    ./superopt-i386 -all $(EXTRA) -max $(MAXCOST) -as >i386.tmp 2>&1
  113. -    mv i386.tmp i386.res
  114. -
  115. -superopt-i960a: $(SRCS) $(HDRS)
  116. -    $(CC) $(CFLAGS) -DI960 -o superopt-i960a $(SRCS)
  117. -i960a.res: superopt-i960a
  118. -    ./superopt-i960a -all $(EXTRA) -max $(MAXCOST) -as >i960a.tmp 2>&1
  119. -    mv i960a.tmp i960a.res
  120. -
  121. -superopt-i960b: $(SRCS) $(HDRS)
  122. -    $(CC) $(CFLAGS) -DI960B -o superopt-i960b $(SRCS)
  123. -i960b.res: superopt-i960b
  124. -    ./superopt-i960b -all $(EXTRA) -max $(MAXCOST) -as >i960b.tmp 2>&1
  125. -    mv i960b.tmp i960b.res
  126. -
  127. -superopt-pyr: $(SRCS) $(HDRS)
  128. -    $(CC) $(CFLAGS) -DPYR -o superopt-pyr $(SRCS)
  129. -pyr.res: superopt-pyr
  130. -    ./superopt-pyr -all $(EXTRA) -max $(MAXCOST) -as >pyr.tmp 2>&1
  131. -    mv pyr.tmp pyr.res
  132. -
  133. -superopt-alpha: $(SRCS) $(HDRS)
  134. -    $(CC) $(CFLAGS) -DALPHA -o superopt-alpha $(SRCS)
  135. -alpha.res: superopt-alpha
  136. -    ./superopt-alpha -all $(EXTRA) -max $(MAXCOST) -as >alpha.tmp 2>&1
  137. -    mv alpha.tmp alpha.res
  138. -
  139. -superopt-sh: $(SRCS) $(HDRS)
  140. -    $(CC) $(CFLAGS) -DSH -o superopt-sh $(SRCS)
  141. -sh.res: superopt-sh
  142. -    ./superopt-sh -all $(EXTRA) -max $(MAXCOST) -as >sh.tmp 2>&1
  143. -    mv sh.tmp sh.res
  144. -
  145. -superopt-hppa: $(SRCS) $(HDRS)
  146. -    $(CC) $(CFLAGS) -DHPPA -o superopt-hppa $(SRCS)
  147. -hppa.res: superopt-hppa
  148. -    ./superopt-hppa -all $(EXTRA) -max $(MAXCOST) -as >hppa.tmp 2>&1
  149. -    mv hppa.tmp hppa.res
  150. -
  151. -dist:
  152. -    mkdir superopt-$(VERSION)
  153. -    ln $(FILES) superopt-$(VERSION)
  154. -    tar cf - superopt-$(VERSION) | gzip --best > superopt-$(VERSION).tar.gz
  155. -    rm -rf superopt-$(VERSION)
  156. diff -rup --new-file baseline/fsf/superopt/Makefile.in amiga/fsf/superopt/Makefile.in
  157. --- baseline/fsf/superopt/Makefile.in    Wed Dec 31 17:00:00 1969
  158. +++ amiga/fsf/superopt/Makefile.in    Sat Sep 28 00:00:00 1996
  159. @@ -0,0 +1,190 @@
  160. +# Makefile for GNU superoptimizer
  161. +
  162. +srcdir =    @srcdir@
  163. +VPATH =        @srcdir@
  164. +
  165. +prefix =    @prefix@
  166. +exec_prefix =    @exec_prefix@
  167. +
  168. +bindir =    $(exec_prefix)/bin
  169. +libdir =    $(exec_prefix)/lib
  170. +incdir =    $(prefix)/include
  171. +infodir =    $(prefix)/info
  172. +guidedir =    $(prefix)/guide
  173. +
  174. +INSTALL =    @INSTALL@
  175. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  176. +INSTALL_DATA =    @INSTALL_DATA@
  177. +
  178. +SHELL =        /bin/sh
  179. +CC =        @CC@
  180. +AR =        ar
  181. +RM =        rm
  182. +RANLIB =    @RANLIB@
  183. +DEFS =        @DEFS@
  184. +LIBS =        @LIBS@
  185. +CFLAGS =    @CFLAGS@
  186. +LDFLAGS =    @LDFLAGS@
  187. +
  188. +INCLUDES =    -I. -I$(srcdir)
  189. +OUR_CFLAGS =    -DDBUG $(DEFS) $(INCLUDES) $(CFLAGS)
  190. +
  191. +.SUFFIXES:    .r .r~ .c .c~
  192. +
  193. +.c.o:
  194. +        $(CC) -c $(OUR_CFLAGS) $<
  195. +
  196. +
  197. +MAXCOST = 3
  198. +EXTRA = -shifts -extracts
  199. +
  200. +ALL_MACHINES =    superopt-sparc \
  201. +        superopt-power \
  202. +        superopt-powerpc \
  203. +        superopt-m88000 \
  204. +        superopt-am29k \
  205. +        superopt-mc68000 \
  206. +        superopt-mc68020 \
  207. +        superopt-i386 \
  208. +        superopt-i960a \
  209. +        superopt-i960b \
  210. +        superopt-pyr \
  211. +        superopt-alpha \
  212. +        superopt-sh \
  213. +        superopt-hppa
  214. +
  215. +OBJS    = superopt.o
  216. +SRCS    = superopt.c
  217. +HDRS    = run_program.def insn.def goal.def superopt.h version.h longlong.h
  218. +FILES    = README COPYING Makefile TODO ChangeLog superopt.c synth.def $(HDRS)
  219. +
  220. +VERSION = `sed 's,char \*version_string = "\([0-9.]*\)";,\1,' < version.h`
  221. +
  222. +all:    superopt superopt020
  223. +
  224. +superopt: $(srcdir)/superopt.c $(HDRS)
  225. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DMC68000 -o superopt $(srcdir)/superopt.c
  226. +
  227. +superopt020: $(srcdir)/superopt.c $(HDRS)
  228. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DMC68020 -o superopt020 $(srcdir)/superopt.c
  229. +
  230. +clean:
  231. +    rm -f $(OBJS) superopt $(ALL_MACHINES) *.tmp
  232. +
  233. +install: superopt
  234. +    $(INSTALL) superopt $(bindir)/superopt
  235. +    $(INSTALL) superopt020 $(bindir)/superopt020
  236. +
  237. +all-machines: $(ALL_MACHINES)
  238. +
  239. +install-all: all
  240. +    for x in $(ALL_MACHINES); do $(INSTALL) $$x $(bindir)/$$x; done
  241. +
  242. +run-all: sparc.res power.res powerpc.res m88000.res am29k.res mc68000.res \
  243. +    mc68020.res i386.res i960a.res i960b.res pyr.res alpha.res sh.res \
  244. +    hppa.res
  245. +    @echo "Done!"
  246. +
  247. +superopt-sparc: superopt.c $(HDRS)
  248. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DSPARC -o superopt-sparc $(srcdir)/superopt.c
  249. +
  250. +sparc.res: superopt-sparc
  251. +    ./superopt-sparc -all $(EXTRA) -max $(MAXCOST) -as >sparc.tmp 2>&1
  252. +    mv sparc.tmp sparc.res
  253. +
  254. +superopt-power: superopt.c $(HDRS)
  255. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DPOWER -o superopt-power $(srcdir)/superopt.c
  256. +
  257. +power.res: superopt-power
  258. +    ./superopt-power -all $(EXTRA) -max $(MAXCOST) -as >power.tmp 2>&1
  259. +    mv power.tmp power.res
  260. +
  261. +superopt-powerpc: superopt.c $(HDRS)
  262. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DPOWERPC -o superopt-powerpc $(srcdir)/superopt.c
  263. +
  264. +powerpc.res: superopt-powerpc
  265. +    ./superopt-powerpc -all $(EXTRA) -max $(MAXCOST) -as >powerpc.tmp 2>&1
  266. +    mv powerpc.tmp powerpc.res
  267. +
  268. +superopt-m88000: superopt.c $(HDRS)
  269. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DM88000 -o superopt-m88000 $(srcdir)/superopt.c
  270. +
  271. +m88000.res: superopt-m88000
  272. +    ./superopt-m88000 -all $(EXTRA) -max $(MAXCOST) -as >m88000.tmp 2>&1
  273. +    mv m88000.tmp m88000.res
  274. +
  275. +superopt-am29k: superopt.c $(HDRS)
  276. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DAM29K -o superopt-am29k $(srcdir)/superopt.c
  277. +
  278. +am29k.res: superopt-am29k
  279. +    ./superopt-am29k -all $(EXTRA) -max $(MAXCOST) -as >am29k.tmp 2>&1
  280. +    mv am29k.tmp am29k.res
  281. +
  282. +superopt-mc68000: superopt.c $(HDRS)
  283. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DMC68000 -o superopt-mc68000 $(srcdir)/superopt.c
  284. +
  285. +mc68000.res: superopt-mc68000
  286. +    ./superopt-mc68000 -all $(EXTRA) -max $(MAXCOST) -as >mc68000.tmp 2>&1
  287. +    mv mc68000.tmp mc68000.res
  288. +
  289. +superopt-mc68020: superopt.c $(HDRS)
  290. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DMC68020 -o superopt-mc68020 $(srcdir)/superopt.c
  291. +
  292. +mc68020.res: superopt-mc68020
  293. +    ./superopt-mc68020 -all $(EXTRA) -max $(MAXCOST) -as >mc68020.tmp 2>&1
  294. +    mv mc68020.tmp mc68020.res
  295. +
  296. +superopt-i386: superopt.c $(HDRS)
  297. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DI386 -o superopt-i386 $(srcdir)/superopt.c
  298. +
  299. +i386.res: superopt-i386
  300. +    ./superopt-i386 -all $(EXTRA) -max $(MAXCOST) -as >i386.tmp 2>&1
  301. +    mv i386.tmp i386.res
  302. +
  303. +superopt-i960a: superopt.c $(HDRS)
  304. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DI960 -o superopt-i960a $(srcdir)/superopt.c
  305. +
  306. +i960a.res: superopt-i960a
  307. +    ./superopt-i960a -all $(EXTRA) -max $(MAXCOST) -as >i960a.tmp 2>&1
  308. +    mv i960a.tmp i960a.res
  309. +
  310. +superopt-i960b: superopt.c $(HDRS)
  311. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DI960B -o superopt-i960b $(srcdir)/superopt.c
  312. +
  313. +i960b.res: superopt-i960b
  314. +    ./superopt-i960b -all $(EXTRA) -max $(MAXCOST) -as >i960b.tmp 2>&1
  315. +    mv i960b.tmp i960b.res
  316. +
  317. +superopt-pyr: superopt.c $(HDRS)
  318. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DPYR -o superopt-pyr $(srcdir)/superopt.c
  319. +
  320. +pyr.res: superopt-pyr
  321. +    ./superopt-pyr -all $(EXTRA) -max $(MAXCOST) -as >pyr.tmp 2>&1
  322. +    mv pyr.tmp pyr.res
  323. +
  324. +superopt-alpha: superopt.c $(HDRS)
  325. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DALPHA -o superopt-alpha $(srcdir)/superopt.c
  326. +
  327. +alpha.res: superopt-alpha
  328. +    ./superopt-alpha -all $(EXTRA) -max $(MAXCOST) -as >alpha.tmp 2>&1
  329. +    mv alpha.tmp alpha.res
  330. +
  331. +superopt-sh: superopt.c $(HDRS)
  332. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DSH -o superopt-sh $(srcdir)/superopt.c
  333. +
  334. +sh.res: superopt-sh
  335. +    ./superopt-sh -all $(EXTRA) -max $(MAXCOST) -as >sh.tmp 2>&1
  336. +    mv sh.tmp sh.res
  337. +
  338. +superopt-hppa: superopt.c $(HDRS)
  339. +    $(CC) $(OUR_CFLAGS) $(LDFLAGS) -DHPPA -o superopt-hppa $(srcdir)/superopt.c
  340. +
  341. +hppa.res: superopt-hppa
  342. +    ./superopt-hppa -all $(EXTRA) -max $(MAXCOST) -as >hppa.tmp 2>&1
  343. +    mv hppa.tmp hppa.res
  344. +
  345. +dist:
  346. +    mkdir superopt-$(VERSION)
  347. +    ln $(FILES) superopt-$(VERSION)
  348. +    tar cf - superopt-$(VERSION) | gzip --best > superopt-$(VERSION).tar.gz
  349. +    rm -rf superopt-$(VERSION)
  350. diff -rup --new-file baseline/fsf/superopt/Product-Info amiga/fsf/superopt/Product-Info
  351. --- baseline/fsf/superopt/Product-Info    Wed Dec 31 17:00:00 1969
  352. +++ amiga/fsf/superopt/Product-Info    Sat Sep 28 00:00:00 1996
  353. @@ -0,0 +1,48 @@
  354. +.name
  355. +superopt
  356. +.fullname
  357. +superoptimizer
  358. +.type
  359. +Programmer Tool
  360. +.short
  361. +Finds optimal asm instruction sequences.
  362. +.description
  363. +The superoptimizer is a function sequence generator that uses an
  364. +exhaustive generate-and-test approach to finding the shortest
  365. +instruction sequence for a given function.  You have to tell the
  366. +superoptimizer which function and which CPU you want to generate code
  367. +for, and how many instructions you can accept.
  368. +
  369. +The superoptimizer can't generate very long sequences, unless you have
  370. +a very fast computer or very much spare time.  The time complexity of
  371. +the used algorithm is approximately O(m n*2n) where m is the number of
  372. +available instructions on the architecture and n is the shortest
  373. +sequence for the goal function.  The practical sequence length limit
  374. +depends on the target architecture and goal function arity; In most
  375. +cases it is about 5, but for a rich instruction set as the HPPA it is
  376. +just 4.  The longest sequence ever generated was for the MC68020 and 7
  377. +instructions long.  It took several weeks to generate it...
  378. +
  379. +The superoptimizer can't guarantee that it finds the best possible
  380. +instruction sequences for all possible goal functions.  For example,
  381. +it doesn't even try to include immediate constants (other that -1, 0,
  382. ++1, and the smallest negative and biggest positive numbers) in the
  383. +sequences.
  384. +
  385. +Other reasons why not optimal sequences might be found is that not all
  386. +instructions are included, not even in their register-only form.
  387. +Also, some instructions included might not be correctly simulated.  If
  388. +you encounter any of these problems, please report them to the address
  389. +below.
  390. +.version
  391. +2.5
  392. +.author
  393. +Torbjorn Granlund
  394. +.email
  395. +tege@gnu.ai.mit.edu
  396. +.distribution
  397. +GNU Public License
  398. +.described-by
  399. +Fred Fish (fnf@amigalib.com)
  400. +.submittal
  401. +Downloaded from prep.ai.mit.edu:pub/gnu
  402. diff -rup --new-file baseline/fsf/superopt/configure amiga/fsf/superopt/configure
  403. --- baseline/fsf/superopt/configure    Wed Dec 31 17:00:00 1969
  404. +++ amiga/fsf/superopt/configure    Mon Sep 30 22:49:57 1996
  405. @@ -0,0 +1,1046 @@
  406. +#! /bin/sh
  407. +
  408. +# Guess values for system-dependent variables and create Makefiles.
  409. +# Generated automatically using autoconf version 2.10 
  410. +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  411. +#
  412. +# This configure script is free software; the Free Software Foundation
  413. +# gives unlimited permission to copy, distribute and modify it.
  414. +
  415. +# Defaults:
  416. +ac_help=
  417. +ac_default_prefix=/usr/local
  418. +# Any additions from configure.in:
  419. +
  420. +# Initialize some variables set by options.
  421. +# The variables have the same names as the options, with
  422. +# dashes changed to underlines.
  423. +build=NONE
  424. +cache_file=./config.cache
  425. +exec_prefix=NONE
  426. +host=NONE
  427. +no_create=
  428. +nonopt=NONE
  429. +no_recursion=
  430. +prefix=NONE
  431. +program_prefix=NONE
  432. +program_suffix=NONE
  433. +program_transform_name=s,x,x,
  434. +silent=
  435. +site=
  436. +srcdir=
  437. +target=NONE
  438. +verbose=
  439. +x_includes=NONE
  440. +x_libraries=NONE
  441. +bindir='${exec_prefix}/bin'
  442. +sbindir='${exec_prefix}/sbin'
  443. +libexecdir='${exec_prefix}/libexec'
  444. +datadir='${prefix}/share'
  445. +sysconfdir='${prefix}/etc'
  446. +sharedstatedir='${prefix}/com'
  447. +localstatedir='${prefix}/var'
  448. +libdir='${exec_prefix}/lib'
  449. +includedir='${prefix}/include'
  450. +oldincludedir='/usr/include'
  451. +infodir='${prefix}/info'
  452. +guidedir='${prefix}/guide'
  453. +psdir='${prefix}/ps'
  454. +dvidir='${prefix}/dvi'
  455. +mandir='${prefix}/man'
  456. +
  457. +# Initialize some other variables.
  458. +subdirs=
  459. +MFLAGS= MAKEFLAGS=
  460. +
  461. +ac_prev=
  462. +for ac_option
  463. +do
  464. +
  465. +  # If the previous option needs an argument, assign it.
  466. +  if test -n "$ac_prev"; then
  467. +    eval "$ac_prev=\$ac_option"
  468. +    ac_prev=
  469. +    continue
  470. +  fi
  471. +
  472. +  case "$ac_option" in
  473. +  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  474. +  *) ac_optarg= ;;
  475. +  esac
  476. +
  477. +  # Accept the important Cygnus configure options, so we can diagnose typos.
  478. +
  479. +  case "$ac_option" in
  480. +
  481. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  482. +    ac_prev=bindir ;;
  483. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  484. +    bindir="$ac_optarg" ;;
  485. +
  486. +  -build | --build | --buil | --bui | --bu)
  487. +    ac_prev=build ;;
  488. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  489. +    build="$ac_optarg" ;;
  490. +
  491. +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  492. +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  493. +    ac_prev=cache_file ;;
  494. +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  495. +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  496. +    cache_file="$ac_optarg" ;;
  497. +
  498. +  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  499. +    ac_prev=datadir ;;
  500. +  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  501. +  | --da=*)
  502. +    datadir="$ac_optarg" ;;
  503. +
  504. +  -disable-* | --disable-*)
  505. +    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  506. +    # Reject names that are not valid shell variable names.
  507. +    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  508. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  509. +    fi
  510. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  511. +    eval "enable_${ac_feature}=no" ;;
  512. +
  513. +  -enable-* | --enable-*)
  514. +    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  515. +    # Reject names that are not valid shell variable names.
  516. +    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  517. +      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  518. +    fi
  519. +    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  520. +    case "$ac_option" in
  521. +      *=*) ;;
  522. +      *) ac_optarg=yes ;;
  523. +    esac
  524. +    eval "enable_${ac_feature}='$ac_optarg'" ;;
  525. +
  526. +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  527. +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  528. +  | --exec | --exe | --ex)
  529. +    ac_prev=exec_prefix ;;
  530. +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  531. +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  532. +  | --exec=* | --exe=* | --ex=*)
  533. +    exec_prefix="$ac_optarg" ;;
  534. +
  535. +  -gas | --gas | --ga | --g)
  536. +    # Obsolete; use --with-gas.
  537. +    with_gas=yes ;;
  538. +
  539. +  -help | --help | --hel | --he)
  540. +    # Omit some internal or obsolete options to make the list less imposing.
  541. +    # This message is too long to be a string in the A/UX 3.1 sh.
  542. +    cat << EOF
  543. +Usage: configure [options] [host]
  544. +Options: [defaults in brackets after descriptions]
  545. +Configuration:
  546. +  --cache-file=FILE       cache test results in FILE
  547. +  --help                  print this message
  548. +  --no-create             do not create output files
  549. +  --quiet, --silent       do not print \`checking...' messages
  550. +  --version               print the version of autoconf that created configure
  551. +Directory and file names:
  552. +  --prefix=PREFIX         install architecture-independent files in PREFIX
  553. +                          [$ac_default_prefix]
  554. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  555. +                          [same as prefix]
  556. +  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  557. +  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  558. +  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  559. +  --datadir=DIR           read-only architecture-independent data in DIR
  560. +                          [PREFIX/share]
  561. +  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  562. +  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  563. +                          [PREFIX/com]
  564. +  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  565. +  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  566. +  --includedir=DIR        C header files in DIR [PREFIX/include]
  567. +  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  568. +  --infodir=DIR           info documentation in DIR [PREFIX/info]
  569. +  --guidedir=DIR          Amigaguide documentation in DIR [PREFIX/guide]
  570. +  --psdir=DIR             postscript documentation in DIR [PREFIX/ps]
  571. +  --dvidir=DIR            TeX dvi documentation in DIR [PREFIX/dvi]
  572. +  --mandir=DIR            man documentation in DIR [PREFIX/man]
  573. +  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  574. +  --program-prefix=PREFIX prepend PREFIX to installed program names
  575. +  --program-suffix=SUFFIX append SUFFIX to installed program names
  576. +  --program-transform-name=PROGRAM
  577. +                          run sed PROGRAM on installed program names
  578. +EOF
  579. +    cat << EOF
  580. +Host type:
  581. +  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  582. +  --host=HOST             configure for HOST [guessed]
  583. +  --target=TARGET         configure for TARGET [TARGET=HOST]
  584. +Features and packages:
  585. +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  586. +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  587. +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  588. +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  589. +  --x-includes=DIR        X include files are in DIR
  590. +  --x-libraries=DIR       X library files are in DIR
  591. +EOF
  592. +    if test -n "$ac_help"; then
  593. +      echo "--enable and --with options recognized:$ac_help"
  594. +    fi
  595. +    exit 0 ;;
  596. +
  597. +  -host | --host | --hos | --ho)
  598. +    ac_prev=host ;;
  599. +  -host=* | --host=* | --hos=* | --ho=*)
  600. +    host="$ac_optarg" ;;
  601. +
  602. +  -includedir | --includedir | --includedi | --included | --include \
  603. +  | --includ | --inclu | --incl | --inc)
  604. +    ac_prev=includedir ;;
  605. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  606. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  607. +    includedir="$ac_optarg" ;;
  608. +
  609. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  610. +    ac_prev=infodir ;;
  611. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  612. +    infodir="$ac_optarg" ;;
  613. +
  614. + -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
  615. +   ac_prev=guidedir ;;
  616. + -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+    guidedir="$ac_optarg" ;;
  617. +
  618. + -psdir | --psdir | --psdi | --psd | --ps)
  619. +   ac_prev=psdir ;;
  620. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+    psdir="$ac_optarg" ;;
  621. +
  622. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  623. +   ac_prev=dvidir ;;
  624. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+    dvidir="$ac_optarg" ;;
  625. +
  626. +  -libdir | --libdir | --libdi | --libd)
  627. +    ac_prev=libdir ;;
  628. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  629. +    libdir="$ac_optarg" ;;
  630. +
  631. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  632. +  | --libexe | --libex | --libe)
  633. +    ac_prev=libexecdir ;;
  634. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  635. +  | --libexe=* | --libex=* | --libe=*)
  636. +    libexecdir="$ac_optarg" ;;
  637. +
  638. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  639. +  | --localstate | --localstat | --localsta | --localst \
  640. +  | --locals | --local | --loca | --loc | --lo)
  641. +    ac_prev=localstatedir ;;
  642. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  643. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  644. +  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  645. +    localstatedir="$ac_optarg" ;;
  646. +
  647. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  648. +    ac_prev=mandir ;;
  649. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  650. +    mandir="$ac_optarg" ;;
  651. +
  652. +  -nfp | --nfp | --nf)
  653. +    # Obsolete; use --without-fp.
  654. +    with_fp=no ;;
  655. +
  656. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  657. +  | --no-cr | --no-c)
  658. +    no_create=yes ;;
  659. +
  660. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  661. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  662. +    no_recursion=yes ;;
  663. +
  664. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  665. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  666. +  | --oldin | --oldi | --old | --ol | --o)
  667. +    ac_prev=oldincludedir ;;
  668. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  669. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  670. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  671. +    oldincludedir="$ac_optarg" ;;
  672. +
  673. +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  674. +    ac_prev=prefix ;;
  675. +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  676. +    prefix="$ac_optarg" ;;
  677. +
  678. +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  679. +  | --program-pre | --program-pr | --program-p)
  680. +    ac_prev=program_prefix ;;
  681. +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  682. +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  683. +    program_prefix="$ac_optarg" ;;
  684. +
  685. +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  686. +  | --program-suf | --program-su | --program-s)
  687. +    ac_prev=program_suffix ;;
  688. +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  689. +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  690. +    program_suffix="$ac_optarg" ;;
  691. +
  692. +  -program-transform-name | --program-transform-name \
  693. +  | --program-transform-nam | --program-transform-na \
  694. +  | --program-transform-n | --program-transform- \
  695. +  | --program-transform | --program-transfor \
  696. +  | --program-transfo | --program-transf \
  697. +  | --program-trans | --program-tran \
  698. +  | --progr-tra | --program-tr | --program-t)
  699. +    ac_prev=program_transform_name ;;
  700. +  -program-transform-name=* | --program-transform-name=* \
  701. +  | --program-transform-nam=* | --program-transform-na=* \
  702. +  | --program-transform-n=* | --program-transform-=* \
  703. +  | --program-transform=* | --program-transfor=* \
  704. +  | --program-transfo=* | --program-transf=* \
  705. +  | --program-trans=* | --program-tran=* \
  706. +  | --progr-tra=* | --program-tr=* | --program-t=*)
  707. +    program_transform_name="$ac_optarg" ;;
  708. +
  709. +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  710. +  | -silent | --silent | --silen | --sile | --sil)
  711. +    silent=yes ;;
  712. +
  713. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  714. +    ac_prev=sbindir ;;
  715. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  716. +  | --sbi=* | --sb=*)
  717. +    sbindir="$ac_optarg" ;;
  718. +
  719. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  720. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  721. +  | --sharedst | --shareds | --shared | --share | --shar \
  722. +  | --sha | --sh)
  723. +    ac_prev=sharedstatedir ;;
  724. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  725. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  726. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  727. +  | --sha=* | --sh=*)
  728. +    sharedstatedir="$ac_optarg" ;;
  729. +
  730. +  -site | --site | --sit)
  731. +    ac_prev=site ;;
  732. +  -site=* | --site=* | --sit=*)
  733. +    site="$ac_optarg" ;;
  734. +
  735. +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  736. +    ac_prev=srcdir ;;
  737. +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  738. +    srcdir="$ac_optarg" ;;
  739. +
  740. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  741. +  | --syscon | --sysco | --sysc | --sys | --sy)
  742. +    ac_prev=sysconfdir ;;
  743. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  744. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  745. +    sysconfdir="$ac_optarg" ;;
  746. +
  747. +  -target | --target | --targe | --targ | --tar | --ta | --t)
  748. +    ac_prev=target ;;
  749. +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  750. +    target="$ac_optarg" ;;
  751. +
  752. +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  753. +    verbose=yes ;;
  754. +
  755. +  -version | --version | --versio | --versi | --vers)
  756. +    echo "configure generated by autoconf version 2.10"
  757. +    exit 0 ;;
  758. +
  759. +  -with-* | --with-*)
  760. +    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  761. +    # Reject names that are not valid shell variable names.
  762. +    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  763. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  764. +    fi
  765. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  766. +    case "$ac_option" in
  767. +      *=*) ;;
  768. +      *) ac_optarg=yes ;;
  769. +    esac
  770. +    eval "with_${ac_package}='$ac_optarg'" ;;
  771. +
  772. +  -without-* | --without-*)
  773. +    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  774. +    # Reject names that are not valid shell variable names.
  775. +    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  776. +      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  777. +    fi
  778. +    ac_package=`echo $ac_package| sed 's/-/_/g'`
  779. +    eval "with_${ac_package}=no" ;;
  780. +
  781. +  --x)
  782. +    # Obsolete; use --with-x.
  783. +    with_x=yes ;;
  784. +
  785. +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  786. +  | --x-incl | --x-inc | --x-in | --x-i)
  787. +    ac_prev=x_includes ;;
  788. +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  789. +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  790. +    x_includes="$ac_optarg" ;;
  791. +
  792. +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  793. +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  794. +    ac_prev=x_libraries ;;
  795. +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  796. +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  797. +    x_libraries="$ac_optarg" ;;
  798. +
  799. +  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  800. +    ;;
  801. +
  802. +  *)
  803. +    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  804. +      echo "configure: warning: $ac_option: invalid host type" 1>&2
  805. +    fi
  806. +    if test "x$nonopt" != xNONE; then
  807. +      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  808. +    fi
  809. +    nonopt="$ac_option"
  810. +    ;;
  811. +
  812. +  esac
  813. +done
  814. +
  815. +if test -n "$ac_prev"; then
  816. +  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  817. +fi
  818. +
  819. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  820. +
  821. +# File descriptor usage:
  822. +# 0 standard input
  823. +# 1 file creation
  824. +# 2 errors and warnings
  825. +# 3 some systems may open it to /dev/tty
  826. +# 4 used on the Kubota Titan
  827. +# 6 checking for... messages and results
  828. +# 5 compiler messages saved in config.log
  829. +if test "$silent" = yes; then
  830. +  exec 6>/dev/null
  831. +else
  832. +  exec 6>&1
  833. +fi
  834. +exec 5>./config.log
  835. +
  836. +echo "\
  837. +This file contains any messages produced by compilers while
  838. +running configure, to aid debugging if configure makes a mistake.
  839. +" 1>&5
  840. +
  841. +# Strip out --no-create and --no-recursion so they do not pile up.
  842. +# Also quote any args containing shell metacharacters.
  843. +ac_configure_args=
  844. +for ac_arg
  845. +do
  846. +  case "$ac_arg" in
  847. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  848. +  | --no-cr | --no-c) ;;
  849. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  850. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  851. +  *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  852. +  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  853. +  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  854. +  esac
  855. +done
  856. +
  857. +# NLS nuisances.
  858. +# Only set LANG and LC_ALL to C if already set.
  859. +# These must not be set unconditionally because not all systems understand
  860. +# e.g. LANG=C (notably SCO).
  861. +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  862. +if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
  863. +
  864. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  865. +rm -rf conftest* confdefs.h
  866. +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  867. +echo > confdefs.h
  868. +
  869. +# A filename unique to this package, relative to the directory that
  870. +# configure is in, which we can look for to find out if srcdir is correct.
  871. +ac_unique_file=superopt.c
  872. +
  873. +# Find the source files, if location was not specified.
  874. +if test -z "$srcdir"; then
  875. +  ac_srcdir_defaulted=yes
  876. +  # Try the directory containing this script, then its parent.
  877. +  ac_prog=$0
  878. +  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  879. +  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  880. +  srcdir=$ac_confdir
  881. +  if test ! -r $srcdir/$ac_unique_file; then
  882. +    srcdir=..
  883. +  fi
  884. +else
  885. +  ac_srcdir_defaulted=no
  886. +fi
  887. +if test ! -r $srcdir/$ac_unique_file; then
  888. +  if test "$ac_srcdir_defaulted" = yes; then
  889. +    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  890. +  else
  891. +    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  892. +  fi
  893. +fi
  894. +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  895. +
  896. +# Prefer explicitly selected file to automatically selected ones.
  897. +if test -z "$CONFIG_SITE"; then
  898. +  if test "x$prefix" != xNONE; then
  899. +    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  900. +  else
  901. +    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  902. +  fi
  903. +fi
  904. +for ac_site_file in $CONFIG_SITE; do
  905. +  if test -r "$ac_site_file"; then
  906. +    echo "loading site script $ac_site_file"
  907. +    . "$ac_site_file"
  908. +  fi
  909. +done
  910. +
  911. +if test -r "$cache_file"; then
  912. +  echo "loading cache $cache_file"
  913. +  . $cache_file
  914. +else
  915. +  echo "creating cache $cache_file"
  916. +  > $cache_file
  917. +fi
  918. +
  919. +ac_ext=c
  920. +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  921. +ac_cpp='$CPP $CPPFLAGS'
  922. +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  923. +ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  924. +
  925. +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  926. +  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  927. +  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  928. +    ac_n= ac_c='
  929. +' ac_t='    '
  930. +  else
  931. +    ac_n=-n ac_c= ac_t=
  932. +  fi
  933. +else
  934. +  ac_n= ac_c='\c' ac_t=
  935. +fi
  936. +
  937. +
  938. +
  939. +# Extract the first word of "gcc", so it can be a program name with args.
  940. +set dummy gcc; ac_word=$2
  941. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  942. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  943. +  echo $ac_n "(cached) $ac_c" 1>&6
  944. +else
  945. +  if test -n "$CC"; then
  946. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  947. +else
  948. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  949. +  for ac_dir in $PATH; do
  950. +    test -z "$ac_dir" && ac_dir=.
  951. +    if test -f $ac_dir/$ac_word; then
  952. +      ac_cv_prog_CC="gcc"
  953. +      break
  954. +    fi
  955. +  done
  956. +  IFS="$ac_save_ifs"
  957. +fi
  958. +fi
  959. +CC="$ac_cv_prog_CC"
  960. +if test -n "$CC"; then
  961. +  echo "$ac_t""$CC" 1>&6
  962. +else
  963. +  echo "$ac_t""no" 1>&6
  964. +fi
  965. +
  966. +if test -z "$CC"; then
  967. +  # Extract the first word of "cc", so it can be a program name with args.
  968. +set dummy cc; ac_word=$2
  969. +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  970. +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  971. +  echo $ac_n "(cached) $ac_c" 1>&6
  972. +else
  973. +  if test -n "$CC"; then
  974. +  ac_cv_prog_CC="$CC" # Let the user override the test.
  975. +else
  976. +  IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  977. +  ac_prog_rejected=no
  978. +  for ac_dir in $PATH; do
  979. +    test -z "$ac_dir" && ac_dir=.
  980. +    if test -f $ac_dir/$ac_word; then
  981. +      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  982. +        ac_prog_rejected=yes
  983. +    continue
  984. +      fi
  985. +      ac_cv_prog_CC="cc"
  986. +      break
  987. +    fi
  988. +  done
  989. +  IFS="$ac_save_ifs"
  990. +if test $ac_prog_rejected = yes; then
  991. +  # We found a bogon in the path, so make sure we never use it.
  992. +  set dummy $ac_cv_prog_CC
  993. +  shift
  994. +  if test $# -gt 0; then
  995. +    # We chose a different compiler from the bogus one.
  996. +    # However, it has the same basename, so the bogon will be chosen
  997. +    # first if we set CC to just the basename; use the full file name.
  998. +    shift
  999. +    set dummy "$ac_dir/$ac_word" "$@"
  1000. +    shift
  1001. +    ac_cv_prog_CC="$@"
  1002. +  fi
  1003. +fi
  1004. +fi
  1005. +fi
  1006. +CC="$ac_cv_prog_CC"
  1007. +if test -n "$CC"; then
  1008. +  echo "$ac_t""$CC" 1>&6
  1009. +else
  1010. +  echo "$ac_t""no" 1>&6
  1011. +fi
  1012. +
  1013. +  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  1014. +fi
  1015. +
  1016. +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  1017. +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  1018. +  echo $ac_n "(cached) $ac_c" 1>&6
  1019. +else
  1020. +  cat > conftest.c <<EOF
  1021. +#ifdef __GNUC__
  1022. +  yes;
  1023. +#endif
  1024. +EOF
  1025. +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  1026. +  ac_cv_prog_gcc=yes
  1027. +else
  1028. +  ac_cv_prog_gcc=no
  1029. +fi
  1030. +fi
  1031. +
  1032. +echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  1033. +if test $ac_cv_prog_gcc = yes; then
  1034. +  GCC=yes
  1035. +  if test "${CFLAGS+set}" != set; then
  1036. +    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  1037. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
  1038. +  echo $ac_n "(cached) $ac_c" 1>&6
  1039. +else
  1040. +  echo 'void f(){}' > conftest.c
  1041. +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  1042. +  ac_cv_prog_gcc_g=yes
  1043. +else
  1044. +  ac_cv_prog_gcc_g=no
  1045. +fi
  1046. +rm -f conftest*
  1047. +
  1048. +fi
  1049. +
  1050. +echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
  1051. +    if test $ac_cv_prog_gcc_g = yes; then
  1052. +      CFLAGS="-g -O2"
  1053. +    else
  1054. +      CFLAGS="-O2"
  1055. +    fi
  1056. +  fi
  1057. +else
  1058. +  GCC=
  1059. +  test "${CFLAGS+set}" = set || CFLAGS="-g"
  1060. +fi
  1061. +
  1062. +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  1063. +# On Suns, sometimes $CPP names a directory.
  1064. +if test -n "$CPP" && test -d "$CPP"; then
  1065. +  CPP=
  1066. +fi
  1067. +if test -z "$CPP"; then
  1068. +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  1069. +  echo $ac_n "(cached) $ac_c" 1>&6
  1070. +else
  1071. +    # This must be in double quotes, not single quotes, because CPP may get
  1072. +  # substituted into the Makefile and "${CC-cc}" will confuse make.
  1073. +  CPP="${CC-cc} -E"
  1074. +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1075. +  # not just through cpp.
  1076. +  cat > conftest.$ac_ext <<EOF
  1077. +#line 673 "configure"
  1078. +#include "confdefs.h"
  1079. +#include <assert.h>
  1080. +Syntax Error
  1081. +EOF
  1082. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1083. +{ (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1084. +ac_err=`grep -v '^ *+' conftest.out`
  1085. +if test -z "$ac_err"; then
  1086. +  :
  1087. +else
  1088. +  echo "$ac_err" >&5
  1089. +  rm -rf conftest*
  1090. +  CPP="${CC-cc} -E -traditional-cpp"
  1091. +  cat > conftest.$ac_ext <<EOF
  1092. +#line 688 "configure"
  1093. +#include "confdefs.h"
  1094. +#include <assert.h>
  1095. +Syntax Error
  1096. +EOF
  1097. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1098. +{ (eval echo configure:694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1099. +ac_err=`grep -v '^ *+' conftest.out`
  1100. +if test -z "$ac_err"; then
  1101. +  :
  1102. +else
  1103. +  echo "$ac_err" >&5
  1104. +  rm -rf conftest*
  1105. +  CPP=/lib/cpp
  1106. +fi
  1107. +rm -f conftest*
  1108. +fi
  1109. +rm -f conftest*
  1110. +  ac_cv_prog_CPP="$CPP"
  1111. +fi
  1112. +  CPP="$ac_cv_prog_CPP"
  1113. +else
  1114. +  ac_cv_prog_CPP="$CPP"
  1115. +fi
  1116. +echo "$ac_t""$CPP" 1>&6
  1117. +
  1118. +if test $ac_cv_prog_gcc = yes; then
  1119. +    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  1120. +if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  1121. +  echo $ac_n "(cached) $ac_c" 1>&6
  1122. +else
  1123. +    ac_pattern="Autoconf.*'x'"
  1124. +  cat > conftest.$ac_ext <<EOF
  1125. +#line 721 "configure"
  1126. +#include "confdefs.h"
  1127. +#include <sgtty.h>
  1128. +Autoconf TIOCGETP
  1129. +EOF
  1130. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1131. +  egrep "$ac_pattern" >/dev/null 2>&1; then
  1132. +  rm -rf conftest*
  1133. +  ac_cv_prog_gcc_traditional=yes
  1134. +else
  1135. +  rm -rf conftest*
  1136. +  ac_cv_prog_gcc_traditional=no
  1137. +fi
  1138. +rm -f conftest*
  1139. +
  1140. +
  1141. +  if test $ac_cv_prog_gcc_traditional = no; then
  1142. +    cat > conftest.$ac_ext <<EOF
  1143. +#line 739 "configure"
  1144. +#include "confdefs.h"
  1145. +#include <termio.h>
  1146. +Autoconf TCGETA
  1147. +EOF
  1148. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1149. +  egrep "$ac_pattern" >/dev/null 2>&1; then
  1150. +  rm -rf conftest*
  1151. +  ac_cv_prog_gcc_traditional=yes
  1152. +fi
  1153. +rm -f conftest*
  1154. +
  1155. +  fi
  1156. +fi
  1157. +
  1158. +echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
  1159. +  if test $ac_cv_prog_gcc_traditional = yes; then
  1160. +    CC="$CC -traditional"
  1161. +  fi
  1162. +fi
  1163. +
  1164. +ac_aux_dir=
  1165. +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1166. +  if test -f $ac_dir/install-sh; then
  1167. +    ac_aux_dir=$ac_dir
  1168. +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1169. +    break
  1170. +  elif test -f $ac_dir/install.sh; then
  1171. +    ac_aux_dir=$ac_dir
  1172. +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1173. +    break
  1174. +  fi
  1175. +done
  1176. +if test -z "$ac_aux_dir"; then
  1177. +  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  1178. +fi
  1179. +ac_config_guess=$ac_aux_dir/config.guess
  1180. +ac_config_sub=$ac_aux_dir/config.sub
  1181. +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  1182. +
  1183. +# Find a good install program.  We prefer a C program (faster),
  1184. +# so one script is as good as another.  But avoid the broken or
  1185. +# incompatible versions:
  1186. +# SysV /etc/install, /usr/sbin/install
  1187. +# SunOS /usr/etc/install
  1188. +# IRIX /sbin/install
  1189. +# AIX /bin/install
  1190. +# AmigaOS /c/install
  1191. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1192. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1193. +# ./install, which can be erroneously created by make from ./install.sh.
  1194. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  1195. +if test -z "$INSTALL"; then
  1196. +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  1197. +  echo $ac_n "(cached) $ac_c" 1>&6
  1198. +else
  1199. +    IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  1200. +  for ac_dir in $PATH; do
  1201. +    # Account for people who put trailing slashes in PATH elements.
  1202. +    case "$ac_dir/" in
  1203. +    /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  1204. +    *)
  1205. +      # OSF1 and SCO ODT 3.0 have their own names for install.
  1206. +      for ac_prog in ginstall installbsd scoinst install; do
  1207. +        if test -f $ac_dir/$ac_prog; then
  1208. +      if test $ac_prog = install &&
  1209. +            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  1210. +        # AIX install.  It has an incompatible calling convention.
  1211. +        # OSF/1 installbsd also uses dspmsg, but is usable.
  1212. +        :
  1213. +      else
  1214. +        ac_cv_path_install="$ac_dir/$ac_prog -c"
  1215. +        break 2
  1216. +      fi
  1217. +    fi
  1218. +      done
  1219. +      ;;
  1220. +    esac
  1221. +  done
  1222. +  IFS="$ac_save_ifs"
  1223. +
  1224. +fi
  1225. +  if test "${ac_cv_path_install+set}" = set; then
  1226. +    INSTALL="$ac_cv_path_install"
  1227. +  else
  1228. +    # As a last resort, use the slow shell script.  We don't cache a
  1229. +    # path for INSTALL within a source directory, because that will
  1230. +    # break other packages using the cache if that directory is
  1231. +    # removed, or if the path is relative.
  1232. +    INSTALL="$ac_install_sh"
  1233. +  fi
  1234. +fi
  1235. +echo "$ac_t""$INSTALL" 1>&6
  1236. +
  1237. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1238. +# It thinks the first close brace ends the variable substitution.
  1239. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1240. +
  1241. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1242. +
  1243. +
  1244. +trap '' 1 2 15
  1245. +cat > confcache <<\EOF
  1246. +# This file is a shell script that caches the results of configure
  1247. +# tests run on this system so they can be shared between configure
  1248. +# scripts and configure runs.  It is not useful on other systems.
  1249. +# If it contains results you don't want to keep, you may remove or edit it.
  1250. +#
  1251. +# By default, configure uses ./config.cache as the cache file,
  1252. +# creating it if it does not exist already.  You can give configure
  1253. +# the --cache-file=FILE option to use a different cache file; that is
  1254. +# what configure does when it calls configure scripts in
  1255. +# subdirectories, so they share the cache.
  1256. +# Giving --cache-file=/dev/null disables caching, for debugging configure.
  1257. +# config.status only pays attention to the cache file if you give it the
  1258. +# --recheck option to rerun configure.
  1259. +#
  1260. +EOF
  1261. +# Ultrix sh set writes to stderr and can't be redirected directly,
  1262. +# and sets the high bit in the cache file unless we assign to the vars.
  1263. +(set) 2>&1 |
  1264. +  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  1265. +  >> confcache
  1266. +if cmp -s $cache_file confcache; then
  1267. +  :
  1268. +else
  1269. +  if test -w $cache_file; then
  1270. +    echo "updating cache $cache_file"
  1271. +    cat confcache > $cache_file
  1272. +  else
  1273. +    echo "not updating unwritable cache $cache_file"
  1274. +  fi
  1275. +fi
  1276. +rm -f confcache
  1277. +
  1278. +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  1279. +
  1280. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1281. +# Let make expand exec_prefix.
  1282. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1283. +
  1284. +# Any assignment to VPATH causes Sun make to only execute
  1285. +# the first set of double-colon rules, so remove it if not needed.
  1286. +# If there is a colon in the path, we need to keep it.
  1287. +if test "x$srcdir" = x.; then
  1288. +  ac_vpsub='/^[     ]*VPATH[     ]*=[^:]*$/d'
  1289. +fi
  1290. +
  1291. +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  1292. +
  1293. +# Transform confdefs.h into DEFS.
  1294. +# Protect against shell expansion while executing Makefile rules.
  1295. +# Protect against Makefile macro expansion.
  1296. +cat > conftest.defs <<\EOF
  1297. +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  1298. +s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
  1299. +s%\[%\\&%g
  1300. +s%\]%\\&%g
  1301. +s%\$%$$%g
  1302. +EOF
  1303. +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  1304. +rm -f conftest.defs
  1305. +
  1306. +
  1307. +# Without the "./", some shells look in PATH for config.status.
  1308. +: ${CONFIG_STATUS=./config.status}
  1309. +
  1310. +echo creating $CONFIG_STATUS
  1311. +# Some systems, like AmigaOS, won't allow you to remove a script that is
  1312. +# being executed, so just move it out of the way instead.
  1313. +if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
  1314. +cat > $CONFIG_STATUS <<EOF
  1315. +#! /bin/sh
  1316. +# Generated automatically by configure.
  1317. +# Run this file to recreate the current configuration.
  1318. +# This directory was configured as follows,
  1319. +# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1320. +#
  1321. +# $0 $ac_configure_args
  1322. +#
  1323. +# Compiler output produced by configure, useful for debugging
  1324. +# configure, is in ./config.log if it exists.
  1325. +
  1326. +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  1327. +for ac_option
  1328. +do
  1329. +  case "\$ac_option" in
  1330. +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1331. +    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1332. +    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1333. +  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1334. +    echo "$CONFIG_STATUS generated by autoconf version 2.10"
  1335. +    exit 0 ;;
  1336. +  -help | --help | --hel | --he | --h)
  1337. +    echo "\$ac_cs_usage"; exit 0 ;;
  1338. +  *) echo "\$ac_cs_usage"; exit 1 ;;
  1339. +  esac
  1340. +done
  1341. +
  1342. +ac_given_srcdir=$srcdir
  1343. +ac_given_INSTALL="$INSTALL"
  1344. +
  1345. +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1346. +EOF
  1347. +cat >> $CONFIG_STATUS <<EOF
  1348. +
  1349. +# Protect against being on the right side of a sed subst in config.status.
  1350. +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  1351. + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  1352. +$ac_vpsub
  1353. +$extrasub
  1354. +s%@CFLAGS@%$CFLAGS%g
  1355. +s%@CPPFLAGS@%$CPPFLAGS%g
  1356. +s%@CXXFLAGS@%$CXXFLAGS%g
  1357. +s%@DEFS@%$DEFS%g
  1358. +s%@LDFLAGS@%$LDFLAGS%g
  1359. +s%@LIBS@%$LIBS%g
  1360. +s%@exec_prefix@%$exec_prefix%g
  1361. +s%@prefix@%$prefix%g
  1362. +s%@program_transform_name@%$program_transform_name%g
  1363. +s%@bindir@%$bindir%g
  1364. +s%@sbindir@%$sbindir%g
  1365. +s%@libexecdir@%$libexecdir%g
  1366. +s%@datadir@%$datadir%g
  1367. +s%@sysconfdir@%$sysconfdir%g
  1368. +s%@sharedstatedir@%$sharedstatedir%g
  1369. +s%@localstatedir@%$localstatedir%g
  1370. +s%@libdir@%$libdir%g
  1371. +s%@includedir@%$includedir%g
  1372. +s%@oldincludedir@%$oldincludedir%g
  1373. +s%@infodir@%$infodir%g
  1374. +s%@guidedir@%$guidedir%g
  1375. +s%@psdir@%$psdir%g
  1376. +s%@dvidir@%$dvidir%g
  1377. +s%@mandir@%$mandir%g
  1378. +s%@CC@%$CC%g
  1379. +s%@CPP@%$CPP%g
  1380. +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  1381. +s%@INSTALL_DATA@%$INSTALL_DATA%g
  1382. +
  1383. +CEOF
  1384. +EOF
  1385. +cat >> $CONFIG_STATUS <<EOF
  1386. +
  1387. +CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
  1388. +EOF
  1389. +cat >> $CONFIG_STATUS <<\EOF
  1390. +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  1391. +  # Support "outfile[:infile]", defaulting infile="outfile.in".
  1392. +  case "$ac_file" in
  1393. +  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  1394. +       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1395. +  *) ac_file_in="${ac_file}.in" ;;
  1396. +  esac
  1397. +
  1398. +  # Adjust relative srcdir, etc. for subdirectories.
  1399. +
  1400. +  # Remove last slash and all that follows it.  Not all systems have dirname.
  1401. +  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  1402. +  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1403. +    # The file is in a subdirectory.
  1404. +    test ! -d "$ac_dir" && mkdir "$ac_dir"
  1405. +    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  1406. +    # A "../" for each directory in $ac_dir_suffix.
  1407. +    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  1408. +  else
  1409. +    ac_dir_suffix= ac_dots=
  1410. +  fi
  1411. +
  1412. +  case "$ac_given_srcdir" in
  1413. +  .)  srcdir=.
  1414. +      if test -z "$ac_dots"; then top_srcdir=.
  1415. +      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  1416. +  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  1417. +  *) # Relative path.
  1418. +    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  1419. +    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1420. +  esac
  1421. +
  1422. +  case "$ac_given_INSTALL" in
  1423. +  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  1424. +  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  1425. +  esac
  1426. +  echo creating "$ac_file"
  1427. +  rm -f "$ac_file"
  1428. +  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  1429. +  case "$ac_file" in
  1430. +  *Makefile*) ac_comsub="1i\\
  1431. +# $configure_input" ;;
  1432. +  *) ac_comsub= ;;
  1433. +  esac
  1434. +  sed -e "$ac_comsub
  1435. +s%@configure_input@%$configure_input%g
  1436. +s%@srcdir@%$srcdir%g
  1437. +s%@top_srcdir@%$top_srcdir%g
  1438. +s%@INSTALL@%$INSTALL%g
  1439. +" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  1440. +fi; done
  1441. +rm -f conftest.subs
  1442. +
  1443. +
  1444. +
  1445. +exit 0
  1446. +EOF
  1447. +chmod +x $CONFIG_STATUS
  1448. +rm -f CONFIG.STATUS.old
  1449. +rm -fr confdefs* $ac_clean_files
  1450. +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  1451. +
  1452. diff -rup --new-file baseline/fsf/superopt/configure.in amiga/fsf/superopt/configure.in
  1453. --- baseline/fsf/superopt/configure.in    Wed Dec 31 17:00:00 1969
  1454. +++ amiga/fsf/superopt/configure.in    Sat Sep 28 00:00:00 1996
  1455. @@ -0,0 +1,8 @@
  1456. +dnl Process this file with autoconf to produce a configure script.
  1457. +AC_INIT(superopt.c)
  1458. +
  1459. +AC_PROG_CC
  1460. +AC_GCC_TRADITIONAL
  1461. +AC_PROG_INSTALL
  1462. +
  1463. +AC_OUTPUT(Makefile)
  1464. diff -rup --new-file baseline/fsf/superopt/manifests/bin amiga/fsf/superopt/manifests/bin
  1465. --- baseline/fsf/superopt/manifests/bin    Wed Dec 31 17:00:00 1969
  1466. +++ amiga/fsf/superopt/manifests/bin    Sat Sep 28 00:00:00 1996
  1467. @@ -0,0 +1,2 @@
  1468. +bin/superopt
  1469. +bin/superopt020
  1470. diff -rup --new-file baseline/fsf/superopt/manifests/src amiga/fsf/superopt/manifests/src
  1471. --- baseline/fsf/superopt/manifests/src    Wed Dec 31 17:00:00 1969
  1472. +++ amiga/fsf/superopt/manifests/src    Sat Sep 28 00:00:00 1996
  1473. @@ -0,0 +1,18 @@
  1474. +fsf/superopt/COPYING
  1475. +fsf/superopt/ChangeLog
  1476. +fsf/superopt/Makefile.in
  1477. +fsf/superopt/Product-Info
  1478. +fsf/superopt/README
  1479. +fsf/superopt/TODO
  1480. +fsf/superopt/configure
  1481. +fsf/superopt/configure.in
  1482. +fsf/superopt/goal.def
  1483. +fsf/superopt/insn.def
  1484. +fsf/superopt/longlong.h
  1485. +fsf/superopt/manifests/bin
  1486. +fsf/superopt/manifests/src
  1487. +fsf/superopt/run_program.def
  1488. +fsf/superopt/superopt.c
  1489. +fsf/superopt/superopt.h
  1490. +fsf/superopt/synth.def
  1491. +fsf/superopt/version.h
  1492.