]> git.pld-linux.org Git - packages/blassic.git/blame - blassic-ac_fix.patch
- many small fixes, inspired by kloczek
[packages/blassic.git] / blassic-ac_fix.patch
CommitLineData
77f05bdc
TO
1--- blassic/aclocal.m4.orig Sat May 24 09:45:26 2003
2+++ blassic/aclocal.m4 Sat May 24 09:46:49 2003
3@@ -1,755 +1,3 @@
4-# aclocal.m4 generated automatically by aclocal 1.6 -*- Autoconf -*-
5-
6-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
7-# Free Software Foundation, Inc.
8-# This file is free software; the Free Software Foundation
9-# gives unlimited permission to copy and/or distribute it,
10-# with or without modifications, as long as this notice is preserved.
11-
12-# This program is distributed in the hope that it will be useful,
13-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
14-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15-# PARTICULAR PURPOSE.
16-
17-# Do all the work for Automake. -*- Autoconf -*-
18-
19-# This macro actually does too much some checks are only needed if
20-# your package does certain things. But this isn't really a big deal.
21-
22-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
23-# Free Software Foundation, Inc.
24-
25-# This program is free software; you can redistribute it and/or modify
26-# it under the terms of the GNU General Public License as published by
27-# the Free Software Foundation; either version 2, or (at your option)
28-# any later version.
29-
30-# This program is distributed in the hope that it will be useful,
31-# but WITHOUT ANY WARRANTY; without even the implied warranty of
32-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33-# GNU General Public License for more details.
34-
35-# You should have received a copy of the GNU General Public License
36-# along with this program; if not, write to the Free Software
37-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
38-# 02111-1307, USA.
39-
40-# serial 8
41-
42-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
43-# written in clear, in which case automake, when reading aclocal.m4,
44-# will think it sees a *use*, and therefore will trigger all it's
45-# C support machinery. Also note that it means that autoscan, seeing
46-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
47-
48-
49-AC_PREREQ([2.52])
50-
51-# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
52-# the ones we care about.
53-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
54-
55-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
56-# AM_INIT_AUTOMAKE([OPTIONS])
57-# -----------------------------------------------
58-# The call with PACKAGE and VERSION arguments is the old style
59-# call (pre autoconf-2.50), which is being phased out. PACKAGE
60-# and VERSION should now be passed to AC_INIT and removed from
61-# the call to AM_INIT_AUTOMAKE.
62-# We support both call styles for the transition. After
63-# the next Automake release, Autoconf can make the AC_INIT
64-# arguments mandatory, and then we can depend on a new Autoconf
65-# release and drop the old call support.
66-AC_DEFUN([AM_INIT_AUTOMAKE],
67-[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
68- AC_REQUIRE([AC_PROG_INSTALL])dnl
69-# test to see if srcdir already configured
70-if test "`cd $srcdir && pwd`" != "`pwd`" &&
71- test -f $srcdir/config.status; then
72- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
73-fi
74-
75-# Define the identity of the package.
76-dnl Distinguish between old-style and new-style calls.
77-m4_ifval([$2],
78-[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
79- AC_SUBST([PACKAGE], [$1])dnl
80- AC_SUBST([VERSION], [$2])],
81-[_AM_SET_OPTIONS([$1])dnl
82- AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
83- AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
84-
85-_AM_IF_OPTION([no-define],,
86-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
87- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
88-
89-# Some tools Automake needs.
90-AC_REQUIRE([AM_SANITY_CHECK])dnl
91-AC_REQUIRE([AC_ARG_PROGRAM])dnl
92-AM_MISSING_PROG(ACLOCAL, "aclocal-${am__api_version}")
93-AM_MISSING_PROG(AUTOCONF, autoconf)
94-AM_MISSING_PROG(AUTOMAKE, "automake-${am__api_version}")
95-AM_MISSING_PROG(AUTOHEADER, autoheader)
96-AM_MISSING_PROG(MAKEINFO, makeinfo)
97-AM_MISSING_PROG(AMTAR, tar)
98-AM_PROG_INSTALL_SH
99-AM_PROG_INSTALL_STRIP
100-# We need awk for the "check" target. The system "awk" is bad on
101-# some platforms.
102-AC_REQUIRE([AC_PROG_AWK])dnl
103-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
104-
105-_AM_IF_OPTION([no-dependencies],,
106-[AC_PROVIDE_IFELSE([AC_PROG_][CC],
107- [_AM_DEPENDENCIES(CC)],
108- [define([AC_PROG_][CC],
109- defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
110-AC_PROVIDE_IFELSE([AC_PROG_][CXX],
111- [_AM_DEPENDENCIES(CXX)],
112- [define([AC_PROG_][CXX],
113- defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
114-])
115-])
116-
117-# Copyright 2002 Free Software Foundation, Inc.
118-
119-# This program is free software; you can redistribute it and/or modify
120-# it under the terms of the GNU General Public License as published by
121-# the Free Software Foundation; either version 2, or (at your option)
122-# any later version.
123-
124-# This program is distributed in the hope that it will be useful,
125-# but WITHOUT ANY WARRANTY; without even the implied warranty of
126-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
127-# GNU General Public License for more details.
128-
129-# You should have received a copy of the GNU General Public License
130-# along with this program; if not, write to the Free Software
131-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
132-
133-# AM_AUTOMAKE_VERSION(VERSION)
134-# ----------------------------
135-# Automake X.Y traces this macro to ensure aclocal.m4 has been
136-# generated from the m4 files accompanying Automake X.Y.
137-AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
138-
139-# AM_SET_CURRENT_AUTOMAKE_VERSION
140-# -------------------------------
141-# Call AM_AUTOMAKE_VERSION so it can be traced.
142-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
143-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
144- [AM_AUTOMAKE_VERSION([1.6])])
145-
146-# Helper functions for option handling. -*- Autoconf -*-
147-
148-# Copyright 2001, 2002 Free Software Foundation, Inc.
149-
150-# This program is free software; you can redistribute it and/or modify
151-# it under the terms of the GNU General Public License as published by
152-# the Free Software Foundation; either version 2, or (at your option)
153-# any later version.
154-
155-# This program is distributed in the hope that it will be useful,
156-# but WITHOUT ANY WARRANTY; without even the implied warranty of
157-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
158-# GNU General Public License for more details.
159-
160-# You should have received a copy of the GNU General Public License
161-# along with this program; if not, write to the Free Software
162-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
163-# 02111-1307, USA.
164-
165-# serial 2
166-
167-# _AM_MANGLE_OPTION(NAME)
168-# -----------------------
169-AC_DEFUN([_AM_MANGLE_OPTION],
170-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
171-
172-# _AM_SET_OPTION(NAME)
173-# ------------------------------
174-# Set option NAME. Presently that only means defining a flag for this option.
175-AC_DEFUN([_AM_SET_OPTION],
176-[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
177-
178-# _AM_SET_OPTIONS(OPTIONS)
179-# ----------------------------------
180-# OPTIONS is a space-separated list of Automake options.
181-AC_DEFUN([_AM_SET_OPTIONS],
182-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
183-
184-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
185-# -------------------------------------------
186-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
187-AC_DEFUN([_AM_IF_OPTION],
188-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
189-
190-#
191-# Check to make sure that the build environment is sane.
192-#
193-
194-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
195-
196-# This program is free software; you can redistribute it and/or modify
197-# it under the terms of the GNU General Public License as published by
198-# the Free Software Foundation; either version 2, or (at your option)
199-# any later version.
200-
201-# This program is distributed in the hope that it will be useful,
202-# but WITHOUT ANY WARRANTY; without even the implied warranty of
203-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
204-# GNU General Public License for more details.
205-
206-# You should have received a copy of the GNU General Public License
207-# along with this program; if not, write to the Free Software
208-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
209-# 02111-1307, USA.
210-
211-# serial 3
212-
213-# AM_SANITY_CHECK
214-# ---------------
215-AC_DEFUN([AM_SANITY_CHECK],
216-[AC_MSG_CHECKING([whether build environment is sane])
217-# Just in case
218-sleep 1
219-echo timestamp > conftest.file
220-# Do `set' in a subshell so we don't clobber the current shell's
221-# arguments. Must try -L first in case configure is actually a
222-# symlink; some systems play weird games with the mod time of symlinks
223-# (eg FreeBSD returns the mod time of the symlink's containing
224-# directory).
225-if (
226- set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
227- if test "$[*]" = "X"; then
228- # -L didn't work.
229- set X `ls -t $srcdir/configure conftest.file`
230- fi
231- rm -f conftest.file
232- if test "$[*]" != "X $srcdir/configure conftest.file" \
233- && test "$[*]" != "X conftest.file $srcdir/configure"; then
234-
235- # If neither matched, then we have a broken ls. This can happen
236- # if, for instance, CONFIG_SHELL is bash and it inherits a
237- # broken ls alias from the environment. This has actually
238- # happened. Such a system could not be considered "sane".
239- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
240-alias in your environment])
241- fi
242-
243- test "$[2]" = conftest.file
244- )
245-then
246- # Ok.
247- :
248-else
249- AC_MSG_ERROR([newly created file is older than distributed files!
250-Check your system clock])
251-fi
252-AC_MSG_RESULT(yes)])
253-
254-# -*- Autoconf -*-
255-
256-
257-# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
258-
259-# This program is free software; you can redistribute it and/or modify
260-# it under the terms of the GNU General Public License as published by
261-# the Free Software Foundation; either version 2, or (at your option)
262-# any later version.
263-
264-# This program is distributed in the hope that it will be useful,
265-# but WITHOUT ANY WARRANTY; without even the implied warranty of
266-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
267-# GNU General Public License for more details.
268-
269-# You should have received a copy of the GNU General Public License
270-# along with this program; if not, write to the Free Software
271-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
272-# 02111-1307, USA.
273-
274-# serial 3
275-
276-# AM_MISSING_PROG(NAME, PROGRAM)
277-# ------------------------------
278-AC_DEFUN([AM_MISSING_PROG],
279-[AC_REQUIRE([AM_MISSING_HAS_RUN])
280-$1=${$1-"${am_missing_run}$2"}
281-AC_SUBST($1)])
282-
283-
284-# AM_MISSING_HAS_RUN
285-# ------------------
286-# Define MISSING if not defined so far and test if it supports --run.
287-# If it does, set am_missing_run to use it, otherwise, to nothing.
288-AC_DEFUN([AM_MISSING_HAS_RUN],
289-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
290-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
291-# Use eval to expand $SHELL
292-if eval "$MISSING --run true"; then
293- am_missing_run="$MISSING --run "
294-else
295- am_missing_run=
296- AC_MSG_WARN([`missing' script is too old or missing])
297-fi
298-])
299-
300-# AM_AUX_DIR_EXPAND
301-
302-# Copyright 2001 Free Software Foundation, Inc.
303-
304-# This program is free software; you can redistribute it and/or modify
305-# it under the terms of the GNU General Public License as published by
306-# the Free Software Foundation; either version 2, or (at your option)
307-# any later version.
308-
309-# This program is distributed in the hope that it will be useful,
310-# but WITHOUT ANY WARRANTY; without even the implied warranty of
311-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
312-# GNU General Public License for more details.
313-
314-# You should have received a copy of the GNU General Public License
315-# along with this program; if not, write to the Free Software
316-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
317-# 02111-1307, USA.
318-
319-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
320-# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
321-# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
322-#
323-# Of course, Automake must honor this variable whenever it calls a
324-# tool from the auxiliary directory. The problem is that $srcdir (and
325-# therefore $ac_aux_dir as well) can be either absolute or relative,
326-# depending on how configure is run. This is pretty annoying, since
327-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
328-# source directory, any form will work fine, but in subdirectories a
329-# relative path needs to be adjusted first.
330-#
331-# $ac_aux_dir/missing
332-# fails when called from a subdirectory if $ac_aux_dir is relative
333-# $top_srcdir/$ac_aux_dir/missing
334-# fails if $ac_aux_dir is absolute,
335-# fails when called from a subdirectory in a VPATH build with
336-# a relative $ac_aux_dir
337-#
338-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
339-# are both prefixed by $srcdir. In an in-source build this is usually
340-# harmless because $srcdir is `.', but things will broke when you
341-# start a VPATH build or use an absolute $srcdir.
342-#
343-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
344-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
345-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
346-# and then we would define $MISSING as
347-# MISSING="\${SHELL} $am_aux_dir/missing"
348-# This will work as long as MISSING is not called from configure, because
349-# unfortunately $(top_srcdir) has no meaning in configure.
350-# However there are other variables, like CC, which are often used in
351-# configure, and could therefore not use this "fixed" $ac_aux_dir.
352-#
353-# Another solution, used here, is to always expand $ac_aux_dir to an
354-# absolute PATH. The drawback is that using absolute paths prevent a
355-# configured tree to be moved without reconfiguration.
356-
357-# Rely on autoconf to set up CDPATH properly.
358-AC_PREREQ([2.50])
359-
360-AC_DEFUN([AM_AUX_DIR_EXPAND], [
361-# expand $ac_aux_dir to an absolute path
362-am_aux_dir=`cd $ac_aux_dir && pwd`
363-])
364-
365-# AM_PROG_INSTALL_SH
366-# ------------------
367-# Define $install_sh.
368-
369-# Copyright 2001 Free Software Foundation, Inc.
370-
371-# This program is free software; you can redistribute it and/or modify
372-# it under the terms of the GNU General Public License as published by
373-# the Free Software Foundation; either version 2, or (at your option)
374-# any later version.
375-
376-# This program is distributed in the hope that it will be useful,
377-# but WITHOUT ANY WARRANTY; without even the implied warranty of
378-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
379-# GNU General Public License for more details.
380-
381-# You should have received a copy of the GNU General Public License
382-# along with this program; if not, write to the Free Software
383-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
384-# 02111-1307, USA.
385-
386-AC_DEFUN([AM_PROG_INSTALL_SH],
387-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
388-install_sh=${install_sh-"$am_aux_dir/install-sh"}
389-AC_SUBST(install_sh)])
390-
391-# AM_PROG_INSTALL_STRIP
392-
393-# Copyright 2001 Free Software Foundation, Inc.
394-
395-# This program is free software; you can redistribute it and/or modify
396-# it under the terms of the GNU General Public License as published by
397-# the Free Software Foundation; either version 2, or (at your option)
398-# any later version.
399-
400-# This program is distributed in the hope that it will be useful,
401-# but WITHOUT ANY WARRANTY; without even the implied warranty of
402-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
403-# GNU General Public License for more details.
404-
405-# You should have received a copy of the GNU General Public License
406-# along with this program; if not, write to the Free Software
407-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
408-# 02111-1307, USA.
409-
410-# One issue with vendor `install' (even GNU) is that you can't
411-# specify the program used to strip binaries. This is especially
412-# annoying in cross-compiling environments, where the build's strip
413-# is unlikely to handle the host's binaries.
414-# Fortunately install-sh will honor a STRIPPROG variable, so we
415-# always use install-sh in `make install-strip', and initialize
416-# STRIPPROG with the value of the STRIP variable (set by the user).
417-AC_DEFUN([AM_PROG_INSTALL_STRIP],
418-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
419-# Installed binaries are usually stripped using `strip' when the user
420-# run `make install-strip'. However `strip' might not be the right
421-# tool to use in cross-compilation environments, therefore Automake
422-# will honor the `STRIP' environment variable to overrule this program.
423-dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
424-if test "$cross_compiling" != no; then
425- AC_CHECK_TOOL([STRIP], [strip], :)
426-fi
427-INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
428-AC_SUBST([INSTALL_STRIP_PROGRAM])])
429-
430-# serial 4 -*- Autoconf -*-
431-
432-# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
433-
434-# This program is free software; you can redistribute it and/or modify
435-# it under the terms of the GNU General Public License as published by
436-# the Free Software Foundation; either version 2, or (at your option)
437-# any later version.
438-
439-# This program is distributed in the hope that it will be useful,
440-# but WITHOUT ANY WARRANTY; without even the implied warranty of
441-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
442-# GNU General Public License for more details.
443-
444-# You should have received a copy of the GNU General Public License
445-# along with this program; if not, write to the Free Software
446-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
447-# 02111-1307, USA.
448-
449-
450-# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
451-# written in clear, in which case automake, when reading aclocal.m4,
452-# will think it sees a *use*, and therefore will trigger all it's
453-# C support machinery. Also note that it means that autoscan, seeing
454-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
455-
456-
457-
458-# _AM_DEPENDENCIES(NAME)
459-# ----------------------
460-# See how the compiler implements dependency checking.
461-# NAME is "CC", "CXX", "GCJ", or "OBJC".
462-# We try a few techniques and use that to set a single cache variable.
463-#
464-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
465-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
466-# dependency, and given that the user is not expected to run this macro,
467-# just rely on AC_PROG_CC.
468-AC_DEFUN([_AM_DEPENDENCIES],
469-[AC_REQUIRE([AM_SET_DEPDIR])dnl
470-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
471-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
472-AC_REQUIRE([AM_DEP_TRACK])dnl
473-
474-ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
475- [$1], CXX, [depcc="$CXX" am_compiler_list=],
476- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
477- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
478- [depcc="$$1" am_compiler_list=])
479-
480-AC_CACHE_CHECK([dependency style of $depcc],
481- [am_cv_$1_dependencies_compiler_type],
482-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
483- # We make a subdir and do the tests there. Otherwise we can end up
484- # making bogus files that we don't know about and never remove. For
485- # instance it was reported that on HP-UX the gcc test will end up
486- # making a dummy file named `D' -- because `-MD' means `put the output
487- # in D'.
488- mkdir conftest.dir
489- # Copy depcomp to subdir because otherwise we won't find it if we're
490- # using a relative directory.
491- cp "$am_depcomp" conftest.dir
492- cd conftest.dir
493-
494- am_cv_$1_dependencies_compiler_type=none
495- if test "$am_compiler_list" = ""; then
496- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
497- fi
498- for depmode in $am_compiler_list; do
499- # We need to recreate these files for each test, as the compiler may
500- # overwrite some of them when testing with obscure command lines.
501- # This happens at least with the AIX C compiler.
502- echo '#include "conftest.h"' > conftest.c
503- echo 'int i;' > conftest.h
504- echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
505-
506- case $depmode in
507- nosideeffect)
508- # after this tag, mechanisms are not by side-effect, so they'll
509- # only be used when explicitly requested
510- if test "x$enable_dependency_tracking" = xyes; then
511- continue
512- else
513- break
514- fi
515- ;;
516- none) break ;;
517- esac
518- # We check with `-c' and `-o' for the sake of the "dashmstdout"
519- # mode. It turns out that the SunPro C++ compiler does not properly
520- # handle `-M -o', and we need to detect this.
521- if depmode=$depmode \
522- source=conftest.c object=conftest.o \
523- depfile=conftest.Po tmpdepfile=conftest.TPo \
524- $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
525- grep conftest.h conftest.Po > /dev/null 2>&1 &&
526- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
527- am_cv_$1_dependencies_compiler_type=$depmode
528- break
529- fi
530- done
531-
532- cd ..
533- rm -rf conftest.dir
534-else
535- am_cv_$1_dependencies_compiler_type=none
536-fi
537-])
538-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
539-])
540-
541-
542-# AM_SET_DEPDIR
543-# -------------
544-# Choose a directory name for dependency files.
545-# This macro is AC_REQUIREd in _AM_DEPENDENCIES
546-AC_DEFUN([AM_SET_DEPDIR],
547-[rm -f .deps 2>/dev/null
548-mkdir .deps 2>/dev/null
549-if test -d .deps; then
550- DEPDIR=.deps
551-else
552- # MS-DOS does not allow filenames that begin with a dot.
553- DEPDIR=_deps
554-fi
555-rmdir .deps 2>/dev/null
556-AC_SUBST([DEPDIR])
557-])
558-
559-
560-# AM_DEP_TRACK
561-# ------------
562-AC_DEFUN([AM_DEP_TRACK],
563-[AC_ARG_ENABLE(dependency-tracking,
564-[ --disable-dependency-tracking Speeds up one-time builds
565- --enable-dependency-tracking Do not reject slow dependency extractors])
566-if test "x$enable_dependency_tracking" != xno; then
567- am_depcomp="$ac_aux_dir/depcomp"
568- AMDEPBACKSLASH='\'
569-fi
570-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
571-AC_SUBST([AMDEPBACKSLASH])
572-])
573-
574-# Generate code to set up dependency tracking. -*- Autoconf -*-
575-
576-# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
577-
578-# This program is free software; you can redistribute it and/or modify
579-# it under the terms of the GNU General Public License as published by
580-# the Free Software Foundation; either version 2, or (at your option)
581-# any later version.
582-
583-# This program is distributed in the hope that it will be useful,
584-# but WITHOUT ANY WARRANTY; without even the implied warranty of
585-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
586-# GNU General Public License for more details.
587-
588-# You should have received a copy of the GNU General Public License
589-# along with this program; if not, write to the Free Software
590-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
591-# 02111-1307, USA.
592-
593-#serial 2
594-
595-# _AM_OUTPUT_DEPENDENCY_COMMANDS
596-# ------------------------------
597-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
598-[for mf in $CONFIG_FILES; do
599- # Strip MF so we end up with the name of the file.
600- mf=`echo "$mf" | sed -e 's/:.*$//'`
601- if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
602- dirpart=`AS_DIRNAME("$mf")`
603- else
604- continue
605- fi
606- grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
607- # Extract the definition of DEP_FILES from the Makefile without
608- # running `make'.
609- DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
610- test -z "$DEPDIR" && continue
611- # When using ansi2knr, U may be empty or an underscore; expand it
612- U=`sed -n -e '/^U = / s///p' < "$mf"`
613- test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
614- # We invoke sed twice because it is the simplest approach to
615- # changing $(DEPDIR) to its actual value in the expansion.
616- for file in `sed -n -e '
617- /^DEP_FILES = .*\\\\$/ {
618- s/^DEP_FILES = //
619- :loop
620- s/\\\\$//
621- p
622- n
623- /\\\\$/ b loop
624- p
625- }
626- /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
627- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
628- # Make sure the directory exists.
629- test -f "$dirpart/$file" && continue
630- fdir=`AS_DIRNAME(["$file"])`
631- AS_MKDIR_P([$dirpart/$fdir])
632- # echo "creating $dirpart/$file"
633- echo '# dummy' > "$dirpart/$file"
634- done
635-done
636-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
637-
638-
639-# AM_OUTPUT_DEPENDENCY_COMMANDS
640-# -----------------------------
641-# This macro should only be invoked once -- use via AC_REQUIRE.
642-#
643-# This code is only required when automatic dependency tracking
644-# is enabled. FIXME. This creates each `.P' file that we will
645-# need in order to bootstrap the dependency handling code.
646-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
647-[AC_CONFIG_COMMANDS([depfiles],
648- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
649- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
650-])
651-
652-# Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*-
653-
654-# This program is free software; you can redistribute it and/or modify
655-# it under the terms of the GNU General Public License as published by
656-# the Free Software Foundation; either version 2, or (at your option)
657-# any later version.
658-
659-# This program is distributed in the hope that it will be useful,
660-# but WITHOUT ANY WARRANTY; without even the implied warranty of
661-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
662-# GNU General Public License for more details.
663-
664-# You should have received a copy of the GNU General Public License
665-# along with this program; if not, write to the Free Software
666-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
667-# 02111-1307, USA.
668-
669-# serial 2
670-
671-# AM_MAKE_INCLUDE()
672-# -----------------
673-# Check to see how make treats includes.
674-AC_DEFUN([AM_MAKE_INCLUDE],
675-[am_make=${MAKE-make}
676-cat > confinc << 'END'
677-doit:
678- @echo done
679-END
680-# If we don't find an include directive, just comment out the code.
681-AC_MSG_CHECKING([for style of include used by $am_make])
682-am__include="#"
683-am__quote=
684-_am_result=none
685-# First try GNU make style include.
686-echo "include confinc" > confmf
687-# We grep out `Entering directory' and `Leaving directory'
688-# messages which can occur if `w' ends up in MAKEFLAGS.
689-# In particular we don't look at `^make:' because GNU make might
690-# be invoked under some other name (usually "gmake"), in which
691-# case it prints its new name instead of `make'.
692-if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
693- am__include=include
694- am__quote=
695- _am_result=GNU
696-fi
697-# Now try BSD make style include.
698-if test "$am__include" = "#"; then
699- echo '.include "confinc"' > confmf
700- if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
701- am__include=.include
702- am__quote="\""
703- _am_result=BSD
704- fi
705-fi
706-AC_SUBST(am__include)
707-AC_SUBST(am__quote)
708-AC_MSG_RESULT($_am_result)
709-rm -f confinc confmf
710-])
711-
712-# AM_CONDITIONAL -*- Autoconf -*-
713-
714-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
715-
716-# This program is free software; you can redistribute it and/or modify
717-# it under the terms of the GNU General Public License as published by
718-# the Free Software Foundation; either version 2, or (at your option)
719-# any later version.
720-
721-# This program is distributed in the hope that it will be useful,
722-# but WITHOUT ANY WARRANTY; without even the implied warranty of
723-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
724-# GNU General Public License for more details.
725-
726-# You should have received a copy of the GNU General Public License
727-# along with this program; if not, write to the Free Software
728-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
729-# 02111-1307, USA.
730-
731-# serial 5
732-
733-AC_PREREQ(2.52)
734-
735-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
736-# -------------------------------------
737-# Define a conditional.
738-AC_DEFUN([AM_CONDITIONAL],
739-[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
740- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
741-AC_SUBST([$1_TRUE])
742-AC_SUBST([$1_FALSE])
743-if $2; then
744- $1_TRUE=
745- $1_FALSE='#'
746-else
747- $1_TRUE='#'
748- $1_FALSE=
749-fi
750-AC_CONFIG_COMMANDS_PRE(
751-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
752- AC_MSG_ERROR([conditional \"$1\" was never defined.
753-Usually this means the macro was only invoked conditionally.])
754-fi])])
755-
756 # Configure paths for SVGAlib
757 # Created by Pierre Sarrazin <http://sarrazip.com/>
758 # This file is in the public domain.
759--- blassic/configure.ac.orig Sat May 24 09:45:43 2003
760+++ blassic/configure.ac Sat May 24 09:46:18 2003
761@@ -43,11 +43,11 @@
762
763
764 #CXXFLAGS="-g" # default compilation options; avoids having -O2 by default
765-CXXFLAGS="-O3" # We want maximun optimization even in debugging.
766+#CXXFLAGS="-O3" # We want maximun optimization even in debugging.
767
768 # Julian: Some systems install ncurses in /opt
769-CPPFLAGS="-I/opt/ncurses/include"
770-LDFLAGS="-L/opt/ncurses/lib"
080a44f6 771+CPPFLAGS="-I/usr/include/ncurses -D_GNU_SOURCE"
77f05bdc
TO
772+#LDFLAGS="-L/opt/ncurses/lib"
773
774 ###############################################################################
775 # Julian
This page took 0.160377 seconds and 4 git commands to generate.