initial checkin of autotools-based trunk targetting v4.0
This commit is contained in:
parent
21879354ba
commit
c746ec692d
165
COPYING
Normal file
165
COPYING
Normal file
|
@ -0,0 +1,165 @@
|
|||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
729
Makefile
Normal file
729
Makefile
Normal file
|
@ -0,0 +1,729 @@
|
|||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# Makefile. Generated from Makefile.in by configure.
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
||||
pkgdatadir = $(datadir)/eid-mw
|
||||
pkgincludedir = $(includedir)/eid-mw
|
||||
pkglibdir = $(libdir)/eid-mw
|
||||
pkglibexecdir = $(libexecdir)/eid-mw
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = x86_64-unknown-linux-gnu
|
||||
host_triplet = i686-w64-mingw32
|
||||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS \
|
||||
build-aux/config.guess build-aux/config.sub \
|
||||
build-aux/install-sh build-aux/ltmain.sh build-aux/missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
||||
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
||||
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
||||
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
||||
distdir dist dist-all distcheck
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d "$(distdir)" \
|
||||
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr "$(distdir)"; }; }
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = ${SHELL} /home/frank/OLDTRUNK/eid-mw/build-aux/missing --run aclocal-1.11
|
||||
AMTAR = ${SHELL} /home/frank/OLDTRUNK/eid-mw/build-aux/missing --run tar
|
||||
AR = i686-w64-mingw32-ar
|
||||
AUTOCONF = ${SHELL} /home/frank/OLDTRUNK/eid-mw/build-aux/missing --run autoconf
|
||||
AUTOHEADER = ${SHELL} /home/frank/OLDTRUNK/eid-mw/build-aux/missing --run autoheader
|
||||
AUTOMAKE = ${SHELL} /home/frank/OLDTRUNK/eid-mw/build-aux/missing --run automake-1.11
|
||||
AWK = gawk
|
||||
CC = i686-w64-mingw32-gcc
|
||||
CCDEPMODE = depmode=none
|
||||
CFLAGS = -g -O2
|
||||
CPP = i686-w64-mingw32-gcc -E
|
||||
CPPFLAGS =
|
||||
CXX = i686-w64-mingw32-g++
|
||||
CXXCPP = i686-w64-mingw32-g++ -E
|
||||
CXXDEPMODE = depmode=none
|
||||
CXXFLAGS = -g -O2
|
||||
CYGPATH_W = echo
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
DSYMUTIL =
|
||||
DUMPBIN =
|
||||
ECHO_C =
|
||||
ECHO_N = -n
|
||||
ECHO_T =
|
||||
EGREP = /bin/grep -E
|
||||
EXEEXT = .exe
|
||||
FGREP = /bin/grep -F
|
||||
GREP = /bin/grep
|
||||
INSTALL = /bin/install -c
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
||||
LD = /home/frank/w32/i686-w64-mingw32/bin/ld
|
||||
LDFLAGS =
|
||||
LIBOBJS = ${LIBOBJDIR}error$U.o ${LIBOBJDIR}malloc$U.o ${LIBOBJDIR}realloc$U.o
|
||||
LIBS =
|
||||
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
||||
LIPO =
|
||||
LN_S = ln -s
|
||||
LTLIBOBJS = ${LIBOBJDIR}error$U.lo ${LIBOBJDIR}malloc$U.lo ${LIBOBJDIR}realloc$U.lo
|
||||
MAKEINFO = ${SHELL} /home/frank/OLDTRUNK/eid-mw/build-aux/missing --run makeinfo
|
||||
MKDIR_P = /bin/mkdir -p
|
||||
NM = /home/frank/w32/bin/i686-w64-mingw32-nm -B
|
||||
NMEDIT =
|
||||
OBJDUMP = i686-w64-mingw32-objdump
|
||||
OBJEXT = o
|
||||
OTOOL =
|
||||
OTOOL64 =
|
||||
PACKAGE = eid-mw
|
||||
PACKAGE_BUGREPORT = servicedesk@fedict.be
|
||||
PACKAGE_NAME = eid-mw
|
||||
PACKAGE_STRING = eid-mw 0.0.1
|
||||
PACKAGE_TARNAME = eid-mw
|
||||
PACKAGE_URL =
|
||||
PACKAGE_VERSION = 0.0.1
|
||||
PATH_SEPARATOR = :
|
||||
RANLIB = i686-w64-mingw32-ranlib
|
||||
SED = /bin/sed
|
||||
SET_MAKE =
|
||||
SHELL = /bin/sh
|
||||
STRIP = i686-w64-mingw32-strip
|
||||
VERSION = 0.0.1
|
||||
abs_builddir = /home/frank/OLDTRUNK/eid-mw
|
||||
abs_srcdir = /home/frank/OLDTRUNK/eid-mw
|
||||
abs_top_builddir = /home/frank/OLDTRUNK/eid-mw
|
||||
abs_top_srcdir = /home/frank/OLDTRUNK/eid-mw
|
||||
ac_ct_CC =
|
||||
ac_ct_CXX =
|
||||
ac_ct_DUMPBIN =
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
am__tar = ${AMTAR} chof - "$$tardir"
|
||||
am__untar = ${AMTAR} xf -
|
||||
bindir = ${exec_prefix}/bin
|
||||
build = x86_64-unknown-linux-gnu
|
||||
build_alias =
|
||||
build_cpu = x86_64
|
||||
build_os = linux-gnu
|
||||
build_vendor = unknown
|
||||
builddir = .
|
||||
datadir = ${datarootdir}
|
||||
datarootdir = ${prefix}/share
|
||||
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
||||
dvidir = ${docdir}
|
||||
exec_prefix = ${prefix}
|
||||
host = i686-w64-mingw32
|
||||
host_alias = i686-w64-mingw32
|
||||
host_cpu = i686
|
||||
host_os = mingw32
|
||||
host_vendor = w64
|
||||
htmldir = ${docdir}
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${datarootdir}/info
|
||||
install_sh = ${SHELL} /home/frank/OLDTRUNK/eid-mw/build-aux/install-sh
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localedir = ${datarootdir}/locale
|
||||
localstatedir = ${prefix}/var
|
||||
mandir = ${datarootdir}/man
|
||||
mkdir_p = /bin/mkdir -p
|
||||
oldincludedir = /usr/include
|
||||
pdfdir = ${docdir}
|
||||
prefix =
|
||||
program_transform_name = s,x,x,
|
||||
psdir = ${docdir}
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
srcdir = .
|
||||
subdirs = common dialogs cardlayer pkcs11
|
||||
sysconfdir = ${prefix}/etc
|
||||
target_alias =
|
||||
top_build_prefix =
|
||||
top_builddir = .
|
||||
top_srcdir = .
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = common dialogs cardlayer pkcs11
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
config.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool config.lt
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-test -n "$(am__skip_mode_fix)" \
|
||||
|| find "$(distdir)" -type d ! -perm -755 \
|
||||
-exec chmod u+rwx,go+rx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r "$(distdir)"
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-lzma: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-xz: distdir
|
||||
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lzma*) \
|
||||
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
|
||||
*.tar.xz*) \
|
||||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
test -d $(distdir)/_build || exit 0; \
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& am__cwd=`pwd` \
|
||||
&& $(am__cd) $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||
&& cd "$$am__cwd" \
|
||||
|| exit 1
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@$(am__cd) '$(distuninstallcheck_dir)' \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
|
||||
ctags-recursive install-am install-strip tags-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am am--refresh check check-am clean clean-generic \
|
||||
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
||||
dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
|
||||
distcheck distclean distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags distcleancheck distdir \
|
||||
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags tags-recursive uninstall uninstall-am
|
||||
|
||||
|
||||
#BUILT_SOURCES = svn_revision.h
|
||||
#REVISION=$Revision: 23 $
|
||||
#svn_revision.h:
|
||||
# echo $(REVISION) | $(SED) -e s/^\$Revision: \([0-9]\+\) \$$/\1/
|
||||
# $(SED) -e s/--REVSTR--/$$((6000+${REVISION}))/ svn_revision.h.in > svn_revision.h
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
8
Makefile.am
Normal file
8
Makefile.am
Normal file
|
@ -0,0 +1,8 @@
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = common dialogs cardlayer pkcs11
|
||||
|
||||
#BUILT_SOURCES = svn_revision.h
|
||||
#REVISION=$Revision: 23 $
|
||||
#svn_revision.h:
|
||||
# echo $(REVISION) | $(SED) -e s/^\$Revision: \([0-9]\+\) \$$/\1/
|
||||
# $(SED) -e s/--REVSTR--/$$((6000+${REVISION}))/ svn_revision.h.in > svn_revision.h
|
729
Makefile.in
Normal file
729
Makefile.in
Normal file
|
@ -0,0 +1,729 @@
|
|||
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
VPATH = @srcdir@
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog NEWS \
|
||||
build-aux/config.guess build-aux/config.sub \
|
||||
build-aux/install-sh build-aux/ltmain.sh build-aux/missing
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
||||
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
||||
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
||||
$(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-dvi-recursive install-exec-recursive \
|
||||
install-html-recursive install-info-recursive \
|
||||
install-pdf-recursive install-ps-recursive install-recursive \
|
||||
installcheck-recursive installdirs-recursive pdf-recursive \
|
||||
ps-recursive uninstall-recursive
|
||||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
||||
distclean-recursive maintainer-clean-recursive
|
||||
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
||||
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
||||
distdir dist dist-all distcheck
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
am__remove_distdir = \
|
||||
{ test ! -d "$(distdir)" \
|
||||
|| { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||
&& rm -fr "$(distdir)"; }; }
|
||||
am__relativize = \
|
||||
dir0=`pwd`; \
|
||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
||||
sed_rest='s,^[^/]*/*,,'; \
|
||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
||||
sed_butlast='s,/*[^/]*$$,,'; \
|
||||
while test -n "$$dir1"; do \
|
||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
||||
if test "$$first" != "."; then \
|
||||
if test "$$first" = ".."; then \
|
||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
||||
else \
|
||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
||||
if test "$$first2" = "$$first"; then \
|
||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
||||
else \
|
||||
dir2="../$$dir2"; \
|
||||
fi; \
|
||||
dir0="$$dir0"/"$$first"; \
|
||||
fi; \
|
||||
fi; \
|
||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
||||
done; \
|
||||
reldir="$$dir2"
|
||||
DIST_ARCHIVES = $(distdir).tar.gz
|
||||
GZIP_ENV = --best
|
||||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMTAR = @AMTAR@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXDEPMODE = @CXXDEPMODE@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DEFS = @DEFS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EXEEXT = @EXEEXT@
|
||||
FGREP = @FGREP@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
RANLIB = @RANLIB@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
subdirs = @subdirs@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = common dialogs cardlayer pkcs11
|
||||
all: config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
am--refresh:
|
||||
@:
|
||||
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
|
||||
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
echo ' $(SHELL) ./config.status'; \
|
||||
$(SHELL) ./config.status;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
$(top_srcdir)/configure: $(am__configure_deps)
|
||||
$(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
config.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h1
|
||||
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||
$(srcdir)/config.h.in: $(am__configure_deps)
|
||||
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
||||
rm -f stamp-h1
|
||||
touch $@
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h stamp-h1
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool config.lt
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
$(RECURSIVE_CLEAN_TARGETS):
|
||||
@fail= failcom='exit 1'; \
|
||||
for f in x $$MAKEFLAGS; do \
|
||||
case $$f in \
|
||||
*=* | --[!k]*);; \
|
||||
*k*) failcom='fail=yes';; \
|
||||
esac; \
|
||||
done; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| eval $$failcom; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d "$(distdir)/$$file"; then \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
||||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
||||
fi; \
|
||||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
||||
else \
|
||||
test -f "$(distdir)/$$file" \
|
||||
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
||||
$(am__relativize); \
|
||||
new_distdir=$$reldir; \
|
||||
dir1=$$subdir; dir2="$(top_distdir)"; \
|
||||
$(am__relativize); \
|
||||
new_top_distdir=$$reldir; \
|
||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
||||
($(am__cd) $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$$new_top_distdir" \
|
||||
distdir="$$new_distdir" \
|
||||
am__remove_distdir=: \
|
||||
am__skip_length_check=: \
|
||||
am__skip_mode_fix=: \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
-test -n "$(am__skip_mode_fix)" \
|
||||
|| find "$(distdir)" -type d ! -perm -755 \
|
||||
-exec chmod u+rwx,go+rx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r "$(distdir)"
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-bzip2: distdir
|
||||
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-lzma: distdir
|
||||
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-xz: distdir
|
||||
tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-tarZ: distdir
|
||||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-shar: distdir
|
||||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist-zip: distdir
|
||||
-rm -f $(distdir).zip
|
||||
zip -rq $(distdir).zip $(distdir)
|
||||
$(am__remove_distdir)
|
||||
|
||||
dist dist-all: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
$(am__remove_distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
case '$(DIST_ARCHIVES)' in \
|
||||
*.tar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
|
||||
*.tar.bz2*) \
|
||||
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
|
||||
*.tar.lzma*) \
|
||||
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
|
||||
*.tar.xz*) \
|
||||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
|
||||
*.tar.Z*) \
|
||||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
||||
*.shar.gz*) \
|
||||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
|
||||
*.zip*) \
|
||||
unzip $(distdir).zip ;;\
|
||||
esac
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/_build
|
||||
mkdir $(distdir)/_inst
|
||||
chmod a-w $(distdir)
|
||||
test -d $(distdir)/_build || exit 0; \
|
||||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||
&& am__cwd=`pwd` \
|
||||
&& $(am__cd) $(distdir)/_build \
|
||||
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||
distuninstallcheck \
|
||||
&& chmod -R a-w "$$dc_install_base" \
|
||||
&& ({ \
|
||||
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||
&& rm -rf "$$dc_destdir" \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& rm -rf $(DIST_ARCHIVES) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
|
||||
&& cd "$$am__cwd" \
|
||||
|| exit 1
|
||||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@$(am__cd) '$(distuninstallcheck_dir)' \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|| { echo "ERROR: files left after uninstall:" ; \
|
||||
if test -n "$(DESTDIR)"; then \
|
||||
echo " (check DESTDIR support)"; \
|
||||
fi ; \
|
||||
$(distuninstallcheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
distcleancheck: distclean
|
||||
@if test '$(srcdir)' = . ; then \
|
||||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||
$(distcleancheck_listfiles) ; \
|
||||
exit 1; } >&2
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-recursive
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-recursive
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||
-rm -rf $(top_srcdir)/autom4te.cache
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
|
||||
ctags-recursive install-am install-strip tags-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
||||
all all-am am--refresh check check-am clean clean-generic \
|
||||
clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
|
||||
dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
|
||||
distcheck distclean distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-tags distcleancheck distdir \
|
||||
distuninstallcheck dvi dvi-am html html-am info info-am \
|
||||
install install-am install-data install-data-am install-dvi \
|
||||
install-dvi-am install-exec install-exec-am install-html \
|
||||
install-html-am install-info install-info-am install-man \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||
ps ps-am tags tags-recursive uninstall uninstall-am
|
||||
|
||||
|
||||
#BUILT_SOURCES = svn_revision.h
|
||||
#REVISION=$Revision: 23 $
|
||||
#svn_revision.h:
|
||||
# echo $(REVISION) | $(SED) -e s/^\$Revision: \([0-9]\+\) \$$/\1/
|
||||
# $(SED) -e s/--REVSTR--/$$((6000+${REVISION}))/ svn_revision.h.in > svn_revision.h
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
48
README
Normal file
48
README
Normal file
|
@ -0,0 +1,48 @@
|
|||
beid MiddleWare installation
|
||||
----------------------------
|
||||
|
||||
I. Code from svn repository:
|
||||
----------------------------
|
||||
|
||||
- Make sure you have libtool, autoconf and automake installed.
|
||||
- run ./bootstrap in the middleware directory
|
||||
- proceed to II.
|
||||
|
||||
II. Code from a source package, or code you just bootstrapped at item I.
|
||||
------------------------------------------------------------------------
|
||||
|
||||
a) GNU/Linux
|
||||
|
||||
- Make sure you have Qt SDK and pcsc-lite installed.
|
||||
|
||||
- cd to the middleware directory
|
||||
|
||||
- Run ./configure --with-qt=<QT_INSTALL_DIR> --with-pcsclite=<PCSCLITE_INSTALL_DIR>
|
||||
for example, on my Arch 64 system, I built a Qt and installed it in it's default location /usr/local/Trolltech,
|
||||
and I installed pcsc-lite using Arch's package manager, putting it in /usr/include and /usr/lib, so my configure
|
||||
command becomes:
|
||||
|
||||
./configure --with-qt=/usr/local/Trolltech/Qt-4.6.2/ --with-pcsclite=/usr
|
||||
|
||||
- make
|
||||
note: you may benefit from using the -j option, followed by a number slightly greater than the number of cores in your system.
|
||||
For example, on our 8-core system, I use make -j12 to build the entire middleware from scratch in about 40 seconds.
|
||||
|
||||
- as root: make install
|
||||
|
||||
b) 32-bit MS Windows
|
||||
|
||||
- Make sure you have the appropriate Cross-Compiling toolchain installed. We use MinGW-w64 to build on Windows.q
|
||||
|
||||
- Make sure the decorated tools from your Cross-Compiling toolchain are on your PATH.
|
||||
|
||||
- cd to the middleware directory
|
||||
|
||||
- Run ./configure --host=<YOUR_TOOLCHAIN_TRIGRAM>
|
||||
for example, we would use:
|
||||
|
||||
./configure --host=i686-w64-mingw32
|
||||
|
||||
- make
|
||||
note: you may benefit from using the -j option, followed by a number slightly greater than the number of cores in your system.
|
||||
For example, on our 8-core system, I use make -j12 to build the entire middleware from scratch in slightly over one minute.
|
956
aclocal.m4
vendored
Normal file
956
aclocal.m4
vendored
Normal file
|
@ -0,0 +1,956 @@
|
|||
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
|
||||
[m4_warning([this file was generated for autoconf 2.65.
|
||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
||||
|
||||
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
# (This private macro should not be called outside this file.)
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
[am__api_version='1.11'
|
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
dnl require some minimum version. Point them to the right macro.
|
||||
m4_if([$1], [1.11.1], [],
|
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
])
|
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION)
|
||||
# -----------------------------
|
||||
# aclocal traces this macro to find the Autoconf version.
|
||||
# This is a private macro too. Using m4_define simplifies
|
||||
# the logic in aclocal, which can simply ignore this definition.
|
||||
m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.11.1])dnl
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||
#
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is `.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
||||
[dnl Rely on autoconf to set up CDPATH properly.
|
||||
AC_PREREQ([2.50])dnl
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 9
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
# Define a conditional.
|
||||
AC_DEFUN([AM_CONDITIONAL],
|
||||
[AC_PREREQ(2.52)dnl
|
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])dnl
|
||||
AC_SUBST([$1_FALSE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
||||
m4_define([_AM_COND_VALUE_$1], [$2])dnl
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
else
|
||||
$1_TRUE='#'
|
||||
$1_FALSE=
|
||||
fi
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
||||
AC_MSG_ERROR([[conditional "$1" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.]])
|
||||
fi])])
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 10
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
# will think it sees a *use*, and therefore will trigger all it's
|
||||
# C support machinery. Also note that it means that autoscan, seeing
|
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME)
|
||||
# ----------------------
|
||||
# See how the compiler implements dependency checking.
|
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
||||
# We try a few techniques and use that to set a single cache variable.
|
||||
#
|
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||
# dependency, and given that the user is not expected to run this macro,
|
||||
# just rely on AC_PROG_CC.
|
||||
AC_DEFUN([_AM_DEPENDENCIES],
|
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc],
|
||||
[am_cv_$1_dependencies_compiler_type],
|
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||
# We make a subdir and do the tests there. Otherwise we can end up
|
||||
# making bogus files that we don't know about and never remove. For
|
||||
# instance it was reported that on HP-UX the gcc test will end up
|
||||
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||
# in D'.
|
||||
mkdir conftest.dir
|
||||
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||
# using a relative directory.
|
||||
cp "$am_depcomp" conftest.dir
|
||||
cd conftest.dir
|
||||
# We will build objects and dependencies in a subdirectory because
|
||||
# it helps to detect inapplicable dependency modes. For instance
|
||||
# both Tru64's cc and ICC support -MD to output dependencies as a
|
||||
# side effect of compilation, but ICC will put the dependencies in
|
||||
# the current directory while Tru64 will put them in the object
|
||||
# directory.
|
||||
mkdir sub
|
||||
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
if test "$am_compiler_list" = ""; then
|
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
fi
|
||||
am__universal=false
|
||||
m4_case([$1], [CC],
|
||||
[case " $depcc " in #(
|
||||
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
||||
esac],
|
||||
[CXX],
|
||||
[case " $depcc " in #(
|
||||
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
||||
esac])
|
||||
|
||||
for depmode in $am_compiler_list; do
|
||||
# Setup a source with many dependencies, because some compilers
|
||||
# like to wrap large dependency lists on column 80 (with \), and
|
||||
# we should not choose a depcomp mode which is confused by this.
|
||||
#
|
||||
# We need to recreate these files for each test, as the compiler may
|
||||
# overwrite some of them when testing with obscure command lines.
|
||||
# This happens at least with the AIX C compiler.
|
||||
: > sub/conftest.c
|
||||
for i in 1 2 3 4 5 6; do
|
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
||||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
||||
# Solaris 8's {/usr,}/bin/sh.
|
||||
touch sub/conftst$i.h
|
||||
done
|
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||
|
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||
# handle `-M -o', and we need to detect this. Also, some Intel
|
||||
# versions had trouble with output in subdirs
|
||||
am__obj=sub/conftest.${OBJEXT-o}
|
||||
am__minus_obj="-o $am__obj"
|
||||
case $depmode in
|
||||
gcc)
|
||||
# This depmode causes a compiler race in universal mode.
|
||||
test "$am__universal" = false || continue
|
||||
;;
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
if test "x$enable_dependency_tracking" = xyes; then
|
||||
continue
|
||||
else
|
||||
break
|
||||
fi
|
||||
;;
|
||||
msvisualcpp | msvcmsys)
|
||||
# This compiler won't grok `-c -o', but also, the minuso test has
|
||||
# not run yet. These depmodes are late enough in the game, and
|
||||
# so weak that their functioning should not be impacted.
|
||||
am__obj=conftest.${OBJEXT-o}
|
||||
am__minus_obj=
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
if depmode=$depmode \
|
||||
source=sub/conftest.c object=$am__obj \
|
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
# icc doesn't choke on unknown options, it will just issue warnings
|
||||
# or remarks (even with -Werror). So we grep stderr for any message
|
||||
# that says an option was ignored or not supported.
|
||||
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
||||
# icc: Command line warning: ignoring option '-M'; no argument required
|
||||
# The diagnosis changed in icc 8.0:
|
||||
# icc: Command line remark: option '-MP' not supported
|
||||
if (grep 'ignoring option' conftest.err ||
|
||||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
||||
am_cv_$1_dependencies_compiler_type=$depmode
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
cd ..
|
||||
rm -rf conftest.dir
|
||||
else
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
fi
|
||||
])
|
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||
AM_CONDITIONAL([am__fastdep$1], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
||||
])
|
||||
|
||||
|
||||
# AM_SET_DEPDIR
|
||||
# -------------
|
||||
# Choose a directory name for dependency files.
|
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||
AC_DEFUN([AM_SET_DEPDIR],
|
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
||||
])
|
||||
|
||||
|
||||
# AM_DEP_TRACK
|
||||
# ------------
|
||||
AC_DEFUN([AM_DEP_TRACK],
|
||||
[AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking speeds up one-time build
|
||||
--enable-dependency-tracking do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])dnl
|
||||
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
#serial 5
|
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# ------------------------------
|
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[{
|
||||
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
||||
# are listed without --file. Let's play safe and only enable the eval
|
||||
# if we detect the quoting.
|
||||
case $CONFIG_FILES in
|
||||
*\'*) eval set x "$CONFIG_FILES" ;;
|
||||
*) set x $CONFIG_FILES ;;
|
||||
esac
|
||||
shift
|
||||
for mf
|
||||
do
|
||||
# Strip MF so we end up with the name of the file.
|
||||
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
# Check whether this is an Automake generated Makefile or not.
|
||||
# We used to match only the files named `Makefile.in', but
|
||||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# Grep'ing the whole file is not good either: AIX grep has a line
|
||||
# limit of 2048, but all sed's we know have understand at least 4000.
|
||||
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
fi
|
||||
# Extract the definition of DEPDIR, am__include, and am__quote
|
||||
# from the Makefile without running `make'.
|
||||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||
test -z "$DEPDIR" && continue
|
||||
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||
test -z "am__include" && continue
|
||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||
U=`sed -n 's/^U = //p' < "$mf"`
|
||||
# Find all dependency output files, they are included files with
|
||||
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||
# simplest approach to changing $(DEPDIR) to its actual value in the
|
||||
# expansion.
|
||||
for file in `sed -n "
|
||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
# Make sure the directory exists.
|
||||
test -f "$dirpart/$file" && continue
|
||||
fdir=`AS_DIRNAME(["$file"])`
|
||||
AS_MKDIR_P([$dirpart/$fdir])
|
||||
# echo "creating $dirpart/$file"
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
}
|
||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
||||
|
||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# -----------------------------
|
||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||
#
|
||||
# This code is only required when automatic dependency tracking
|
||||
# is enabled. FIXME. This creates each `.P' file that we will
|
||||
# need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AC_CONFIG_COMMANDS([depfiles],
|
||||
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||
])
|
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 16
|
||||
|
||||
# This macro actually does too much. Some checks are only needed if
|
||||
# your package does certain things. But this isn't really a big deal.
|
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||
# -----------------------------------------------
|
||||
# The call with PACKAGE and VERSION arguments is the old style
|
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||
# and VERSION should now be passed to AC_INIT and removed from
|
||||
# the call to AM_INIT_AUTOMAKE.
|
||||
# We support both call styles for the transition. After
|
||||
# the next Automake release, Autoconf can make the AC_INIT
|
||||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.62])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
# is not polluted with repeated "-I."
|
||||
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
if test -z "$CYGPATH_W"; then
|
||||
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||
CYGPATH_W='cygpath -w'
|
||||
else
|
||||
CYGPATH_W=echo
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CYGPATH_W])
|
||||
|
||||
# Define the identity of the package.
|
||||
dnl Distinguish between old-style and new-style calls.
|
||||
m4_ifval([$2],
|
||||
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
_AM_IF_OPTION([no-define],,
|
||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
|
||||
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
[_AM_PROG_TAR([v7])])])
|
||||
_AM_IF_OPTION([no-dependencies],,
|
||||
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
[_AM_DEPENDENCIES(CC)],
|
||||
[define([AC_PROG_CC],
|
||||
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
[_AM_DEPENDENCIES(OBJC)],
|
||||
[define([AC_PROG_OBJC],
|
||||
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
||||
])
|
||||
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
|
||||
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
|
||||
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
|
||||
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
|
||||
AC_CONFIG_COMMANDS_PRE(dnl
|
||||
[m4_provide_if([_AM_COMPILER_EXEEXT],
|
||||
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
||||
])
|
||||
|
||||
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
||||
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
||||
dnl mangled by Autoconf and run in a shell conditional statement.
|
||||
m4_define([_AC_COMPILER_EXEEXT],
|
||||
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
|
||||
|
||||
|
||||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp files are numbered to have different names.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[# Compute $1's index in $config_headers.
|
||||
_am_arg=$1
|
||||
_am_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$_am_arg | $_am_arg:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
if test x"${install_sh}" != xset; then
|
||||
case $am_aux_dir in
|
||||
*\ * | *\ *)
|
||||
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
||||
*)
|
||||
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# Check whether the underlying file-system supports filenames
|
||||
# with a leading dot. For instance MS-DOS doesn't.
|
||||
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||
[rm -rf .tst 2>/dev/null
|
||||
mkdir .tst 2>/dev/null
|
||||
if test -d .tst; then
|
||||
am__leading_dot=.
|
||||
else
|
||||
am__leading_dot=_
|
||||
fi
|
||||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
# AM_MAKE_INCLUDE()
|
||||
# -----------------
|
||||
# Check to see how make treats includes.
|
||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||
[am_make=${MAKE-make}
|
||||
cat > confinc << 'END'
|
||||
am__doit:
|
||||
@echo this is the am__doit target
|
||||
.PHONY: am__doit
|
||||
END
|
||||
# If we don't find an include directive, just comment out the code.
|
||||
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||
am__include="#"
|
||||
am__quote=
|
||||
_am_result=none
|
||||
# First try GNU make style include.
|
||||
echo "include confinc" > confmf
|
||||
# Ignore all kinds of additional output from `make'.
|
||||
case `$am_make -s -f confmf 2> /dev/null` in #(
|
||||
*the\ am__doit\ target*)
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
;;
|
||||
esac
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
case `$am_make -s -f confmf 2> /dev/null` in #(
|
||||
*the\ am__doit\ target*)
|
||||
am__include=.include
|
||||
am__quote="\""
|
||||
_am_result=BSD
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST([am__include])
|
||||
AC_SUBST([am__quote])
|
||||
AC_MSG_RESULT([$_am_result])
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 6
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
AC_DEFUN([AM_MISSING_PROG],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it supports --run.
|
||||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
if test x"${MISSING+set}" != xset; then
|
||||
case $am_aux_dir in
|
||||
*\ * | *\ *)
|
||||
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
||||
*)
|
||||
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
||||
esac
|
||||
fi
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN([`missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_MKDIR_P
|
||||
# ---------------
|
||||
# Check for `mkdir -p'.
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[AC_PREREQ([2.60])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
||||
dnl while keeping a definition of mkdir_p for backward compatibility.
|
||||
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
||||
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
||||
dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
||||
dnl adjustment using top_builddir (which is defined more often than
|
||||
dnl MKDIR_P).
|
||||
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
||||
case $mkdir_p in
|
||||
[[\\/$]]* | ?:[[\\/]]*) ;;
|
||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
# _AM_MANGLE_OPTION(NAME)
|
||||
# -----------------------
|
||||
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
# _AM_SET_OPTION(NAME)
|
||||
# ------------------------------
|
||||
# Set option NAME. Presently that only means defining a flag for this option.
|
||||
AC_DEFUN([_AM_SET_OPTION],
|
||||
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
|
||||
|
||||
# _AM_SET_OPTIONS(OPTIONS)
|
||||
# ----------------------------------
|
||||
# OPTIONS is a space-separated list of Automake options.
|
||||
AC_DEFUN([_AM_SET_OPTIONS],
|
||||
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
|
||||
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
# -------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
AC_DEFUN([_AM_IF_OPTION],
|
||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||
|
||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 5
|
||||
|
||||
# AM_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftest.file
|
||||
# Reject unsafe characters in $srcdir or the absolute working directory
|
||||
# name. Accept space and tab only in the latter.
|
||||
am_lf='
|
||||
'
|
||||
case `pwd` in
|
||||
*[[\\\"\#\$\&\'\`$am_lf]]*)
|
||||
AC_MSG_ERROR([unsafe absolute working directory name]);;
|
||||
esac
|
||||
case $srcdir in
|
||||
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
|
||||
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
|
||||
esac
|
||||
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
||||
if test "$[*]" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t "$srcdir/configure" conftest.file`
|
||||
fi
|
||||
rm -f conftest.file
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "$[2]" = conftest.file
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_STRIP
|
||||
# ---------------------
|
||||
# One issue with vendor `install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in `make install-strip', and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
# Installed binaries are usually stripped using `strip' when the user
|
||||
# run `make install-strip'. However `strip' might not be the right
|
||||
# tool to use in cross-compilation environments, therefore Automake
|
||||
# will honor the `STRIP' environment variable to overrule this program.
|
||||
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
||||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
# This macro is traced by Automake.
|
||||
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
|
||||
# AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Public sister of _AM_SUBST_NOTMAKE.
|
||||
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_PROG_TAR(FORMAT)
|
||||
# --------------------
|
||||
# Check how to create a tarball in format FORMAT.
|
||||
# FORMAT should be one of `v7', `ustar', or `pax'.
|
||||
#
|
||||
# Substitute a variable $(am__tar) that is a command
|
||||
# writing to stdout a FORMAT-tarball containing the directory
|
||||
# $tardir.
|
||||
# tardir=directory && $(am__tar) > result.tar
|
||||
#
|
||||
# Substitute a variable $(am__untar) that extract such
|
||||
# a tarball read from stdin.
|
||||
# $(am__untar) < result.tar
|
||||
AC_DEFUN([_AM_PROG_TAR],
|
||||
[# Always define AMTAR for backward compatibility.
|
||||
AM_MISSING_PROG([AMTAR], [tar])
|
||||
m4_if([$1], [v7],
|
||||
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
|
||||
[m4_case([$1], [ustar],, [pax],,
|
||||
[m4_fatal([Unknown tar format])])
|
||||
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||
# Loop over all known methods to create a tar archive until one works.
|
||||
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||
# Do not fold the above two line into one, because Tru64 sh and
|
||||
# Solaris sh will not grok spaces in the rhs of `-'.
|
||||
for _am_tool in $_am_tools
|
||||
do
|
||||
case $_am_tool in
|
||||
gnutar)
|
||||
for _am_tar in tar gnutar gtar;
|
||||
do
|
||||
AM_RUN_LOG([$_am_tar --version]) && break
|
||||
done
|
||||
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||
am__untar="$_am_tar -xf -"
|
||||
;;
|
||||
plaintar)
|
||||
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||
# ustar tarball either.
|
||||
(tar --version) >/dev/null 2>&1 && continue
|
||||
am__tar='tar chf - "$$tardir"'
|
||||
am__tar_='tar chf - "$tardir"'
|
||||
am__untar='tar xf -'
|
||||
;;
|
||||
pax)
|
||||
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||
am__untar='pax -r'
|
||||
;;
|
||||
cpio)
|
||||
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||
am__untar='cpio -i -H $1 -d'
|
||||
;;
|
||||
none)
|
||||
am__tar=false
|
||||
am__tar_=false
|
||||
am__untar=false
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the value was cached, stop now. We just wanted to have am__tar
|
||||
# and am__untar set.
|
||||
test -n "${am_cv_prog_tar_$1}" && break
|
||||
|
||||
# tar/untar a dummy directory, and stop if the command works
|
||||
rm -rf conftest.dir
|
||||
mkdir conftest.dir
|
||||
echo GrepMe > conftest.dir/file
|
||||
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||
rm -rf conftest.dir
|
||||
if test -s conftest.tar; then
|
||||
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||
fi
|
||||
done
|
||||
rm -rf conftest.dir
|
||||
|
||||
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||
AC_SUBST([am__tar])
|
||||
AC_SUBST([am__untar])
|
||||
]) # _AM_PROG_TAR
|
||||
|
||||
m4_include([m4/libtool.m4])
|
||||
m4_include([m4/ltoptions.m4])
|
||||
m4_include([m4/ltsugar.m4])
|
||||
m4_include([m4/ltversion.m4])
|
||||
m4_include([m4/lt~obsolete.m4])
|
18323
autom4te.cache/output.0
Normal file
18323
autom4te.cache/output.0
Normal file
File diff suppressed because it is too large
Load diff
18323
autom4te.cache/output.1
Normal file
18323
autom4te.cache/output.1
Normal file
File diff suppressed because it is too large
Load diff
18323
autom4te.cache/output.2
Normal file
18323
autom4te.cache/output.2
Normal file
File diff suppressed because it is too large
Load diff
18323
autom4te.cache/output.3
Normal file
18323
autom4te.cache/output.3
Normal file
File diff suppressed because it is too large
Load diff
551
autom4te.cache/requests
Normal file
551
autom4te.cache/requests
Normal file
|
@ -0,0 +1,551 @@
|
|||
# This file was generated.
|
||||
# It contains the lists of macros which have been traced.
|
||||
# It can be safely removed.
|
||||
|
||||
@request = (
|
||||
bless( [
|
||||
'0',
|
||||
1,
|
||||
[
|
||||
'/usr/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||
'aclocal.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'_AM_COND_IF' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_FC_SRCEXT' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'AC_REQUIRE_AUX_FILE' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AM_PROG_CXX_C_O' => 1,
|
||||
'_AM_COND_ENDIF' => 1,
|
||||
'AM_ENABLE_MULTILIB' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'include' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'AM_PROG_FC_C_O' => 1,
|
||||
'AC_FC_FREEFORM' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'sinclude' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'm4_include' => 1,
|
||||
'_AM_COND_ELSE' => 1,
|
||||
'AC_SUBST_TRACE' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'1',
|
||||
1,
|
||||
[
|
||||
'/usr/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||
'/usr/share/aclocal/argz.m4',
|
||||
'/usr/share/aclocal/ltdl.m4',
|
||||
'/usr/share/aclocal-1.11/amversion.m4',
|
||||
'/usr/share/aclocal-1.11/auxdir.m4',
|
||||
'/usr/share/aclocal-1.11/cond.m4',
|
||||
'/usr/share/aclocal-1.11/depend.m4',
|
||||
'/usr/share/aclocal-1.11/depout.m4',
|
||||
'/usr/share/aclocal-1.11/init.m4',
|
||||
'/usr/share/aclocal-1.11/install-sh.m4',
|
||||
'/usr/share/aclocal-1.11/lead-dot.m4',
|
||||
'/usr/share/aclocal-1.11/make.m4',
|
||||
'/usr/share/aclocal-1.11/missing.m4',
|
||||
'/usr/share/aclocal-1.11/mkdirp.m4',
|
||||
'/usr/share/aclocal-1.11/options.m4',
|
||||
'/usr/share/aclocal-1.11/runlog.m4',
|
||||
'/usr/share/aclocal-1.11/sanity.m4',
|
||||
'/usr/share/aclocal-1.11/silent.m4',
|
||||
'/usr/share/aclocal-1.11/strip.m4',
|
||||
'/usr/share/aclocal-1.11/substnot.m4',
|
||||
'/usr/share/aclocal-1.11/tar.m4',
|
||||
'm4/libtool.m4',
|
||||
'm4/ltoptions.m4',
|
||||
'm4/ltsugar.m4',
|
||||
'm4/ltversion.m4',
|
||||
'm4/lt~obsolete.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||
'_LT_AC_SHELL_INIT' => 1,
|
||||
'AC_DEFUN' => 1,
|
||||
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_PROG_MKDIR_P' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_MISSING_PROG' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||
'AM_PROG_INSTALL_STRIP' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AC_LIBTOOL_OBJDIR' => 1,
|
||||
'gl_FUNC_ARGZ' => 1,
|
||||
'LTOBSOLETE_VERSION' => 1,
|
||||
'AM_SANITY_CHECK' => 1,
|
||||
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||
'LT_LIB_M' => 1,
|
||||
'_LT_AC_CHECK_DLFCN' => 1,
|
||||
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||
'LTSUGAR_VERSION' => 1,
|
||||
'_LT_PROG_LTMAIN' => 1,
|
||||
'_AM_PROG_TAR' => 1,
|
||||
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||
'AC_LIBTOOL_GCJ' => 1,
|
||||
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'_LT_AC_LANG_F77' => 1,
|
||||
'AC_LIBTOOL_CONFIG' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'AC_LTDL_DLLIB' => 1,
|
||||
'_AM_AUTOCONF_VERSION' => 1,
|
||||
'AM_DISABLE_SHARED' => 1,
|
||||
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||
'_LTDL_SETUP' => 1,
|
||||
'AM_PROG_LIBTOOL' => 1,
|
||||
'_LT_AC_LANG_CXX' => 1,
|
||||
'AM_PROG_LD' => 1,
|
||||
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||
'AC_LIB_LTDL' => 1,
|
||||
'AU_DEFUN' => 1,
|
||||
'AC_PROG_NM' => 1,
|
||||
'AC_LIBTOOL_DLOPEN' => 1,
|
||||
'AC_PROG_LD' => 1,
|
||||
'AC_PROG_LD_GNU' => 1,
|
||||
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||
'AC_LIBTOOL_FC' => 1,
|
||||
'LTDL_CONVENIENCE' => 1,
|
||||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'LT_PROG_RC' => 1,
|
||||
'LT_SYS_MODULE_EXT' => 1,
|
||||
'AC_DEFUN_ONCE' => 1,
|
||||
'_LT_AC_LANG_GCJ' => 1,
|
||||
'AC_LTDL_OBJDIR' => 1,
|
||||
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||
'AC_LIBTOOL_RC' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||
'include' => 1,
|
||||
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||
'LT_AC_PROG_SED' => 1,
|
||||
'AM_ENABLE_SHARED' => 1,
|
||||
'LTDL_INSTALLABLE' => 1,
|
||||
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_ENABLE_SHARED' => 1,
|
||||
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||
'AC_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||
'_LT_AC_TAGVAR' => 1,
|
||||
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'LT_LIB_DLLOAD' => 1,
|
||||
'LTVERSION_VERSION' => 1,
|
||||
'_LT_PROG_CXX' => 1,
|
||||
'_LT_PROG_F77' => 1,
|
||||
'LTDL_INIT' => 1,
|
||||
'm4_include' => 1,
|
||||
'AM_PROG_INSTALL_SH' => 1,
|
||||
'AC_PROG_EGREP' => 1,
|
||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||
'AC_PATH_MAGIC' => 1,
|
||||
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||
'AM_MAKE_INCLUDE' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'LT_CMD_MAX_LEN' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'_LT_LINKER_OPTION' => 1,
|
||||
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||
'AC_DISABLE_SHARED' => 1,
|
||||
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||
'AC_LIBTOOL_SETUP' => 1,
|
||||
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||
'AM_MISSING_HAS_RUN' => 1,
|
||||
'LT_LANG' => 1,
|
||||
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||
'LT_OUTPUT' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||
'AC_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||
'LT_AC_PROG_RC' => 1,
|
||||
'AC_LIBTOOL_CXX' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'LT_AC_PROG_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_SELF' => 1,
|
||||
'AM_DEP_TRACK' => 1,
|
||||
'AM_DISABLE_STATIC' => 1,
|
||||
'_LT_AC_PROG_CXXCPP' => 1,
|
||||
'_AC_PROG_LIBTOOL' => 1,
|
||||
'_AM_IF_OPTION' => 1,
|
||||
'AC_PATH_TOOL_PREFIX' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_LIBTOOL_F77' => 1,
|
||||
'AM_SET_LEADING_DOT' => 1,
|
||||
'LT_AC_PROG_EGREP' => 1,
|
||||
'_LT_PROG_FC' => 1,
|
||||
'_AM_DEPENDENCIES' => 1,
|
||||
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||
'LTOPTIONS_VERSION' => 1,
|
||||
'_LT_AC_SYS_COMPILER' => 1,
|
||||
'AM_PROG_NM' => 1,
|
||||
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||
'LT_PROG_GCJ' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_DISABLE_STATIC' => 1,
|
||||
'LT_PATH_NM' => 1,
|
||||
'AC_LTDL_SHLIBEXT' => 1,
|
||||
'_LT_AC_LOCK' => 1,
|
||||
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||
'LT_SYS_MODULE_PATH' => 1,
|
||||
'LT_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||
'AC_LTDL_SHLIBPATH' => 1,
|
||||
'AM_AUX_DIR_EXPAND' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||
'_AM_SET_OPTIONS' => 1,
|
||||
'_LT_COMPILER_OPTION' => 1,
|
||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'AM_RUN_LOG' => 1,
|
||||
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'AC_LIBTOOL_PICMODE' => 1,
|
||||
'AC_CHECK_LIBM' => 1,
|
||||
'LT_PATH_LD' => 1,
|
||||
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||
'_AM_MANGLE_OPTION' => 1,
|
||||
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||
'AM_SET_DEPDIR' => 1,
|
||||
'_LT_CC_BASENAME' => 1,
|
||||
'_LT_LIBOBJ' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'2',
|
||||
1,
|
||||
[
|
||||
'/opt/local/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/opt/local/share/autoconf/autoconf/autoconf.m4f',
|
||||
'/opt/local/share/aclocal/argz.m4',
|
||||
'/opt/local/share/aclocal/ltdl.m4',
|
||||
'/opt/local/share/aclocal-1.11/amversion.m4',
|
||||
'/opt/local/share/aclocal-1.11/auxdir.m4',
|
||||
'/opt/local/share/aclocal-1.11/cond.m4',
|
||||
'/opt/local/share/aclocal-1.11/depend.m4',
|
||||
'/opt/local/share/aclocal-1.11/depout.m4',
|
||||
'/opt/local/share/aclocal-1.11/init.m4',
|
||||
'/opt/local/share/aclocal-1.11/install-sh.m4',
|
||||
'/opt/local/share/aclocal-1.11/lead-dot.m4',
|
||||
'/opt/local/share/aclocal-1.11/make.m4',
|
||||
'/opt/local/share/aclocal-1.11/missing.m4',
|
||||
'/opt/local/share/aclocal-1.11/mkdirp.m4',
|
||||
'/opt/local/share/aclocal-1.11/options.m4',
|
||||
'/opt/local/share/aclocal-1.11/runlog.m4',
|
||||
'/opt/local/share/aclocal-1.11/sanity.m4',
|
||||
'/opt/local/share/aclocal-1.11/silent.m4',
|
||||
'/opt/local/share/aclocal-1.11/strip.m4',
|
||||
'/opt/local/share/aclocal-1.11/substnot.m4',
|
||||
'/opt/local/share/aclocal-1.11/tar.m4',
|
||||
'm4/libtool.m4',
|
||||
'm4/ltoptions.m4',
|
||||
'm4/ltsugar.m4',
|
||||
'm4/ltversion.m4',
|
||||
'm4/lt~obsolete.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||
'_LT_AC_SHELL_INIT' => 1,
|
||||
'AC_DEFUN' => 1,
|
||||
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_PROG_MKDIR_P' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_MISSING_PROG' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||
'AM_PROG_INSTALL_STRIP' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AC_LIBTOOL_OBJDIR' => 1,
|
||||
'gl_FUNC_ARGZ' => 1,
|
||||
'AM_SANITY_CHECK' => 1,
|
||||
'LTOBSOLETE_VERSION' => 1,
|
||||
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||
'LT_LIB_M' => 1,
|
||||
'_LT_AC_CHECK_DLFCN' => 1,
|
||||
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||
'LTSUGAR_VERSION' => 1,
|
||||
'_LT_PROG_LTMAIN' => 1,
|
||||
'_AM_PROG_TAR' => 1,
|
||||
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||
'AC_LIBTOOL_GCJ' => 1,
|
||||
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'_LT_AC_LANG_F77' => 1,
|
||||
'AC_LIBTOOL_CONFIG' => 1,
|
||||
'AC_LTDL_DLLIB' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'_AM_AUTOCONF_VERSION' => 1,
|
||||
'AM_DISABLE_SHARED' => 1,
|
||||
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||
'_LTDL_SETUP' => 1,
|
||||
'_LT_AC_LANG_CXX' => 1,
|
||||
'AM_PROG_LIBTOOL' => 1,
|
||||
'AC_LIB_LTDL' => 1,
|
||||
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||
'AM_PROG_LD' => 1,
|
||||
'AU_DEFUN' => 1,
|
||||
'AC_PROG_NM' => 1,
|
||||
'AC_LIBTOOL_DLOPEN' => 1,
|
||||
'AC_PROG_LD' => 1,
|
||||
'AC_PROG_LD_GNU' => 1,
|
||||
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||
'AC_LIBTOOL_FC' => 1,
|
||||
'LTDL_CONVENIENCE' => 1,
|
||||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'LT_PROG_RC' => 1,
|
||||
'LT_SYS_MODULE_EXT' => 1,
|
||||
'AC_DEFUN_ONCE' => 1,
|
||||
'_LT_AC_LANG_GCJ' => 1,
|
||||
'AC_LTDL_OBJDIR' => 1,
|
||||
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||
'AC_LIBTOOL_RC' => 1,
|
||||
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||
'include' => 1,
|
||||
'LT_AC_PROG_SED' => 1,
|
||||
'AM_ENABLE_SHARED' => 1,
|
||||
'LTDL_INSTALLABLE' => 1,
|
||||
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_ENABLE_SHARED' => 1,
|
||||
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||
'AC_ENABLE_STATIC' => 1,
|
||||
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||
'_LT_AC_TAGVAR' => 1,
|
||||
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'LT_LIB_DLLOAD' => 1,
|
||||
'LTDL_INIT' => 1,
|
||||
'_LT_PROG_F77' => 1,
|
||||
'_LT_PROG_CXX' => 1,
|
||||
'LTVERSION_VERSION' => 1,
|
||||
'AM_PROG_INSTALL_SH' => 1,
|
||||
'm4_include' => 1,
|
||||
'AC_PROG_EGREP' => 1,
|
||||
'AC_PATH_MAGIC' => 1,
|
||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||
'AM_MAKE_INCLUDE' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'LT_CMD_MAX_LEN' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'_LT_LINKER_OPTION' => 1,
|
||||
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||
'AC_DISABLE_SHARED' => 1,
|
||||
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||
'AC_LIBTOOL_SETUP' => 1,
|
||||
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||
'AM_MISSING_HAS_RUN' => 1,
|
||||
'LT_LANG' => 1,
|
||||
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||
'LT_OUTPUT' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||
'AC_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||
'LT_AC_PROG_RC' => 1,
|
||||
'AC_LIBTOOL_CXX' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'LT_AC_PROG_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_SELF' => 1,
|
||||
'AM_DEP_TRACK' => 1,
|
||||
'AM_DISABLE_STATIC' => 1,
|
||||
'_LT_AC_PROG_CXXCPP' => 1,
|
||||
'_AC_PROG_LIBTOOL' => 1,
|
||||
'_AM_IF_OPTION' => 1,
|
||||
'AC_PATH_TOOL_PREFIX' => 1,
|
||||
'AC_LIBTOOL_F77' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AM_SET_LEADING_DOT' => 1,
|
||||
'_LT_PROG_FC' => 1,
|
||||
'LT_AC_PROG_EGREP' => 1,
|
||||
'_AM_DEPENDENCIES' => 1,
|
||||
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||
'LTOPTIONS_VERSION' => 1,
|
||||
'_LT_AC_SYS_COMPILER' => 1,
|
||||
'AM_PROG_NM' => 1,
|
||||
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||
'LT_PROG_GCJ' => 1,
|
||||
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_DISABLE_STATIC' => 1,
|
||||
'LT_PATH_NM' => 1,
|
||||
'AC_LTDL_SHLIBEXT' => 1,
|
||||
'_LT_AC_LOCK' => 1,
|
||||
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||
'LT_SYS_MODULE_PATH' => 1,
|
||||
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||
'LT_WITH_LTDL' => 1,
|
||||
'AC_LTDL_SHLIBPATH' => 1,
|
||||
'AM_AUX_DIR_EXPAND' => 1,
|
||||
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||
'_LT_COMPILER_OPTION' => 1,
|
||||
'_AM_SET_OPTIONS' => 1,
|
||||
'AM_RUN_LOG' => 1,
|
||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'AC_LIBTOOL_PICMODE' => 1,
|
||||
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||
'LT_PATH_LD' => 1,
|
||||
'AC_CHECK_LIBM' => 1,
|
||||
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||
'_AM_MANGLE_OPTION' => 1,
|
||||
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||
'AM_SET_DEPDIR' => 1,
|
||||
'_LT_CC_BASENAME' => 1,
|
||||
'_LT_LIBOBJ' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'3',
|
||||
1,
|
||||
[
|
||||
'/opt/local/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/opt/local/share/autoconf/autoconf/autoconf.m4f',
|
||||
'aclocal.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'_AM_COND_IF' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_FC_SRCEXT' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_REQUIRE_AUX_FILE' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AM_PROG_CXX_C_O' => 1,
|
||||
'_AM_COND_ENDIF' => 1,
|
||||
'AM_ENABLE_MULTILIB' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'include' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AM_PROG_FC_C_O' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'AC_FC_FREEFORM' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'sinclude' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'm4_include' => 1,
|
||||
'_AM_COND_ELSE' => 1,
|
||||
'AC_SUBST_TRACE' => 1
|
||||
}
|
||||
], 'Autom4te::Request' )
|
||||
);
|
||||
|
766
autom4te.cache/traces.0
Normal file
766
autom4te.cache/traces.0
Normal file
|
@ -0,0 +1,766 @@
|
|||
m4trace:aclocal.m4:952: -1- m4_include([m4/libtool.m4])
|
||||
m4trace:aclocal.m4:953: -1- m4_include([m4/ltoptions.m4])
|
||||
m4trace:aclocal.m4:954: -1- m4_include([m4/ltsugar.m4])
|
||||
m4trace:aclocal.m4:955: -1- m4_include([m4/ltversion.m4])
|
||||
m4trace:aclocal.m4:956: -1- m4_include([m4/lt~obsolete.m4])
|
||||
m4trace:configure.ac:2: -1- AC_INIT([eid-mw], [0.0.1], [servicedesk@fedict.be])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([SHELL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([SHELL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([exec_prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([program_transform_name])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([bindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sbindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libexecdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datarootdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${datarootdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datadir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sysconfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sharedstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([includedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([oldincludedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
|
||||
['${datarootdir}/doc/${PACKAGE}'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([docdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([infodir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([htmldir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([htmldir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([dvidir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([dvidir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([pdfdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([pdfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([psdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([psdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([mandir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||
@%:@undef PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||
@%:@undef PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||
@%:@undef PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||
@%:@undef PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||
@%:@undef PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
|
||||
@%:@undef PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([DEFS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([DEFS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([build_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([build_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([host_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([host_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([target_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([target_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
|
||||
m4trace:configure.ac:3: -1- AC_CONFIG_AUX_DIR([build-aux])
|
||||
m4trace:configure.ac:5: -1- AC_CONFIG_HEADERS([config.h])
|
||||
m4trace:configure.ac:7: -1- AC_CANONICAL_HOST
|
||||
m4trace:configure.ac:7: -1- AC_CANONICAL_BUILD
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([config.sub])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([config.guess])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build], [$ac_cv_build])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build_cpu], [$[1]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build_cpu])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build_cpu$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build_vendor], [$[2]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build_vendor])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build_vendor$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build_os])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build_os])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build_os$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host], [$ac_cv_host])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host_cpu], [$[1]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host_cpu])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host_cpu$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host_vendor], [$[2]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host_vendor])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host_vendor$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host_os])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host_os])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host_os$])
|
||||
m4trace:configure.ac:9: -1- LT_INIT
|
||||
m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
|
||||
m4trace:configure.ac:9: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EXEEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EXEEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([SED])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([SED])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^SED$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([FGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([FGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^FGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NM])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NM])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NM$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LN_S])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LN_S$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AR])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([RANLIB])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([RANLIB])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^RANLIB$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AWK])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AWK])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AWK$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LT_OBJDIR$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
@%:@undef LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- LT_SUPPORTED_TAG([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DSYMUTIL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NMEDIT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIPO])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIPO])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIPO$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL64$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
@%:@undef HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STDC_HEADERS$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
|
||||
@%:@undef STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
@%:@undef HAVE_SYS_TYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
@%:@undef HAVE_SYS_STAT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
@%:@undef HAVE_MEMORY_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||
@%:@undef HAVE_STRINGS_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
@%:@undef HAVE_INTTYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||
@%:@undef HAVE_STDINT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
@%:@undef HAVE_UNISTD_H])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
|
||||
m4trace:configure.ac:12: -1- AM_INIT_AUTOMAKE([subdir-objects foreign])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
|
||||
m4trace:configure.ac:12: -1- AM_AUTOMAKE_VERSION([1.11.1])
|
||||
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_DATA])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_DATA])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_DATA$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__isrc])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__isrc$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__isrc])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([CYGPATH_W])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CYGPATH_W])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^CYGPATH_W$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([PACKAGE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([VERSION])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:12: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
|
||||
@%:@undef PACKAGE])
|
||||
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:12: -1- AH_OUTPUT([VERSION], [/* Version number of package */
|
||||
@%:@undef VERSION])
|
||||
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([missing])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([ACLOCAL])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ACLOCAL])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^ACLOCAL$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AUTOCONF])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOCONF])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOCONF$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AUTOMAKE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOMAKE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOMAKE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AUTOHEADER])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOHEADER])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOHEADER$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([MAKEINFO])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MAKEINFO])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^MAKEINFO$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([install_sh])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([install_sh])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^install_sh$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
|
||||
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([MKDIR_P])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^MKDIR_P$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([mkdir_p])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^mkdir_p$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([SET_MAKE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SET_MAKE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^SET_MAKE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__leading_dot])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__leading_dot])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__leading_dot$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMTAR])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMTAR])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMTAR$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__tar])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__tar])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__tar$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__untar])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__untar])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__untar$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DEPDIR])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPDIR$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__include])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__include])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__include$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__quote])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__quote])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__quote$])
|
||||
m4trace:configure.ac:12: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_TRUE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_TRUE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_FALSE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_FALSE$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||
m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_CXX])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CXX$])
|
||||
m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXDEPMODE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXDEPMODE$])
|
||||
m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCXX], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:17: -1- AC_PROG_LIBTOOL
|
||||
m4trace:configure.ac:17: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
|
||||
You should run autoupdate.], [m4/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
|
||||
configure.ac:17: the top level])
|
||||
m4trace:configure.ac:17: -1- LT_INIT
|
||||
m4trace:configure.ac:18: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:18: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:20: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([LN_S])
|
||||
m4trace:configure.ac:20: -1- m4_pattern_allow([^LN_S$])
|
||||
m4trace:configure.ac:24: -1- AH_OUTPUT([HAVE_LIBBEIDCARDLAYER], [/* Define to 1 if you have the `beidcardlayer\' library (-lbeidcardlayer). */
|
||||
@%:@undef HAVE_LIBBEIDCARDLAYER])
|
||||
m4trace:configure.ac:24: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDCARDLAYER])
|
||||
m4trace:configure.ac:24: -1- m4_pattern_allow([^HAVE_LIBBEIDCARDLAYER$])
|
||||
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_LIBBEIDCOMMON], [/* Define to 1 if you have the `beidcommon\' library (-lbeidcommon). */
|
||||
@%:@undef HAVE_LIBBEIDCOMMON])
|
||||
m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDCOMMON])
|
||||
m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE_LIBBEIDCOMMON$])
|
||||
m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_LIBBEIDLIB], [/* Define to 1 if you have the `beidlib\' library (-lbeidlib). */
|
||||
@%:@undef HAVE_LIBBEIDLIB])
|
||||
m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDLIB])
|
||||
m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_LIBBEIDLIB$])
|
||||
m4trace:configure.ac:30: -1- AH_OUTPUT([HAVE_LIBBEIDLIBC], [/* Define to 1 if you have the `beidlibC\' library (-lbeidlibC). */
|
||||
@%:@undef HAVE_LIBBEIDLIBC])
|
||||
m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDLIBC])
|
||||
m4trace:configure.ac:30: -1- m4_pattern_allow([^HAVE_LIBBEIDLIBC$])
|
||||
m4trace:configure.ac:32: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */
|
||||
@%:@undef HAVE_LIBDL])
|
||||
m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL])
|
||||
m4trace:configure.ac:32: -1- m4_pattern_allow([^HAVE_LIBDL$])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_LIBPCSCLITE], [/* Define to 1 if you have the `pcsclite\' library (-lpcsclite). */
|
||||
@%:@undef HAVE_LIBPCSCLITE])
|
||||
m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPCSCLITE])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^HAVE_LIBPCSCLITE$])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
@%:@undef HAVE_FCNTL_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_FLOAT_H], [/* Define to 1 if you have the <float.h> header file. */
|
||||
@%:@undef HAVE_FLOAT_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
|
||||
@%:@undef HAVE_LIMITS_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
|
||||
@%:@undef HAVE_NETINET_IN_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
|
||||
@%:@undef HAVE_SYS_FILE_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
@%:@undef HAVE_SYS_IOCTL_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
@%:@undef HAVE_SYS_TIME_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
@%:@undef HAVE_UNISTD_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
|
||||
@%:@undef HAVE_MALLOC_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
@%:@undef HAVE_MEMORY_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
|
||||
@%:@undef HAVE_SYS_TIMEB_H])
|
||||
m4trace:configure.ac:41: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
|
||||
configure.ac:41: the top level])
|
||||
m4trace:configure.ac:47: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
|
||||
configure.ac:47: the top level])
|
||||
m4trace:configure.ac:52: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
|
||||
m4trace:configure.ac:52: -1- m4_pattern_allow([^HAVE__BOOL$])
|
||||
m4trace:configure.ac:52: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
|
||||
@%:@undef HAVE__BOOL])
|
||||
m4trace:configure.ac:52: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:52: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
|
||||
m4trace:configure.ac:52: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
|
||||
@%:@undef HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:53: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
|
||||
calls it, or to nothing if \'inline\' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif])
|
||||
m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([size_t])
|
||||
m4trace:configure.ac:54: -1- m4_pattern_allow([^size_t$])
|
||||
m4trace:configure.ac:54: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
|
||||
@%:@undef size_t])
|
||||
m4trace:configure.ac:55: -1- AC_DEFINE_TRACE_LITERAL([uint16_t])
|
||||
m4trace:configure.ac:55: -1- m4_pattern_allow([^uint16_t$])
|
||||
m4trace:configure.ac:55: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef uint16_t])
|
||||
m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([_UINT32_T])
|
||||
m4trace:configure.ac:56: -1- m4_pattern_allow([^_UINT32_T$])
|
||||
m4trace:configure.ac:56: -1- AH_OUTPUT([_UINT32_T], [/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||
@%:@define below would cause a syntax error. */
|
||||
@%:@undef _UINT32_T])
|
||||
m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([uint32_t])
|
||||
m4trace:configure.ac:56: -1- m4_pattern_allow([^uint32_t$])
|
||||
m4trace:configure.ac:56: -1- AH_OUTPUT([uint32_t], [/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef uint32_t])
|
||||
m4trace:configure.ac:57: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T])
|
||||
m4trace:configure.ac:57: -1- m4_pattern_allow([^_UINT8_T$])
|
||||
m4trace:configure.ac:57: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
||||
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||
@%:@define below would cause a syntax error. */
|
||||
@%:@undef _UINT8_T])
|
||||
m4trace:configure.ac:57: -1- AC_DEFINE_TRACE_LITERAL([uint8_t])
|
||||
m4trace:configure.ac:57: -1- m4_pattern_allow([^uint8_t$])
|
||||
m4trace:configure.ac:57: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef uint8_t])
|
||||
m4trace:configure.ac:58: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
|
||||
m4trace:configure.ac:58: -1- m4_pattern_allow([^pid_t$])
|
||||
m4trace:configure.ac:58: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
|
||||
@%:@undef pid_t])
|
||||
m4trace:configure.ac:61: -1- AC_LIBSOURCE([error.h])
|
||||
m4trace:configure.ac:61: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:61: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS error.$ac_objext"])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:61: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_MALLOC$])
|
||||
m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
|
||||
to 0 otherwise. */
|
||||
@%:@undef HAVE_MALLOC])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_MALLOC$])
|
||||
m4trace:configure.ac:62: -1- AC_LIBSOURCE([malloc.c])
|
||||
m4trace:configure.ac:62: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
|
||||
m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([malloc])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^malloc$])
|
||||
m4trace:configure.ac:62: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
|
||||
@%:@undef malloc])
|
||||
m4trace:configure.ac:63: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^HAVE_REALLOC$])
|
||||
m4trace:configure.ac:63: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
|
||||
and to 0 otherwise. */
|
||||
@%:@undef HAVE_REALLOC])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^HAVE_REALLOC$])
|
||||
m4trace:configure.ac:63: -1- AC_LIBSOURCE([realloc.c])
|
||||
m4trace:configure.ac:63: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"])
|
||||
m4trace:configure.ac:63: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([realloc])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^realloc$])
|
||||
m4trace:configure.ac:63: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
|
||||
@%:@undef realloc])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
|
||||
@%:@undef HAVE_GETHOSTBYNAME])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
|
||||
@%:@undef HAVE_SOCKET])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
|
||||
@%:@undef HAVE_STRERROR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_FTIME], [/* Define to 1 if you have the `ftime\' function. */
|
||||
@%:@undef HAVE_FTIME])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_MEMCHR], [/* Define to 1 if you have the `memchr\' function. */
|
||||
@%:@undef HAVE_MEMCHR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
|
||||
@%:@undef HAVE_MEMSET])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_MKDIR], [/* Define to 1 if you have the `mkdir\' function. */
|
||||
@%:@undef HAVE_MKDIR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */
|
||||
@%:@undef HAVE_SELECT])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
|
||||
@%:@undef HAVE_STRCHR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
|
||||
@%:@undef HAVE_STRDUP])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
|
||||
@%:@undef HAVE_STRERROR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */
|
||||
@%:@undef HAVE_STRNCASECMP])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
|
||||
@%:@undef HAVE_STRRCHR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
|
||||
@%:@undef HAVE_STRSTR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
|
||||
@%:@undef HAVE_STRTOL])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRTOUL], [/* Define to 1 if you have the `strtoul\' function. */
|
||||
@%:@undef HAVE_STRTOUL])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
|
||||
@%:@undef HAVE_VASPRINTF])
|
||||
m4trace:configure.ac:66: -1- AC_CONFIG_FILES([Makefile])
|
||||
m4trace:configure.ac:68: -1- AC_CONFIG_SUBDIRS([common
|
||||
dialogs
|
||||
cardlayer
|
||||
pkcs11])
|
||||
m4trace:configure.ac:68: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([common
|
||||
dialogs
|
||||
cardlayer
|
||||
pkcs11])"])
|
||||
m4trace:configure.ac:68: -1- AC_SUBST_TRACE([subdirs])
|
||||
m4trace:configure.ac:68: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:72: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:72: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:72: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([top_builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([top_srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([INSTALL])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:72: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
2421
autom4te.cache/traces.1
Normal file
2421
autom4te.cache/traces.1
Normal file
File diff suppressed because it is too large
Load diff
2421
autom4te.cache/traces.2
Normal file
2421
autom4te.cache/traces.2
Normal file
File diff suppressed because it is too large
Load diff
766
autom4te.cache/traces.3
Normal file
766
autom4te.cache/traces.3
Normal file
|
@ -0,0 +1,766 @@
|
|||
m4trace:aclocal.m4:952: -1- m4_include([m4/libtool.m4])
|
||||
m4trace:aclocal.m4:953: -1- m4_include([m4/ltoptions.m4])
|
||||
m4trace:aclocal.m4:954: -1- m4_include([m4/ltsugar.m4])
|
||||
m4trace:aclocal.m4:955: -1- m4_include([m4/ltversion.m4])
|
||||
m4trace:aclocal.m4:956: -1- m4_include([m4/lt~obsolete.m4])
|
||||
m4trace:configure.ac:2: -1- AC_INIT([eid-mw], [3.5.3], [servicedesk@fedict.be])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([SHELL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([SHELL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([exec_prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([program_transform_name])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([bindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sbindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libexecdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datarootdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${datarootdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datadir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sysconfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sharedstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([includedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([oldincludedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
|
||||
['${datarootdir}/doc/${PACKAGE}'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([docdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([infodir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([htmldir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([htmldir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([dvidir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([dvidir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([pdfdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([pdfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([psdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([psdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([mandir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||
@%:@undef PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||
@%:@undef PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||
@%:@undef PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||
@%:@undef PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||
@%:@undef PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
|
||||
@%:@undef PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([DEFS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([DEFS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([build_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([build_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([host_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([host_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([target_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([target_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
|
||||
m4trace:configure.ac:3: -1- AC_CONFIG_AUX_DIR([build-aux])
|
||||
m4trace:configure.ac:5: -1- AC_CONFIG_HEADERS([config.h])
|
||||
m4trace:configure.ac:7: -1- AC_CANONICAL_HOST
|
||||
m4trace:configure.ac:7: -1- AC_CANONICAL_BUILD
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([config.sub])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([config.guess])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build], [$ac_cv_build])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build_cpu], [$[1]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build_cpu])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build_cpu$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build_vendor], [$[2]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build_vendor])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build_vendor$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([build_os])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([build_os])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^build_os$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host], [$ac_cv_host])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host_cpu], [$[1]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host_cpu])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host_cpu$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host_vendor], [$[2]])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host_vendor])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host_vendor$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([host_os])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([host_os])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^host_os$])
|
||||
m4trace:configure.ac:9: -1- LT_INIT
|
||||
m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
|
||||
m4trace:configure.ac:9: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EXEEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EXEEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([SED])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([SED])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^SED$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([FGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([FGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^FGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NM])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NM])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NM$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LN_S])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LN_S$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AR])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([RANLIB])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([RANLIB])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^RANLIB$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AWK])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AWK])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AWK$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LT_OBJDIR$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
@%:@undef LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- LT_SUPPORTED_TAG([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DSYMUTIL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NMEDIT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIPO])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIPO])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIPO$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL64$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
@%:@undef HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STDC_HEADERS$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
|
||||
@%:@undef STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
@%:@undef HAVE_SYS_TYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
@%:@undef HAVE_SYS_STAT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
@%:@undef HAVE_MEMORY_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||
@%:@undef HAVE_STRINGS_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
@%:@undef HAVE_INTTYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||
@%:@undef HAVE_STDINT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
@%:@undef HAVE_UNISTD_H])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
|
||||
m4trace:configure.ac:12: -1- AM_INIT_AUTOMAKE([subdir-objects foreign])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
|
||||
m4trace:configure.ac:12: -1- AM_AUTOMAKE_VERSION([1.11.1])
|
||||
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_DATA])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_DATA])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_DATA$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__isrc])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__isrc$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__isrc])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([CYGPATH_W])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CYGPATH_W])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^CYGPATH_W$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([PACKAGE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([VERSION])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:12: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
|
||||
@%:@undef PACKAGE])
|
||||
m4trace:configure.ac:12: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:12: -1- AH_OUTPUT([VERSION], [/* Version number of package */
|
||||
@%:@undef VERSION])
|
||||
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([missing])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([ACLOCAL])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([ACLOCAL])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^ACLOCAL$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AUTOCONF])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOCONF])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOCONF$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AUTOMAKE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOMAKE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOMAKE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AUTOHEADER])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AUTOHEADER])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AUTOHEADER$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([MAKEINFO])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MAKEINFO])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^MAKEINFO$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([install_sh])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([install_sh])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^install_sh$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
|
||||
m4trace:configure.ac:12: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([MKDIR_P])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^MKDIR_P$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([mkdir_p])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^mkdir_p$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([SET_MAKE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([SET_MAKE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^SET_MAKE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__leading_dot])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__leading_dot])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__leading_dot$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMTAR])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMTAR])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMTAR$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__tar])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__tar])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__tar$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__untar])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__untar])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__untar$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([DEPDIR])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPDIR$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__include])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__include])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__include$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__quote])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__quote])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__quote$])
|
||||
m4trace:configure.ac:12: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_TRUE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_TRUE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMDEP_FALSE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEP_FALSE$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||
m4trace:configure.ac:12: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:12: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:12: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_CXX])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CXX$])
|
||||
m4trace:configure.ac:15: -1- LT_SUPPORTED_TAG([CXX])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CXXDEPMODE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CXXDEPMODE$])
|
||||
m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCXX], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:16: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:16: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:17: -1- AC_PROG_LIBTOOL
|
||||
m4trace:configure.ac:17: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
|
||||
You should run autoupdate.], [m4/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
|
||||
configure.ac:17: the top level])
|
||||
m4trace:configure.ac:17: -1- LT_INIT
|
||||
m4trace:configure.ac:18: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:18: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:18: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:18: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:20: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||
m4trace:configure.ac:20: -1- AC_SUBST_TRACE([LN_S])
|
||||
m4trace:configure.ac:20: -1- m4_pattern_allow([^LN_S$])
|
||||
m4trace:configure.ac:24: -1- AH_OUTPUT([HAVE_LIBBEIDCARDLAYER], [/* Define to 1 if you have the `beidcardlayer\' library (-lbeidcardlayer). */
|
||||
@%:@undef HAVE_LIBBEIDCARDLAYER])
|
||||
m4trace:configure.ac:24: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDCARDLAYER])
|
||||
m4trace:configure.ac:24: -1- m4_pattern_allow([^HAVE_LIBBEIDCARDLAYER$])
|
||||
m4trace:configure.ac:26: -1- AH_OUTPUT([HAVE_LIBBEIDCOMMON], [/* Define to 1 if you have the `beidcommon\' library (-lbeidcommon). */
|
||||
@%:@undef HAVE_LIBBEIDCOMMON])
|
||||
m4trace:configure.ac:26: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDCOMMON])
|
||||
m4trace:configure.ac:26: -1- m4_pattern_allow([^HAVE_LIBBEIDCOMMON$])
|
||||
m4trace:configure.ac:28: -1- AH_OUTPUT([HAVE_LIBBEIDLIB], [/* Define to 1 if you have the `beidlib\' library (-lbeidlib). */
|
||||
@%:@undef HAVE_LIBBEIDLIB])
|
||||
m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDLIB])
|
||||
m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_LIBBEIDLIB$])
|
||||
m4trace:configure.ac:30: -1- AH_OUTPUT([HAVE_LIBBEIDLIBC], [/* Define to 1 if you have the `beidlibC\' library (-lbeidlibC). */
|
||||
@%:@undef HAVE_LIBBEIDLIBC])
|
||||
m4trace:configure.ac:30: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBBEIDLIBC])
|
||||
m4trace:configure.ac:30: -1- m4_pattern_allow([^HAVE_LIBBEIDLIBC$])
|
||||
m4trace:configure.ac:32: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */
|
||||
@%:@undef HAVE_LIBDL])
|
||||
m4trace:configure.ac:32: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL])
|
||||
m4trace:configure.ac:32: -1- m4_pattern_allow([^HAVE_LIBDL$])
|
||||
m4trace:configure.ac:34: -1- AH_OUTPUT([HAVE_LIBPCSCLITE], [/* Define to 1 if you have the `pcsclite\' library (-lpcsclite). */
|
||||
@%:@undef HAVE_LIBPCSCLITE])
|
||||
m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPCSCLITE])
|
||||
m4trace:configure.ac:34: -1- m4_pattern_allow([^HAVE_LIBPCSCLITE$])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
|
||||
@%:@undef HAVE_FCNTL_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_FLOAT_H], [/* Define to 1 if you have the <float.h> header file. */
|
||||
@%:@undef HAVE_FLOAT_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
|
||||
@%:@undef HAVE_LIMITS_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
|
||||
@%:@undef HAVE_NETINET_IN_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
|
||||
@%:@undef HAVE_SYS_FILE_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_IOCTL_H], [/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
||||
@%:@undef HAVE_SYS_IOCTL_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
@%:@undef HAVE_SYS_TIME_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
@%:@undef HAVE_UNISTD_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
|
||||
@%:@undef HAVE_MALLOC_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
@%:@undef HAVE_MEMORY_H])
|
||||
m4trace:configure.ac:37: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
|
||||
@%:@undef HAVE_SYS_TIMEB_H])
|
||||
m4trace:configure.ac:41: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
|
||||
configure.ac:41: the top level])
|
||||
m4trace:configure.ac:47: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
|
||||
configure.ac:47: the top level])
|
||||
m4trace:configure.ac:52: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
|
||||
m4trace:configure.ac:52: -1- m4_pattern_allow([^HAVE__BOOL$])
|
||||
m4trace:configure.ac:52: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
|
||||
@%:@undef HAVE__BOOL])
|
||||
m4trace:configure.ac:52: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:52: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
|
||||
m4trace:configure.ac:52: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
|
||||
@%:@undef HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:53: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
|
||||
calls it, or to nothing if \'inline\' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif])
|
||||
m4trace:configure.ac:54: -1- AC_DEFINE_TRACE_LITERAL([size_t])
|
||||
m4trace:configure.ac:54: -1- m4_pattern_allow([^size_t$])
|
||||
m4trace:configure.ac:54: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
|
||||
@%:@undef size_t])
|
||||
m4trace:configure.ac:55: -1- AC_DEFINE_TRACE_LITERAL([uint16_t])
|
||||
m4trace:configure.ac:55: -1- m4_pattern_allow([^uint16_t$])
|
||||
m4trace:configure.ac:55: -1- AH_OUTPUT([uint16_t], [/* Define to the type of an unsigned integer type of width exactly 16 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef uint16_t])
|
||||
m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([_UINT32_T])
|
||||
m4trace:configure.ac:56: -1- m4_pattern_allow([^_UINT32_T$])
|
||||
m4trace:configure.ac:56: -1- AH_OUTPUT([_UINT32_T], [/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
||||
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||
@%:@define below would cause a syntax error. */
|
||||
@%:@undef _UINT32_T])
|
||||
m4trace:configure.ac:56: -1- AC_DEFINE_TRACE_LITERAL([uint32_t])
|
||||
m4trace:configure.ac:56: -1- m4_pattern_allow([^uint32_t$])
|
||||
m4trace:configure.ac:56: -1- AH_OUTPUT([uint32_t], [/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef uint32_t])
|
||||
m4trace:configure.ac:57: -1- AC_DEFINE_TRACE_LITERAL([_UINT8_T])
|
||||
m4trace:configure.ac:57: -1- m4_pattern_allow([^_UINT8_T$])
|
||||
m4trace:configure.ac:57: -1- AH_OUTPUT([_UINT8_T], [/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
|
||||
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
||||
@%:@define below would cause a syntax error. */
|
||||
@%:@undef _UINT8_T])
|
||||
m4trace:configure.ac:57: -1- AC_DEFINE_TRACE_LITERAL([uint8_t])
|
||||
m4trace:configure.ac:57: -1- m4_pattern_allow([^uint8_t$])
|
||||
m4trace:configure.ac:57: -1- AH_OUTPUT([uint8_t], [/* Define to the type of an unsigned integer type of width exactly 8 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef uint8_t])
|
||||
m4trace:configure.ac:58: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
|
||||
m4trace:configure.ac:58: -1- m4_pattern_allow([^pid_t$])
|
||||
m4trace:configure.ac:58: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
|
||||
@%:@undef pid_t])
|
||||
m4trace:configure.ac:61: -1- AC_LIBSOURCE([error.h])
|
||||
m4trace:configure.ac:61: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:61: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS error.$ac_objext"])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:61: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_MALLOC$])
|
||||
m4trace:configure.ac:62: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
|
||||
to 0 otherwise. */
|
||||
@%:@undef HAVE_MALLOC])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^HAVE_MALLOC$])
|
||||
m4trace:configure.ac:62: -1- AC_LIBSOURCE([malloc.c])
|
||||
m4trace:configure.ac:62: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
|
||||
m4trace:configure.ac:62: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:62: -1- AC_DEFINE_TRACE_LITERAL([malloc])
|
||||
m4trace:configure.ac:62: -1- m4_pattern_allow([^malloc$])
|
||||
m4trace:configure.ac:62: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
|
||||
@%:@undef malloc])
|
||||
m4trace:configure.ac:63: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^HAVE_REALLOC$])
|
||||
m4trace:configure.ac:63: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
|
||||
and to 0 otherwise. */
|
||||
@%:@undef HAVE_REALLOC])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^HAVE_REALLOC$])
|
||||
m4trace:configure.ac:63: -1- AC_LIBSOURCE([realloc.c])
|
||||
m4trace:configure.ac:63: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"])
|
||||
m4trace:configure.ac:63: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:63: -1- AC_DEFINE_TRACE_LITERAL([realloc])
|
||||
m4trace:configure.ac:63: -1- m4_pattern_allow([^realloc$])
|
||||
m4trace:configure.ac:63: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
|
||||
@%:@undef realloc])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
|
||||
@%:@undef HAVE_GETHOSTBYNAME])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
|
||||
@%:@undef HAVE_SOCKET])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
|
||||
@%:@undef HAVE_STRERROR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_FTIME], [/* Define to 1 if you have the `ftime\' function. */
|
||||
@%:@undef HAVE_FTIME])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_MEMCHR], [/* Define to 1 if you have the `memchr\' function. */
|
||||
@%:@undef HAVE_MEMCHR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
|
||||
@%:@undef HAVE_MEMSET])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_MKDIR], [/* Define to 1 if you have the `mkdir\' function. */
|
||||
@%:@undef HAVE_MKDIR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */
|
||||
@%:@undef HAVE_SELECT])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
|
||||
@%:@undef HAVE_STRCHR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
|
||||
@%:@undef HAVE_STRDUP])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
|
||||
@%:@undef HAVE_STRERROR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */
|
||||
@%:@undef HAVE_STRNCASECMP])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
|
||||
@%:@undef HAVE_STRRCHR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
|
||||
@%:@undef HAVE_STRSTR])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
|
||||
@%:@undef HAVE_STRTOL])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_STRTOUL], [/* Define to 1 if you have the `strtoul\' function. */
|
||||
@%:@undef HAVE_STRTOUL])
|
||||
m4trace:configure.ac:64: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
|
||||
@%:@undef HAVE_VASPRINTF])
|
||||
m4trace:configure.ac:66: -1- AC_CONFIG_FILES([Makefile])
|
||||
m4trace:configure.ac:68: -1- AC_CONFIG_SUBDIRS([common
|
||||
dialogs
|
||||
cardlayer
|
||||
pkcs11])
|
||||
m4trace:configure.ac:68: -1- AC_SUBST([subdirs], ["$subdirs m4_normalize([common
|
||||
dialogs
|
||||
cardlayer
|
||||
pkcs11])"])
|
||||
m4trace:configure.ac:68: -1- AC_SUBST_TRACE([subdirs])
|
||||
m4trace:configure.ac:68: -1- m4_pattern_allow([^subdirs$])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:72: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:72: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:72: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:72: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([top_builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([top_srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([INSTALL])
|
||||
m4trace:configure.ac:72: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:72: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
5
bootstrap.sh
Executable file
5
bootstrap.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
libtoolize --copy --force
|
||||
autoconf
|
||||
automake --add-missing
|
||||
autoreconf -i
|
1501
build-aux/config.guess
vendored
Executable file
1501
build-aux/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load diff
1705
build-aux/config.sub
vendored
Executable file
1705
build-aux/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load diff
520
build-aux/install-sh
Executable file
520
build-aux/install-sh
Executable file
|
@ -0,0 +1,520 @@
|
|||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2009-04-28.21; # UTC
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit=${DOITPROG-}
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
chgrpprog=${CHGRPPROG-chgrp}
|
||||
chmodprog=${CHMODPROG-chmod}
|
||||
chownprog=${CHOWNPROG-chown}
|
||||
cmpprog=${CMPPROG-cmp}
|
||||
cpprog=${CPPROG-cp}
|
||||
mkdirprog=${MKDIRPROG-mkdir}
|
||||
mvprog=${MVPROG-mv}
|
||||
rmprog=${RMPROG-rm}
|
||||
stripprog=${STRIPPROG-strip}
|
||||
|
||||
posix_glob='?'
|
||||
initialize_posix_glob='
|
||||
test "$posix_glob" != "?" || {
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=
|
||||
else
|
||||
posix_glob=:
|
||||
fi
|
||||
}
|
||||
'
|
||||
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chgrpcmd=
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
mvcmd=$mvprog
|
||||
rmcmd="$rmprog -f"
|
||||
stripcmd=
|
||||
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dst_arg=
|
||||
|
||||
copy_on_change=false
|
||||
no_target_directory=
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
-c (ignored)
|
||||
-C install only if different (preserve the last data modification time)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||
RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) ;;
|
||||
|
||||
-C) copy_on_change=true;;
|
||||
|
||||
-d) dir_arg=true;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift;;
|
||||
|
||||
-s) stripcmd=$stripprog;;
|
||||
|
||||
-t) dst_arg=$2
|
||||
shift;;
|
||||
|
||||
-T) no_target_directory=true;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dst_arg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dst_arg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dst_arg=$arg
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call `install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
case $src in
|
||||
-*) src=./$src;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dst_arg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dst=$dst_arg
|
||||
# Protect names starting with `-'.
|
||||
case $dst in
|
||||
-*) dst=./$dst;;
|
||||
esac
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writeable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix='/';;
|
||||
-*) prefix='./';;
|
||||
*) prefix='';;
|
||||
esac
|
||||
|
||||
eval "$initialize_posix_glob"
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
$posix_glob set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test -z "$d" && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# If -C, don't bother to copy if it wouldn't change the file.
|
||||
if $copy_on_change &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
|
||||
eval "$initialize_posix_glob" &&
|
||||
$posix_glob set -f &&
|
||||
set X $old && old=:$2:$4:$5:$6 &&
|
||||
set X $new && new=:$2:$4:$5:$6 &&
|
||||
$posix_glob set +f &&
|
||||
|
||||
test "$old" = "$new" &&
|
||||
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||
then
|
||||
rm -f "$dsttmp"
|
||||
else
|
||||
# Rename the file to the real destination.
|
||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
{
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
fi || exit 1
|
||||
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
8753
build-aux/ltmain.sh
Executable file
8753
build-aux/ltmain.sh
Executable file
File diff suppressed because it is too large
Load diff
376
build-aux/missing
Executable file
376
build-aux/missing
Executable file
|
@ -0,0 +1,376 @@
|
|||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
|
||||
scriptversion=2009-04-28.21; # UTC
|
||||
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
|
||||
# 2008, 2009 Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
|
||||
sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
msg="missing on your system"
|
||||
|
||||
case $1 in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
# Exit code 63 means version mismatch. This often happens
|
||||
# when the user try to use an ancient version of a tool on
|
||||
# a file that requires a minimum version. In this case we
|
||||
# we should proceed has if the program had been absent, or
|
||||
# if --run hadn't been passed.
|
||||
if test $? = 63; then
|
||||
run=:
|
||||
msg="probably too old"
|
||||
fi
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
autom4te touch the output file, or create a stub one
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
|
||||
Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
|
||||
\`g' are ignored when checking the name.
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# normalize program name to check for.
|
||||
program=`echo "$1" | sed '
|
||||
s/^gnu-//; t
|
||||
s/^gnu//; t
|
||||
s/^g//; t'`
|
||||
|
||||
# Now exit if we have it, but it failed. Also exit now if we
|
||||
# don't have it and --version was passed (most likely to detect
|
||||
# the program). This is about non-GNU programs, so use $1 not
|
||||
# $program.
|
||||
case $1 in
|
||||
lex*|yacc*)
|
||||
# Not GNU programs, they don't have --version.
|
||||
;;
|
||||
|
||||
tar*)
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
# Could not run --version or --help. This is probably someone
|
||||
# running `$TOOL --version' or `$TOOL --help' to check whether
|
||||
# $TOOL exists and not knowing $TOOL uses missing.
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case $program in
|
||||
aclocal*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case $f in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, but is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison*|yacc*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' $msg. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f y.tab.h; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if test ! -f y.tab.c; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex*|flex*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f lex.yy.c; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit $?
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
# The file to touch is that specified with -o ...
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -z "$file"; then
|
||||
# ... or it is the one specified with @setfilename ...
|
||||
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '
|
||||
/^@setfilename/{
|
||||
s/.* \([^ ]*\) *$/\1/
|
||||
p
|
||||
q
|
||||
}' $infile`
|
||||
# ... or it is derived from the source name (dir/f.texi becomes f.info)
|
||||
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
||||
fi
|
||||
# If the file does not exist, the user really needs makeinfo;
|
||||
# let's fail without touching anything.
|
||||
test -f $file || exit 1
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar*)
|
||||
shift
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case $firstarg in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case $firstarg in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
0
cardlayer/AUTHORS
Normal file
0
cardlayer/AUTHORS
Normal file
165
cardlayer/COPYING
Normal file
165
cardlayer/COPYING
Normal file
|
@ -0,0 +1,165 @@
|
|||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
0
cardlayer/ChangeLog
Normal file
0
cardlayer/ChangeLog
Normal file
365
cardlayer/INSTALL
Normal file
365
cardlayer/INSTALL
Normal file
|
@ -0,0 +1,365 @@
|
|||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
||||
2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved. This file is offered as-is,
|
||||
without warranty of any kind.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
Briefly, the shell commands `./configure; make; make install' should
|
||||
configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the `README' file for
|
||||
instructions specific to this package. Some packages provide this
|
||||
`INSTALL' file but do not implement all of the features documented
|
||||
below. The lack of an optional feature in a given package is not
|
||||
necessarily a bug. More recommendations for GNU packages can be found
|
||||
in *note Makefile Conventions: (standards)Makefile Conventions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||
you want to change it or regenerate `configure' using a newer version
|
||||
of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' might take a while. While running, it prints
|
||||
some messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package, generally using the just-built uninstalled binaries.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation. When installing into a prefix owned by root, it is
|
||||
recommended that the package be configured and built as a regular
|
||||
user, and only the `make install' phase executed with root
|
||||
privileges.
|
||||
|
||||
5. Optionally, type `make installcheck' to repeat any self-tests, but
|
||||
this time using the binaries in their final installed location.
|
||||
This target does not install anything. Running this target as a
|
||||
regular user, particularly if the prior `make install' required
|
||||
root privileges, verifies that the installation completed
|
||||
correctly.
|
||||
|
||||
6. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
7. Often, you can also type `make uninstall' to remove the installed
|
||||
files again. In practice, not all packages have tested that
|
||||
uninstallation works correctly, even though it is required by the
|
||||
GNU Coding Standards.
|
||||
|
||||
8. Some packages, particularly those that use Automake, provide `make
|
||||
distcheck', which can by used by developers to test that all other
|
||||
targets like `make install' and `make uninstall' work correctly.
|
||||
This target is generally not run by end users.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. Run `./configure --help'
|
||||
for details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you can use GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'. This
|
||||
is known as a "VPATH" build.
|
||||
|
||||
With a non-GNU `make', it is safer to compile the package for one
|
||||
architecture at a time in the source code directory. After you have
|
||||
installed the package for one architecture, use `make distclean' before
|
||||
reconfiguring for another architecture.
|
||||
|
||||
On MacOS X 10.5 and later systems, you can create libraries and
|
||||
executables that work on multiple system types--known as "fat" or
|
||||
"universal" binaries--by specifying multiple `-arch' options to the
|
||||
compiler but only a single `-arch' option to the preprocessor. Like
|
||||
this:
|
||||
|
||||
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||
CPP="gcc -E" CXXCPP="g++ -E"
|
||||
|
||||
This is not guaranteed to produce working output in all cases, you
|
||||
may have to build one architecture at a time and combine the results
|
||||
using the `lipo' tool if you have problems.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' installs the package's commands under
|
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||
can specify an installation prefix other than `/usr/local' by giving
|
||||
`configure' the option `--prefix=PREFIX', where PREFIX must be an
|
||||
absolute file name.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||
PREFIX as the prefix for installing programs and libraries.
|
||||
Documentation and other data files still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them. In general, the
|
||||
default for these options is expressed in terms of `${prefix}', so that
|
||||
specifying just `--prefix' will affect all of the other directory
|
||||
specifications that were not explicitly provided.
|
||||
|
||||
The most portable way to affect installation locations is to pass the
|
||||
correct locations to `configure'; however, many packages provide one or
|
||||
both of the following shortcuts of passing variable assignments to the
|
||||
`make install' command line to change installation locations without
|
||||
having to reconfigure or recompile.
|
||||
|
||||
The first method involves providing an override variable for each
|
||||
affected directory. For example, `make install
|
||||
prefix=/alternate/directory' will choose an alternate location for all
|
||||
directory configuration variables that were expressed in terms of
|
||||
`${prefix}'. Any directories that were specified during `configure',
|
||||
but not in terms of `${prefix}', must each be overridden at install
|
||||
time for the entire installation to be relocated. The approach of
|
||||
makefile variable overrides for each directory variable is required by
|
||||
the GNU Coding Standards, and ideally causes no recompilation.
|
||||
However, some platforms have known limitations with the semantics of
|
||||
shared libraries that end up requiring recompilation when using this
|
||||
method, particularly noticeable in packages that use GNU Libtool.
|
||||
|
||||
The second method involves providing the `DESTDIR' variable. For
|
||||
example, `make install DESTDIR=/alternate/directory' will prepend
|
||||
`/alternate/directory' before all installation names. The approach of
|
||||
`DESTDIR' overrides is not required by the GNU Coding Standards, and
|
||||
does not work on platforms that have drive letters. On the other hand,
|
||||
it does better at avoiding recompilation issues, and works well even
|
||||
when some directory options were not specified in terms of `${prefix}'
|
||||
at `configure' time.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Some packages offer the ability to configure how verbose the
|
||||
execution of `make' will be. For these packages, running `./configure
|
||||
--enable-silent-rules' sets the default to minimal output, which can be
|
||||
overridden with `make V=1'; while running `./configure
|
||||
--disable-silent-rules' sets the default to verbose, which can be
|
||||
overridden with `make V=0'.
|
||||
|
||||
Particular systems
|
||||
==================
|
||||
|
||||
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
|
||||
CC is not installed, it is recommended to use the following options in
|
||||
order to use an ANSI C compiler:
|
||||
|
||||
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
|
||||
|
||||
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
|
||||
|
||||
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
|
||||
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
|
||||
a workaround. If GNU CC is not installed, it is therefore recommended
|
||||
to try
|
||||
|
||||
./configure CC="cc"
|
||||
|
||||
and if that doesn't work, try
|
||||
|
||||
./configure CC="cc -nodtk"
|
||||
|
||||
On Solaris, don't put `/usr/ucb' early in your `PATH'. This
|
||||
directory contains several dysfunctional programs; working variants of
|
||||
these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
|
||||
in your `PATH', put it _after_ `/usr/bin'.
|
||||
|
||||
On Haiku, software installed for all users goes in `/boot/common',
|
||||
not `/usr/local'. It is recommended to use the following options:
|
||||
|
||||
./configure --prefix=/boot/common
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out
|
||||
automatically, but needs to determine by the type of machine the package
|
||||
will run on. Usually, assuming the package is built to be run on the
|
||||
_same_ architectures, `configure' can figure that out, but if it prints
|
||||
a message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
where SYSTEM can have one of these forms:
|
||||
|
||||
OS
|
||||
KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the option `--target=TYPE' to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
||||
|
||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of all of the options to `configure', and exit.
|
||||
|
||||
`--help=short'
|
||||
`--help=recursive'
|
||||
Print a summary of the options unique to this package's
|
||||
`configure', and exit. The `short' variant lists options used
|
||||
only in the top level, while the `recursive' variant lists options
|
||||
also present in any nested packages.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--prefix=DIR'
|
||||
Use DIR as the installation prefix. *note Installation Names::
|
||||
for more details, including other options available for fine-tuning
|
||||
the installation locations.
|
||||
|
||||
`--no-create'
|
||||
`-n'
|
||||
Run the configure checks, but stop before creating any output
|
||||
files.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
||||
|
1217
cardlayer/Makefile
Normal file
1217
cardlayer/Makefile
Normal file
File diff suppressed because it is too large
Load diff
93
cardlayer/Makefile.am
Executable file
93
cardlayer/Makefile.am
Executable file
|
@ -0,0 +1,93 @@
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
COMMON_CXXFLAGS = -DEIDMW_CAL_EXPORT -DCAL_BEID -DCARDPLUGIN_IN_CAL -DBEID_35 -DNDEBUG -DBEID_OLD_PINPAD -DLTC_NO_ASM
|
||||
COMMON_LIBADD = ../common/libbeidcommon.la ../dialogs/libbeiddialogs.la
|
||||
|
||||
lib_LTLIBRARIES = libbeidcardlayer.la libcardpluginbeid.la libcardpluginsis.la libcardpluginsis_acr38u.la
|
||||
|
||||
if LINUX
|
||||
|
||||
libbeidcardlayer_la_SOURCES = ../common/src/mw_util.cpp src/cache.cpp src/card.cpp src/cardfactory.cpp src/cardlayer.cpp src/cardreaderinfo.cpp src/context.cpp src/p15correction.cpp src/pcsc.cpp src/pinpad.cpp src/pinpadlib.cpp src/pkcs15.cpp src/pkcs15parser.cpp src/pkicard.cpp src/reader.cpp src/readersinfo.cpp src/threadpool.cpp src/unknowncard.cpp src/cardpluginbeid/beidcard.cpp src/cardpluginbeid/beidp15correction.cpp src/cardpluginsis/siscard.cpp src/cardpluginsis/sispluginhandler.cpp
|
||||
libbeidcardlayer_la_CPPFLAGS = $(PCSCLITE_INCS) -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginbeid -I$(srcdir)/src/cardpluginsis -I$(srcdir)/src/cardpluginsis_acr38u
|
||||
libbeidcardlayer_la_LDFLAGS = $(PCSCLITE_LIBS) -lpcsclite -avoid-version
|
||||
libbeidcardlayer_la_LIBADD = $(COMMON_LIBADD)
|
||||
libbeidcardlayer_la_CXXFLAGS = $(COMMON_CXXFLAGS)
|
||||
|
||||
libcardpluginbeid_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginbeid/beidcard.cpp src/cardpluginbeid/beidp15correction.cpp src/cache.cpp src/card.cpp src/pkicard.cpp
|
||||
libcardpluginbeid_la_CPPFLAGS = $(PCSCLITE_INCS) -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginbeid
|
||||
libcardpluginbeid_la_LDFLAGS = $(PCSCLITE_LIBS) -lpcsclite -avoid-version
|
||||
libcardpluginbeid_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
libcardpluginbeid_la_CXXFLAGS = $(COMMON_CXXFLAGS)
|
||||
|
||||
libcardpluginsis_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginsis/siscard.cpp src/cache.cpp src/card.cpp
|
||||
libcardpluginsis_la_CPPFLAGS = $(PCSCLITE_INCS) -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginsis
|
||||
libcardpluginsis_la_LDFLAGS = $(PCSCLITE_LIBS) -lpcsclite -avoid-version
|
||||
libcardpluginsis_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
libcardpluginsis_la_CXXFLAGS = $(COMMON_CXXFLAGS)
|
||||
|
||||
libcardpluginsis_acr38u_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginsis_acr38u/siscard.cpp
|
||||
libcardpluginsis_acr38u_la_CPPFLAGS = $(PCSCLITE_INCS) -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginsis_acr38u
|
||||
libcardpluginsis_acr38u_la_LDFLAGS = $(PCSCLITE_LIBS) -lpcsclite -avoid-version
|
||||
libcardpluginsis_acr38u_la_CXXFLAGS = $(COMMON_CXXFLAGS) -DCARDPLUGINSIS_EXPORTS -DEIDMW_CMN_EXPORT
|
||||
libcardpluginsis_acr38u_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
|
||||
endif
|
||||
|
||||
###############################################################################################################################################################################
|
||||
|
||||
if OSX
|
||||
|
||||
libbeidcardlayer_la_SOURCES = ../common/src/mw_util.cpp src/cache.cpp src/card.cpp src/cardfactory.cpp src/cardlayer.cpp src/cardreaderinfo.cpp src/context.cpp src/p15correction.cpp src/pcsc.cpp src/pinpad.cpp src/pinpadlib.cpp src/pkcs15.cpp src/pkcs15parser.cpp src/pkicard.cpp src/reader.cpp src/readersinfo.cpp src/threadpool.cpp src/unknowncard.cpp src/cardpluginbeid/beidcard.cpp src/cardpluginbeid/beidp15correction.cpp src/cardpluginsis/siscard.cpp src/cardpluginsis/sispluginhandler.cpp
|
||||
libbeidcardlayer_la_CPPFLAGS = -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginbeid -I$(srcdir)/src/cardpluginsis -I$(srcdir)/src/cardpluginsis_acr38u -I/System/Library/Frameworks/PCSC.framework/Headers/
|
||||
libbeidcardlayer_la_LDFLAGS = -avoid-version
|
||||
libbeidcardlayer_la_CXXFLAGS = $(COMMON_CXXFLAGS) -framework PCSC
|
||||
libbeidcardlayer_la_LIBADD = $(COMMON_LIBADD)
|
||||
|
||||
libcardpluginbeid_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginbeid/beidcard.cpp src/cardpluginbeid/beidp15correction.cpp src/cache.cpp src/card.cpp src/pkicard.cpp
|
||||
libcardpluginbeid_la_CPPFLAGS = -I$(srcdir)/src -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginbeid -I/System/Library/Frameworks/PCSC.framework/Headers/
|
||||
libcardpluginbeid_la_LDFLAGS = -avoid-version
|
||||
libcardpluginbeid_la_CXXFLAGS = $(COMMON_CXXFLAGS) -framework PCSC
|
||||
libcardpluginbeid_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
|
||||
libcardpluginsis_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginsis/siscard.cpp src/cache.cpp src/card.cpp
|
||||
libcardpluginsis_la_CPPFLAGS = -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginsis -I/System/Library/Frameworks/PCSC.framework/Headers/
|
||||
libcardpluginsis_la_LDFLAGS = -avoid-version
|
||||
libcardpluginsis_la_CXXFLAGS = $(COMMON_CXXFLAGS) -framework PCSC
|
||||
libcardpluginsis_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
|
||||
libcardpluginsis_acr38u_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginsis_acr38u/siscard.cpp
|
||||
libcardpluginsis_acr38u_la_CPPFLAGS = -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginsis_acr38u -I/System/Library/Frameworks/PCSC.framework/Headers/
|
||||
libcardpluginsis_acr38u_la_LDFLAGS = -avoid-version
|
||||
libcardpluginsis_acr38u_la_CXXFLAGS = $(COMMON_CXXFLAGS) -DCARDPLUGINSIS_EXPORTS -DEIDMW_CMN_EXPORT -framework PCSC
|
||||
libcardpluginsis_acr38u_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
|
||||
endif
|
||||
|
||||
##############################################################################################################################################################################
|
||||
|
||||
if WIN32
|
||||
|
||||
libbeidcardlayer_la_SOURCES = ../common/src/mw_util.cpp src/cache.cpp src/card.cpp src/cardfactory.cpp src/cardlayer.cpp src/cardreaderinfo.cpp src/context.cpp src/p15correction.cpp src/pcsc.cpp src/pinpad.cpp src/pinpadlib.cpp src/pkcs15.cpp src/pkcs15parser.cpp src/pkicard.cpp src/reader.cpp src/readersinfo.cpp src/threadpool.cpp src/unknowncard.cpp old/pinpadliboldbeid.cpp src/cardpluginbeid/beidcard.cpp src/cardpluginbeid/beidp15correction.cpp src/cardpluginsis/siscard.cpp src/cardpluginsis/sispluginhandler.cpp
|
||||
libbeidcardlayer_la_CPPFLAGS = -I$(srcdir)/../common -I$(srcdir)/src/cardpluginbeid -I$(srcdir)/src/cardpluginsis -I$(srcdir)/src/cardpluginsis_acr38u
|
||||
libbeidcardlayer_la_LDFLAGS = -lwinscard -no-undefined -shared -static-libstdc++ -static-libgcc -avoid-version
|
||||
libbeidcardlayer_la_CXXFLAGS = $(COMMON_CXXFLAGS) -municode -DMINGW_HAS_SECURE_API
|
||||
libbeidcardlayer_la_LIBADD = $(COMMON_LIBADD)
|
||||
|
||||
libcardpluginbeid_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginbeid/beidcard.cpp src/cardpluginbeid/beidp15correction.cpp src/cache.cpp src/card.cpp src/pkicard.cpp
|
||||
libcardpluginbeid_la_CPPFLAGS = -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginbeid
|
||||
libcardpluginbeid_la_LDFLAGS = -no-undefined -shared -static-libstdc++ -static-libgcc -avoid-version
|
||||
libcardpluginbeid_la_CXXFLAGS = $(COMMON_CXXFLAGS) -municode -DMINGW_HAS_SECURE_API
|
||||
libcardpluginbeid_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
|
||||
libcardpluginsis_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginsis/siscard.cpp src/cache.cpp src/card.cpp
|
||||
libcardpluginsis_la_CPPFLAGS = -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginsis
|
||||
libcardpluginsis_la_LDFLAGS = -no-undefined -static-libstdc++ -static-libgcc -shared -avoid-version
|
||||
libcardpluginsis_la_CXXFLAGS = $(COMMON_CXXFLAGS) -municode -DMINGW_HAS_SECURE_API
|
||||
libcardpluginsis_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
|
||||
libcardpluginsis_acr38u_la_SOURCES = ../common/src/mw_util.cpp src/cardpluginsis_acr38u/siscard.cpp
|
||||
libcardpluginsis_acr38u_la_CPPFLAGS = -I$(srcdir)/../common/src -I$(srcdir)/src/cardpluginsis_acr38u
|
||||
libcardpluginsis_acr38u_la_LDFLAGS = -no-undefined -shared -static-libstdc++ -static-libgcc -avoid-version
|
||||
libcardpluginsis_acr38u_la_CXXFLAGS = $(COMMON_CXXFLAGS) -municode -DMINGW_HAS_SECURE_API -DCARDPLUGINSIS_EXPORTS -DEIDMW_CMN_EXPORT
|
||||
libcardpluginsis_acr38u_la_LIBADD = $(COMMON_LIBADD) libbeidcardlayer.la
|
||||
|
||||
endif
|
1217
cardlayer/Makefile.in
Normal file
1217
cardlayer/Makefile.in
Normal file
File diff suppressed because it is too large
Load diff
0
cardlayer/NEWS
Normal file
0
cardlayer/NEWS
Normal file
1
cardlayer/README
Normal file
1
cardlayer/README
Normal file
|
@ -0,0 +1 @@
|
|||
If you checked out out the code via svn, please run autoreconf -i before configuring
|
956
cardlayer/aclocal.m4
vendored
Normal file
956
cardlayer/aclocal.m4
vendored
Normal file
|
@ -0,0 +1,956 @@
|
|||
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
|
||||
[m4_warning([this file was generated for autoconf 2.65.
|
||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
||||
|
||||
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
# (This private macro should not be called outside this file.)
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
[am__api_version='1.11'
|
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
dnl require some minimum version. Point them to the right macro.
|
||||
m4_if([$1], [1.11.1], [],
|
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
])
|
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION)
|
||||
# -----------------------------
|
||||
# aclocal traces this macro to find the Autoconf version.
|
||||
# This is a private macro too. Using m4_define simplifies
|
||||
# the logic in aclocal, which can simply ignore this definition.
|
||||
m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.11.1])dnl
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||
#
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is `.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
||||
[dnl Rely on autoconf to set up CDPATH properly.
|
||||
AC_PREREQ([2.50])dnl
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 9
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
# Define a conditional.
|
||||
AC_DEFUN([AM_CONDITIONAL],
|
||||
[AC_PREREQ(2.52)dnl
|
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])dnl
|
||||
AC_SUBST([$1_FALSE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
||||
m4_define([_AM_COND_VALUE_$1], [$2])dnl
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
else
|
||||
$1_TRUE='#'
|
||||
$1_FALSE=
|
||||
fi
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
||||
AC_MSG_ERROR([[conditional "$1" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.]])
|
||||
fi])])
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 10
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
# will think it sees a *use*, and therefore will trigger all it's
|
||||
# C support machinery. Also note that it means that autoscan, seeing
|
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME)
|
||||
# ----------------------
|
||||
# See how the compiler implements dependency checking.
|
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
||||
# We try a few techniques and use that to set a single cache variable.
|
||||
#
|
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||
# dependency, and given that the user is not expected to run this macro,
|
||||
# just rely on AC_PROG_CC.
|
||||
AC_DEFUN([_AM_DEPENDENCIES],
|
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc],
|
||||
[am_cv_$1_dependencies_compiler_type],
|
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||
# We make a subdir and do the tests there. Otherwise we can end up
|
||||
# making bogus files that we don't know about and never remove. For
|
||||
# instance it was reported that on HP-UX the gcc test will end up
|
||||
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||
# in D'.
|
||||
mkdir conftest.dir
|
||||
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||
# using a relative directory.
|
||||
cp "$am_depcomp" conftest.dir
|
||||
cd conftest.dir
|
||||
# We will build objects and dependencies in a subdirectory because
|
||||
# it helps to detect inapplicable dependency modes. For instance
|
||||
# both Tru64's cc and ICC support -MD to output dependencies as a
|
||||
# side effect of compilation, but ICC will put the dependencies in
|
||||
# the current directory while Tru64 will put them in the object
|
||||
# directory.
|
||||
mkdir sub
|
||||
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
if test "$am_compiler_list" = ""; then
|
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
fi
|
||||
am__universal=false
|
||||
m4_case([$1], [CC],
|
||||
[case " $depcc " in #(
|
||||
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
||||
esac],
|
||||
[CXX],
|
||||
[case " $depcc " in #(
|
||||
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
||||
esac])
|
||||
|
||||
for depmode in $am_compiler_list; do
|
||||
# Setup a source with many dependencies, because some compilers
|
||||
# like to wrap large dependency lists on column 80 (with \), and
|
||||
# we should not choose a depcomp mode which is confused by this.
|
||||
#
|
||||
# We need to recreate these files for each test, as the compiler may
|
||||
# overwrite some of them when testing with obscure command lines.
|
||||
# This happens at least with the AIX C compiler.
|
||||
: > sub/conftest.c
|
||||
for i in 1 2 3 4 5 6; do
|
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
||||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
||||
# Solaris 8's {/usr,}/bin/sh.
|
||||
touch sub/conftst$i.h
|
||||
done
|
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||
|
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||
# handle `-M -o', and we need to detect this. Also, some Intel
|
||||
# versions had trouble with output in subdirs
|
||||
am__obj=sub/conftest.${OBJEXT-o}
|
||||
am__minus_obj="-o $am__obj"
|
||||
case $depmode in
|
||||
gcc)
|
||||
# This depmode causes a compiler race in universal mode.
|
||||
test "$am__universal" = false || continue
|
||||
;;
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
if test "x$enable_dependency_tracking" = xyes; then
|
||||
continue
|
||||
else
|
||||
break
|
||||
fi
|
||||
;;
|
||||
msvisualcpp | msvcmsys)
|
||||
# This compiler won't grok `-c -o', but also, the minuso test has
|
||||
# not run yet. These depmodes are late enough in the game, and
|
||||
# so weak that their functioning should not be impacted.
|
||||
am__obj=conftest.${OBJEXT-o}
|
||||
am__minus_obj=
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
if depmode=$depmode \
|
||||
source=sub/conftest.c object=$am__obj \
|
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
# icc doesn't choke on unknown options, it will just issue warnings
|
||||
# or remarks (even with -Werror). So we grep stderr for any message
|
||||
# that says an option was ignored or not supported.
|
||||
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
||||
# icc: Command line warning: ignoring option '-M'; no argument required
|
||||
# The diagnosis changed in icc 8.0:
|
||||
# icc: Command line remark: option '-MP' not supported
|
||||
if (grep 'ignoring option' conftest.err ||
|
||||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
||||
am_cv_$1_dependencies_compiler_type=$depmode
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
cd ..
|
||||
rm -rf conftest.dir
|
||||
else
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
fi
|
||||
])
|
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||
AM_CONDITIONAL([am__fastdep$1], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
||||
])
|
||||
|
||||
|
||||
# AM_SET_DEPDIR
|
||||
# -------------
|
||||
# Choose a directory name for dependency files.
|
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||
AC_DEFUN([AM_SET_DEPDIR],
|
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
||||
])
|
||||
|
||||
|
||||
# AM_DEP_TRACK
|
||||
# ------------
|
||||
AC_DEFUN([AM_DEP_TRACK],
|
||||
[AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking speeds up one-time build
|
||||
--enable-dependency-tracking do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])dnl
|
||||
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
#serial 5
|
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# ------------------------------
|
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[{
|
||||
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
||||
# are listed without --file. Let's play safe and only enable the eval
|
||||
# if we detect the quoting.
|
||||
case $CONFIG_FILES in
|
||||
*\'*) eval set x "$CONFIG_FILES" ;;
|
||||
*) set x $CONFIG_FILES ;;
|
||||
esac
|
||||
shift
|
||||
for mf
|
||||
do
|
||||
# Strip MF so we end up with the name of the file.
|
||||
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
# Check whether this is an Automake generated Makefile or not.
|
||||
# We used to match only the files named `Makefile.in', but
|
||||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# Grep'ing the whole file is not good either: AIX grep has a line
|
||||
# limit of 2048, but all sed's we know have understand at least 4000.
|
||||
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
fi
|
||||
# Extract the definition of DEPDIR, am__include, and am__quote
|
||||
# from the Makefile without running `make'.
|
||||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||
test -z "$DEPDIR" && continue
|
||||
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||
test -z "am__include" && continue
|
||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||
U=`sed -n 's/^U = //p' < "$mf"`
|
||||
# Find all dependency output files, they are included files with
|
||||
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||
# simplest approach to changing $(DEPDIR) to its actual value in the
|
||||
# expansion.
|
||||
for file in `sed -n "
|
||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
# Make sure the directory exists.
|
||||
test -f "$dirpart/$file" && continue
|
||||
fdir=`AS_DIRNAME(["$file"])`
|
||||
AS_MKDIR_P([$dirpart/$fdir])
|
||||
# echo "creating $dirpart/$file"
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
}
|
||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
||||
|
||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# -----------------------------
|
||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||
#
|
||||
# This code is only required when automatic dependency tracking
|
||||
# is enabled. FIXME. This creates each `.P' file that we will
|
||||
# need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AC_CONFIG_COMMANDS([depfiles],
|
||||
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||
])
|
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 16
|
||||
|
||||
# This macro actually does too much. Some checks are only needed if
|
||||
# your package does certain things. But this isn't really a big deal.
|
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||
# -----------------------------------------------
|
||||
# The call with PACKAGE and VERSION arguments is the old style
|
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||
# and VERSION should now be passed to AC_INIT and removed from
|
||||
# the call to AM_INIT_AUTOMAKE.
|
||||
# We support both call styles for the transition. After
|
||||
# the next Automake release, Autoconf can make the AC_INIT
|
||||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.62])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
# is not polluted with repeated "-I."
|
||||
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
if test -z "$CYGPATH_W"; then
|
||||
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||
CYGPATH_W='cygpath -w'
|
||||
else
|
||||
CYGPATH_W=echo
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CYGPATH_W])
|
||||
|
||||
# Define the identity of the package.
|
||||
dnl Distinguish between old-style and new-style calls.
|
||||
m4_ifval([$2],
|
||||
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
_AM_IF_OPTION([no-define],,
|
||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
|
||||
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
[_AM_PROG_TAR([v7])])])
|
||||
_AM_IF_OPTION([no-dependencies],,
|
||||
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
[_AM_DEPENDENCIES(CC)],
|
||||
[define([AC_PROG_CC],
|
||||
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
[_AM_DEPENDENCIES(OBJC)],
|
||||
[define([AC_PROG_OBJC],
|
||||
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
||||
])
|
||||
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
|
||||
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
|
||||
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
|
||||
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
|
||||
AC_CONFIG_COMMANDS_PRE(dnl
|
||||
[m4_provide_if([_AM_COMPILER_EXEEXT],
|
||||
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
||||
])
|
||||
|
||||
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
||||
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
||||
dnl mangled by Autoconf and run in a shell conditional statement.
|
||||
m4_define([_AC_COMPILER_EXEEXT],
|
||||
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
|
||||
|
||||
|
||||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp files are numbered to have different names.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[# Compute $1's index in $config_headers.
|
||||
_am_arg=$1
|
||||
_am_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$_am_arg | $_am_arg:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
if test x"${install_sh}" != xset; then
|
||||
case $am_aux_dir in
|
||||
*\ * | *\ *)
|
||||
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
||||
*)
|
||||
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# Check whether the underlying file-system supports filenames
|
||||
# with a leading dot. For instance MS-DOS doesn't.
|
||||
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||
[rm -rf .tst 2>/dev/null
|
||||
mkdir .tst 2>/dev/null
|
||||
if test -d .tst; then
|
||||
am__leading_dot=.
|
||||
else
|
||||
am__leading_dot=_
|
||||
fi
|
||||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
# AM_MAKE_INCLUDE()
|
||||
# -----------------
|
||||
# Check to see how make treats includes.
|
||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||
[am_make=${MAKE-make}
|
||||
cat > confinc << 'END'
|
||||
am__doit:
|
||||
@echo this is the am__doit target
|
||||
.PHONY: am__doit
|
||||
END
|
||||
# If we don't find an include directive, just comment out the code.
|
||||
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||
am__include="#"
|
||||
am__quote=
|
||||
_am_result=none
|
||||
# First try GNU make style include.
|
||||
echo "include confinc" > confmf
|
||||
# Ignore all kinds of additional output from `make'.
|
||||
case `$am_make -s -f confmf 2> /dev/null` in #(
|
||||
*the\ am__doit\ target*)
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
;;
|
||||
esac
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
case `$am_make -s -f confmf 2> /dev/null` in #(
|
||||
*the\ am__doit\ target*)
|
||||
am__include=.include
|
||||
am__quote="\""
|
||||
_am_result=BSD
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST([am__include])
|
||||
AC_SUBST([am__quote])
|
||||
AC_MSG_RESULT([$_am_result])
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 6
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
AC_DEFUN([AM_MISSING_PROG],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it supports --run.
|
||||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
if test x"${MISSING+set}" != xset; then
|
||||
case $am_aux_dir in
|
||||
*\ * | *\ *)
|
||||
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
||||
*)
|
||||
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
||||
esac
|
||||
fi
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN([`missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_MKDIR_P
|
||||
# ---------------
|
||||
# Check for `mkdir -p'.
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[AC_PREREQ([2.60])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
||||
dnl while keeping a definition of mkdir_p for backward compatibility.
|
||||
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
||||
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
||||
dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
||||
dnl adjustment using top_builddir (which is defined more often than
|
||||
dnl MKDIR_P).
|
||||
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
||||
case $mkdir_p in
|
||||
[[\\/$]]* | ?:[[\\/]]*) ;;
|
||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
# _AM_MANGLE_OPTION(NAME)
|
||||
# -----------------------
|
||||
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
# _AM_SET_OPTION(NAME)
|
||||
# ------------------------------
|
||||
# Set option NAME. Presently that only means defining a flag for this option.
|
||||
AC_DEFUN([_AM_SET_OPTION],
|
||||
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
|
||||
|
||||
# _AM_SET_OPTIONS(OPTIONS)
|
||||
# ----------------------------------
|
||||
# OPTIONS is a space-separated list of Automake options.
|
||||
AC_DEFUN([_AM_SET_OPTIONS],
|
||||
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
|
||||
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
# -------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
AC_DEFUN([_AM_IF_OPTION],
|
||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||
|
||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 5
|
||||
|
||||
# AM_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftest.file
|
||||
# Reject unsafe characters in $srcdir or the absolute working directory
|
||||
# name. Accept space and tab only in the latter.
|
||||
am_lf='
|
||||
'
|
||||
case `pwd` in
|
||||
*[[\\\"\#\$\&\'\`$am_lf]]*)
|
||||
AC_MSG_ERROR([unsafe absolute working directory name]);;
|
||||
esac
|
||||
case $srcdir in
|
||||
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
|
||||
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
|
||||
esac
|
||||
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
||||
if test "$[*]" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t "$srcdir/configure" conftest.file`
|
||||
fi
|
||||
rm -f conftest.file
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "$[2]" = conftest.file
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_STRIP
|
||||
# ---------------------
|
||||
# One issue with vendor `install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in `make install-strip', and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
# Installed binaries are usually stripped using `strip' when the user
|
||||
# run `make install-strip'. However `strip' might not be the right
|
||||
# tool to use in cross-compilation environments, therefore Automake
|
||||
# will honor the `STRIP' environment variable to overrule this program.
|
||||
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
||||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
# This macro is traced by Automake.
|
||||
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
|
||||
# AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Public sister of _AM_SUBST_NOTMAKE.
|
||||
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_PROG_TAR(FORMAT)
|
||||
# --------------------
|
||||
# Check how to create a tarball in format FORMAT.
|
||||
# FORMAT should be one of `v7', `ustar', or `pax'.
|
||||
#
|
||||
# Substitute a variable $(am__tar) that is a command
|
||||
# writing to stdout a FORMAT-tarball containing the directory
|
||||
# $tardir.
|
||||
# tardir=directory && $(am__tar) > result.tar
|
||||
#
|
||||
# Substitute a variable $(am__untar) that extract such
|
||||
# a tarball read from stdin.
|
||||
# $(am__untar) < result.tar
|
||||
AC_DEFUN([_AM_PROG_TAR],
|
||||
[# Always define AMTAR for backward compatibility.
|
||||
AM_MISSING_PROG([AMTAR], [tar])
|
||||
m4_if([$1], [v7],
|
||||
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
|
||||
[m4_case([$1], [ustar],, [pax],,
|
||||
[m4_fatal([Unknown tar format])])
|
||||
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||
# Loop over all known methods to create a tar archive until one works.
|
||||
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||
# Do not fold the above two line into one, because Tru64 sh and
|
||||
# Solaris sh will not grok spaces in the rhs of `-'.
|
||||
for _am_tool in $_am_tools
|
||||
do
|
||||
case $_am_tool in
|
||||
gnutar)
|
||||
for _am_tar in tar gnutar gtar;
|
||||
do
|
||||
AM_RUN_LOG([$_am_tar --version]) && break
|
||||
done
|
||||
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||
am__untar="$_am_tar -xf -"
|
||||
;;
|
||||
plaintar)
|
||||
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||
# ustar tarball either.
|
||||
(tar --version) >/dev/null 2>&1 && continue
|
||||
am__tar='tar chf - "$$tardir"'
|
||||
am__tar_='tar chf - "$tardir"'
|
||||
am__untar='tar xf -'
|
||||
;;
|
||||
pax)
|
||||
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||
am__untar='pax -r'
|
||||
;;
|
||||
cpio)
|
||||
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||
am__untar='cpio -i -H $1 -d'
|
||||
;;
|
||||
none)
|
||||
am__tar=false
|
||||
am__tar_=false
|
||||
am__untar=false
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the value was cached, stop now. We just wanted to have am__tar
|
||||
# and am__untar set.
|
||||
test -n "${am_cv_prog_tar_$1}" && break
|
||||
|
||||
# tar/untar a dummy directory, and stop if the command works
|
||||
rm -rf conftest.dir
|
||||
mkdir conftest.dir
|
||||
echo GrepMe > conftest.dir/file
|
||||
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||
rm -rf conftest.dir
|
||||
if test -s conftest.tar; then
|
||||
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||
fi
|
||||
done
|
||||
rm -rf conftest.dir
|
||||
|
||||
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||
AC_SUBST([am__tar])
|
||||
AC_SUBST([am__untar])
|
||||
]) # _AM_PROG_TAR
|
||||
|
||||
m4_include([m4/libtool.m4])
|
||||
m4_include([m4/ltoptions.m4])
|
||||
m4_include([m4/ltsugar.m4])
|
||||
m4_include([m4/ltversion.m4])
|
||||
m4_include([m4/lt~obsolete.m4])
|
18460
cardlayer/autom4te.cache/output.0
Normal file
18460
cardlayer/autom4te.cache/output.0
Normal file
File diff suppressed because it is too large
Load diff
18461
cardlayer/autom4te.cache/output.1
Normal file
18461
cardlayer/autom4te.cache/output.1
Normal file
File diff suppressed because it is too large
Load diff
18461
cardlayer/autom4te.cache/output.2
Normal file
18461
cardlayer/autom4te.cache/output.2
Normal file
File diff suppressed because it is too large
Load diff
18460
cardlayer/autom4te.cache/output.3
Normal file
18460
cardlayer/autom4te.cache/output.3
Normal file
File diff suppressed because it is too large
Load diff
18460
cardlayer/autom4te.cache/output.4
Normal file
18460
cardlayer/autom4te.cache/output.4
Normal file
File diff suppressed because it is too large
Load diff
762
cardlayer/autom4te.cache/requests
Normal file
762
cardlayer/autom4te.cache/requests
Normal file
|
@ -0,0 +1,762 @@
|
|||
# This file was generated.
|
||||
# It contains the lists of macros which have been traced.
|
||||
# It can be safely removed.
|
||||
|
||||
@request = (
|
||||
bless( [
|
||||
'0',
|
||||
1,
|
||||
[
|
||||
'/usr/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||
'/usr/share/aclocal/argz.m4',
|
||||
'/usr/share/aclocal/libtool.m4',
|
||||
'/usr/share/aclocal/ltdl.m4',
|
||||
'/usr/share/aclocal/ltoptions.m4',
|
||||
'/usr/share/aclocal/ltsugar.m4',
|
||||
'/usr/share/aclocal/ltversion.m4',
|
||||
'/usr/share/aclocal/lt~obsolete.m4',
|
||||
'/usr/share/aclocal-1.11/amversion.m4',
|
||||
'/usr/share/aclocal-1.11/auxdir.m4',
|
||||
'/usr/share/aclocal-1.11/cond.m4',
|
||||
'/usr/share/aclocal-1.11/depend.m4',
|
||||
'/usr/share/aclocal-1.11/depout.m4',
|
||||
'/usr/share/aclocal-1.11/init.m4',
|
||||
'/usr/share/aclocal-1.11/install-sh.m4',
|
||||
'/usr/share/aclocal-1.11/lead-dot.m4',
|
||||
'/usr/share/aclocal-1.11/make.m4',
|
||||
'/usr/share/aclocal-1.11/missing.m4',
|
||||
'/usr/share/aclocal-1.11/mkdirp.m4',
|
||||
'/usr/share/aclocal-1.11/options.m4',
|
||||
'/usr/share/aclocal-1.11/runlog.m4',
|
||||
'/usr/share/aclocal-1.11/sanity.m4',
|
||||
'/usr/share/aclocal-1.11/silent.m4',
|
||||
'/usr/share/aclocal-1.11/strip.m4',
|
||||
'/usr/share/aclocal-1.11/substnot.m4',
|
||||
'/usr/share/aclocal-1.11/tar.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||
'_LT_AC_SHELL_INIT' => 1,
|
||||
'AC_DEFUN' => 1,
|
||||
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_PROG_MKDIR_P' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_MISSING_PROG' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||
'AM_PROG_INSTALL_STRIP' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AC_LIBTOOL_OBJDIR' => 1,
|
||||
'gl_FUNC_ARGZ' => 1,
|
||||
'AM_SANITY_CHECK' => 1,
|
||||
'LTOBSOLETE_VERSION' => 1,
|
||||
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||
'LT_LIB_M' => 1,
|
||||
'_LT_AC_CHECK_DLFCN' => 1,
|
||||
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||
'LTSUGAR_VERSION' => 1,
|
||||
'_LT_PROG_LTMAIN' => 1,
|
||||
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||
'_AM_PROG_TAR' => 1,
|
||||
'AC_LIBTOOL_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||
'_LT_AC_LANG_F77' => 1,
|
||||
'AC_LIBTOOL_CONFIG' => 1,
|
||||
'AC_LTDL_DLLIB' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'_AM_AUTOCONF_VERSION' => 1,
|
||||
'AM_DISABLE_SHARED' => 1,
|
||||
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||
'_LTDL_SETUP' => 1,
|
||||
'AM_PROG_LIBTOOL' => 1,
|
||||
'_LT_AC_LANG_CXX' => 1,
|
||||
'AM_PROG_LD' => 1,
|
||||
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||
'AC_LIB_LTDL' => 1,
|
||||
'AU_DEFUN' => 1,
|
||||
'AC_PROG_NM' => 1,
|
||||
'AC_LIBTOOL_DLOPEN' => 1,
|
||||
'AC_PROG_LD' => 1,
|
||||
'AC_PROG_LD_GNU' => 1,
|
||||
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||
'AC_LIBTOOL_FC' => 1,
|
||||
'LTDL_CONVENIENCE' => 1,
|
||||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'LT_PROG_RC' => 1,
|
||||
'LT_SYS_MODULE_EXT' => 1,
|
||||
'AC_DEFUN_ONCE' => 1,
|
||||
'_LT_AC_LANG_GCJ' => 1,
|
||||
'AC_LTDL_OBJDIR' => 1,
|
||||
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||
'AC_LIBTOOL_RC' => 1,
|
||||
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'include' => 1,
|
||||
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||
'LT_AC_PROG_SED' => 1,
|
||||
'AM_ENABLE_SHARED' => 1,
|
||||
'LTDL_INSTALLABLE' => 1,
|
||||
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_ENABLE_SHARED' => 1,
|
||||
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||
'AC_ENABLE_STATIC' => 1,
|
||||
'_LT_AC_TAGVAR' => 1,
|
||||
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'LT_LIB_DLLOAD' => 1,
|
||||
'LTVERSION_VERSION' => 1,
|
||||
'_LT_PROG_CXX' => 1,
|
||||
'_LT_PROG_F77' => 1,
|
||||
'LTDL_INIT' => 1,
|
||||
'm4_include' => 1,
|
||||
'AM_PROG_INSTALL_SH' => 1,
|
||||
'AC_PROG_EGREP' => 1,
|
||||
'AC_PATH_MAGIC' => 1,
|
||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||
'AM_MAKE_INCLUDE' => 1,
|
||||
'LT_CMD_MAX_LEN' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'_LT_LINKER_OPTION' => 1,
|
||||
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||
'AC_DISABLE_SHARED' => 1,
|
||||
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||
'AC_LIBTOOL_SETUP' => 1,
|
||||
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||
'AM_MISSING_HAS_RUN' => 1,
|
||||
'LT_LANG' => 1,
|
||||
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||
'LT_OUTPUT' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||
'AC_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||
'LT_AC_PROG_RC' => 1,
|
||||
'AC_LIBTOOL_CXX' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'LT_AC_PROG_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_SELF' => 1,
|
||||
'AM_DEP_TRACK' => 1,
|
||||
'AM_DISABLE_STATIC' => 1,
|
||||
'_LT_AC_PROG_CXXCPP' => 1,
|
||||
'_AC_PROG_LIBTOOL' => 1,
|
||||
'_AM_IF_OPTION' => 1,
|
||||
'AC_PATH_TOOL_PREFIX' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_LIBTOOL_F77' => 1,
|
||||
'AM_SET_LEADING_DOT' => 1,
|
||||
'_LT_PROG_FC' => 1,
|
||||
'LT_AC_PROG_EGREP' => 1,
|
||||
'_AM_DEPENDENCIES' => 1,
|
||||
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||
'LTOPTIONS_VERSION' => 1,
|
||||
'_LT_AC_SYS_COMPILER' => 1,
|
||||
'AM_PROG_NM' => 1,
|
||||
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||
'LT_PROG_GCJ' => 1,
|
||||
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_DISABLE_STATIC' => 1,
|
||||
'LT_PATH_NM' => 1,
|
||||
'AC_LTDL_SHLIBEXT' => 1,
|
||||
'_LT_AC_LOCK' => 1,
|
||||
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||
'LT_SYS_MODULE_PATH' => 1,
|
||||
'LT_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||
'AC_LTDL_SHLIBPATH' => 1,
|
||||
'AM_AUX_DIR_EXPAND' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||
'_LT_COMPILER_OPTION' => 1,
|
||||
'_AM_SET_OPTIONS' => 1,
|
||||
'AM_RUN_LOG' => 1,
|
||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'AC_LIBTOOL_PICMODE' => 1,
|
||||
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||
'AC_CHECK_LIBM' => 1,
|
||||
'LT_PATH_LD' => 1,
|
||||
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||
'_AM_MANGLE_OPTION' => 1,
|
||||
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||
'AM_SET_DEPDIR' => 1,
|
||||
'_LT_CC_BASENAME' => 1,
|
||||
'_LT_LIBOBJ' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'1',
|
||||
1,
|
||||
[
|
||||
'/usr/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||
'aclocal.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'_AM_COND_IF' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_FC_SRCEXT' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'AC_REQUIRE_AUX_FILE' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AM_PROG_CXX_C_O' => 1,
|
||||
'_AM_COND_ENDIF' => 1,
|
||||
'AM_ENABLE_MULTILIB' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'include' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'AM_PROG_FC_C_O' => 1,
|
||||
'AC_FC_FREEFORM' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'sinclude' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'm4_include' => 1,
|
||||
'_AM_COND_ELSE' => 1,
|
||||
'AC_SUBST_TRACE' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'2',
|
||||
1,
|
||||
[
|
||||
'/usr/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||
'/usr/share/aclocal/argz.m4',
|
||||
'/usr/share/aclocal/ltdl.m4',
|
||||
'/usr/share/aclocal-1.11/amversion.m4',
|
||||
'/usr/share/aclocal-1.11/auxdir.m4',
|
||||
'/usr/share/aclocal-1.11/cond.m4',
|
||||
'/usr/share/aclocal-1.11/depend.m4',
|
||||
'/usr/share/aclocal-1.11/depout.m4',
|
||||
'/usr/share/aclocal-1.11/init.m4',
|
||||
'/usr/share/aclocal-1.11/install-sh.m4',
|
||||
'/usr/share/aclocal-1.11/lead-dot.m4',
|
||||
'/usr/share/aclocal-1.11/make.m4',
|
||||
'/usr/share/aclocal-1.11/missing.m4',
|
||||
'/usr/share/aclocal-1.11/mkdirp.m4',
|
||||
'/usr/share/aclocal-1.11/options.m4',
|
||||
'/usr/share/aclocal-1.11/runlog.m4',
|
||||
'/usr/share/aclocal-1.11/sanity.m4',
|
||||
'/usr/share/aclocal-1.11/silent.m4',
|
||||
'/usr/share/aclocal-1.11/strip.m4',
|
||||
'/usr/share/aclocal-1.11/substnot.m4',
|
||||
'/usr/share/aclocal-1.11/tar.m4',
|
||||
'm4/libtool.m4',
|
||||
'm4/ltoptions.m4',
|
||||
'm4/ltsugar.m4',
|
||||
'm4/ltversion.m4',
|
||||
'm4/lt~obsolete.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||
'_LT_AC_SHELL_INIT' => 1,
|
||||
'AC_DEFUN' => 1,
|
||||
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_PROG_MKDIR_P' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_MISSING_PROG' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||
'AM_PROG_INSTALL_STRIP' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AC_LIBTOOL_OBJDIR' => 1,
|
||||
'gl_FUNC_ARGZ' => 1,
|
||||
'AM_SANITY_CHECK' => 1,
|
||||
'LTOBSOLETE_VERSION' => 1,
|
||||
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||
'LT_LIB_M' => 1,
|
||||
'_LT_AC_CHECK_DLFCN' => 1,
|
||||
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||
'LTSUGAR_VERSION' => 1,
|
||||
'_LT_PROG_LTMAIN' => 1,
|
||||
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||
'_AM_PROG_TAR' => 1,
|
||||
'AC_LIBTOOL_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||
'_LT_AC_LANG_F77' => 1,
|
||||
'AC_LIBTOOL_CONFIG' => 1,
|
||||
'AC_LTDL_DLLIB' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'_AM_AUTOCONF_VERSION' => 1,
|
||||
'AM_DISABLE_SHARED' => 1,
|
||||
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||
'_LTDL_SETUP' => 1,
|
||||
'AM_PROG_LIBTOOL' => 1,
|
||||
'_LT_AC_LANG_CXX' => 1,
|
||||
'AM_PROG_LD' => 1,
|
||||
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||
'AC_LIB_LTDL' => 1,
|
||||
'AU_DEFUN' => 1,
|
||||
'AC_PROG_NM' => 1,
|
||||
'AC_LIBTOOL_DLOPEN' => 1,
|
||||
'AC_PROG_LD' => 1,
|
||||
'AC_PROG_LD_GNU' => 1,
|
||||
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||
'AC_LIBTOOL_FC' => 1,
|
||||
'LTDL_CONVENIENCE' => 1,
|
||||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'LT_PROG_RC' => 1,
|
||||
'LT_SYS_MODULE_EXT' => 1,
|
||||
'AC_DEFUN_ONCE' => 1,
|
||||
'_LT_AC_LANG_GCJ' => 1,
|
||||
'AC_LTDL_OBJDIR' => 1,
|
||||
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||
'AC_LIBTOOL_RC' => 1,
|
||||
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'include' => 1,
|
||||
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||
'LT_AC_PROG_SED' => 1,
|
||||
'AM_ENABLE_SHARED' => 1,
|
||||
'LTDL_INSTALLABLE' => 1,
|
||||
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_ENABLE_SHARED' => 1,
|
||||
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||
'AC_ENABLE_STATIC' => 1,
|
||||
'_LT_AC_TAGVAR' => 1,
|
||||
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'LT_LIB_DLLOAD' => 1,
|
||||
'LTVERSION_VERSION' => 1,
|
||||
'_LT_PROG_CXX' => 1,
|
||||
'_LT_PROG_F77' => 1,
|
||||
'LTDL_INIT' => 1,
|
||||
'm4_include' => 1,
|
||||
'AM_PROG_INSTALL_SH' => 1,
|
||||
'AC_PROG_EGREP' => 1,
|
||||
'AC_PATH_MAGIC' => 1,
|
||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||
'AM_MAKE_INCLUDE' => 1,
|
||||
'LT_CMD_MAX_LEN' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'_LT_LINKER_OPTION' => 1,
|
||||
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||
'AC_DISABLE_SHARED' => 1,
|
||||
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||
'AC_LIBTOOL_SETUP' => 1,
|
||||
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||
'AM_MISSING_HAS_RUN' => 1,
|
||||
'LT_LANG' => 1,
|
||||
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||
'LT_OUTPUT' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||
'AC_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||
'LT_AC_PROG_RC' => 1,
|
||||
'AC_LIBTOOL_CXX' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'LT_AC_PROG_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_SELF' => 1,
|
||||
'AM_DEP_TRACK' => 1,
|
||||
'AM_DISABLE_STATIC' => 1,
|
||||
'_LT_AC_PROG_CXXCPP' => 1,
|
||||
'_AC_PROG_LIBTOOL' => 1,
|
||||
'_AM_IF_OPTION' => 1,
|
||||
'AC_PATH_TOOL_PREFIX' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_LIBTOOL_F77' => 1,
|
||||
'AM_SET_LEADING_DOT' => 1,
|
||||
'_LT_PROG_FC' => 1,
|
||||
'LT_AC_PROG_EGREP' => 1,
|
||||
'_AM_DEPENDENCIES' => 1,
|
||||
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||
'LTOPTIONS_VERSION' => 1,
|
||||
'_LT_AC_SYS_COMPILER' => 1,
|
||||
'AM_PROG_NM' => 1,
|
||||
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||
'LT_PROG_GCJ' => 1,
|
||||
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_DISABLE_STATIC' => 1,
|
||||
'LT_PATH_NM' => 1,
|
||||
'AC_LTDL_SHLIBEXT' => 1,
|
||||
'_LT_AC_LOCK' => 1,
|
||||
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||
'LT_SYS_MODULE_PATH' => 1,
|
||||
'LT_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||
'AC_LTDL_SHLIBPATH' => 1,
|
||||
'AM_AUX_DIR_EXPAND' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||
'_LT_COMPILER_OPTION' => 1,
|
||||
'_AM_SET_OPTIONS' => 1,
|
||||
'AM_RUN_LOG' => 1,
|
||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'AC_LIBTOOL_PICMODE' => 1,
|
||||
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||
'AC_CHECK_LIBM' => 1,
|
||||
'LT_PATH_LD' => 1,
|
||||
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||
'_AM_MANGLE_OPTION' => 1,
|
||||
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||
'AM_SET_DEPDIR' => 1,
|
||||
'_LT_CC_BASENAME' => 1,
|
||||
'_LT_LIBOBJ' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'3',
|
||||
1,
|
||||
[
|
||||
'/opt/local/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/opt/local/share/autoconf/autoconf/autoconf.m4f',
|
||||
'/opt/local/share/aclocal/argz.m4',
|
||||
'/opt/local/share/aclocal/ltdl.m4',
|
||||
'/opt/local/share/aclocal-1.11/amversion.m4',
|
||||
'/opt/local/share/aclocal-1.11/auxdir.m4',
|
||||
'/opt/local/share/aclocal-1.11/cond.m4',
|
||||
'/opt/local/share/aclocal-1.11/depend.m4',
|
||||
'/opt/local/share/aclocal-1.11/depout.m4',
|
||||
'/opt/local/share/aclocal-1.11/init.m4',
|
||||
'/opt/local/share/aclocal-1.11/install-sh.m4',
|
||||
'/opt/local/share/aclocal-1.11/lead-dot.m4',
|
||||
'/opt/local/share/aclocal-1.11/make.m4',
|
||||
'/opt/local/share/aclocal-1.11/missing.m4',
|
||||
'/opt/local/share/aclocal-1.11/mkdirp.m4',
|
||||
'/opt/local/share/aclocal-1.11/options.m4',
|
||||
'/opt/local/share/aclocal-1.11/runlog.m4',
|
||||
'/opt/local/share/aclocal-1.11/sanity.m4',
|
||||
'/opt/local/share/aclocal-1.11/silent.m4',
|
||||
'/opt/local/share/aclocal-1.11/strip.m4',
|
||||
'/opt/local/share/aclocal-1.11/substnot.m4',
|
||||
'/opt/local/share/aclocal-1.11/tar.m4',
|
||||
'm4/libtool.m4',
|
||||
'm4/ltoptions.m4',
|
||||
'm4/ltsugar.m4',
|
||||
'm4/ltversion.m4',
|
||||
'm4/lt~obsolete.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_ENABLE_STATIC' => 1,
|
||||
'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
|
||||
'_LT_AC_SHELL_INIT' => 1,
|
||||
'AC_DEFUN' => 1,
|
||||
'_LT_AC_LANG_CXX_CONFIG' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_PROG_MKDIR_P' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_MISSING_PROG' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
|
||||
'_LT_AC_LANG_C_CONFIG' => 1,
|
||||
'AM_PROG_INSTALL_STRIP' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AC_LIBTOOL_OBJDIR' => 1,
|
||||
'gl_FUNC_ARGZ' => 1,
|
||||
'AM_SANITY_CHECK' => 1,
|
||||
'LTOBSOLETE_VERSION' => 1,
|
||||
'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
|
||||
'LT_LIB_M' => 1,
|
||||
'_LT_AC_CHECK_DLFCN' => 1,
|
||||
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
|
||||
'LTSUGAR_VERSION' => 1,
|
||||
'_LT_PROG_LTMAIN' => 1,
|
||||
'LT_SYS_SYMBOL_USCORE' => 1,
|
||||
'_AM_PROG_TAR' => 1,
|
||||
'AC_LIBTOOL_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'LT_FUNC_DLSYM_USCORE' => 1,
|
||||
'_LT_AC_LANG_F77' => 1,
|
||||
'AC_LIBTOOL_CONFIG' => 1,
|
||||
'AC_LTDL_DLLIB' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'_AM_AUTOCONF_VERSION' => 1,
|
||||
'AM_DISABLE_SHARED' => 1,
|
||||
'_LT_PROG_ECHO_BACKSLASH' => 1,
|
||||
'_LTDL_SETUP' => 1,
|
||||
'AM_PROG_LIBTOOL' => 1,
|
||||
'_LT_AC_LANG_CXX' => 1,
|
||||
'AM_PROG_LD' => 1,
|
||||
'_LT_AC_FILE_LTDLL_C' => 1,
|
||||
'AC_LIB_LTDL' => 1,
|
||||
'AU_DEFUN' => 1,
|
||||
'AC_PROG_NM' => 1,
|
||||
'AC_LIBTOOL_DLOPEN' => 1,
|
||||
'AC_PROG_LD' => 1,
|
||||
'AC_PROG_LD_GNU' => 1,
|
||||
'AC_ENABLE_FAST_INSTALL' => 1,
|
||||
'AC_LIBTOOL_FC' => 1,
|
||||
'LTDL_CONVENIENCE' => 1,
|
||||
'_AM_SET_OPTION' => 1,
|
||||
'AC_LTDL_PREOPEN' => 1,
|
||||
'_LT_LINKER_BOILERPLATE' => 1,
|
||||
'_LT_PREPARE_SED_QUOTE_VARS' => 1,
|
||||
'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
|
||||
'AC_LIBTOOL_PROG_CC_C_O' => 1,
|
||||
'gl_PREREQ_ARGZ' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'LT_PROG_RC' => 1,
|
||||
'LT_SYS_MODULE_EXT' => 1,
|
||||
'AC_DEFUN_ONCE' => 1,
|
||||
'_LT_AC_LANG_GCJ' => 1,
|
||||
'AC_LTDL_OBJDIR' => 1,
|
||||
'_LT_PATH_TOOL_PREFIX' => 1,
|
||||
'AC_LIBTOOL_RC' => 1,
|
||||
'_LT_AC_PROG_ECHO_BACKSLASH' => 1,
|
||||
'AC_DISABLE_FAST_INSTALL' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'include' => 1,
|
||||
'_LT_AC_TRY_DLOPEN_SELF' => 1,
|
||||
'_LT_AC_SYS_LIBPATH_AIX' => 1,
|
||||
'LT_AC_PROG_SED' => 1,
|
||||
'AM_ENABLE_SHARED' => 1,
|
||||
'LTDL_INSTALLABLE' => 1,
|
||||
'_LT_AC_LANG_GCJ_CONFIG' => 1,
|
||||
'AC_ENABLE_SHARED' => 1,
|
||||
'_LT_REQUIRED_DARWIN_CHECKS' => 1,
|
||||
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
|
||||
'AC_ENABLE_STATIC' => 1,
|
||||
'_LT_AC_TAGVAR' => 1,
|
||||
'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'LT_LIB_DLLOAD' => 1,
|
||||
'LTVERSION_VERSION' => 1,
|
||||
'_LT_PROG_CXX' => 1,
|
||||
'_LT_PROG_F77' => 1,
|
||||
'LTDL_INIT' => 1,
|
||||
'm4_include' => 1,
|
||||
'AM_PROG_INSTALL_SH' => 1,
|
||||
'AC_PROG_EGREP' => 1,
|
||||
'AC_PATH_MAGIC' => 1,
|
||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||
'AC_LTDL_SYSSEARCHPATH' => 1,
|
||||
'AM_MAKE_INCLUDE' => 1,
|
||||
'LT_CMD_MAX_LEN' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'_LT_LINKER_OPTION' => 1,
|
||||
'AC_LIBTOOL_COMPILER_OPTION' => 1,
|
||||
'AC_DISABLE_SHARED' => 1,
|
||||
'_LT_COMPILER_BOILERPLATE' => 1,
|
||||
'AC_LIBTOOL_WIN32_DLL' => 1,
|
||||
'AC_LIBTOOL_SETUP' => 1,
|
||||
'AC_PROG_LD_RELOAD_FLAG' => 1,
|
||||
'AC_LTDL_DLSYM_USCORE' => 1,
|
||||
'AM_MISSING_HAS_RUN' => 1,
|
||||
'LT_LANG' => 1,
|
||||
'LT_SYS_DLSEARCH_PATH' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_LIBTOOL_DLOPEN_SELF' => 1,
|
||||
'LT_OUTPUT' => 1,
|
||||
'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
|
||||
'AC_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_LINKER_OPTION' => 1,
|
||||
'LT_AC_PROG_RC' => 1,
|
||||
'AC_LIBTOOL_CXX' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'LT_AC_PROG_GCJ' => 1,
|
||||
'LT_SYS_DLOPEN_SELF' => 1,
|
||||
'AM_DEP_TRACK' => 1,
|
||||
'AM_DISABLE_STATIC' => 1,
|
||||
'_LT_AC_PROG_CXXCPP' => 1,
|
||||
'_AC_PROG_LIBTOOL' => 1,
|
||||
'_AM_IF_OPTION' => 1,
|
||||
'AC_PATH_TOOL_PREFIX' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'AC_LIBTOOL_F77' => 1,
|
||||
'AM_SET_LEADING_DOT' => 1,
|
||||
'_LT_PROG_FC' => 1,
|
||||
'LT_AC_PROG_EGREP' => 1,
|
||||
'_AM_DEPENDENCIES' => 1,
|
||||
'AC_LIBTOOL_LANG_C_CONFIG' => 1,
|
||||
'LTOPTIONS_VERSION' => 1,
|
||||
'_LT_AC_SYS_COMPILER' => 1,
|
||||
'AM_PROG_NM' => 1,
|
||||
'AC_LIBLTDL_CONVENIENCE' => 1,
|
||||
'AC_DEPLIBS_CHECK_METHOD' => 1,
|
||||
'AC_LIBLTDL_INSTALLABLE' => 1,
|
||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||
'AC_LTDL_ENABLE_INSTALL' => 1,
|
||||
'LT_PROG_GCJ' => 1,
|
||||
'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_DISABLE_STATIC' => 1,
|
||||
'LT_PATH_NM' => 1,
|
||||
'AC_LTDL_SHLIBEXT' => 1,
|
||||
'_LT_AC_LOCK' => 1,
|
||||
'_LT_AC_LANG_RC_CONFIG' => 1,
|
||||
'LT_SYS_MODULE_PATH' => 1,
|
||||
'LT_WITH_LTDL' => 1,
|
||||
'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
|
||||
'AC_LTDL_SHLIBPATH' => 1,
|
||||
'AM_AUX_DIR_EXPAND' => 1,
|
||||
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
|
||||
'_LT_AC_LANG_F77_CONFIG' => 1,
|
||||
'_LT_COMPILER_OPTION' => 1,
|
||||
'_AM_SET_OPTIONS' => 1,
|
||||
'AM_RUN_LOG' => 1,
|
||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||
'AC_LIBTOOL_PICMODE' => 1,
|
||||
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
|
||||
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
|
||||
'AC_CHECK_LIBM' => 1,
|
||||
'LT_PATH_LD' => 1,
|
||||
'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
|
||||
'_AM_MANGLE_OPTION' => 1,
|
||||
'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
|
||||
'AC_LTDL_SYMBOL_USCORE' => 1,
|
||||
'AM_SET_DEPDIR' => 1,
|
||||
'_LT_CC_BASENAME' => 1,
|
||||
'_LT_LIBOBJ' => 1
|
||||
}
|
||||
], 'Autom4te::Request' ),
|
||||
bless( [
|
||||
'4',
|
||||
1,
|
||||
[
|
||||
'/opt/local/share/autoconf'
|
||||
],
|
||||
[
|
||||
'/opt/local/share/autoconf/autoconf/autoconf.m4f',
|
||||
'aclocal.m4',
|
||||
'configure.ac'
|
||||
],
|
||||
{
|
||||
'AM_PROG_F77_C_O' => 1,
|
||||
'_LT_AC_TAGCONFIG' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_CANONICAL_TARGET' => 1,
|
||||
'_AM_COND_IF' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_FC_SRCEXT' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'LT_CONFIG_LTDL_DIR' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'AC_REQUIRE_AUX_FILE' => 1,
|
||||
'LT_SUPPORTED_TAG' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AM_PROG_CXX_C_O' => 1,
|
||||
'_AM_COND_ENDIF' => 1,
|
||||
'AM_ENABLE_MULTILIB' => 1,
|
||||
'AM_SILENT_RULES' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'LT_INIT' => 1,
|
||||
'include' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AC_CANONICAL_BUILD' => 1,
|
||||
'AM_PROG_FC_C_O' => 1,
|
||||
'AC_FC_FREEFORM' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'_AM_SUBST_NOTMAKE' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'sinclude' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'm4_include' => 1,
|
||||
'_AM_COND_ELSE' => 1,
|
||||
'AC_SUBST_TRACE' => 1
|
||||
}
|
||||
], 'Autom4te::Request' )
|
||||
);
|
||||
|
2428
cardlayer/autom4te.cache/traces.0
Normal file
2428
cardlayer/autom4te.cache/traces.0
Normal file
File diff suppressed because it is too large
Load diff
680
cardlayer/autom4te.cache/traces.1
Normal file
680
cardlayer/autom4te.cache/traces.1
Normal file
|
@ -0,0 +1,680 @@
|
|||
m4trace:aclocal.m4:952: -1- m4_include([m4/libtool.m4])
|
||||
m4trace:aclocal.m4:953: -1- m4_include([m4/ltoptions.m4])
|
||||
m4trace:aclocal.m4:954: -1- m4_include([m4/ltsugar.m4])
|
||||
m4trace:aclocal.m4:955: -1- m4_include([m4/ltversion.m4])
|
||||
m4trace:aclocal.m4:956: -1- m4_include([m4/lt~obsolete.m4])
|
||||
m4trace:configure.ac:2: -1- AC_INIT([libbeidcardlayer], [0.0.1], [servicedesk@fedict.be])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([SHELL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([SHELL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([exec_prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([program_transform_name])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([bindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sbindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libexecdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datarootdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${datarootdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datadir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sysconfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sharedstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([includedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([oldincludedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
|
||||
['${datarootdir}/doc/${PACKAGE}'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([docdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([infodir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([htmldir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([htmldir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([dvidir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([dvidir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([pdfdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([pdfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([psdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([psdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([mandir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||
@%:@undef PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||
@%:@undef PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||
@%:@undef PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||
@%:@undef PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||
@%:@undef PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
|
||||
@%:@undef PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([DEFS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([DEFS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([build_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([build_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([host_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([host_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([target_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([target_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
|
||||
m4trace:configure.ac:3: -1- AC_CONFIG_AUX_DIR([build-aux])
|
||||
m4trace:configure.ac:5: -1- AC_CONFIG_HEADERS([config.h])
|
||||
m4trace:configure.ac:7: -1- AM_INIT_AUTOMAKE
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
|
||||
m4trace:configure.ac:7: -1- AM_AUTOMAKE_VERSION([1.11.1])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_DATA])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_DATA])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_DATA$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__isrc])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__isrc$])
|
||||
m4trace:configure.ac:7: -1- _AM_SUBST_NOTMAKE([am__isrc])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([CYGPATH_W])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([CYGPATH_W])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^CYGPATH_W$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([PACKAGE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([VERSION])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:7: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
|
||||
@%:@undef PACKAGE])
|
||||
m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:7: -1- AH_OUTPUT([VERSION], [/* Version number of package */
|
||||
@%:@undef VERSION])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([missing])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([ACLOCAL])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([ACLOCAL])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^ACLOCAL$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AUTOCONF])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AUTOCONF])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOCONF$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AUTOMAKE])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AUTOMAKE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOMAKE$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AUTOHEADER])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AUTOHEADER])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOHEADER$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([MAKEINFO])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([MAKEINFO])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^MAKEINFO$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([install_sh])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([install_sh])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^install_sh$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([MKDIR_P])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^MKDIR_P$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([mkdir_p])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^mkdir_p$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AWK])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AWK])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AWK$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([SET_MAKE])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([SET_MAKE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^SET_MAKE$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__leading_dot])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__leading_dot])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__leading_dot$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AMTAR])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AMTAR])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AMTAR$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__tar])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__tar])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__tar$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__untar])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__untar])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__untar$])
|
||||
m4trace:configure.ac:8: -1- AC_CANONICAL_HOST
|
||||
m4trace:configure.ac:8: -1- AC_CANONICAL_BUILD
|
||||
m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([config.sub])
|
||||
m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([config.guess])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build], [$ac_cv_build])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build_cpu], [$[1]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build_cpu])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build_cpu$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build_vendor], [$[2]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build_vendor])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build_vendor$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build_os])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build_os])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build_os$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host], [$ac_cv_host])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host_cpu], [$[1]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host_cpu])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host_cpu$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host_vendor], [$[2]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host_vendor])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host_vendor$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host_os])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host_os])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host_os$])
|
||||
m4trace:configure.ac:9: -1- LT_INIT([win32-dll])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
|
||||
m4trace:configure.ac:9: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DLLTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DLLTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EXEEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EXEEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DEPDIR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DEPDIR$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__include])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__include])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__include$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__quote])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__quote])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__quote$])
|
||||
m4trace:configure.ac:9: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AMDEP_TRUE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_TRUE$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AMDEP_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_FALSE$])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||
m4trace:configure.ac:9: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([SED])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([SED])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^SED$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([FGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([FGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^FGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NM])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NM])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NM$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LN_S])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LN_S$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AR])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([RANLIB])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([RANLIB])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^RANLIB$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LT_OBJDIR$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
@%:@undef LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- LT_SUPPORTED_TAG([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DSYMUTIL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NMEDIT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIPO])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIPO])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIPO$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL64$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
@%:@undef HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STDC_HEADERS$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
|
||||
@%:@undef STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
@%:@undef HAVE_SYS_TYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
@%:@undef HAVE_SYS_STAT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
@%:@undef HAVE_MEMORY_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||
@%:@undef HAVE_STRINGS_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
@%:@undef HAVE_INTTYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||
@%:@undef HAVE_STDINT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
@%:@undef HAVE_UNISTD_H])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
|
||||
m4trace:configure.ac:11: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
|
||||
You should run autoupdate.], [m4/ltoptions.m4:146: AC_LIBTOOL_WIN32_DLL is expanded from...
|
||||
configure.ac:11: the top level])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST([AS])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AS])
|
||||
m4trace:configure.ac:11: -1- m4_pattern_allow([^AS$])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST([DLLTOOL])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||
m4trace:configure.ac:11: -1- m4_pattern_allow([^DLLTOOL$])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:11: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the `win32-dll' option into LT_INIT's first parameter.], [m4/ltoptions.m4:146: AC_LIBTOOL_WIN32_DLL is expanded from...
|
||||
configure.ac:11: the top level])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([ac_ct_CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([ac_ct_CXX])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^ac_ct_CXX$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXDEPMODE])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXDEPMODE$])
|
||||
m4trace:configure.ac:14: -1- AM_CONDITIONAL([am__fastdepCXX], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
|
||||
m4trace:configure.ac:14: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:14: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:14: -1- LT_SUPPORTED_TAG([CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||
m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:16: -1- AC_PROG_LIBTOOL
|
||||
m4trace:configure.ac:16: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
|
||||
You should run autoupdate.], [m4/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
|
||||
configure.ac:16: the top level])
|
||||
m4trace:configure.ac:16: -1- LT_INIT
|
||||
m4trace:configure.ac:39: -1- AM_CONDITIONAL([LINUX], [test x$linux = xtrue])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST([LINUX_TRUE])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST_TRACE([LINUX_TRUE])
|
||||
m4trace:configure.ac:39: -1- m4_pattern_allow([^LINUX_TRUE$])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST([LINUX_FALSE])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST_TRACE([LINUX_FALSE])
|
||||
m4trace:configure.ac:39: -1- m4_pattern_allow([^LINUX_FALSE$])
|
||||
m4trace:configure.ac:39: -1- _AM_SUBST_NOTMAKE([LINUX_TRUE])
|
||||
m4trace:configure.ac:39: -1- _AM_SUBST_NOTMAKE([LINUX_FALSE])
|
||||
m4trace:configure.ac:40: -1- AM_CONDITIONAL([OSX], [test x$osx = xtrue])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST([OSX_TRUE])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST_TRACE([OSX_TRUE])
|
||||
m4trace:configure.ac:40: -1- m4_pattern_allow([^OSX_TRUE$])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST([OSX_FALSE])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST_TRACE([OSX_FALSE])
|
||||
m4trace:configure.ac:40: -1- m4_pattern_allow([^OSX_FALSE$])
|
||||
m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([OSX_TRUE])
|
||||
m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([OSX_FALSE])
|
||||
m4trace:configure.ac:41: -1- AM_CONDITIONAL([WIN32], [test x$win32 = xtrue])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST([WIN32_TRUE])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST_TRACE([WIN32_TRUE])
|
||||
m4trace:configure.ac:41: -1- m4_pattern_allow([^WIN32_TRUE$])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST([WIN32_FALSE])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST_TRACE([WIN32_FALSE])
|
||||
m4trace:configure.ac:41: -1- m4_pattern_allow([^WIN32_FALSE$])
|
||||
m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([WIN32_TRUE])
|
||||
m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([WIN32_FALSE])
|
||||
m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_LIBMSVCR], [/* Define to 1 if you have the `msvcr\' library (-lmsvcr). */
|
||||
@%:@undef HAVE_LIBMSVCR])
|
||||
m4trace:configure.ac:47: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBMSVCR])
|
||||
m4trace:configure.ac:47: -1- m4_pattern_allow([^HAVE_LIBMSVCR$])
|
||||
m4trace:configure.ac:53: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
|
||||
configure.ac:53: the top level])
|
||||
m4trace:configure.ac:60: -1- AC_SUBST([PCSCLITE_INCS])
|
||||
m4trace:configure.ac:60: -1- AC_SUBST_TRACE([PCSCLITE_INCS])
|
||||
m4trace:configure.ac:60: -1- m4_pattern_allow([^PCSCLITE_INCS$])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST([PCSCLITE_LIBS])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST_TRACE([PCSCLITE_LIBS])
|
||||
m4trace:configure.ac:61: -1- m4_pattern_allow([^PCSCLITE_LIBS$])
|
||||
m4trace:configure.ac:65: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:65: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:68: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
|
||||
m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE__BOOL$])
|
||||
m4trace:configure.ac:68: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
|
||||
@%:@undef HAVE__BOOL])
|
||||
m4trace:configure.ac:68: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
|
||||
m4trace:configure.ac:68: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
|
||||
@%:@undef HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:69: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
|
||||
calls it, or to nothing if \'inline\' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif])
|
||||
m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([int32_t])
|
||||
m4trace:configure.ac:70: -1- m4_pattern_allow([^int32_t$])
|
||||
m4trace:configure.ac:70: -1- AH_OUTPUT([int32_t], [/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef int32_t])
|
||||
m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([size_t])
|
||||
m4trace:configure.ac:71: -1- m4_pattern_allow([^size_t$])
|
||||
m4trace:configure.ac:71: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
|
||||
@%:@undef size_t])
|
||||
m4trace:configure.ac:74: -1- AC_LIBSOURCE([error.h])
|
||||
m4trace:configure.ac:74: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:74: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:74: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS error.$ac_objext"])
|
||||
m4trace:configure.ac:74: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:74: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
|
||||
@%:@undef HAVE_MEMSET])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_MKDIR], [/* Define to 1 if you have the `mkdir\' function. */
|
||||
@%:@undef HAVE_MKDIR])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
|
||||
@%:@undef HAVE_STRSTR])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
|
||||
@%:@undef HAVE_VASPRINTF])
|
||||
m4trace:configure.ac:78: -1- AC_CONFIG_FILES([Makefile])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:79: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([INSTALL])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:79: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
2428
cardlayer/autom4te.cache/traces.2
Normal file
2428
cardlayer/autom4te.cache/traces.2
Normal file
File diff suppressed because it is too large
Load diff
2428
cardlayer/autom4te.cache/traces.3
Normal file
2428
cardlayer/autom4te.cache/traces.3
Normal file
File diff suppressed because it is too large
Load diff
680
cardlayer/autom4te.cache/traces.4
Normal file
680
cardlayer/autom4te.cache/traces.4
Normal file
|
@ -0,0 +1,680 @@
|
|||
m4trace:aclocal.m4:952: -1- m4_include([m4/libtool.m4])
|
||||
m4trace:aclocal.m4:953: -1- m4_include([m4/ltoptions.m4])
|
||||
m4trace:aclocal.m4:954: -1- m4_include([m4/ltsugar.m4])
|
||||
m4trace:aclocal.m4:955: -1- m4_include([m4/ltversion.m4])
|
||||
m4trace:aclocal.m4:956: -1- m4_include([m4/lt~obsolete.m4])
|
||||
m4trace:configure.ac:2: -1- AC_INIT([libcardlayer], [3.5.3], [servicedesk@fedict.be])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([SHELL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([SHELL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([exec_prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([exec_prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([prefix], [NONE])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([prefix])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([program_transform_name], [s,x,x,])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([program_transform_name])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([bindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sbindir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libexecdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datarootdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([datadir], ['${datarootdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([datadir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sysconfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([sharedstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localstatedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([includedir], ['${prefix}/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([includedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([oldincludedir], ['/usr/include'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([oldincludedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
|
||||
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
|
||||
['${datarootdir}/doc/${PACKAGE}'])])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([docdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([infodir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([htmldir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([htmldir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([dvidir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([dvidir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([pdfdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([pdfdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([psdir], ['${docdir}'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([psdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([libdir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([localedir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([mandir])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
|
||||
@%:@undef PACKAGE_NAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
|
||||
@%:@undef PACKAGE_TARNAME])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
|
||||
@%:@undef PACKAGE_VERSION])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
|
||||
@%:@undef PACKAGE_STRING])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
|
||||
@%:@undef PACKAGE_BUGREPORT])
|
||||
m4trace:configure.ac:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
|
||||
m4trace:configure.ac:2: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
|
||||
@%:@undef PACKAGE_URL])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([DEFS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([DEFS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_C])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_N])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([ECHO_T])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([build_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([build_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([host_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([host_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST([target_alias])
|
||||
m4trace:configure.ac:2: -1- AC_SUBST_TRACE([target_alias])
|
||||
m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
|
||||
m4trace:configure.ac:3: -1- AC_CONFIG_AUX_DIR([build-aux])
|
||||
m4trace:configure.ac:5: -1- AC_CONFIG_HEADERS([config.h])
|
||||
m4trace:configure.ac:7: -1- AM_INIT_AUTOMAKE
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
|
||||
m4trace:configure.ac:7: -1- AM_AUTOMAKE_VERSION([1.11.1])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_DATA])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_DATA])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_DATA$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__isrc])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__isrc$])
|
||||
m4trace:configure.ac:7: -1- _AM_SUBST_NOTMAKE([am__isrc])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([CYGPATH_W])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([CYGPATH_W])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^CYGPATH_W$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([PACKAGE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([VERSION])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^PACKAGE$])
|
||||
m4trace:configure.ac:7: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
|
||||
@%:@undef PACKAGE])
|
||||
m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^VERSION$])
|
||||
m4trace:configure.ac:7: -1- AH_OUTPUT([VERSION], [/* Version number of package */
|
||||
@%:@undef VERSION])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([missing])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([ACLOCAL])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([ACLOCAL])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^ACLOCAL$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AUTOCONF])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AUTOCONF])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOCONF$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AUTOMAKE])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AUTOMAKE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOMAKE$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AUTOHEADER])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AUTOHEADER])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AUTOHEADER$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([MAKEINFO])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([MAKEINFO])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^MAKEINFO$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([install_sh])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([install_sh])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^install_sh$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
|
||||
m4trace:configure.ac:7: -1- AC_REQUIRE_AUX_FILE([install-sh])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([MKDIR_P])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^MKDIR_P$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([mkdir_p])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^mkdir_p$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AWK])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AWK])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AWK$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([SET_MAKE])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([SET_MAKE])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^SET_MAKE$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__leading_dot])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__leading_dot])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__leading_dot$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([AMTAR])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([AMTAR])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^AMTAR$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__tar])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__tar])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__tar$])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST([am__untar])
|
||||
m4trace:configure.ac:7: -1- AC_SUBST_TRACE([am__untar])
|
||||
m4trace:configure.ac:7: -1- m4_pattern_allow([^am__untar$])
|
||||
m4trace:configure.ac:8: -1- AC_CANONICAL_HOST
|
||||
m4trace:configure.ac:8: -1- AC_CANONICAL_BUILD
|
||||
m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([config.sub])
|
||||
m4trace:configure.ac:8: -1- AC_REQUIRE_AUX_FILE([config.guess])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build], [$ac_cv_build])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build_cpu], [$[1]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build_cpu])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build_cpu$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build_vendor], [$[2]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build_vendor])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build_vendor$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([build_os])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([build_os])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^build_os$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host], [$ac_cv_host])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host_cpu], [$[1]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host_cpu])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host_cpu$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host_vendor], [$[2]])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host_vendor])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host_vendor$])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST([host_os])
|
||||
m4trace:configure.ac:8: -1- AC_SUBST_TRACE([host_os])
|
||||
m4trace:configure.ac:8: -1- m4_pattern_allow([^host_os$])
|
||||
m4trace:configure.ac:9: -1- LT_INIT([win32-dll])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
|
||||
m4trace:configure.ac:9: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DLLTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DLLTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EXEEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EXEEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJEXT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJEXT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DEPDIR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DEPDIR$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__include])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__include])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__include$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__quote])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__quote])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__quote$])
|
||||
m4trace:configure.ac:9: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AMDEP_TRUE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_TRUE$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AMDEP_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEP_FALSE$])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||
m4trace:configure.ac:9: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:9: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([SED])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([SED])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^SED$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([EGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^EGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([FGREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([FGREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^FGREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([GREP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DUMPBIN])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DUMPBIN$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NM])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NM])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NM$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LN_S], [$as_ln_s])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LN_S])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LN_S$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([AR])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([AR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^AR$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([STRIP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([STRIP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STRIP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([RANLIB])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([RANLIB])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^RANLIB$])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LT_OBJDIR$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
@%:@undef LT_OBJDIR])
|
||||
m4trace:configure.ac:9: -1- LT_SUPPORTED_TAG([CC])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([DSYMUTIL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^DSYMUTIL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([NMEDIT])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^NMEDIT$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([LIPO])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([LIPO])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^LIPO$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([OTOOL64])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^OTOOL64$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
@%:@undef HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST([CPP])
|
||||
m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^STDC_HEADERS$])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
|
||||
@%:@undef STDC_HEADERS])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
@%:@undef HAVE_SYS_TYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
@%:@undef HAVE_SYS_STAT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
|
||||
@%:@undef HAVE_MEMORY_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
|
||||
@%:@undef HAVE_STRINGS_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
@%:@undef HAVE_INTTYPES_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
|
||||
@%:@undef HAVE_STDINT_H])
|
||||
m4trace:configure.ac:9: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
|
||||
@%:@undef HAVE_UNISTD_H])
|
||||
m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
|
||||
m4trace:configure.ac:9: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
|
||||
m4trace:configure.ac:11: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
|
||||
You should run autoupdate.], [m4/ltoptions.m4:146: AC_LIBTOOL_WIN32_DLL is expanded from...
|
||||
configure.ac:11: the top level])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST([AS])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST_TRACE([AS])
|
||||
m4trace:configure.ac:11: -1- m4_pattern_allow([^AS$])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST([DLLTOOL])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST_TRACE([DLLTOOL])
|
||||
m4trace:configure.ac:11: -1- m4_pattern_allow([^DLLTOOL$])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST([OBJDUMP])
|
||||
m4trace:configure.ac:11: -1- AC_SUBST_TRACE([OBJDUMP])
|
||||
m4trace:configure.ac:11: -1- m4_pattern_allow([^OBJDUMP$])
|
||||
m4trace:configure.ac:11: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the `win32-dll' option into LT_INIT's first parameter.], [m4/ltoptions.m4:146: AC_LIBTOOL_WIN32_DLL is expanded from...
|
||||
configure.ac:11: the top level])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXX])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXX$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([ac_ct_CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([ac_ct_CXX])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^ac_ct_CXX$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXDEPMODE])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXDEPMODE$])
|
||||
m4trace:configure.ac:14: -1- AM_CONDITIONAL([am__fastdepCXX], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
|
||||
m4trace:configure.ac:14: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
|
||||
m4trace:configure.ac:14: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
|
||||
m4trace:configure.ac:14: -1- LT_SUPPORTED_TAG([CXX])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([CXXCPP])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^CXXCPP$])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST([LD])
|
||||
m4trace:configure.ac:14: -1- AC_SUBST_TRACE([LD])
|
||||
m4trace:configure.ac:14: -1- m4_pattern_allow([^LD$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LDFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LDFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([LIBS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([LIBS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^LIBS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CPPFLAGS])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CPPFLAGS$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([ac_ct_CC])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([ac_ct_CC])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^ac_ct_CC$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([CCDEPMODE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^CCDEPMODE$])
|
||||
m4trace:configure.ac:15: -1- AM_CONDITIONAL([am__fastdepCC], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:15: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:15: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
|
||||
m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
|
||||
m4trace:configure.ac:16: -1- AC_PROG_LIBTOOL
|
||||
m4trace:configure.ac:16: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
|
||||
You should run autoupdate.], [m4/libtool.m4:107: AC_PROG_LIBTOOL is expanded from...
|
||||
configure.ac:16: the top level])
|
||||
m4trace:configure.ac:16: -1- LT_INIT
|
||||
m4trace:configure.ac:39: -1- AM_CONDITIONAL([LINUX], [test x$linux = xtrue])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST([LINUX_TRUE])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST_TRACE([LINUX_TRUE])
|
||||
m4trace:configure.ac:39: -1- m4_pattern_allow([^LINUX_TRUE$])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST([LINUX_FALSE])
|
||||
m4trace:configure.ac:39: -1- AC_SUBST_TRACE([LINUX_FALSE])
|
||||
m4trace:configure.ac:39: -1- m4_pattern_allow([^LINUX_FALSE$])
|
||||
m4trace:configure.ac:39: -1- _AM_SUBST_NOTMAKE([LINUX_TRUE])
|
||||
m4trace:configure.ac:39: -1- _AM_SUBST_NOTMAKE([LINUX_FALSE])
|
||||
m4trace:configure.ac:40: -1- AM_CONDITIONAL([OSX], [test x$osx = xtrue])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST([OSX_TRUE])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST_TRACE([OSX_TRUE])
|
||||
m4trace:configure.ac:40: -1- m4_pattern_allow([^OSX_TRUE$])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST([OSX_FALSE])
|
||||
m4trace:configure.ac:40: -1- AC_SUBST_TRACE([OSX_FALSE])
|
||||
m4trace:configure.ac:40: -1- m4_pattern_allow([^OSX_FALSE$])
|
||||
m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([OSX_TRUE])
|
||||
m4trace:configure.ac:40: -1- _AM_SUBST_NOTMAKE([OSX_FALSE])
|
||||
m4trace:configure.ac:41: -1- AM_CONDITIONAL([WIN32], [test x$win32 = xtrue])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST([WIN32_TRUE])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST_TRACE([WIN32_TRUE])
|
||||
m4trace:configure.ac:41: -1- m4_pattern_allow([^WIN32_TRUE$])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST([WIN32_FALSE])
|
||||
m4trace:configure.ac:41: -1- AC_SUBST_TRACE([WIN32_FALSE])
|
||||
m4trace:configure.ac:41: -1- m4_pattern_allow([^WIN32_FALSE$])
|
||||
m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([WIN32_TRUE])
|
||||
m4trace:configure.ac:41: -1- _AM_SUBST_NOTMAKE([WIN32_FALSE])
|
||||
m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_LIBMSVCR], [/* Define to 1 if you have the `msvcr\' library (-lmsvcr). */
|
||||
@%:@undef HAVE_LIBMSVCR])
|
||||
m4trace:configure.ac:47: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBMSVCR])
|
||||
m4trace:configure.ac:47: -1- m4_pattern_allow([^HAVE_LIBMSVCR$])
|
||||
m4trace:configure.ac:53: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
|
||||
configure.ac:53: the top level])
|
||||
m4trace:configure.ac:60: -1- AC_SUBST([PCSCLITE_INCS])
|
||||
m4trace:configure.ac:60: -1- AC_SUBST_TRACE([PCSCLITE_INCS])
|
||||
m4trace:configure.ac:60: -1- m4_pattern_allow([^PCSCLITE_INCS$])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST([PCSCLITE_LIBS])
|
||||
m4trace:configure.ac:61: -1- AC_SUBST_TRACE([PCSCLITE_LIBS])
|
||||
m4trace:configure.ac:61: -1- m4_pattern_allow([^PCSCLITE_LIBS$])
|
||||
m4trace:configure.ac:65: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
@%:@undef HAVE_STDLIB_H])
|
||||
m4trace:configure.ac:65: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
|
||||
@%:@undef HAVE_STRING_H])
|
||||
m4trace:configure.ac:68: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
|
||||
m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE__BOOL$])
|
||||
m4trace:configure.ac:68: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
|
||||
@%:@undef HAVE__BOOL])
|
||||
m4trace:configure.ac:68: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
|
||||
m4trace:configure.ac:68: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
|
||||
@%:@undef HAVE_STDBOOL_H])
|
||||
m4trace:configure.ac:69: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
|
||||
calls it, or to nothing if \'inline\' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif])
|
||||
m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([int32_t])
|
||||
m4trace:configure.ac:70: -1- m4_pattern_allow([^int32_t$])
|
||||
m4trace:configure.ac:70: -1- AH_OUTPUT([int32_t], [/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
@%:@undef int32_t])
|
||||
m4trace:configure.ac:71: -1- AC_DEFINE_TRACE_LITERAL([size_t])
|
||||
m4trace:configure.ac:71: -1- m4_pattern_allow([^size_t$])
|
||||
m4trace:configure.ac:71: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
|
||||
@%:@undef size_t])
|
||||
m4trace:configure.ac:74: -1- AC_LIBSOURCE([error.h])
|
||||
m4trace:configure.ac:74: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:74: -1- AC_LIBSOURCE([error.c])
|
||||
m4trace:configure.ac:74: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS error.$ac_objext"])
|
||||
m4trace:configure.ac:74: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:74: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
|
||||
@%:@undef HAVE_MEMSET])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_MKDIR], [/* Define to 1 if you have the `mkdir\' function. */
|
||||
@%:@undef HAVE_MKDIR])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
|
||||
@%:@undef HAVE_STRSTR])
|
||||
m4trace:configure.ac:76: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
|
||||
@%:@undef HAVE_VASPRINTF])
|
||||
m4trace:configure.ac:78: -1- AC_CONFIG_FILES([Makefile])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^LIB@&t@OBJS$])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([LTLIBOBJS])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^LTLIBOBJS$])
|
||||
m4trace:configure.ac:79: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:79: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
|
||||
m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
|
||||
m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_build_prefix])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([top_srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_top_srcdir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([abs_top_builddir])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([INSTALL])
|
||||
m4trace:configure.ac:79: -1- AC_SUBST_TRACE([MKDIR_P])
|
||||
m4trace:configure.ac:79: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
|
0
eid-mw/_src/eidmw/cardlayer/beidcardlayer.rc → cardlayer/beidcardlayer.rc
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/beidcardlayer.rc → cardlayer/beidcardlayer.rc
Normal file → Executable file
1501
cardlayer/build-aux/config.guess
vendored
Executable file
1501
cardlayer/build-aux/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load diff
1705
cardlayer/build-aux/config.sub
vendored
Executable file
1705
cardlayer/build-aux/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load diff
630
cardlayer/build-aux/depcomp
Executable file
630
cardlayer/build-aux/depcomp
Executable file
|
@ -0,0 +1,630 @@
|
|||
#! /bin/sh
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
|
||||
scriptversion=2009-04-28.21; # UTC
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
|
||||
# Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
case $1 in
|
||||
'')
|
||||
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
|
||||
exit 1;
|
||||
;;
|
||||
-h | --h*)
|
||||
cat <<\EOF
|
||||
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
|
||||
|
||||
Run PROGRAMS ARGS to compile a file, generating dependencies
|
||||
as side-effects.
|
||||
|
||||
Environment variables:
|
||||
depmode Dependency tracking mode.
|
||||
source Source file read by `PROGRAMS ARGS'.
|
||||
object Object file output by `PROGRAMS ARGS'.
|
||||
DEPDIR directory where to store dependencies.
|
||||
depfile Dependency file to output.
|
||||
tmpdepfile Temporary file to use when outputing dependencies.
|
||||
libtool Whether libtool is used (yes/no).
|
||||
|
||||
Report bugs to <bug-automake@gnu.org>.
|
||||
EOF
|
||||
exit $?
|
||||
;;
|
||||
-v | --v*)
|
||||
echo "depcomp $scriptversion"
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
|
||||
depfile=${depfile-`echo "$object" |
|
||||
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
cygpath_u="cygpath -u -f -"
|
||||
if test "$depmode" = msvcmsys; then
|
||||
# This is just like msvisualcpp but w/o cygpath translation.
|
||||
# Just convert the backslash-escaped backslashes to single forward
|
||||
# slashes to satisfy depend.m4
|
||||
cygpath_u="sed s,\\\\\\\\,/,g"
|
||||
depmode=msvisualcpp
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||
## the command line argument order; so add the flags where they
|
||||
## appear in depend2.am. Note that the slowdown incurred here
|
||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||
*) set fnord "$@" "$arg" ;;
|
||||
esac
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
done
|
||||
"$@"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> "$depfile"
|
||||
echo >> "$depfile"
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. In older versions, this file always lives in the
|
||||
# current directory. Also, the AIX compiler puts `$object:' at the
|
||||
# start of each line; $object doesn't have directory information.
|
||||
# Version 6 uses the directory in both cases.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$base.u
|
||||
tmpdepfile3=$dir.libs/$base.u
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
tmpdepfile1=$dir$base.u
|
||||
tmpdepfile2=$dir$base.u
|
||||
tmpdepfile3=$dir$base.u
|
||||
"$@" -M
|
||||
fi
|
||||
stat=$?
|
||||
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
icc)
|
||||
# Intel's C compiler understands `-MD -MF file'. However on
|
||||
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
|
||||
# ICC 7.0 will fill foo.d with something like
|
||||
# foo.o: sub/foo.c
|
||||
# foo.o: sub/foo.h
|
||||
# which is wrong. We want:
|
||||
# sub/foo.o: sub/foo.c
|
||||
# sub/foo.o: sub/foo.h
|
||||
# sub/foo.c:
|
||||
# sub/foo.h:
|
||||
# ICC 7.1 will output
|
||||
# foo.o: sub/foo.c sub/foo.h
|
||||
# and will wrap long lines using \ :
|
||||
# foo.o: sub/foo.c ... \
|
||||
# sub/foo.h ... \
|
||||
# ...
|
||||
|
||||
"$@" -MD -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
# Each line is of the form `foo.o: dependent.h',
|
||||
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
# correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
|
||||
sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp2)
|
||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||
# compilers, which have integrated preprocessors. The correct option
|
||||
# to use with these is +Maked; it writes dependencies to a file named
|
||||
# 'foo.d', which lands next to the object file, wherever that
|
||||
# happens to be.
|
||||
# Much of this is similar to the tru64 case; see comments there.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir.libs/$base.d
|
||||
"$@" -Wc,+Maked
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
"$@" +Maked
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||
# Add `dependent.h:' lines.
|
||||
sed -ne '2,${
|
||||
s/^ *//
|
||||
s/ \\*$//
|
||||
s/$/:/
|
||||
p
|
||||
}' "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
|
||||
if test "$libtool" = yes; then
|
||||
# With Tru64 cc, shared objects can also be used to make a
|
||||
# static library. This mechanism is used in libtool 1.4 series to
|
||||
# handle both shared and static libraries in a single compilation.
|
||||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
||||
#
|
||||
# With libtool 1.5 this exception was removed, and libtool now
|
||||
# generates 2 separate objects for the 2 libraries. These two
|
||||
# compilations output dependencies in $dir.libs/$base.o.d and
|
||||
# in $dir$base.o.d. We have to check for both files, because
|
||||
# one of the two compilations can be disabled. We should prefer
|
||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||
# automatically cleaned when .libs/ is deleted, while ignoring
|
||||
# the former would cause a distcleancheck panic.
|
||||
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
|
||||
tmpdepfile2=$dir$base.o.d # libtool 1.5
|
||||
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
|
||||
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
tmpdepfile1=$dir$base.o.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
tmpdepfile3=$dir$base.d
|
||||
tmpdepfile4=$dir$base.d
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a tab and a space in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout, regardless of -o.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
# Require at least two characters before searching for `:'
|
||||
# in the target name. This is to cope with DOS-style filenames:
|
||||
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
|
||||
"$@" $dashmflag |
|
||||
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
"$@" || exit $?
|
||||
# Remove any Libtool call
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
# X makedepend
|
||||
shift
|
||||
cleared=no eat=no
|
||||
for arg
|
||||
do
|
||||
case $cleared in
|
||||
no)
|
||||
set ""; shift
|
||||
cleared=yes ;;
|
||||
esac
|
||||
if test $eat = yes; then
|
||||
eat=no
|
||||
continue
|
||||
fi
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
# Strip any option that makedepend may not understand. Remove
|
||||
# the object too, otherwise makedepend will parse it as a source file.
|
||||
-arch)
|
||||
eat=yes ;;
|
||||
-*|$object)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift ;;
|
||||
esac
|
||||
done
|
||||
obj_suffix=`echo "$object" | sed 's/^.*\././'`
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
# Remove `-o $object'.
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
"$@" -E |
|
||||
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
|
||||
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the preprocessed file to stdout.
|
||||
"$@" || exit $?
|
||||
|
||||
# Remove the call to Libtool.
|
||||
if test "$libtool" = yes; then
|
||||
while test "X$1" != 'X--mode=compile'; do
|
||||
shift
|
||||
done
|
||||
shift
|
||||
fi
|
||||
|
||||
IFS=" "
|
||||
for arg
|
||||
do
|
||||
case "$arg" in
|
||||
-o)
|
||||
shift
|
||||
;;
|
||||
$object)
|
||||
shift
|
||||
;;
|
||||
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||
set fnord "$@"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
"$@" -E 2>/dev/null |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvcmsys)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local Variables:
|
||||
# mode: shell-script
|
||||
# sh-indentation: 2
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
520
cardlayer/build-aux/install-sh
Executable file
520
cardlayer/build-aux/install-sh
Executable file
|
@ -0,0 +1,520 @@
|
|||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2009-04-28.21; # UTC
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
# following copyright and license.
|
||||
#
|
||||
# Copyright (C) 1994 X Consortium
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to
|
||||
# deal in the Software without restriction, including without limitation the
|
||||
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
# sell copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# Except as contained in this notice, the name of the X Consortium shall not
|
||||
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
# ings in this Software without prior written authorization from the X Consor-
|
||||
# tium.
|
||||
#
|
||||
#
|
||||
# FSF changes to this file are in the public domain.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch.
|
||||
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit=${DOITPROG-}
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
chgrpprog=${CHGRPPROG-chgrp}
|
||||
chmodprog=${CHMODPROG-chmod}
|
||||
chownprog=${CHOWNPROG-chown}
|
||||
cmpprog=${CMPPROG-cmp}
|
||||
cpprog=${CPPROG-cp}
|
||||
mkdirprog=${MKDIRPROG-mkdir}
|
||||
mvprog=${MVPROG-mv}
|
||||
rmprog=${RMPROG-rm}
|
||||
stripprog=${STRIPPROG-strip}
|
||||
|
||||
posix_glob='?'
|
||||
initialize_posix_glob='
|
||||
test "$posix_glob" != "?" || {
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=
|
||||
else
|
||||
posix_glob=:
|
||||
fi
|
||||
}
|
||||
'
|
||||
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chgrpcmd=
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
mvcmd=$mvprog
|
||||
rmcmd="$rmprog -f"
|
||||
stripcmd=
|
||||
|
||||
src=
|
||||
dst=
|
||||
dir_arg=
|
||||
dst_arg=
|
||||
|
||||
copy_on_change=false
|
||||
no_target_directory=
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
||||
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
||||
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
||||
or: $0 [OPTION]... -d DIRECTORIES...
|
||||
|
||||
In the 1st form, copy SRCFILE to DSTFILE.
|
||||
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
||||
In the 4th, create DIRECTORIES.
|
||||
|
||||
Options:
|
||||
--help display this help and exit.
|
||||
--version display version info and exit.
|
||||
|
||||
-c (ignored)
|
||||
-C install only if different (preserve the last data modification time)
|
||||
-d create directories instead of installing files.
|
||||
-g GROUP $chgrpprog installed files to GROUP.
|
||||
-m MODE $chmodprog installed files to MODE.
|
||||
-o USER $chownprog installed files to USER.
|
||||
-s $stripprog installed files.
|
||||
-t DIRECTORY install into DIRECTORY.
|
||||
-T report an error if DSTFILE is a directory.
|
||||
|
||||
Environment variables override the default commands:
|
||||
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
||||
RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) ;;
|
||||
|
||||
-C) copy_on_change=true;;
|
||||
|
||||
-d) dir_arg=true;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift;;
|
||||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) mode=$2
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
shift;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift;;
|
||||
|
||||
-s) stripcmd=$stripprog;;
|
||||
|
||||
-t) dst_arg=$2
|
||||
shift;;
|
||||
|
||||
-T) no_target_directory=true;;
|
||||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dst_arg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dst_arg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dst_arg=$arg
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
# It's OK to call `install-sh -d' without argument.
|
||||
# This can happen when creating conditional directories.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
case $src in
|
||||
-*) src=./$src;;
|
||||
esac
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
if test ! -f "$src" && test ! -d "$src"; then
|
||||
echo "$0: $src does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test -z "$dst_arg"; then
|
||||
echo "$0: no destination specified." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dst=$dst_arg
|
||||
# Protect names starting with `-'.
|
||||
case $dst in
|
||||
-*) dst=./$dst;;
|
||||
esac
|
||||
|
||||
# If destination is a directory, append the input filename; won't work
|
||||
# if double slashes aren't ignored.
|
||||
if test -d "$dst"; then
|
||||
if test -n "$no_target_directory"; then
|
||||
echo "$0: $dst_arg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writeable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix='/';;
|
||||
-*) prefix='./';;
|
||||
*) prefix='';;
|
||||
esac
|
||||
|
||||
eval "$initialize_posix_glob"
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
$posix_glob set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test -z "$d" && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
rmtmp=$dstdir/_rm.$$_
|
||||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
||||
#
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
||||
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
||||
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# If -C, don't bother to copy if it wouldn't change the file.
|
||||
if $copy_on_change &&
|
||||
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
||||
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
||||
|
||||
eval "$initialize_posix_glob" &&
|
||||
$posix_glob set -f &&
|
||||
set X $old && old=:$2:$4:$5:$6 &&
|
||||
set X $new && new=:$2:$4:$5:$6 &&
|
||||
$posix_glob set +f &&
|
||||
|
||||
test "$old" = "$new" &&
|
||||
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
||||
then
|
||||
rm -f "$dsttmp"
|
||||
else
|
||||
# Rename the file to the real destination.
|
||||
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
||||
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
# support -f.
|
||||
{
|
||||
# Now remove or move aside any old file at destination location.
|
||||
# We try this two ways since rm can't unlink itself on some
|
||||
# systems and the destination file might be busy for other
|
||||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
test ! -f "$dst" ||
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
||||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
||||
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
||||
} ||
|
||||
{ echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
fi || exit 1
|
||||
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
8753
cardlayer/build-aux/ltmain.sh
Executable file
8753
cardlayer/build-aux/ltmain.sh
Executable file
File diff suppressed because it is too large
Load diff
376
cardlayer/build-aux/missing
Executable file
376
cardlayer/build-aux/missing
Executable file
|
@ -0,0 +1,376 @@
|
|||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
|
||||
scriptversion=2009-04-28.21; # UTC
|
||||
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
|
||||
# 2008, 2009 Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run=:
|
||||
sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
|
||||
sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
msg="missing on your system"
|
||||
|
||||
case $1 in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
"$@" && exit 0
|
||||
# Exit code 63 means version mismatch. This often happens
|
||||
# when the user try to use an ancient version of a tool on
|
||||
# a file that requires a minimum version. In this case we
|
||||
# we should proceed has if the program had been absent, or
|
||||
# if --run hadn't been passed.
|
||||
if test $? = 63; then
|
||||
run=:
|
||||
msg="probably too old"
|
||||
fi
|
||||
;;
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
autom4te touch the output file, or create a stub one
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
|
||||
Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
|
||||
\`g' are ignored when checking the name.
|
||||
|
||||
Send bug reports to <bug-automake@gnu.org>."
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing $scriptversion (GNU Automake)"
|
||||
exit $?
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# normalize program name to check for.
|
||||
program=`echo "$1" | sed '
|
||||
s/^gnu-//; t
|
||||
s/^gnu//; t
|
||||
s/^g//; t'`
|
||||
|
||||
# Now exit if we have it, but it failed. Also exit now if we
|
||||
# don't have it and --version was passed (most likely to detect
|
||||
# the program). This is about non-GNU programs, so use $1 not
|
||||
# $program.
|
||||
case $1 in
|
||||
lex*|yacc*)
|
||||
# Not GNU programs, they don't have --version.
|
||||
;;
|
||||
|
||||
tar*)
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||
# We have it, but it failed.
|
||||
exit 1
|
||||
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
|
||||
# Could not run --version or --help. This is probably someone
|
||||
# running `$TOOL --version' or `$TOOL --help' to check whether
|
||||
# $TOOL exists and not knowing $TOOL uses missing.
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case $program in
|
||||
aclocal*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case $f in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
autom4te*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, but is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them.
|
||||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo "#! /bin/sh"
|
||||
echo "# Created by GNU Automake missing as a replacement of"
|
||||
echo "# $ $@"
|
||||
echo "exit 0"
|
||||
chmod +x $file
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
bison*|yacc*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' $msg. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f y.tab.h; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if test ! -f y.tab.c; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex*|flex*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case $LASTARG in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test ! -f lex.yy.c; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit $?
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
# The file to touch is that specified with -o ...
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -z "$file"; then
|
||||
# ... or it is the one specified with @setfilename ...
|
||||
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '
|
||||
/^@setfilename/{
|
||||
s/.* \([^ ]*\) *$/\1/
|
||||
p
|
||||
q
|
||||
}' $infile`
|
||||
# ... or it is derived from the source name (dir/f.texi becomes f.info)
|
||||
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
||||
fi
|
||||
# If the file does not exist, the user really needs makeinfo;
|
||||
# let's fail without touching anything.
|
||||
test -f $file || exit 1
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar*)
|
||||
shift
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar "$@" && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar "$@" && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case $firstarg in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case $firstarg in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and is $msg.
|
||||
You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequisites for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
# time-stamp-start: "scriptversion="
|
||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
||||
# time-stamp-time-zone: "UTC"
|
||||
# time-stamp-end: "; # UTC"
|
||||
# End:
|
0
eid-mw/_src/eidmw/cardlayer/cardlayer.pro → cardlayer/cardlayer.pro
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardlayer.pro → cardlayer/cardlayer.pro
Normal file → Executable file
97
cardlayer/config.h
Normal file
97
cardlayer/config.h
Normal file
|
@ -0,0 +1,97 @@
|
|||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#define HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `msvcr' library (-lmsvcr). */
|
||||
/* #undef HAVE_LIBMSVCR */
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#define HAVE_MEMSET 1
|
||||
|
||||
/* Define to 1 if you have the `mkdir' function. */
|
||||
#define HAVE_MKDIR 1
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#define HAVE_STDBOOL_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strstr' function. */
|
||||
#define HAVE_STRSTR 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
/* #undef HAVE_VASPRINTF */
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#define HAVE__BOOL 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#define LT_OBJDIR ".libs/"
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "libbeidcardlayer"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "servicedesk@fedict.be"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "libbeidcardlayer"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "libbeidcardlayer 0.0.1"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "libbeidcardlayer"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "0.0.1"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "0.0.1"
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
/* #undef int32_t */
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
96
cardlayer/config.h.in
Normal file
96
cardlayer/config.h.in
Normal file
|
@ -0,0 +1,96 @@
|
|||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `msvcr' library (-lmsvcr). */
|
||||
#undef HAVE_LIBMSVCR
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#undef HAVE_MEMSET
|
||||
|
||||
/* Define to 1 if you have the `mkdir' function. */
|
||||
#undef HAVE_MKDIR
|
||||
|
||||
/* Define to 1 if stdbool.h conforms to C99. */
|
||||
#undef HAVE_STDBOOL_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the `strstr' function. */
|
||||
#undef HAVE_STRSTR
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vasprintf' function. */
|
||||
#undef HAVE_VASPRINTF
|
||||
|
||||
/* Define to 1 if the system has the type `_Bool'. */
|
||||
#undef HAVE__BOOL
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#undef LT_OBJDIR
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#undef PACKAGE_URL
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#undef inline
|
||||
#endif
|
||||
|
||||
/* Define to the type of a signed integer type of width exactly 32 bits if
|
||||
such a type exists and the standard includes do not define it. */
|
||||
#undef int32_t
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#undef size_t
|
1536
cardlayer/config.log
Normal file
1536
cardlayer/config.log
Normal file
File diff suppressed because it is too large
Load diff
2311
cardlayer/config.status
Executable file
2311
cardlayer/config.status
Executable file
File diff suppressed because it is too large
Load diff
18461
cardlayer/configure
vendored
Executable file
18461
cardlayer/configure
vendored
Executable file
File diff suppressed because it is too large
Load diff
79
cardlayer/configure.ac
Normal file
79
cardlayer/configure.ac
Normal file
|
@ -0,0 +1,79 @@
|
|||
AC_PREREQ([2.65])
|
||||
AC_INIT([libbeidcardlayer], [0.0.1], [servicedesk@fedict.be])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AC_CONFIG_SRCDIR([src/cardlayer.h])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE
|
||||
AC_CANONICAL_HOST
|
||||
LT_INIT([win32-dll])
|
||||
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CC
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
linux="no"
|
||||
osx="no"
|
||||
win32="no"
|
||||
|
||||
echo ${host}
|
||||
|
||||
case "${host}" in
|
||||
|
||||
*-*-linux*)
|
||||
linux=true
|
||||
;;
|
||||
|
||||
*-*-darwin*)
|
||||
osx=true
|
||||
;;
|
||||
|
||||
*-mingw*|*-winnt*)
|
||||
win32=true
|
||||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL(LINUX,test x$linux = xtrue)
|
||||
AM_CONDITIONAL(OSX,test x$osx = xtrue)
|
||||
AM_CONDITIONAL(WIN32,test x$win32 = xtrue)
|
||||
|
||||
|
||||
########### libraries ##################
|
||||
# on Windows, check for msvcr
|
||||
if test "${win32}" = "yes"; then
|
||||
AC_CHECK_LIB([msvcr], [main])
|
||||
fi
|
||||
|
||||
# on GNU/Linux and OSX, enable --with-pcsclite
|
||||
if test "${win32}" = "no"; then
|
||||
AC_MSG_CHECKING([pcsc-lite installation])
|
||||
AC_ARG_WITH(pcsclite, AC_HELP_STRING([--with-pcsclite=DIR],
|
||||
[pcsc-lite install location]))
|
||||
PCSCLITE_INCS="-I$with_pcsclite/include/PCSC"
|
||||
PCSCLITE_LIBS="-L$with_pscslite/lib"
|
||||
AC_MSG_RESULT([$with_pcsclite])
|
||||
fi
|
||||
|
||||
AC_SUBST([PCSCLITE_INCS])
|
||||
AC_SUBST([PCSCLITE_LIBS])
|
||||
|
||||
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADERS([stdlib.h string.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_HEADER_STDBOOL
|
||||
AC_C_INLINE
|
||||
AC_TYPE_INT32_T
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
# Checks for library functions.
|
||||
AC_FUNC_ERROR_AT_LINE
|
||||
#AC_FUNC_MALLOC
|
||||
AC_CHECK_FUNCS([memset mkdir strstr vasprintf])
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
9439
cardlayer/libtool
Executable file
9439
cardlayer/libtool
Executable file
File diff suppressed because it is too large
Load diff
7437
cardlayer/m4/libtool.m4
vendored
Normal file
7437
cardlayer/m4/libtool.m4
vendored
Normal file
File diff suppressed because it is too large
Load diff
369
cardlayer/m4/ltoptions.m4
vendored
Normal file
369
cardlayer/m4/ltoptions.m4
vendored
Normal file
|
@ -0,0 +1,369 @@
|
|||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
#
|
||||
# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
|
||||
# Inc.
|
||||
# Written by Gary V. Vaughan, 2004
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 7 ltoptions.m4
|
||||
|
||||
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
|
||||
|
||||
|
||||
# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
|
||||
# ------------------------------------------
|
||||
m4_define([_LT_MANGLE_OPTION],
|
||||
[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
|
||||
# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
|
||||
# ---------------------------------------
|
||||
# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
|
||||
# matching handler defined, dispatch to it. Other OPTION-NAMEs are
|
||||
# saved as a flag.
|
||||
m4_define([_LT_SET_OPTION],
|
||||
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
|
||||
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
|
||||
_LT_MANGLE_DEFUN([$1], [$2]),
|
||||
[m4_warning([Unknown $1 option `$2'])])[]dnl
|
||||
])
|
||||
|
||||
|
||||
# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
|
||||
# ------------------------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
m4_define([_LT_IF_OPTION],
|
||||
[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
|
||||
|
||||
|
||||
# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
|
||||
# -------------------------------------------------------
|
||||
# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
|
||||
# are set.
|
||||
m4_define([_LT_UNLESS_OPTIONS],
|
||||
[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||
[m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
|
||||
[m4_define([$0_found])])])[]dnl
|
||||
m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
|
||||
])[]dnl
|
||||
])
|
||||
|
||||
|
||||
# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
|
||||
# ----------------------------------------
|
||||
# OPTION-LIST is a space-separated list of Libtool options associated
|
||||
# with MACRO-NAME. If any OPTION has a matching handler declared with
|
||||
# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
|
||||
# the unknown option and exit.
|
||||
m4_defun([_LT_SET_OPTIONS],
|
||||
[# Set options
|
||||
m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
|
||||
[_LT_SET_OPTION([$1], _LT_Option)])
|
||||
|
||||
m4_if([$1],[LT_INIT],[
|
||||
dnl
|
||||
dnl Simply set some default values (i.e off) if boolean options were not
|
||||
dnl specified:
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
|
||||
])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
|
||||
])
|
||||
dnl
|
||||
dnl If no reference was made to various pairs of opposing options, then
|
||||
dnl we run the default mode handler for the pair. For example, if neither
|
||||
dnl `shared' nor `disable-shared' was passed, we enable building of shared
|
||||
dnl archives by default:
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
|
||||
_LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
|
||||
[_LT_ENABLE_FAST_INSTALL])
|
||||
])
|
||||
])# _LT_SET_OPTIONS
|
||||
|
||||
|
||||
## --------------------------------- ##
|
||||
## Macros to handle LT_INIT options. ##
|
||||
## --------------------------------- ##
|
||||
|
||||
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
|
||||
# -----------------------------------------
|
||||
m4_define([_LT_MANGLE_DEFUN],
|
||||
[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
|
||||
|
||||
|
||||
# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
|
||||
# -----------------------------------------------
|
||||
m4_define([LT_OPTION_DEFINE],
|
||||
[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
|
||||
])# LT_OPTION_DEFINE
|
||||
|
||||
|
||||
# dlopen
|
||||
# ------
|
||||
LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
|
||||
])
|
||||
|
||||
AU_DEFUN([AC_LIBTOOL_DLOPEN],
|
||||
[_LT_SET_OPTION([LT_INIT], [dlopen])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the `dlopen' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
|
||||
|
||||
|
||||
# win32-dll
|
||||
# ---------
|
||||
# Declare package support for building win32 dll's.
|
||||
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
|
||||
[enable_win32_dll=yes
|
||||
|
||||
case $host in
|
||||
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
||||
AC_CHECK_TOOL(AS, as, false)
|
||||
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
||||
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||
;;
|
||||
esac
|
||||
|
||||
test -z "$AS" && AS=as
|
||||
_LT_DECL([], [AS], [1], [Assembler program])dnl
|
||||
|
||||
test -z "$DLLTOOL" && DLLTOOL=dlltool
|
||||
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
|
||||
|
||||
test -z "$OBJDUMP" && OBJDUMP=objdump
|
||||
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
|
||||
])# win32-dll
|
||||
|
||||
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
||||
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the `win32-dll' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
|
||||
|
||||
|
||||
# _LT_ENABLE_SHARED([DEFAULT])
|
||||
# ----------------------------
|
||||
# implement the --enable-shared flag, and supports the `shared' and
|
||||
# `disable-shared' LT_INIT options.
|
||||
# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
|
||||
m4_define([_LT_ENABLE_SHARED],
|
||||
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||
AC_ARG_ENABLE([shared],
|
||||
[AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
|
||||
[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_shared=yes ;;
|
||||
no) enable_shared=no ;;
|
||||
*)
|
||||
enable_shared=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
||||
for pkg in $enableval; do
|
||||
IFS="$lt_save_ifs"
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_shared=yes
|
||||
fi
|
||||
done
|
||||
IFS="$lt_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
[enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
|
||||
|
||||
_LT_DECL([build_libtool_libs], [enable_shared], [0],
|
||||
[Whether or not to build shared libraries])
|
||||
])# _LT_ENABLE_SHARED
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
|
||||
|
||||
# Old names:
|
||||
AC_DEFUN([AC_ENABLE_SHARED],
|
||||
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_DISABLE_SHARED],
|
||||
[_LT_SET_OPTION([LT_INIT], [disable-shared])
|
||||
])
|
||||
|
||||
AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
|
||||
AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AM_ENABLE_SHARED], [])
|
||||
dnl AC_DEFUN([AM_DISABLE_SHARED], [])
|
||||
|
||||
|
||||
|
||||
# _LT_ENABLE_STATIC([DEFAULT])
|
||||
# ----------------------------
|
||||
# implement the --enable-static flag, and support the `static' and
|
||||
# `disable-static' LT_INIT options.
|
||||
# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
|
||||
m4_define([_LT_ENABLE_STATIC],
|
||||
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||
AC_ARG_ENABLE([static],
|
||||
[AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
|
||||
[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_static=yes ;;
|
||||
no) enable_static=no ;;
|
||||
*)
|
||||
enable_static=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
||||
for pkg in $enableval; do
|
||||
IFS="$lt_save_ifs"
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_static=yes
|
||||
fi
|
||||
done
|
||||
IFS="$lt_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
[enable_static=]_LT_ENABLE_STATIC_DEFAULT)
|
||||
|
||||
_LT_DECL([build_old_libs], [enable_static], [0],
|
||||
[Whether or not to build static libraries])
|
||||
])# _LT_ENABLE_STATIC
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
|
||||
|
||||
# Old names:
|
||||
AC_DEFUN([AC_ENABLE_STATIC],
|
||||
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_DISABLE_STATIC],
|
||||
[_LT_SET_OPTION([LT_INIT], [disable-static])
|
||||
])
|
||||
|
||||
AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
|
||||
AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AM_ENABLE_STATIC], [])
|
||||
dnl AC_DEFUN([AM_DISABLE_STATIC], [])
|
||||
|
||||
|
||||
|
||||
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
|
||||
# ----------------------------------
|
||||
# implement the --enable-fast-install flag, and support the `fast-install'
|
||||
# and `disable-fast-install' LT_INIT options.
|
||||
# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
|
||||
m4_define([_LT_ENABLE_FAST_INSTALL],
|
||||
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||
AC_ARG_ENABLE([fast-install],
|
||||
[AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
|
||||
[optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
|
||||
[p=${PACKAGE-default}
|
||||
case $enableval in
|
||||
yes) enable_fast_install=yes ;;
|
||||
no) enable_fast_install=no ;;
|
||||
*)
|
||||
enable_fast_install=no
|
||||
# Look at the argument we got. We use all the common list separators.
|
||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
||||
for pkg in $enableval; do
|
||||
IFS="$lt_save_ifs"
|
||||
if test "X$pkg" = "X$p"; then
|
||||
enable_fast_install=yes
|
||||
fi
|
||||
done
|
||||
IFS="$lt_save_ifs"
|
||||
;;
|
||||
esac],
|
||||
[enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
|
||||
|
||||
_LT_DECL([fast_install], [enable_fast_install], [0],
|
||||
[Whether or not to optimize for fast installation])dnl
|
||||
])# _LT_ENABLE_FAST_INSTALL
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
|
||||
|
||||
# Old names:
|
||||
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
|
||||
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||
the `fast-install' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
|
||||
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||
the `disable-fast-install' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
|
||||
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
|
||||
|
||||
|
||||
# _LT_WITH_PIC([MODE])
|
||||
# --------------------
|
||||
# implement the --with-pic flag, and support the `pic-only' and `no-pic'
|
||||
# LT_INIT options.
|
||||
# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
|
||||
m4_define([_LT_WITH_PIC],
|
||||
[AC_ARG_WITH([pic],
|
||||
[AS_HELP_STRING([--with-pic],
|
||||
[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
|
||||
[pic_mode="$withval"],
|
||||
[pic_mode=default])
|
||||
|
||||
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
|
||||
|
||||
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
|
||||
])# _LT_WITH_PIC
|
||||
|
||||
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
|
||||
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
|
||||
|
||||
# Old name:
|
||||
AU_DEFUN([AC_LIBTOOL_PICMODE],
|
||||
[_LT_SET_OPTION([LT_INIT], [pic-only])
|
||||
AC_DIAGNOSE([obsolete],
|
||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||
put the `pic-only' option into LT_INIT's first parameter.])
|
||||
])
|
||||
|
||||
dnl aclocal-1.4 backwards compatibility:
|
||||
dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
|
||||
|
||||
## ----------------- ##
|
||||
## LTDL_INIT Options ##
|
||||
## ----------------- ##
|
||||
|
||||
m4_define([_LTDL_MODE], [])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
|
||||
[m4_define([_LTDL_MODE], [nonrecursive])])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [recursive],
|
||||
[m4_define([_LTDL_MODE], [recursive])])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [subproject],
|
||||
[m4_define([_LTDL_MODE], [subproject])])
|
||||
|
||||
m4_define([_LTDL_TYPE], [])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [installable],
|
||||
[m4_define([_LTDL_TYPE], [installable])])
|
||||
LT_OPTION_DEFINE([LTDL_INIT], [convenience],
|
||||
[m4_define([_LTDL_TYPE], [convenience])])
|
123
cardlayer/m4/ltsugar.m4
vendored
Normal file
123
cardlayer/m4/ltsugar.m4
vendored
Normal file
|
@ -0,0 +1,123 @@
|
|||
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
||||
#
|
||||
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
|
||||
# Written by Gary V. Vaughan, 2004
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 6 ltsugar.m4
|
||||
|
||||
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
|
||||
|
||||
|
||||
# lt_join(SEP, ARG1, [ARG2...])
|
||||
# -----------------------------
|
||||
# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
|
||||
# associated separator.
|
||||
# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
|
||||
# versions in m4sugar had bugs.
|
||||
m4_define([lt_join],
|
||||
[m4_if([$#], [1], [],
|
||||
[$#], [2], [[$2]],
|
||||
[m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
|
||||
m4_define([_lt_join],
|
||||
[m4_if([$#$2], [2], [],
|
||||
[m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
|
||||
|
||||
|
||||
# lt_car(LIST)
|
||||
# lt_cdr(LIST)
|
||||
# ------------
|
||||
# Manipulate m4 lists.
|
||||
# These macros are necessary as long as will still need to support
|
||||
# Autoconf-2.59 which quotes differently.
|
||||
m4_define([lt_car], [[$1]])
|
||||
m4_define([lt_cdr],
|
||||
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
|
||||
[$#], 1, [],
|
||||
[m4_dquote(m4_shift($@))])])
|
||||
m4_define([lt_unquote], $1)
|
||||
|
||||
|
||||
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
|
||||
# ------------------------------------------
|
||||
# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
|
||||
# Note that neither SEPARATOR nor STRING are expanded; they are appended
|
||||
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
|
||||
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
|
||||
# than defined and empty).
|
||||
#
|
||||
# This macro is needed until we can rely on Autoconf 2.62, since earlier
|
||||
# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
|
||||
m4_define([lt_append],
|
||||
[m4_define([$1],
|
||||
m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
|
||||
|
||||
|
||||
|
||||
# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
|
||||
# ----------------------------------------------------------
|
||||
# Produce a SEP delimited list of all paired combinations of elements of
|
||||
# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list
|
||||
# has the form PREFIXmINFIXSUFFIXn.
|
||||
# Needed until we can rely on m4_combine added in Autoconf 2.62.
|
||||
m4_define([lt_combine],
|
||||
[m4_if(m4_eval([$# > 3]), [1],
|
||||
[m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
|
||||
[[m4_foreach([_Lt_prefix], [$2],
|
||||
[m4_foreach([_Lt_suffix],
|
||||
]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
|
||||
[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
|
||||
|
||||
|
||||
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
|
||||
# -----------------------------------------------------------------------
|
||||
# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
|
||||
# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
|
||||
m4_define([lt_if_append_uniq],
|
||||
[m4_ifdef([$1],
|
||||
[m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
|
||||
[lt_append([$1], [$2], [$3])$4],
|
||||
[$5])],
|
||||
[lt_append([$1], [$2], [$3])$4])])
|
||||
|
||||
|
||||
# lt_dict_add(DICT, KEY, VALUE)
|
||||
# -----------------------------
|
||||
m4_define([lt_dict_add],
|
||||
[m4_define([$1($2)], [$3])])
|
||||
|
||||
|
||||
# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
|
||||
# --------------------------------------------
|
||||
m4_define([lt_dict_add_subkey],
|
||||
[m4_define([$1($2:$3)], [$4])])
|
||||
|
||||
|
||||
# lt_dict_fetch(DICT, KEY, [SUBKEY])
|
||||
# ----------------------------------
|
||||
m4_define([lt_dict_fetch],
|
||||
[m4_ifval([$3],
|
||||
m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
|
||||
m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
|
||||
|
||||
|
||||
# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
|
||||
# -----------------------------------------------------------------
|
||||
m4_define([lt_if_dict_fetch],
|
||||
[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
|
||||
[$5],
|
||||
[$6])])
|
||||
|
||||
|
||||
# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
|
||||
# --------------------------------------------------------------
|
||||
m4_define([lt_dict_filter],
|
||||
[m4_if([$5], [], [],
|
||||
[lt_join(m4_quote(m4_default([$4], [[, ]])),
|
||||
lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
|
||||
[lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
|
||||
])
|
23
cardlayer/m4/ltversion.m4
vendored
Normal file
23
cardlayer/m4/ltversion.m4
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
||||
#
|
||||
# Copyright (C) 2004 Free Software Foundation, Inc.
|
||||
# Written by Scott James Remnant, 2004
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# Generated from ltversion.in.
|
||||
|
||||
# serial 3168 ltversion.m4
|
||||
# This file is part of GNU Libtool
|
||||
|
||||
m4_define([LT_PACKAGE_VERSION], [2.2.7c])
|
||||
m4_define([LT_PACKAGE_REVISION], [1.3168])
|
||||
|
||||
AC_DEFUN([LTVERSION_VERSION],
|
||||
[macro_version='2.2.7c'
|
||||
macro_revision='1.3168'
|
||||
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
||||
_LT_DECL(, macro_revision, 0)
|
||||
])
|
98
cardlayer/m4/lt~obsolete.m4
vendored
Normal file
98
cardlayer/m4/lt~obsolete.m4
vendored
Normal file
|
@ -0,0 +1,98 @@
|
|||
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
||||
#
|
||||
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
|
||||
# Written by Scott James Remnant, 2004.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 5 lt~obsolete.m4
|
||||
|
||||
# These exist entirely to fool aclocal when bootstrapping libtool.
|
||||
#
|
||||
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
|
||||
# which have later been changed to m4_define as they aren't part of the
|
||||
# exported API, or moved to Autoconf or Automake where they belong.
|
||||
#
|
||||
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN
|
||||
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
|
||||
# using a macro with the same name in our local m4/libtool.m4 it'll
|
||||
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
|
||||
# and doesn't know about Autoconf macros at all.)
|
||||
#
|
||||
# So we provide this file, which has a silly filename so it's always
|
||||
# included after everything else. This provides aclocal with the
|
||||
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
||||
# because those macros already exist, or will be overwritten later.
|
||||
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
|
||||
#
|
||||
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
|
||||
# Yes, that means every name once taken will need to remain here until
|
||||
# we give up compatibility with versions before 1.7, at which point
|
||||
# we need to keep only those names which we still refer to.
|
||||
|
||||
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
|
||||
|
||||
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
|
||||
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])])
|
||||
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
|
||||
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])])
|
||||
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
|
||||
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])])
|
||||
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])])
|
||||
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
|
||||
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])])
|
||||
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])])
|
||||
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
|
||||
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
|
||||
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
|
||||
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
|
||||
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])])
|
||||
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])])
|
||||
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
|
||||
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
|
||||
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
|
||||
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
|
||||
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])])
|
||||
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])])
|
||||
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])])
|
||||
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
|
||||
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
|
||||
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])])
|
||||
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])])
|
||||
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
|
||||
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
|
||||
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])])
|
||||
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
|
||||
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
|
||||
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
|
||||
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
|
||||
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
|
||||
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
|
||||
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
|
||||
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
|
||||
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
|
||||
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
|
||||
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
|
||||
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
|
||||
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
|
||||
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
|
283
cardlayer/old/pinpadliboldbeid.cpp
Executable file
283
cardlayer/old/pinpadliboldbeid.cpp
Executable file
|
@ -0,0 +1,283 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "pinpadliboldbeid.h"
|
||||
#include "../cardlayerconst.h"
|
||||
#include "../common/src/mwexception.h"
|
||||
#include "../common/src/eiderrors.h"
|
||||
#include "../common/src/util.h"
|
||||
|
||||
using namespace eIDMW;
|
||||
|
||||
static char *tcsLangs[4] = {"nl", "fr", "de", "en"};
|
||||
|
||||
static char *tcsUsageSig[4] = {
|
||||
"Signature",
|
||||
"Handtekening",
|
||||
"Signature",
|
||||
"Unterschrift"
|
||||
};
|
||||
|
||||
static char *tcsUsageAuth[4] = {
|
||||
"Authentication",
|
||||
"Authentificatie",
|
||||
"Authentification",
|
||||
"Authentifizierung"
|
||||
};
|
||||
|
||||
static unsigned char aid_belpic[] = {0xA0, 0x00, 0x00, 0x01, 0x77, 0x50, 0x4B, 0x43, 0x53, 0x2D, 0x31, 0x35};
|
||||
|
||||
static SCR_Application xApp = {
|
||||
{aid_belpic, sizeof(aid_belpic)},
|
||||
"ID",
|
||||
NULL
|
||||
};
|
||||
|
||||
static int LangToId(unsigned long ulLanguage)
|
||||
{
|
||||
switch(ulLanguage)
|
||||
{
|
||||
case 0x0813: return 1;
|
||||
case 0x080c: return 2;
|
||||
case 0x0407: return 3;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
CPinpadLibOldBeid::CPinpadLibOldBeid()
|
||||
{
|
||||
m_pVerifyPin = NULL;
|
||||
m_pChangePin = NULL;
|
||||
m_iLangIdx = 0;
|
||||
}
|
||||
|
||||
CPinpadLibOldBeid::~CPinpadLibOldBeid()
|
||||
{
|
||||
}
|
||||
|
||||
bool CPinpadLibOldBeid::Load(unsigned long hContext, unsigned long hCard,
|
||||
const std::string & strReader, const std::string & strPinpadPrefix,
|
||||
unsigned long ulLanguage)
|
||||
{
|
||||
bool bPinpadLibFound = false;
|
||||
char csSystemDir[_MAX_PATH];
|
||||
GetSystemDirectoryA(csSystemDir, sizeof(csSystemDir) - 50);
|
||||
|
||||
// E.g. "C:\WINDOWS\System32\beidpp\" or "/usr/local/lib/pteidpp/"
|
||||
std::string csPinpadDir = csSystemDir + std::string("\\") +
|
||||
strPinpadPrefix + "\\";
|
||||
|
||||
const char *csReader = strReader.c_str();
|
||||
const char *csPinpadPrefix = strPinpadPrefix.c_str();
|
||||
|
||||
std::string strSearchFor = csPinpadDir + "*.dll";
|
||||
const char *csSearchFor = strSearchFor.c_str();
|
||||
|
||||
// Search for files in csPinpadDir that are candidate pinpad lib,
|
||||
// load them and ask them if they support this reader + pinpad lib version
|
||||
struct _finddata_t c_file;
|
||||
intptr_t hFile = _findfirst(csSearchFor, &c_file);
|
||||
if (hFile != -1)
|
||||
{
|
||||
int iFindRes;
|
||||
do
|
||||
{
|
||||
// Old pinpad lib are not assumed to start with "beidpp"
|
||||
if (!StartsWithCI(c_file.name, csPinpadPrefix))
|
||||
{
|
||||
bPinpadLibFound = CheckLib(csPinpadDir, c_file.name,
|
||||
ulLanguage, hContext, hCard, csReader);
|
||||
if (bPinpadLibFound)
|
||||
break; // OK: a good pinpad lib was found and loaded
|
||||
}
|
||||
|
||||
iFindRes = _findnext(hFile, &c_file);
|
||||
}
|
||||
while (iFindRes == 0);
|
||||
|
||||
_findclose(hFile);
|
||||
}
|
||||
|
||||
if (!bPinpadLibFound)
|
||||
{
|
||||
// Try the old locations (in the system dir)
|
||||
|
||||
// Append a \ to the system dir name
|
||||
size_t len = strlen(csSystemDir);
|
||||
csSystemDir[len++] = '\\';
|
||||
csSystemDir[len] = '\0';
|
||||
|
||||
if (StartsWith(csReader, "Xiring X"))
|
||||
{
|
||||
bPinpadLibFound = CheckLib(csSystemDir, "xireid.dll",
|
||||
ulLanguage, hContext, hCard, csReader);
|
||||
}
|
||||
else if (StartsWith(csReader, "Cherry "))
|
||||
{
|
||||
bPinpadLibFound = CheckLib(csSystemDir, "ch44xxeid.dll",
|
||||
ulLanguage, hContext, hCard, csReader);
|
||||
}
|
||||
else if (StartsWith(csReader, "SCM Microsystems Inc. SPRx32 USB Smart Card Reader"))
|
||||
{
|
||||
bPinpadLibFound = CheckLib(csSystemDir, "sprx32eid.dll",
|
||||
ulLanguage, hContext, hCard, csReader);
|
||||
}
|
||||
}
|
||||
|
||||
if (bPinpadLibFound)
|
||||
m_iLangIdx = LangToId(ulLanguage);
|
||||
|
||||
return bPinpadLibFound;
|
||||
}
|
||||
|
||||
void CPinpadLibOldBeid::UnLoad()
|
||||
{
|
||||
m_oPinpadLib.Close();
|
||||
}
|
||||
|
||||
static unsigned char tucErrTimeout[] = {0x64, 0x00};
|
||||
static unsigned char tucErrCancel[] = {0x64, 0x01};
|
||||
static unsigned char tucErrPinsDiffer[] = {0x64, 0x02};
|
||||
static unsigned char tucErrGeneral[] = {0x6B, 0x80};
|
||||
|
||||
CByteArray CPinpadLibOldBeid::PinCmd(unsigned long hCard, unsigned long ulControl,
|
||||
CByteArray oCmd, unsigned char ucPintype, unsigned char ucOperation)
|
||||
{
|
||||
if (ulControl == CCID_IOCTL_GET_FEATURE_REQUEST)
|
||||
{
|
||||
unsigned char tucFeatures[] = {0x06, 0x04, 0x00, 0x31, 0x32, 0x33, 0x07, 0x04, 0x00 ,0x31, 0x32, 0x33};
|
||||
return CByteArray(tucFeatures, sizeof(tucFeatures));
|
||||
}
|
||||
|
||||
SCR_Card xCard = {
|
||||
hCard,
|
||||
tcsLangs[m_iLangIdx],
|
||||
{NULL, 0},
|
||||
NULL
|
||||
};
|
||||
unsigned char tucStatus[2];
|
||||
long lRet = SCARD_F_INTERNAL_ERROR;
|
||||
|
||||
if (ucOperation == EIDMW_PP_OP_VERIFY)
|
||||
{
|
||||
char* sig=strdup("SIG"); // FIXME memory leak
|
||||
char* aut=strdup("AUT");
|
||||
|
||||
SCR_PinUsage xPinUsage = {
|
||||
ucPintype == EIDMW_PP_TYPE_SIGN ? SCR_USAGE_SIGN: SCR_USAGE_AUTH,
|
||||
ucPintype == EIDMW_PP_TYPE_SIGN ? sig : aut,
|
||||
ucPintype == EIDMW_PP_TYPE_SIGN ? tcsUsageSig[m_iLangIdx] : tcsUsageAuth[m_iLangIdx]
|
||||
};
|
||||
|
||||
lRet = m_pVerifyPin(&xCard, oCmd.GetByte(22), &xPinUsage, &xApp, tucStatus);
|
||||
}
|
||||
else if (ucOperation == EIDMW_PP_OP_CHANGE)
|
||||
{
|
||||
lRet = m_pChangePin(&xCard, oCmd.GetByte(27), &xApp, tucStatus);
|
||||
}
|
||||
else
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PIN_OPERATION);
|
||||
|
||||
CByteArray oResp(2);
|
||||
switch(lRet)
|
||||
{
|
||||
case SCARD_S_SUCCESS:
|
||||
if (tucStatus[0] == 0xEC && tucStatus[1] == 0xD2)
|
||||
oResp.Append(tucErrTimeout, sizeof(tucErrTimeout));
|
||||
else if (tucStatus[0] == 0xEC && tucStatus[1] == 0xD6)
|
||||
oResp.Append(tucErrCancel, sizeof(tucErrCancel));
|
||||
else
|
||||
oResp.Append(tucStatus, 2);
|
||||
break;
|
||||
case SCARD_E_CANCELLED:
|
||||
oResp.Append(tucErrCancel, sizeof(tucErrCancel));
|
||||
break;
|
||||
case SCARD_W_REMOVED_CARD:
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NO_CARD);
|
||||
break;
|
||||
case SCR_I_PIN_CHECK_FAILED:
|
||||
oResp.Append(tucErrPinsDiffer, sizeof(tucErrPinsDiffer));
|
||||
break;
|
||||
default:
|
||||
oResp.Append(tucErrGeneral, sizeof(tucErrGeneral));
|
||||
}
|
||||
|
||||
return oResp;
|
||||
}
|
||||
|
||||
bool CPinpadLibOldBeid::UseOldLib()
|
||||
{
|
||||
return m_pVerifyPin != NULL && m_pChangePin != NULL;
|
||||
}
|
||||
|
||||
bool CPinpadLibOldBeid::CheckLib(
|
||||
const std::string & csPinpadDir, const char *csFileName,
|
||||
unsigned long ulLanguage, unsigned long hContext,
|
||||
unsigned long hCard, const char *csReader)
|
||||
{
|
||||
bool bRet = false;
|
||||
|
||||
// This is no pinpad DLL (it doesn't hurt to try it out, but it's faster not to)
|
||||
if (StartsWithCI(csFileName, "belpicppgui"))
|
||||
return false;
|
||||
|
||||
// Some known reader/lib pairs:
|
||||
if (StartsWithCI(csFileName, "xireid") && !StartsWith(csReader, "Xiring X"))
|
||||
return false;
|
||||
if (StartsWithCI(csFileName, "ch44xxeid") && !StartsWith(csReader, "Cherry "))
|
||||
return false;
|
||||
if (StartsWithCI(csFileName, "sprx32eid") && !StartsWith(csReader, "SCM Microsystems Inc. SPRx32 USB Smart Card Reader"))
|
||||
return false;
|
||||
|
||||
BEID_OLD_PP_INIT pInit = NULL;
|
||||
BEID_OLD_VERIFY_PIN pVerifyPin = NULL;
|
||||
BEID_OLD_CHANGE_PIN pChangePin = NULL;
|
||||
|
||||
// Load the pinpad lib
|
||||
unsigned long ulRes = m_oPinpadLib.Open(csPinpadDir + csFileName);
|
||||
if (ulRes == EIDMW_OK)
|
||||
{
|
||||
// Get the 3 functions
|
||||
pInit = (BEID_OLD_PP_INIT) m_oPinpadLib.GetAddress("SCR_Init");
|
||||
pVerifyPin = (BEID_OLD_VERIFY_PIN) m_oPinpadLib.GetAddress("SCR_VerifyPIN");
|
||||
pChangePin = (BEID_OLD_CHANGE_PIN) m_oPinpadLib.GetAddress("SCR_ChangePIN");
|
||||
|
||||
if (pInit == NULL || pVerifyPin == NULL || pChangePin == NULL)
|
||||
m_oPinpadLib.Close();
|
||||
else
|
||||
{
|
||||
SCR_SupportConstants supported;
|
||||
long lRet = pInit(csReader, 1, &supported);
|
||||
if (lRet == SCARD_S_SUCCESS && supported == SCR_SUPPORT_OK)
|
||||
bRet = true; // OK, the pinpad lib supports this reader
|
||||
else
|
||||
m_oPinpadLib.Close();
|
||||
}
|
||||
}
|
||||
|
||||
if (bRet)
|
||||
{
|
||||
m_pVerifyPin = pVerifyPin;
|
||||
m_pChangePin = pChangePin;
|
||||
}
|
||||
|
||||
return bRet;
|
||||
}
|
79
cardlayer/old/pinpadliboldbeid.h
Executable file
79
cardlayer/old/pinpadliboldbeid.h
Executable file
|
@ -0,0 +1,79 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/**
|
||||
* Class that takes care of the older BE eID pinpad libs
|
||||
* (xipass, cashmouse, ..).
|
||||
* This class is needed on Windows only becuase the old
|
||||
* pinpad libs were only for Windows.
|
||||
*/
|
||||
#ifndef __PINPADLIBOLDBEID_H__
|
||||
#define __PINPADLIBOLDBEID_H__
|
||||
|
||||
#include "../common/src/export.h"
|
||||
#include "../common/src/dynamiclib.h"
|
||||
#include "../common/src/bytearray.h"
|
||||
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
#include "scr.h"
|
||||
#include "../pinpad2.h"
|
||||
|
||||
typedef long (*BEID_OLD_PP_INIT)(const char *szReader, DWORD version, SCR_SupportConstants *supported);
|
||||
typedef long (*BEID_OLD_VERIFY_PIN)(const SCR_Card*, BYTE pinID, const SCR_PinUsage*, const SCR_Application*, BYTE *cardStatus);
|
||||
typedef long (*BEID_OLD_CHANGE_PIN)(const SCR_Card*, BYTE pinID, const SCR_Application*, BYTE *cardStatus);
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
#ifdef EIDMW_PF_EXPORT
|
||||
class CPinpadLibOldBeid
|
||||
#else
|
||||
class EIDMW_CAL_API CPinpadLibOldBeid
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
CPinpadLibOldBeid();
|
||||
~CPinpadLibOldBeid();
|
||||
|
||||
bool Load(unsigned long hContext, unsigned long hCard,
|
||||
const std::string & csReader, const std::string & csPinpadPrefix,
|
||||
unsigned long ulLanguage);
|
||||
|
||||
void UnLoad();
|
||||
|
||||
CByteArray PinCmd(unsigned long hCard, unsigned long ulControl,
|
||||
CByteArray oCmd, unsigned char ucPintype, unsigned char ucOperation);
|
||||
|
||||
bool UseOldLib();
|
||||
|
||||
private:
|
||||
bool CheckLib(const std::string & csPinpadDir, const char *csFileName,
|
||||
unsigned long ulLanguage, unsigned long hContext,
|
||||
unsigned long hCard, const char *csReader);
|
||||
|
||||
CDynamicLib m_oPinpadLib;
|
||||
int m_iLangIdx;
|
||||
|
||||
BEID_OLD_VERIFY_PIN m_pVerifyPin;
|
||||
BEID_OLD_CHANGE_PIN m_pChangePin;};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
95
cardlayer/old/scr.h
Executable file
95
cardlayer/old/scr.h
Executable file
|
@ -0,0 +1,95 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
|
||||
/* public API => only public header file */
|
||||
|
||||
#ifndef SCR_H
|
||||
#define SCR_H
|
||||
|
||||
#ifdef SCR_EXPORTS
|
||||
#define SCR_API __declspec(dllexport)
|
||||
#else
|
||||
#define SCR_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#include <winscard.h>
|
||||
|
||||
typedef enum {
|
||||
SCR_USAGE_AUTH = 1L,
|
||||
SCR_USAGE_SIGN = 2L,
|
||||
SCR_USAGE_DECR = 4L,
|
||||
SCR_USAGE_PREF_MODIF = 8L,
|
||||
SCR_USAGE_ADMIN = 16L
|
||||
} SCR_PinUsageConstants;
|
||||
|
||||
typedef enum {
|
||||
SCR_SUPPORT_OK = 0L,
|
||||
SCR_SUPPORT_INCOMPATIBLE_CALLING_VERSION = 1L,
|
||||
SCR_SUPPORT_INCOMPATIBLE_FIRMWARE = 2L,
|
||||
SCR_SUPPORT_INCOMPATIBLE_FIRMWARE_VERSION = 3L,
|
||||
} SCR_SupportConstants;
|
||||
|
||||
typedef struct {
|
||||
BYTE *data;
|
||||
DWORD length;
|
||||
} SCR_Bytes;
|
||||
|
||||
typedef struct {
|
||||
SCARDHANDLE hCard;
|
||||
char *language;
|
||||
SCR_Bytes id;
|
||||
void *pinFormat; /* reserved for future use */
|
||||
} SCR_Card;
|
||||
|
||||
typedef struct {
|
||||
SCR_Bytes id;
|
||||
char *shortString;
|
||||
char *longString;
|
||||
} SCR_Application;
|
||||
|
||||
typedef struct {
|
||||
SCR_PinUsageConstants code;
|
||||
char *shortString;
|
||||
char *longString;
|
||||
} SCR_PinUsage;
|
||||
|
||||
#define SCR_I_PIN_CHECK_FAILED 0x60100E02L
|
||||
#define SCR_E_UNINITIALIZED 0xE0100E01L
|
||||
|
||||
SCR_API LONG SCR_Init(const char *szReader, DWORD version, SCR_SupportConstants *supported);
|
||||
SCR_API LONG SCR_VerifyPIN(const SCR_Card*, BYTE pinID, const SCR_PinUsage*, const SCR_Application*, BYTE *cardStatus);
|
||||
SCR_API LONG SCR_ChangePIN(const SCR_Card*, BYTE pinID, const SCR_Application*, BYTE *cardStatus);
|
||||
|
||||
/* if really emulating pinpad reader */
|
||||
/* fixme: use #ifdef */
|
||||
|
||||
SCR_API LONG SCR_SendAPDU(const char *buf, SCARDHANDLE hCard);
|
||||
/* for CSC */
|
||||
SCR_API LONG SCR_SCardTransmit(
|
||||
SCARDHANDLE hCard,
|
||||
LPCSCARD_IO_REQUEST pioSendPci,
|
||||
LPCBYTE pbSendBuffer,
|
||||
DWORD cbSendLength,
|
||||
LPSCARD_IO_REQUEST pioRecvPci,
|
||||
LPBYTE pbRecvBuffer,
|
||||
LPDWORD pcbRecvLength
|
||||
);
|
||||
|
||||
#endif
|
464
cardlayer/src/cache.cpp
Executable file
464
cardlayer/src/cache.cpp
Executable file
|
@ -0,0 +1,464 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "cache.h"
|
||||
#include "../common/src/util.h"
|
||||
#include "../common/src/configuration.h"
|
||||
#include "../common/src/mw_util.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
#ifdef WIN32
|
||||
CHAR test;
|
||||
#endif
|
||||
#define MAX_CACHE_SIZE 65000
|
||||
|
||||
///////////////// Header for the cache files on Disk /////////////////////
|
||||
|
||||
#define HEADER_VERSION 0x10
|
||||
#pragma pack(push, tCacheHeader, 1)
|
||||
typedef struct {
|
||||
unsigned char version; /* currently 0x10 */
|
||||
unsigned char crc[4]; /* checksum over the contents */
|
||||
unsigned char rfu[13]; /* set to 0 for this version */
|
||||
} tCacheHeader;
|
||||
#pragma pack(pop, tCacheHeader)
|
||||
static void MakeHeader(tCacheHeader *header, const CByteArray oData);
|
||||
static bool CheckHeader(const unsigned char *pucData, unsigned long ulDataLen);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
CCache::CCache(CContext *poContext) :
|
||||
m_poContext(poContext)
|
||||
{
|
||||
m_pucTemp = (unsigned char *) malloc(MAX_CACHE_SIZE);
|
||||
}
|
||||
|
||||
CCache::~CCache(void)
|
||||
{
|
||||
if (m_pucTemp)
|
||||
free(m_pucTemp);
|
||||
m_MemCache.clear();
|
||||
}
|
||||
|
||||
std::string CCache::GetSimpleName(const std::string & csSerialNr, const std::string & csPath)
|
||||
{
|
||||
return csSerialNr + "_" + csPath + ".kch";
|
||||
}
|
||||
|
||||
CByteArray CCache::GetFile(const std::string & csName,
|
||||
bool &bFileFound, bool &bFromDisk,
|
||||
unsigned long ulOffset, unsigned long ulMaxLen)
|
||||
{
|
||||
CByteArray oData = MemGetFile(csName);
|
||||
|
||||
// If not present in Memory, then try to get it from Disk
|
||||
if (oData.Size() == 0)
|
||||
{
|
||||
oData = DiskGetFile(csName);
|
||||
if (oData.Size() != 0)
|
||||
{
|
||||
if (bFromDisk)
|
||||
MemStoreFile(csName, oData); // Found on disk -> store to Memory
|
||||
bFromDisk = true;
|
||||
}
|
||||
else
|
||||
bFromDisk = false;
|
||||
}
|
||||
else
|
||||
bFromDisk = false;
|
||||
|
||||
bFileFound = oData.Size() != 0;
|
||||
|
||||
if (!bFileFound || (ulOffset == 0 && ulMaxLen == FULL_FILE))
|
||||
return oData;
|
||||
else
|
||||
{
|
||||
if (ulOffset > oData.Size())
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PARAM_RANGE);
|
||||
if (ulMaxLen > ulOffset + oData.Size())
|
||||
ulMaxLen = oData.Size() - ulOffset;
|
||||
return CByteArray(oData.GetBytes() + ulOffset, ulMaxLen);
|
||||
}
|
||||
}
|
||||
|
||||
void CCache::StoreFile(const std::string & csName,
|
||||
const CByteArray &oData, bool bIsFullFile)
|
||||
{
|
||||
// Currently we only store complete files
|
||||
if (bIsFullFile)
|
||||
{
|
||||
MemStoreFile(csName, oData);
|
||||
DiskStoreFile(csName, oData);
|
||||
}
|
||||
}
|
||||
|
||||
void CCache::StoreFileToMem(const std::string & csName,
|
||||
const CByteArray &oData, bool bIsFullFile)
|
||||
{
|
||||
tCacheMap::iterator it = m_MemCache.begin();
|
||||
for ( ; it != m_MemCache.end(); it++)
|
||||
{
|
||||
if (it->first == csName)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (it == m_MemCache.end())
|
||||
MemStoreFile(csName, oData);
|
||||
}
|
||||
|
||||
////////////////////////// Memory ////////////////////////
|
||||
|
||||
CByteArray CCache::MemGetFile(const std::string & csName)
|
||||
{
|
||||
tCacheMap::iterator it = m_MemCache.begin();
|
||||
for ( ; it != m_MemCache.end(); it++)
|
||||
{
|
||||
if (it->first == csName)
|
||||
{
|
||||
return it->second;
|
||||
}
|
||||
}
|
||||
|
||||
// Nothing found: return an empty CByteArray
|
||||
return CByteArray();
|
||||
}
|
||||
|
||||
void CCache::MemStoreFile(const std::string & csName,
|
||||
const CByteArray &oData)
|
||||
{
|
||||
m_MemCache[csName] = oData;
|
||||
}
|
||||
|
||||
/////////////////////////// Disk /////////////////////////
|
||||
|
||||
CByteArray CCache::DiskGetFile(const std::string & csName)
|
||||
{
|
||||
if (m_pucTemp == NULL)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_MEMORY);
|
||||
|
||||
if (m_csCacheDir == "")
|
||||
m_csCacheDir = GetCacheDir();
|
||||
std::string csFileName = m_csCacheDir + csName;
|
||||
|
||||
FILE *f=NULL;
|
||||
int err = fopen_s(&f,csFileName.c_str(), "rb");
|
||||
if (f == NULL || err !=0 )
|
||||
return CByteArray();
|
||||
else
|
||||
{
|
||||
size_t len = fread(m_pucTemp, 1, MAX_CACHE_SIZE, f);
|
||||
fclose(f);
|
||||
|
||||
if (!CheckHeader(m_pucTemp, (unsigned long) len))
|
||||
return CByteArray();
|
||||
|
||||
return CByteArray(m_pucTemp + sizeof(tCacheHeader),
|
||||
(unsigned long) (len - sizeof(tCacheHeader)));
|
||||
}
|
||||
}
|
||||
|
||||
void CCache::DiskStoreFile(const std::string & csName,
|
||||
const CByteArray &oData)
|
||||
{
|
||||
if (m_csCacheDir == "")
|
||||
m_csCacheDir = GetCacheDir();
|
||||
std::string csFileName = m_csCacheDir + csName;
|
||||
|
||||
tCacheHeader header;
|
||||
MakeHeader(&header, oData);
|
||||
|
||||
FILE *f=NULL;
|
||||
int err = fopen_s(&f,csFileName.c_str(), "wb");
|
||||
if (f == NULL || err != 0)
|
||||
; // TODO: log
|
||||
else
|
||||
{
|
||||
size_t tmpHeader = fwrite(&header, sizeof(tCacheHeader), 1, f);
|
||||
tmpHeader = tmpHeader; //avoid warning
|
||||
size_t tmpData = fwrite(oData.GetBytes(), 1, oData.Size(), f);
|
||||
tmpData = tmpData; //avoid warning
|
||||
fclose(f);
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////// Platform-dependent code /////////////////////////
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include <io.h>
|
||||
#include <direct.h>
|
||||
#include <windows.h>
|
||||
|
||||
std::string CCache::GetCacheDir(bool bAddSlash)
|
||||
{
|
||||
std::string csCacheDir;
|
||||
|
||||
//We fist check the config
|
||||
csCacheDir = utilStringNarrow(CConfig::GetString(CConfig::EIDMW_CONFIG_PARAM_GENERAL_CACHEDIR).c_str());
|
||||
if(csCacheDir.empty())
|
||||
{
|
||||
// User home dir (C:\Documents and Settings\xxx)
|
||||
char *pHomeDir;
|
||||
size_t len;
|
||||
errno_t err = dupenv_s(&pHomeDir,&len,"USERPROFILE");
|
||||
if ( err )
|
||||
{
|
||||
pHomeDir = (char*)malloc(1);
|
||||
pHomeDir[0]=0;
|
||||
}
|
||||
|
||||
if (pHomeDir != NULL)
|
||||
csCacheDir = pHomeDir + std::string("\\Application Data\\.eidmwcache");
|
||||
else
|
||||
{
|
||||
// Assuming single-user OS: use the Windows dir
|
||||
char csPath[_MAX_PATH];
|
||||
if (GetWindowsDirectoryA(csPath, sizeof(csPath)) == 0)
|
||||
; // TODO: log
|
||||
else
|
||||
csCacheDir = csPath + std::string("\\.eidmwcache");
|
||||
}
|
||||
free( pHomeDir );
|
||||
}
|
||||
|
||||
DWORD dwError = 0;
|
||||
DWORD dwAttr = GetFileAttributesA(csCacheDir.c_str());
|
||||
if(dwAttr == INVALID_FILE_ATTRIBUTES) dwError = GetLastError();
|
||||
if(dwError == ERROR_FILE_NOT_FOUND || dwError == ERROR_PATH_NOT_FOUND)
|
||||
{
|
||||
_mkdir(csCacheDir.c_str());
|
||||
SetFileAttributesA(csCacheDir.c_str(),FILE_ATTRIBUTE_HIDDEN);
|
||||
}
|
||||
|
||||
if (bAddSlash)
|
||||
csCacheDir += "\\";
|
||||
|
||||
|
||||
return csCacheDir;
|
||||
}
|
||||
|
||||
bool CCache::Delete(const std::string & csName)
|
||||
{
|
||||
std::string strCacheDir = GetCacheDir();
|
||||
std::string strSearchFor = strCacheDir + csName + "*.kch";
|
||||
const char *csSearchFor = strSearchFor.c_str();
|
||||
|
||||
bool bDeleted = false; // wether or no we deleted something
|
||||
|
||||
bool bContinue = true; // continue as long as we deleted a file
|
||||
while (bContinue)
|
||||
{
|
||||
struct _finddata_t c_file;
|
||||
intptr_t hFile = _findfirst(csSearchFor, &c_file);
|
||||
if (hFile != -1)
|
||||
{
|
||||
bool bOK = (0 != DeleteFileA((strCacheDir + c_file.name).c_str()));
|
||||
_findclose(hFile);
|
||||
if (bOK)
|
||||
{
|
||||
bContinue = true;
|
||||
bDeleted = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
DWORD dwErr = GetLastError();
|
||||
// TODO: log dwErr
|
||||
throw CMWEXCEPTION(EIDMW_ERR_DELETE_CACHE);
|
||||
}
|
||||
}
|
||||
else
|
||||
bContinue = false;
|
||||
}
|
||||
|
||||
return bDeleted;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
|
||||
|
||||
std::string CCache::GetCacheDir(bool bAddSlash)
|
||||
{
|
||||
std::string csCacheDir;
|
||||
|
||||
//We fist check the config
|
||||
csCacheDir = utilStringNarrow(CConfig::GetString(CConfig::EIDMW_CONFIG_PARAM_GENERAL_CACHEDIR).c_str());
|
||||
if(csCacheDir.empty())
|
||||
{
|
||||
csCacheDir = getenv("HOME");
|
||||
csCacheDir += "/.eidmwcache";
|
||||
}
|
||||
|
||||
struct stat buffer;
|
||||
if ( stat(csCacheDir.c_str(),&buffer))
|
||||
{
|
||||
mkdir(csCacheDir.c_str(), 0700);
|
||||
}
|
||||
|
||||
if (bAddSlash)
|
||||
csCacheDir += "/";
|
||||
|
||||
return csCacheDir;
|
||||
}
|
||||
|
||||
bool CCache::Delete(const std::string & strName)
|
||||
{
|
||||
std::string strCacheDirNoSlash = GetCacheDir(false);
|
||||
const char *csCacheDirNoSlash = strCacheDirNoSlash.c_str();
|
||||
std::string strCacheDir = strCacheDirNoSlash + "/";
|
||||
|
||||
const char *csName = strName.c_str();
|
||||
size_t nameLen = strName.size();
|
||||
|
||||
bool bDeleteAll = strName == "";
|
||||
bool bDeleted = false; // wether or no we deleted something
|
||||
|
||||
// We loop until all files are deleted
|
||||
// The inner loops stops after it deleted 1 file,
|
||||
// because continuing to list files of which
|
||||
// one has just been deleted could cause troubles
|
||||
bool bContinue = true;
|
||||
while (bContinue)
|
||||
{
|
||||
bContinue = false;
|
||||
DIR *pDir = opendir(csCacheDirNoSlash);
|
||||
if(pDir != NULL)
|
||||
{
|
||||
struct dirent *pFile = readdir(pDir);
|
||||
for ( ;pFile != NULL; pFile = readdir(pDir))
|
||||
{
|
||||
// Check if this file starts with 'csName'
|
||||
if (strcmp(pFile->d_name, "..") != 0 && strcmp(pFile->d_name, ".") != 0 &&
|
||||
(bDeleteAll || memcmp(pFile->d_name, csName, nameLen) == 0))
|
||||
{
|
||||
// Delete the file
|
||||
std::string csPath = strCacheDir + pFile->d_name;
|
||||
if (! unlink(csPath.c_str()))
|
||||
{
|
||||
bContinue = true;
|
||||
bDeleted = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: log
|
||||
throw CMWEXCEPTION(EIDMW_ERR_DELETE_CACHE);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
closedir(pDir);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return bDeleted;
|
||||
}
|
||||
#endif
|
||||
|
||||
///////////////////////// Disk cache header + CRC ////////////////////////
|
||||
|
||||
/* CRC-32 checksum table, used in PNG, see http://www.w3.org/TR/PNG-CRCAppendix.html */
|
||||
const static unsigned long crc_table[] = {
|
||||
0x00000000,0x77073096,0xee0e612c,0x990951ba,0x076dc419,0x706af48f,0xe963a535,0x9e6495a3,
|
||||
0x0edb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x09b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,
|
||||
0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,
|
||||
0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,
|
||||
0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,
|
||||
0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,
|
||||
0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,
|
||||
0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,
|
||||
0x76dc4190,0x01db7106,0x98d220bc,0xefd5102a,0x71b18589,0x06b6b51f,0x9fbfe4a5,0xe8b8d433,
|
||||
0x7807c9a2,0x0f00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x086d3d2d,0x91646c97,0xe6635c01,
|
||||
0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,
|
||||
0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,
|
||||
0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,
|
||||
0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,
|
||||
0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,
|
||||
0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,
|
||||
0xedb88320,0x9abfb3b6,0x03b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x04db2615,0x73dc1683,
|
||||
0xe3630b12,0x94643b84,0x0d6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0x0a00ae27,0x7d079eb1,
|
||||
0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,
|
||||
0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,
|
||||
0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,
|
||||
0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,
|
||||
0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,
|
||||
0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,
|
||||
0x9b64c2b0,0xec63f226,0x756aa39c,0x026d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x05005713,
|
||||
0x95bf4a82,0xe2b87a14,0x7bb12bae,0x0cb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0x0bdbdf21,
|
||||
0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,
|
||||
0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,
|
||||
0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,
|
||||
0xaed16a4a,0xd9d65adc,0x40df0b66,0x37d83bf0,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,
|
||||
0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,
|
||||
0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d,
|
||||
};
|
||||
|
||||
static void MakeHeader(tCacheHeader *header, const CByteArray oData)
|
||||
{
|
||||
memset(header, 0, sizeof(tCacheHeader));
|
||||
|
||||
header->version = HEADER_VERSION;
|
||||
|
||||
const unsigned char *contents = oData.GetBytes();
|
||||
int contentslen = (int) oData.Size();
|
||||
unsigned long crc = 0xFFFFFFFF;
|
||||
for (int i = 0; i < contentslen; i++)
|
||||
crc = crc_table[(crc ^ contents[i]) & 0xff] ^ (crc >> 8);
|
||||
crc ^= 0xFFFFFFFF;
|
||||
for (int i = 3; i >= 0; i--) {
|
||||
header->crc[i] = (unsigned char) (0xFF & crc);
|
||||
crc >>= 8;
|
||||
}
|
||||
}
|
||||
|
||||
/* Check header version + CRC */
|
||||
static bool CheckHeader(const unsigned char *pucData, unsigned long ulDataLen)
|
||||
{
|
||||
if (ulDataLen < sizeof(tCacheHeader))
|
||||
return false; // No header found
|
||||
|
||||
// Split in header and real contents
|
||||
tCacheHeader *header = (tCacheHeader *) pucData;
|
||||
const unsigned char *contents = pucData + sizeof(tCacheHeader);
|
||||
int contentslen = (int) (ulDataLen - sizeof(tCacheHeader));
|
||||
|
||||
/* Incompatible versions have a different most significant nibble */
|
||||
if ((header->version & 0xF0) != (HEADER_VERSION & 0xF0))
|
||||
return false; // Unsupported version of this cache file
|
||||
|
||||
unsigned long crc = 0xFFFFFFFF;
|
||||
for (int i = 0; i < contentslen; i++)
|
||||
crc = crc_table[(crc ^ contents[i]) & 0xff] ^ (crc >> 8);
|
||||
crc ^= 0xFFFFFFFF;
|
||||
for (int i = 3; i >= 0; i--) {
|
||||
if (header->crc[i] != (0xFF & crc))
|
||||
return false; // Bad checksum
|
||||
crc >>= 8;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
117
cardlayer/src/cache.h
Executable file
117
cardlayer/src/cache.h
Executable file
|
@ -0,0 +1,117 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/**
|
||||
* Caching of files on an eID card to RAM and to hard disk
|
||||
*/
|
||||
|
||||
#ifndef __CACHE_H__
|
||||
#define __CACHE_H__
|
||||
|
||||
#include "context.h"
|
||||
#include <stdlib.h>
|
||||
#include <map>
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
typedef std::map <std::string, CByteArray> tCacheMap;
|
||||
|
||||
class EIDMW_CAL_API CCache
|
||||
{
|
||||
public:
|
||||
CCache(CContext *poContext);
|
||||
~CCache(void);
|
||||
|
||||
/**
|
||||
* Return the cache file name as a combination of the serialnr and path
|
||||
*/
|
||||
static std::string GetSimpleName(const std::string & csSerialNr, const std::string & csPath);
|
||||
|
||||
/**
|
||||
* Return the requested contents.
|
||||
*
|
||||
* If you set bFromDisk to false, then if the contents are read
|
||||
* from hard disk they won't be copied to memory. Upon return,
|
||||
* bFromDisk = true if the contents were read from hard disk,
|
||||
* and false otherwise.
|
||||
* This features allows to consult the PF when contents are cached
|
||||
* on the hard disk but can't be returned before the PF is consulted.
|
||||
* (If the contents are in memory, then the PF doesn't have to be
|
||||
* consulted because it means they were read from the disk earlier,
|
||||
* at which time the PF has been consulted.
|
||||
*/
|
||||
CByteArray GetFile(const std::string & csName,
|
||||
bool &bFileFound, bool &bFromDisk,
|
||||
unsigned long ulOffset = 0, unsigned long ulMaxLen = FULL_FILE);
|
||||
|
||||
/**
|
||||
* Store the data in a file called csName.
|
||||
* If data was already stored, it will be overwritten
|
||||
*/
|
||||
void StoreFile(const std::string & csName,
|
||||
const CByteArray &oData, bool bIsFullFile);
|
||||
|
||||
/**
|
||||
* Store the data to memory only.
|
||||
* If data was already stored, it won't be stored again.
|
||||
* Used in case of we use the Privacy Filter, because then
|
||||
* the data read from disk is not stored to memory until
|
||||
* the PF says it's OK.
|
||||
*/
|
||||
void StoreFileToMem(const std::string & csName,
|
||||
const CByteArray &oData, bool bIsFullFile);
|
||||
|
||||
/**
|
||||
* Delete all the Disk cache files starting with 'csName';
|
||||
* if csName = "" then delete all cache files
|
||||
* Since cache file names start with the card's serial number,
|
||||
* specifying the serial number will cause all cache
|
||||
* files for that specific card to be deleted.
|
||||
* Returns true is something was returned, false otherwise.
|
||||
*/
|
||||
static bool Delete(const std::string & csName);
|
||||
|
||||
protected:
|
||||
CByteArray MemGetFile(const std::string & csName);
|
||||
void MemStoreFile(const std::string & csName, const CByteArray &oData);
|
||||
|
||||
CByteArray DiskGetFile(const std::string & csName);
|
||||
void DiskStoreFile(const std::string & csName, const CByteArray &oData);
|
||||
|
||||
static std::string GetCacheDir(bool bAddSlash = true);
|
||||
|
||||
unsigned char *m_pucTemp;
|
||||
CContext *m_poContext;
|
||||
std::string m_csCacheDir;
|
||||
|
||||
#ifdef WIN32
|
||||
// See http://groups.google.com/group/microsoft.public.vc.stl/msg/c4dfeb8987d7b8f0
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4251)
|
||||
#endif
|
||||
tCacheMap m_MemCache;
|
||||
#ifdef WIN32
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
500
cardlayer/src/card.cpp
Executable file
500
cardlayer/src/card.cpp
Executable file
|
@ -0,0 +1,500 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "card.h"
|
||||
#include "../common/src/log.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
CCard::CCard(unsigned long hCard, CContext *poContext, CPinpad *poPinpad) :
|
||||
m_hCard(hCard), m_poContext(poContext), m_poPinpad(poPinpad),
|
||||
m_oCache(poContext), m_ulLockCount(0), m_bSerialNrString(false)
|
||||
{
|
||||
}
|
||||
|
||||
CCard::~CCard(void)
|
||||
{
|
||||
Disconnect(DISCONNECT_LEAVE_CARD);
|
||||
}
|
||||
|
||||
void CCard::Disconnect(tDisconnectMode disconnectMode)
|
||||
{
|
||||
if (m_hCard != 0)
|
||||
{
|
||||
unsigned long hTemp = m_hCard;
|
||||
m_hCard = 0;
|
||||
m_poContext->m_oPCSC.Disconnect(hTemp, disconnectMode);
|
||||
}
|
||||
}
|
||||
|
||||
CByteArray CCard::GetATR()
|
||||
{
|
||||
return m_poContext->m_oPCSC.GetATR(m_hCard);
|
||||
}
|
||||
|
||||
CByteArray CCard::GetIFDVersion()
|
||||
{
|
||||
return m_poContext->m_oPCSC.GetIFDVersion(m_hCard);
|
||||
}
|
||||
|
||||
bool CCard::Status()
|
||||
{
|
||||
return m_poContext->m_oPCSC.Status(m_hCard);
|
||||
}
|
||||
|
||||
bool CCard::IsPinpadReader()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string CCard::GetPinpadPrefix()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
std::string CCard::GetSerialNr()
|
||||
{
|
||||
if (!m_bSerialNrString)
|
||||
{
|
||||
m_csSerialNr = GetSerialNrBytes().ToString(false, true);
|
||||
m_bSerialNrString = true;
|
||||
}
|
||||
|
||||
return m_csSerialNr;
|
||||
}
|
||||
|
||||
CByteArray CCard::GetSerialNrBytes()
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
std::string CCard::GetLabel()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
CByteArray CCard::GetInfo()
|
||||
{
|
||||
return CByteArray();
|
||||
}
|
||||
|
||||
void CCard::Lock()
|
||||
{
|
||||
if (m_ulLockCount == 0)
|
||||
m_poContext->m_oPCSC.BeginTransaction(m_hCard);
|
||||
m_ulLockCount++;
|
||||
}
|
||||
|
||||
void CCard::Unlock()
|
||||
{
|
||||
if (m_ulLockCount == 0)
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"More Unlock()s then Lock()s called!!");
|
||||
else
|
||||
{
|
||||
m_ulLockCount--;
|
||||
if (m_ulLockCount == 0)
|
||||
m_poContext->m_oPCSC.EndTransaction(m_hCard);
|
||||
}
|
||||
}
|
||||
|
||||
void CCard::SelectApplication(const CByteArray & oAID)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
CByteArray CCard::ReadCachedFile(const std::string & csPath, std::string & csName,
|
||||
bool & bFound, unsigned long ulOffset, unsigned long ulMaxLen, bool &bFromDisk)
|
||||
{
|
||||
bFromDisk = true;
|
||||
|
||||
return m_oCache.GetFile(csName,
|
||||
bFound, bFromDisk, ulOffset, ulMaxLen);
|
||||
}
|
||||
|
||||
bool CCard::SerialNrPresent(const CByteArray & oData)
|
||||
{
|
||||
CByteArray oSerial = GetSerialNrBytes();
|
||||
const unsigned char *pucSerial = oSerial.GetBytes();
|
||||
unsigned long ulSerialLen = (unsigned long) oSerial.Size();
|
||||
|
||||
const unsigned char *pucData = oData.GetBytes();
|
||||
unsigned long ulEnd = oData.Size() - ulSerialLen;
|
||||
//printf("serial: %s\n", CByteArray(csSerial).ToString(false, false).c_str());
|
||||
//printf("data: %s\n", oData.ToString(false, false).c_str());
|
||||
for (unsigned long i = 0; i < ulEnd; i++)
|
||||
{
|
||||
if (memcmp(pucData + i, pucSerial, ulSerialLen) == 0)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Little helper function for ReadFile() */
|
||||
static CByteArray ReturnData(CByteArray oData, unsigned long ulOffset, unsigned long ulMaxLen)
|
||||
{
|
||||
if (ulOffset == 0 && ulMaxLen == FULL_FILE)
|
||||
return oData;
|
||||
else
|
||||
{
|
||||
if (ulOffset > oData.Size())
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PARAM_RANGE);
|
||||
if (ulMaxLen > ulOffset + oData.Size())
|
||||
ulMaxLen = oData.Size() - ulOffset;
|
||||
return CByteArray(oData.GetBytes() + ulOffset, ulMaxLen);
|
||||
}
|
||||
}
|
||||
|
||||
CByteArray CCard::ReadFile(const std::string & csPath,
|
||||
unsigned long ulOffset, unsigned long ulMaxLen,bool bDoNotCache)
|
||||
{
|
||||
tCacheInfo cacheInfo = GetCacheInfo(csPath);
|
||||
|
||||
if (cacheInfo.action == SIMPLE_CACHE || cacheInfo.action == CHECK_SERIAL)
|
||||
{
|
||||
// Either read from cache or read from the card and store to cache.
|
||||
// We could optimise here if part of the file has already been
|
||||
// cached but not enough: in this case we can read the cached part
|
||||
// and the rest from the card and put both together (and then store
|
||||
// this to cache and return it).
|
||||
bool bFound;
|
||||
bool bFromDisk;
|
||||
std::string csName = m_oCache.GetSimpleName(GetSerialNr(), csPath);
|
||||
CByteArray oData = ReadCachedFile(csPath, csName, bFound,
|
||||
cacheInfo.action == CHECK_SERIAL ? 0 : ulOffset,
|
||||
cacheInfo.action == CHECK_SERIAL ? FULL_FILE : ulMaxLen,
|
||||
bFromDisk);
|
||||
if (bFound)
|
||||
{
|
||||
if (cacheInfo.action == CHECK_SERIAL && !SerialNrPresent(oData))
|
||||
throw CMWEXCEPTION(EIDMW_CACHE_TAMPERED);
|
||||
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" Read file %ls (%d bytes) from cache",
|
||||
utilStringWiden(csPath).c_str(), oData.Size());
|
||||
if (cacheInfo.action == CHECK_SERIAL)
|
||||
return ReturnData(oData, ulOffset, ulMaxLen);
|
||||
else
|
||||
return oData;
|
||||
}
|
||||
else
|
||||
{
|
||||
oData = ReadUncachedFile(csPath, ulOffset, ulMaxLen);
|
||||
if(!bDoNotCache)
|
||||
{
|
||||
m_oCache.StoreFile(csName, oData, ulOffset == 0 && ulMaxLen == FULL_FILE);
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" Stored file %ls to cache",
|
||||
utilStringWiden(csPath).c_str());
|
||||
}
|
||||
return oData;
|
||||
}
|
||||
}
|
||||
else if (cacheInfo.action == CHECK_16_CACHE || cacheInfo.action == CERT_CACHE)
|
||||
{
|
||||
// 1. In case of CHECK_16_CACHE:
|
||||
// Compare 16 bytes starting at cacheInfo.ulOffset. If they are the
|
||||
// same then return the cached data.
|
||||
// 2. In case of CERT_CACHE:
|
||||
// Read the last 16 bytes of the cert from the card, and compare
|
||||
// with the cached cert. If they are the same then return the cached
|
||||
// data because at end of the cert is its signature, and if something
|
||||
// changed in the cert then the signature will be completely different.
|
||||
// NOTE: this is only done if read from the hard disk; if the data has been
|
||||
// read from the hard disk before (and is already stored in memory) then
|
||||
// we won't do the above checks again.
|
||||
bool bFound;
|
||||
bool bFromDisk;
|
||||
unsigned long ulCheckOffset = 0xFFFFFFFF;
|
||||
std::string csName = m_oCache.GetSimpleName(GetSerialNr(), csPath);
|
||||
CByteArray oData = ReadCachedFile(csPath, csName, bFound,
|
||||
0, FULL_FILE, bFromDisk);
|
||||
|
||||
if (bFound && !bFromDisk)
|
||||
{
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" Read file %ls (%d bytes) from memory cache",
|
||||
utilStringWiden(csPath).c_str(), oData.Size());
|
||||
return ReturnData(oData, ulOffset, ulMaxLen);
|
||||
}
|
||||
|
||||
if (cacheInfo.action == CHECK_16_CACHE)
|
||||
ulCheckOffset = cacheInfo.ulOffset;
|
||||
else
|
||||
{
|
||||
// Our certs all start with 30 82 l1 l2 with [l1 l2] = the length of what follows
|
||||
if (oData.Size() > 4 && oData.GetByte(0) == 0x30 && oData.GetByte(1) == 0x82)
|
||||
{
|
||||
unsigned long ulCertLen = 256 * oData.GetByte(2) + oData.GetByte(3) + 4;
|
||||
if (ulCertLen > 16)
|
||||
ulCheckOffset = ulCertLen - 16;
|
||||
}
|
||||
}
|
||||
|
||||
if (ulCheckOffset != 0xFFFFFFFF)
|
||||
{
|
||||
CByteArray oCertEnd = ReadUncachedFile(csPath, ulCheckOffset, 16);
|
||||
if (oCertEnd.Size() == 16 &&
|
||||
memcmp(oCertEnd.GetBytes(), oData.GetBytes() + ulCheckOffset, 16) == 0)
|
||||
{
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" Read file %ls (%d bytes) from disk cache",
|
||||
utilStringWiden(csPath).c_str(), oData.Size());
|
||||
m_oCache.StoreFileToMem(csName, oData, true);
|
||||
return ReturnData(oData, ulOffset, ulMaxLen);
|
||||
}
|
||||
else
|
||||
{
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" Cached file %ls differs from the "
|
||||
L"one on card, re-reading from card!", utilStringWiden(csPath).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
oData = ReadUncachedFile(csPath, ulOffset, ulMaxLen);
|
||||
if(!bDoNotCache)
|
||||
{
|
||||
m_oCache.StoreFile(csName, oData, ulMaxLen == FULL_FILE);
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" (Re)stored file %ls to cache",
|
||||
utilStringWiden(csPath).c_str());
|
||||
}
|
||||
|
||||
return oData;
|
||||
}
|
||||
|
||||
return ReadUncachedFile(csPath, ulOffset, ulMaxLen);
|
||||
}
|
||||
|
||||
void CCard::WriteFile(const std::string &csPath, unsigned long ulOffset,
|
||||
const CByteArray & oData)
|
||||
{
|
||||
WriteUncachedFile(csPath, ulOffset, oData);
|
||||
|
||||
// We could overwrite the cache with the new data, but because
|
||||
// we don't know if it's the full file, we just clear the cached
|
||||
// data. This will cause a new ReadFile() to read again from the
|
||||
// card but as this probably won't happen that much...
|
||||
tCacheInfo cacheInfo = GetCacheInfo(csPath);
|
||||
if (cacheInfo.action == SIMPLE_CACHE)
|
||||
m_oCache.Delete(m_oCache.GetSimpleName(GetSerialNr(), csPath));
|
||||
}
|
||||
|
||||
void CCard::WriteUncachedFile(const std::string &csPath, unsigned long ulOffset,
|
||||
const CByteArray & oData)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
tCacheInfo CCard::GetCacheInfo(const std::string &csPath)
|
||||
{
|
||||
// By default no caching, card must implement this method
|
||||
// to allow certain files to be cached (in a certain way).
|
||||
tCacheInfo dontCache = {DONT_CACHE};
|
||||
|
||||
return dontCache;
|
||||
}
|
||||
|
||||
unsigned long CCard::PinStatus(const tPin & Pin)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
bool CCard::PinCmd(tPinOperation operation, const tPin & Pin,
|
||||
const std::string & csPin1, const std::string & csPin2,
|
||||
unsigned long & ulRemaining, const tPrivKey *pKey)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
DlgPinUsage CCard::PinUsage2Dlg(const tPin & Pin, const tPrivKey *pKey)
|
||||
{
|
||||
return DLG_PIN_UNKNOWN;
|
||||
}
|
||||
|
||||
unsigned long CCard::GetSupportedAlgorithms()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
CByteArray CCard::Sign(const tPrivKey & key, const tPin & Pin,
|
||||
unsigned long algo, const CByteArray & oData)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
CByteArray CCard::Sign(const tPrivKey & key, const tPin & Pin,
|
||||
unsigned long algo, CHash & oHash)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
CByteArray CCard::Decrypt(const tPrivKey & key, unsigned long algo,
|
||||
const CByteArray & oData)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
CByteArray CCard::GetRandom(unsigned long ulLen)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
CByteArray CCard::SendAPDU(const CByteArray & oCmdAPDU)
|
||||
{
|
||||
CAutoLock oAutoLock(this);
|
||||
|
||||
CByteArray oResp = m_poContext->m_oPCSC.Transmit(m_hCard, oCmdAPDU);
|
||||
|
||||
if (oResp.Size() == 2)
|
||||
{
|
||||
// If SW1 = 0x61, then SW2 indicates the maximum value to be given to the
|
||||
// short Le field (length of extra/ data still available) in a GET RESPONSE.
|
||||
if (oResp.GetByte(0) == 0x61)
|
||||
return SendAPDU(0xC0, 0x00, 0x00, oResp.GetByte(1)); // Get Response
|
||||
|
||||
// If SW1 = 0x6c, then SW2 indicates the value to be given to the short
|
||||
// Le field (exact length of requested data) when re-issuing the same command.
|
||||
if (oResp.GetByte(0) == 0x6c)
|
||||
{
|
||||
unsigned long ulCmdLen = oCmdAPDU.Size();
|
||||
const unsigned char *pucCmd = oCmdAPDU.GetBytes();
|
||||
CByteArray oNewCmdAPDU(ulCmdLen);
|
||||
oNewCmdAPDU.Append(pucCmd, 4);
|
||||
oNewCmdAPDU.Append(oResp.GetByte(1));
|
||||
if (ulCmdLen > 5)
|
||||
oNewCmdAPDU.Append(pucCmd + 5, ulCmdLen - 5);
|
||||
|
||||
// for cards that may need a delay (e.g. Belpic V1)
|
||||
unsigned long ulDelay = Get6CDelay();
|
||||
if (ulDelay != 0)
|
||||
CThread::SleepMillisecs(ulDelay);
|
||||
|
||||
return SendAPDU(oNewCmdAPDU);
|
||||
}
|
||||
}
|
||||
|
||||
return oResp;
|
||||
}
|
||||
|
||||
CByteArray CCard::SendAPDU(unsigned char ucINS, unsigned char ucP1, unsigned char ucP2,
|
||||
unsigned long ulOutLen)
|
||||
{
|
||||
CByteArray oAPDU(5);
|
||||
|
||||
oAPDU.Append(m_ucCLA);
|
||||
oAPDU.Append(ucINS);
|
||||
oAPDU.Append(ucP1);
|
||||
oAPDU.Append(ucP2);
|
||||
oAPDU.Append((unsigned char) ulOutLen);
|
||||
|
||||
return SendAPDU(oAPDU);
|
||||
}
|
||||
|
||||
CByteArray CCard::SendAPDU(unsigned char ucINS, unsigned char ucP1, unsigned char ucP2,
|
||||
const CByteArray & oData)
|
||||
{
|
||||
CByteArray oAPDU(5 + oData.Size());
|
||||
|
||||
oAPDU.Append(m_ucCLA);
|
||||
oAPDU.Append(ucINS);
|
||||
oAPDU.Append(ucP1);
|
||||
oAPDU.Append(ucP2);
|
||||
oAPDU.Append((unsigned char) oData.Size());
|
||||
oAPDU.Append(oData);
|
||||
|
||||
return SendAPDU(oAPDU);
|
||||
}
|
||||
|
||||
|
||||
CByteArray CCard::Ctrl(long ctrl, const CByteArray & oCmdData)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
CP15Correction* CCard::GetP15Correction()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
unsigned long CCard::Get6CDelay()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned char CCard::Hex2Byte(char cHex)
|
||||
{
|
||||
if (cHex >= '0' && cHex <= '9')
|
||||
return (unsigned char) (cHex - '0');
|
||||
if (cHex >= 'A' && cHex <= 'F')
|
||||
return (unsigned char) (cHex - 'A' + 10);
|
||||
if (cHex >= 'a' && cHex <= 'f')
|
||||
return (unsigned char) (cHex - 'a' + 10);
|
||||
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Invalid hex character 0x%02X found", cHex);
|
||||
throw CMWEXCEPTION(EIDMW_ERR_BAD_PATH);
|
||||
}
|
||||
|
||||
unsigned char CCard::Hex2Byte(const std::string & csHex, unsigned long ulIdx)
|
||||
{
|
||||
return (unsigned char) (16 * Hex2Byte(csHex[2 * ulIdx]) + Hex2Byte(csHex[2 * ulIdx + 1]));
|
||||
}
|
||||
|
||||
bool CCard::IsDigit(char c)
|
||||
{
|
||||
return (c >= '0' && c <= '9');
|
||||
}
|
||||
|
||||
unsigned long CCard::getSW12(const CByteArray & oRespAPDU, unsigned long ulExpected)
|
||||
{
|
||||
unsigned long ulRespLen = oRespAPDU.Size();
|
||||
|
||||
if (ulRespLen < 2)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Only %d byte(s) returned from the card", ulRespLen);
|
||||
throw CMWEXCEPTION(EIDMW_ERR_CARD_COMM);
|
||||
}
|
||||
|
||||
unsigned long ulSW12 = 256 * oRespAPDU.GetByte(ulRespLen - 2) + oRespAPDU.GetByte(ulRespLen - 1);
|
||||
|
||||
if (ulExpected != 0 && ulExpected != ulSW12)
|
||||
{
|
||||
MWLOG(LEV_WARN, MOD_CAL, L"Card returned SW12 = %04X, expected %04X", ulSW12, ulExpected);
|
||||
throw CMWEXCEPTION(m_poContext->m_oPCSC.SW12ToErr(ulSW12));
|
||||
}
|
||||
|
||||
return ulSW12;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////:
|
||||
|
||||
CAutoLock::CAutoLock(CCard *poCard) : m_poCard(poCard), m_poPCSC(NULL), m_hCard(0)
|
||||
{
|
||||
m_poCard->Lock();
|
||||
}
|
||||
|
||||
CAutoLock::CAutoLock(CPCSC *poPCSC, unsigned long hCard) : m_poCard(NULL), m_poPCSC(poPCSC), m_hCard(hCard)
|
||||
{
|
||||
poPCSC->BeginTransaction(hCard);
|
||||
}
|
||||
|
||||
CAutoLock::~CAutoLock()
|
||||
{
|
||||
if (m_poCard)
|
||||
m_poCard->Unlock();
|
||||
else
|
||||
m_poPCSC->EndTransaction(m_hCard);
|
||||
}
|
||||
|
||||
}
|
176
cardlayer/src/card.h
Executable file
176
cardlayer/src/card.h
Executable file
|
@ -0,0 +1,176 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/**
|
||||
* Subclasses of this class implement functionality for a specific
|
||||
* type of card (e.g. BE eID, PT eID, SIS, ...)
|
||||
* This subclasses can either part of the CAL or be separate libraries
|
||||
* ('plugins'), see CardFactory.cpp for more info.
|
||||
*/
|
||||
#ifndef CARD_H
|
||||
#define CARD_H
|
||||
|
||||
#include "p15objects.h"
|
||||
#include "cache.h"
|
||||
#include "internalconst.h"
|
||||
#include "../common/src/bytearray.h"
|
||||
#include "../common/src/mwexception.h"
|
||||
#include "../common/src/hash.h"
|
||||
#include "../common/src/util.h"
|
||||
#include "pinpad.h"
|
||||
#include "p15correction.h"
|
||||
#include "../dialogs/src/dialogs.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
/** Compatibility version for the entire plugin-relevant API: V1.00 */
|
||||
const unsigned long PLUGIN_VERSION = 100;
|
||||
|
||||
class EIDMW_CAL_API CCard
|
||||
{
|
||||
public:
|
||||
CCard(unsigned long hCard, CContext *poContext, CPinpad *poPinpad);
|
||||
virtual ~CCard(void);
|
||||
|
||||
/** Find out which card is present and return the appropriate subclass */
|
||||
static CCard *Connect(const std::string &csReader,
|
||||
CContext *poContext, CPinpad *poPinpad);
|
||||
|
||||
virtual void Disconnect(tDisconnectMode disconnectMode = DISCONNECT_LEAVE_CARD);
|
||||
|
||||
virtual CByteArray GetATR();
|
||||
|
||||
virtual CByteArray GetIFDVersion();
|
||||
|
||||
virtual bool Status();
|
||||
|
||||
virtual bool IsPinpadReader();
|
||||
virtual std::string GetPinpadPrefix();
|
||||
|
||||
virtual tCardType GetType() = 0;
|
||||
virtual std::string GetSerialNr();
|
||||
virtual CByteArray GetSerialNrBytes();
|
||||
virtual std::string GetLabel();
|
||||
virtual CByteArray GetInfo();
|
||||
|
||||
virtual void Lock();
|
||||
virtual void Unlock();
|
||||
|
||||
virtual void SelectApplication(const CByteArray & oAID);
|
||||
|
||||
CByteArray ReadCachedFile(const std::string & csPath, std::string & csName,
|
||||
bool & bFound, unsigned long ulOffset, unsigned long ulMaxLen, bool &bFromDisk);
|
||||
virtual CByteArray ReadFile(const std::string & csPath,
|
||||
unsigned long ulOffset = 0, unsigned long ulMaxLen = FULL_FILE, bool bDoNotCache=false);
|
||||
virtual void WriteFile(const std::string &csPath, unsigned long ulOffset,
|
||||
const CByteArray & oData);
|
||||
virtual tCacheInfo GetCacheInfo(const std::string &csPath);
|
||||
|
||||
virtual CByteArray ReadUncachedFile(const std::string & csPath,
|
||||
unsigned long ulOffset = 0, unsigned long ulMaxLen = FULL_FILE) = 0;
|
||||
virtual void WriteUncachedFile(const std::string &csPath, unsigned long ulOffset,
|
||||
const CByteArray & oData);
|
||||
|
||||
virtual unsigned long PinStatus(const tPin & Pin);
|
||||
virtual bool PinCmd(tPinOperation operation, const tPin & Pin,
|
||||
const std::string & csPin1, const std::string & csPin2,
|
||||
unsigned long & ulRemaining, const tPrivKey *pKey = NULL);
|
||||
|
||||
virtual DlgPinUsage PinUsage2Dlg(const tPin & Pin, const tPrivKey *pKey);
|
||||
|
||||
virtual unsigned long GetSupportedAlgorithms();
|
||||
|
||||
virtual CByteArray Sign(const tPrivKey & key, const tPin & Pin,
|
||||
unsigned long algo, const CByteArray & oData);
|
||||
virtual CByteArray Sign(const tPrivKey & key, const tPin & Pin,
|
||||
unsigned long algo, CHash & oHash);
|
||||
|
||||
virtual CByteArray Decrypt(const tPrivKey & key, unsigned long algo,
|
||||
const CByteArray & oData);
|
||||
|
||||
virtual CByteArray GetRandom(unsigned long ulLen);
|
||||
|
||||
/** Send a case 1 or case 2 commands (no data is sent to the card),
|
||||
* if you know it's case 1 then preferably set bDataIsReturned to false. */
|
||||
virtual CByteArray SendAPDU(unsigned char ucINS, unsigned char ucP1, unsigned char ucP2,
|
||||
unsigned long ulOutLen);
|
||||
/** Send a case 3 or case 4 commands (data is sent to the card),
|
||||
* if you know it's case 1 then preferably set bDataIsReturned to false */
|
||||
virtual CByteArray SendAPDU(unsigned char ucINS, unsigned char ucP1, unsigned char ucP2,
|
||||
const CByteArray & oData);
|
||||
virtual CByteArray SendAPDU(const CByteArray & oCmdAPDU);
|
||||
|
||||
virtual CByteArray Ctrl(long ctrl, const CByteArray & oCmdData);
|
||||
|
||||
/* retrieve the correction class for PINs, certificates and private keys */
|
||||
virtual CP15Correction* GetP15Correction();
|
||||
|
||||
unsigned long m_hCard;
|
||||
|
||||
protected:
|
||||
// How long to wait (msec) before re-sending an APDU when SW12 = 6CXX is returned
|
||||
virtual unsigned long Get6CDelay();
|
||||
|
||||
virtual unsigned char Hex2Byte(char cHex);
|
||||
virtual unsigned char Hex2Byte(const std::string & csHex, unsigned long ulIdx);
|
||||
virtual bool IsDigit(char c);
|
||||
|
||||
/** Return true if the serial number is present in oData, false otherwise */
|
||||
bool SerialNrPresent(const CByteArray & oData);
|
||||
|
||||
/** If ulExpected is provided and differs from the return code, an MWException is thrown */
|
||||
virtual unsigned long getSW12(const CByteArray & oRespAPDU, unsigned long ulExpected = 0);
|
||||
|
||||
CContext *m_poContext;
|
||||
CPinpad *m_poPinpad;
|
||||
CCache m_oCache;
|
||||
unsigned long m_ulLockCount;
|
||||
bool m_bSerialNrString;
|
||||
std::string m_csSerialNr;
|
||||
|
||||
unsigned char m_ucCLA;
|
||||
|
||||
private:
|
||||
// No copies allowed
|
||||
CCard(const CCard & oCard);
|
||||
CCard & operator = (const CCard & oCard);
|
||||
};
|
||||
|
||||
class CAutoLock
|
||||
{
|
||||
public:
|
||||
CAutoLock(CCard *poCard);
|
||||
|
||||
/** Warning: no lock counter is kept (as opposed as for
|
||||
* the CAutoLock(CCard *poCard) ctor; so make sure this
|
||||
* object gets out of scope before making a new one for
|
||||
* the same card handle! */
|
||||
CAutoLock(CPCSC *poPCSC, unsigned long hCard);
|
||||
|
||||
~CAutoLock();
|
||||
|
||||
private:
|
||||
CCard *m_poCard;
|
||||
CPCSC *m_poPCSC;
|
||||
unsigned long m_hCard;
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
429
cardlayer/src/cardfactory.cpp
Executable file
429
cardlayer/src/cardfactory.cpp
Executable file
|
@ -0,0 +1,429 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/**
|
||||
* The CardConnect() function returns a pointer to a CCard object
|
||||
* (that should free()-ed when no longer used) that can be used
|
||||
* to communicate to a specific card.
|
||||
*
|
||||
* - First the plugins in a specific directory are loaded and
|
||||
* tried out, so see if they support that specific card.
|
||||
* For the BE eID, this directory is %windir%\System32\beidcardplugins\
|
||||
* on Linux/Mac it is %PREFIX%/lib/beidcardplugins.
|
||||
* - If no plugin for the card can be found, 'harcoded' plugins
|
||||
* can be tried (e.g. BeidCard and SISCard for the BE eID middleware).
|
||||
*
|
||||
* Plugin names and their meaning
|
||||
* - Cardplugins should start with "cardplugin" on Windows and
|
||||
* "libcardplugin" on Linux/Mac.
|
||||
* - If the name starts with "cardpluginFull" or "libcardpluginFull",
|
||||
* the plugin exports both the GetCardInstance() and ConnectGetCardInstance()
|
||||
* functions. Otherwise, only the GetCardInstance() function should
|
||||
* be exported.
|
||||
* - If the name of the plugin contains twice the string "__", then
|
||||
* the string between them is taken to be the start of the PCSC
|
||||
* reader name, and will only be used for that reader.
|
||||
* E.g. A plugin called "cardpluginFull_SIS__ACS ACR38U__.dll" will
|
||||
* only be used if the reader name starts with "ACS ACR38", and should
|
||||
* export the GetCardInstance() and ConnectGetCardInstance() functions.
|
||||
*
|
||||
* Function exported by the card plugins:
|
||||
* - GetCardInstance(): an SCardConnect() has been done and an SCARDHANDLE
|
||||
* is provided in this function. This function should check if the card
|
||||
* is supported, and if so, a pointer to a CCard object is returned, or
|
||||
* NULL otherwise.
|
||||
* - FullConnect(): a normal SCardConnect() couldn't be done, so this function
|
||||
* is called with the reader name, and the function can try to connect
|
||||
* in a reader-and/or card specific way. If this succeeds then this function
|
||||
* continues as in the GetCardInstance() function.
|
||||
*/
|
||||
#include "cardfactory.h"
|
||||
#include "unknowncard.h"
|
||||
#include "../common/src/log.h"
|
||||
#include "../common/src/util.h"
|
||||
#include "../common/src/prefix.h"
|
||||
#ifdef CAL_BEID
|
||||
#include "beidcard.h"
|
||||
#include "siscard.h"
|
||||
#include "sispluginhandler.h"
|
||||
#endif
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
typedef class eIDMW::CCard * (*GETCARDINSTANCE)(unsigned long,char const*,unsigned long,class eIDMW::CContext *,class eIDMW::CPinpad *);
|
||||
typedef class eIDMW::CCard * (*CONNECTGETCARDINSTANCE)(unsigned long,char const*,class eIDMW::CContext *,class eIDMW::CPinpad *);
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
static bool m_bPluginNamesOK = false;
|
||||
static void GetPluginNames();
|
||||
static void AddPluginName(const char *csPluginName, const std::string & csPath);
|
||||
|
||||
typedef struct {
|
||||
std::string csPath; // path of the card plugin
|
||||
std::string csReader; // first part of the reader name, or ""
|
||||
bool bFull; // true if both GetCardInstance() and ConnectGetCardInstance() are supported
|
||||
} tPluginInfo;
|
||||
|
||||
static std::vector <tPluginInfo> m_Plugins;
|
||||
|
||||
static CCard *GetCardInstance(const char *csReader, unsigned long hCard,
|
||||
CContext *poContext, CPinpad *poPinpad,
|
||||
const std::string &csPluginPath, CDynamicLib &oCardPluginLib);
|
||||
|
||||
static CCard *ConnectGetCardInstance(const char *csReader,
|
||||
CContext *poContext, CPinpad *poPinpad,
|
||||
const std::string &csPluginPath, CDynamicLib &oCardPluginLib);
|
||||
|
||||
CCard * CardConnect(const std::string &csReader,
|
||||
CContext *poContext, CPinpad *poPinpad, CDynamicLib &oCardPluginLib)
|
||||
{
|
||||
CCard *poCard = NULL;
|
||||
long lErrCode = EIDMW_ERR_CHECK; // should never be returned
|
||||
const char *strReader = NULL;
|
||||
|
||||
if (poContext->m_ulConnectionDelay != 0)
|
||||
CThread::SleepMillisecs(poContext->m_ulConnectionDelay);
|
||||
|
||||
// Try if we can connect to the card via a normal SCardConnect()
|
||||
unsigned long hCard = 0;
|
||||
try
|
||||
{
|
||||
hCard = poContext->m_oPCSC.Connect(csReader);
|
||||
if (hCard == 0)
|
||||
goto done;
|
||||
}
|
||||
catch(CMWException &e)
|
||||
{
|
||||
if (e.GetError() == (long)EIDMW_ERR_NO_CARD)
|
||||
goto done;
|
||||
if (e.GetError() != (long)EIDMW_ERR_CANT_CONNECT && e.GetError() != (long)EIDMW_ERR_CARD_COMM)
|
||||
throw;
|
||||
lErrCode = e.GetError();
|
||||
hCard = 0;
|
||||
}
|
||||
|
||||
// So a card is present, get the names of the available plugin libs
|
||||
if (!m_bPluginNamesOK)
|
||||
GetPluginNames();
|
||||
|
||||
strReader = csReader.c_str();
|
||||
|
||||
if (hCard != 0)
|
||||
{
|
||||
// 1. A card is present and we could connect to it via a normal SCardConnect()
|
||||
|
||||
for (size_t i = 0; poCard == NULL && i < m_Plugins.size(); i++)
|
||||
{
|
||||
tPluginInfo &plugin = m_Plugins.at(i);
|
||||
if (plugin.csReader.size() != 0 && !StartsWith(strReader, plugin.csReader.c_str()))
|
||||
continue;
|
||||
poCard = GetCardInstance(strReader, hCard, poContext, poPinpad,
|
||||
plugin.csPath, oCardPluginLib);
|
||||
}
|
||||
|
||||
#ifdef CAL_BEID
|
||||
if (poCard == NULL)
|
||||
poCard = BeidCardGetInstance(PLUGIN_VERSION, strReader, hCard, poContext, poPinpad);
|
||||
|
||||
if (poCard == NULL)
|
||||
poCard = SISPluginReadData(strReader, hCard, poContext, poPinpad, oCardPluginLib);
|
||||
|
||||
/* SIS support no longer in the CardLayer<65>, only via the plugins */
|
||||
#if SIS_IN_CAL
|
||||
|
||||
if (poCard == NULL && StartsWith(csReader.c_str(), "ACS ACR38"))
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
poContext->m_oPCSC.Disconnect(hCard, DISCONNECT_RESET_CARD);
|
||||
poCard = SISCardConnectGetInstance(PLUGIN_VERSION, strReader, poContext, poPinpad);
|
||||
#else
|
||||
poCard = SISCardGetInstance(PLUGIN_VERSION, strReader, hCard, poContext, poPinpad);
|
||||
#endif
|
||||
}
|
||||
#ifdef CAL_EMULATION
|
||||
// Emulated reader doesn't start with "ACS ACR38"
|
||||
if (poCard == NULL)
|
||||
poCard = SISCardGetInstance(PLUGIN_VERSION, strReader, hCard, poContext, poPinpad);
|
||||
#endif
|
||||
|
||||
#endif // SIS_IN_CAL
|
||||
|
||||
#endif // CAL_BEID
|
||||
|
||||
#ifndef __APPLE__
|
||||
// If no other CCard subclass could be found
|
||||
if (poCard == NULL)
|
||||
poCard = new CUnknownCard(hCard, poContext, poPinpad, CByteArray());
|
||||
#else
|
||||
// On Mac OS X, SCardConnect() always works when reading a SIS card on an ACR38U,
|
||||
// but not the following SCardTransmit() to read out the data. So we set hCard
|
||||
// to 0 which will cause SISCardConnectGetInstance() below to first switch to
|
||||
// the correct mode to read out the SIS card.
|
||||
hCard = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (hCard == 0)
|
||||
{
|
||||
// 2. A card is present, but connecting to it is reader-specific (e.g. synchron. cards)
|
||||
|
||||
strReader = csReader.c_str();
|
||||
for (size_t i = 0; poCard == NULL && i < m_Plugins.size(); i++)
|
||||
{
|
||||
tPluginInfo &plugin = m_Plugins.at(i);
|
||||
if (!plugin.bFull || (plugin.csReader.size() != 0 && !StartsWith(strReader, plugin.csReader.c_str())))
|
||||
continue;
|
||||
poCard = ConnectGetCardInstance(strReader, poContext, poPinpad,
|
||||
plugin.csPath, oCardPluginLib);
|
||||
}
|
||||
|
||||
#ifdef CAL_BEID
|
||||
// if (poCard == NULL) // FIXME
|
||||
// poCard = SISPluginReadData(strReader, hCard, poContext, poPinpad, oCardPluginLib);
|
||||
|
||||
if (poCard == NULL)
|
||||
poCard = new CUnknownCard(hCard, poContext, poPinpad, CByteArray());
|
||||
|
||||
/* SIS support no longer in the CardLayer<65>, only via the plugins */
|
||||
#if SIS_IN_CAL
|
||||
if (poCard == NULL && StartsWith(csReader.c_str(), "ACS ACR38"))
|
||||
poCard = SISCardConnectGetInstance(PLUGIN_VERSION, strReader, poContext, poPinpad);
|
||||
#endif // SIS_IN_CAL
|
||||
|
||||
#endif // CAL_BEID
|
||||
|
||||
// If the card is still not recognized here, then it may as well
|
||||
// be an badly inserted card, so we'll throw the exception that we
|
||||
// caught in the beginnin of this function
|
||||
if (poCard == NULL)
|
||||
throw CMWEXCEPTION(lErrCode);
|
||||
}
|
||||
|
||||
done:
|
||||
return poCard;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef WIN32
|
||||
// Use Dependency Walker (depends.exe) to get these strings
|
||||
#define csGetCardInstanceName "?GetCardInstance@@YAPAVCCard@eIDMW@@KPBDKPAVCContext@2@PAVCPinpad@2@@Z"
|
||||
#define csConnectGetCardInstanceName "?ConnectGetCardInstance@@YAPAVCCard@eIDMW@@KPBDPAVCContext@2@PAVCPinpad@2@@Z"
|
||||
|
||||
#else
|
||||
// Use nm <dll> to get these strings
|
||||
#define csGetCardInstanceName "_Z15GetCardInstancemPKcmPN5eIDMW8CContextEPNS1_7CPinpadE"
|
||||
#define csConnectGetCardInstanceName "_Z22ConnectGetCardInstancemPKcPN5eIDMW8CContextEPNS1_7CPinpadE"
|
||||
#endif
|
||||
|
||||
static CCard *GetCardInstance(const char *csReader, unsigned long hCard,
|
||||
CContext *poContext, CPinpad *poPinpad,
|
||||
const std::string &csPluginPath, CDynamicLib &oCardPluginLib)
|
||||
{
|
||||
CCard * poCard = NULL;
|
||||
|
||||
unsigned long ulErr = oCardPluginLib.Open(csPluginPath);
|
||||
if (ulErr != EIDMW_OK)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Couldn't load card plugin \"%ls\", err = 0x%0x",
|
||||
utilStringWiden(csPluginPath).c_str(), ulErr);
|
||||
}
|
||||
else
|
||||
{
|
||||
GETCARDINSTANCE pGetCardInstance =
|
||||
(GETCARDINSTANCE) oCardPluginLib.GetAddress(csGetCardInstanceName);
|
||||
if (pGetCardInstance == NULL)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Function \"GetCardInstance\" not found in \"%ls\"",
|
||||
utilStringWiden(csPluginPath).c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
poCard = pGetCardInstance(PLUGIN_VERSION, csReader, hCard, poContext, poPinpad);
|
||||
if (poCard)
|
||||
{
|
||||
MWLOG(LEV_DEBUG, MOD_CAL, L" CardFactory: using plugin \"%ls\"",
|
||||
utilStringWiden(csPluginPath).c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return poCard;
|
||||
}
|
||||
|
||||
static CCard *ConnectGetCardInstance(const char *csReader,
|
||||
CContext *poContext, CPinpad *poPinpad,
|
||||
const std::string &csPluginPath, CDynamicLib &oCardPluginLib)
|
||||
{
|
||||
CCard * poCard = NULL;
|
||||
|
||||
try
|
||||
{
|
||||
unsigned long ulErr = oCardPluginLib.Open(csPluginPath);
|
||||
if (ulErr != EIDMW_OK)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Couldn't load reader specific plugin \"%ls\", err = 0x%0x",
|
||||
utilStringWiden(csPluginPath).c_str(), ulErr);
|
||||
}
|
||||
else
|
||||
{
|
||||
CONNECTGETCARDINSTANCE pConnectGetCardInstance =
|
||||
(CONNECTGETCARDINSTANCE) oCardPluginLib.GetAddress(csConnectGetCardInstanceName);
|
||||
if (pConnectGetCardInstance == NULL)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Function \"ConnectGetCardInstance\" not found in \"%ls\"",
|
||||
utilStringWiden(csPluginPath).c_str());
|
||||
}
|
||||
else
|
||||
poCard = pConnectGetCardInstance(PLUGIN_VERSION, csReader, poContext, poPinpad);
|
||||
if (poCard)
|
||||
{
|
||||
MWLOG(LEV_DEBUG, MOD_CAL, L" CardFactory: connected via plugin \"%ls\"",
|
||||
utilStringWiden(csPluginPath).c_str());
|
||||
} }
|
||||
}
|
||||
catch(CMWException &e)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Exception in ConnectGetCardInstance(): err = 0x%0x\n", e.GetError());
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Unknown error in ConnectGetCardInstance()");
|
||||
}
|
||||
|
||||
return poCard;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef CAL_BEID
|
||||
#define EIDMW_PLUGINS_DIR "beidcardplugins"
|
||||
#endif
|
||||
|
||||
// The function below lists the files in a directory, for which
|
||||
// no standard platform-independent API seems to exist...
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
|
||||
static void GetPluginNames()
|
||||
{
|
||||
char csSystemDir[_MAX_PATH];
|
||||
GetSystemDirectoryA(csSystemDir, sizeof(csSystemDir) - 50);
|
||||
|
||||
// E.g. "C:\WINDOWS\System32\beidcardplugins\"
|
||||
std::string csPluginsDir = csSystemDir + std::string("\\") +
|
||||
EIDMW_PLUGINS_DIR + std::string("\\");
|
||||
std::string strSearchFor = csPluginsDir + std::string("*.dll");
|
||||
const char *csSearchFor = strSearchFor.c_str();
|
||||
|
||||
struct _finddata_t c_file;
|
||||
intptr_t hFile = _findfirst(csSearchFor, &c_file);
|
||||
if (hFile != -1)
|
||||
{
|
||||
int iFindRes;
|
||||
do
|
||||
{
|
||||
// On Windows, card plugins are linked to the CAL.
|
||||
// So emulation plugins need to be used with the emulation CAL,
|
||||
// and 'normal' plugins need to be used with the 'normal' CAL.
|
||||
#ifdef CAL_EMULATION
|
||||
if (strstr(c_file.name, "Emulation") != NULL)
|
||||
AddPluginName(c_file.name, csPluginsDir + c_file.name);
|
||||
#else
|
||||
if (strstr(c_file.name, "Emulation") == NULL)
|
||||
AddPluginName(c_file.name, csPluginsDir + c_file.name);
|
||||
#endif
|
||||
iFindRes = _findnext(hFile, &c_file);
|
||||
}
|
||||
while (iFindRes == 0);
|
||||
|
||||
_findclose(hFile);
|
||||
}
|
||||
|
||||
m_bPluginNamesOK = true;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
static void GetPluginNames()
|
||||
{
|
||||
std::string csPluginsDir = STRINGIFY(EIDMW_PREFIX) + std::string("/lib/") +
|
||||
EIDMW_PLUGINS_DIR + std::string("/");
|
||||
const char *csSearchFor = csPluginsDir.c_str();
|
||||
|
||||
DIR *pDir = opendir(csSearchFor);
|
||||
// If pDir is NULL then the dir doesn't exist
|
||||
if(pDir != NULL)
|
||||
{
|
||||
struct dirent *pFile = readdir(pDir);
|
||||
for ( ;pFile != NULL; pFile = readdir(pDir))
|
||||
{
|
||||
// On Mac, card plugins are linked to the CAL.
|
||||
// So emulation plugins need to be used with the emulation CAL,
|
||||
// and 'normal' plugins need to be used with the 'normal' CAL.
|
||||
#if defined CAL_EMULATION && defined __APPLE__
|
||||
if (strstr(pFile->d_name, "Emulation") != NULL)
|
||||
AddPluginName(pFile->d_name, csPluginsDir + pFile->d_name);
|
||||
#else
|
||||
if (strstr(pFile->d_name, "Emulation") == NULL)
|
||||
AddPluginName(pFile->d_name, csPluginsDir + pFile->d_name);
|
||||
#endif
|
||||
}
|
||||
|
||||
closedir(pDir);
|
||||
}
|
||||
|
||||
m_bPluginNamesOK = true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static void AddPluginName(const char *csPluginName, const std::string & csPath)
|
||||
{
|
||||
if (StartsWith(csPluginName, "cardplugin") || StartsWith(csPluginName, "libcardplugin"))
|
||||
{
|
||||
tPluginInfo plugin;
|
||||
|
||||
plugin.csPath = csPath;
|
||||
|
||||
plugin.bFull = StartsWith(csPluginName, "cardpluginFull") ||
|
||||
StartsWith(csPluginName, "libcardpluginFull");
|
||||
const char *ptr1 = strstr(csPluginName, "__");
|
||||
const char *ptr2 = (ptr1 == NULL ? NULL : strstr(ptr1 + 2, "__"));
|
||||
if (ptr2 != NULL && ptr2 - ptr1 < 200)
|
||||
{
|
||||
ptr1 += 2;
|
||||
char csReaderName[200];
|
||||
memcpy(csReaderName, ptr1, ptr2 - ptr1);
|
||||
csReaderName[ptr2 - ptr1] = '\0';
|
||||
plugin.csReader = csReaderName;
|
||||
}
|
||||
|
||||
m_Plugins.push_back(plugin);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
34
cardlayer/src/cardfactory.h
Executable file
34
cardlayer/src/cardfactory.h
Executable file
|
@ -0,0 +1,34 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#ifndef __CARDFACTORY_H__
|
||||
#define __CARDFACTORY_H__
|
||||
|
||||
#include "card.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
CCard * CardConnect(const std::string &csReader,
|
||||
CContext *poContext, CPinpad *poPinpad,
|
||||
CDynamicLib &oCardPluginLib);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
150
cardlayer/src/cardlayer.cpp
Executable file
150
cardlayer/src/cardlayer.cpp
Executable file
|
@ -0,0 +1,150 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "cardlayer.h"
|
||||
#include "cache.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
CCardLayer::CCardLayer(void)
|
||||
{
|
||||
m_ulReaderCount = 0;
|
||||
for (unsigned long i = 0; i < MAX_READERS; i++)
|
||||
m_tpReaders[i] = NULL;
|
||||
}
|
||||
|
||||
CCardLayer::~CCardLayer(void)
|
||||
{
|
||||
for (unsigned long i = 0; i < MAX_READERS; i++)
|
||||
{
|
||||
if (m_tpReaders[i] != NULL) {
|
||||
delete m_tpReaders[i];
|
||||
m_tpReaders[i] = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CCardLayer::ForceRelease(void)
|
||||
{
|
||||
m_oContext.m_oPCSC.ReleaseContext();
|
||||
}
|
||||
|
||||
/**
|
||||
* This is something you typically do just once, unless you
|
||||
* want to check if new readers were inserted/removed.
|
||||
* Note: PKCS#11 assumes that the number of readers never
|
||||
* change, so you have to call this function only in
|
||||
* C_GetSlotList().
|
||||
*/
|
||||
CReadersInfo CCardLayer::ListReaders()
|
||||
{
|
||||
CReadersInfo theReadersInfo;
|
||||
CByteArray oReaders;
|
||||
|
||||
// Do an SCardEstablishContext() if not done yet
|
||||
try
|
||||
{
|
||||
m_oContext.m_oPCSC.EstablishContext();
|
||||
oReaders = m_oContext.m_oPCSC.ListReaders();
|
||||
}
|
||||
catch(CMWException &e)
|
||||
{
|
||||
unsigned long err = e.GetError();
|
||||
if (err == EIDMW_ERR_NO_READER)
|
||||
return theReadersInfo;
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
theReadersInfo = CReadersInfo(&m_oContext.m_oPCSC, oReaders);
|
||||
|
||||
if (oReaders.Size() != 0)
|
||||
{
|
||||
m_szDefaultReaderName = (char *) oReaders.GetBytes();
|
||||
}
|
||||
|
||||
return theReadersInfo;
|
||||
}
|
||||
|
||||
CReader & CCardLayer::getReader(const std::string &csReaderName)
|
||||
{
|
||||
// Do an SCardEstablishContext() if not done yet
|
||||
m_oContext.m_oPCSC.EstablishContext();
|
||||
|
||||
CReader *pRet = NULL;
|
||||
|
||||
// If csReaderName == "", take the default (= first found) reader name
|
||||
const std::string *pcsReaderName = (csReaderName.size() == 0) ?
|
||||
GetDefaultReader() : &csReaderName;
|
||||
if (pcsReaderName->size() == 0)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NO_READER);
|
||||
|
||||
// First check if the reader doesn't exist already
|
||||
for (unsigned long i = 0; i < MAX_READERS; i++)
|
||||
{
|
||||
if (m_tpReaders[i] != NULL) {
|
||||
if (m_tpReaders[i]->GetReaderName() == *pcsReaderName)
|
||||
{
|
||||
pRet = m_tpReaders[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// No CReader object for this readername -> make one
|
||||
if (pRet == NULL)
|
||||
{
|
||||
for (unsigned long i = 0; i < MAX_READERS; i++)
|
||||
{
|
||||
if (m_tpReaders[i] == NULL) {
|
||||
pRet = new CReader(*pcsReaderName, &m_oContext);
|
||||
m_tpReaders[i] = pRet;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// No room in m_tpReaders -> throw an exception
|
||||
if (pRet == NULL)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_LIMIT);
|
||||
|
||||
return *pRet;
|
||||
}
|
||||
|
||||
std::string * CCardLayer::GetDefaultReader()
|
||||
{
|
||||
std::string *pRet = &m_szDefaultReaderName;
|
||||
|
||||
if (m_szDefaultReaderName.size() == 0)
|
||||
{
|
||||
CByteArray csReaders = m_oContext.m_oPCSC.ListReaders();
|
||||
if (csReaders.Size() != 0)
|
||||
m_szDefaultReaderName = (char *) csReaders.GetBytes();
|
||||
}
|
||||
|
||||
return pRet;
|
||||
}
|
||||
|
||||
bool CCardLayer::DeleteFromCache(const std::string & csSerialNr)
|
||||
{
|
||||
return CCache::Delete(csSerialNr);
|
||||
}
|
||||
|
||||
}
|
144
cardlayer/src/cardlayer.h
Executable file
144
cardlayer/src/cardlayer.h
Executable file
|
@ -0,0 +1,144 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/**
|
||||
\page ClassOverview Overview of the all classes
|
||||
|
||||
<PRE>
|
||||
|
||||
Public API (CardLayer.h, ReadersIngo.h Reader.h, P15Objects.h CardLayerConst.h)
|
||||
|
||||
PKCS15
|
||||
|
||||
Card
|
||||
| | Cache
|
||||
| |
|
||||
AsymCard SISCard
|
||||
|
|
||||
BelpicCard
|
||||
P15Objects
|
||||
|
||||
Dlg PCSC
|
||||
|
||||
|
||||
--------------- objects
|
||||
|
||||
CReader
|
||||
-> tPin, tPrivKey, tCert
|
||||
-> CReadersInfo
|
||||
|
||||
-> CCardLayer
|
||||
-> CContext
|
||||
-> CPCSC
|
||||
-> CDlg
|
||||
-> CPinpad
|
||||
|
||||
-> CCard
|
||||
-> CSISCard
|
||||
-> CAsymCard
|
||||
-> CBeidCard
|
||||
-> CPKCS15
|
||||
-> CCache
|
||||
|
||||
|
||||
|
||||
</PRE>
|
||||
|
||||
|
||||
\section UserList Who does what:
|
||||
|
||||
Claudia: Linux, CL (of Ivo de CL)
|
||||
Dirk: PF
|
||||
Stef Hoeben: CL, build env.
|
||||
Christophe: dialogs, GUI
|
||||
Mark Geerts: SDK
|
||||
Vital Schonkeren/Geert Vanmuylem: pkcs11, minidriver
|
||||
Chris Verachtert: XAdES lib + app
|
||||
Ivo Pieck: Config, SIS
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "reader.h"
|
||||
#include "readersinfo.h"
|
||||
#include "context.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
class EIDMW_CAL_API CCardLayer
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* Calling the CAL (Card Abstraction Layer) starts with the
|
||||
* constructing a CCardLayer object.
|
||||
* Calling the constructor doesn't cause a connection to the smart
|
||||
* card resource manager yet (no SCardEstablishContext() yet)
|
||||
*/
|
||||
CCardLayer(void);
|
||||
|
||||
~CCardLayer(void);
|
||||
|
||||
/**
|
||||
* Release the connection to the smart card resource manager (a
|
||||
* call to SCardReleaseContext(); this is also done in the destructor.
|
||||
* WARNING: this will cause all CReadersInfo and CReader object to
|
||||
* become unusable. Calling afterwards one of the functions below will
|
||||
* cause a re-connection to the smart card resource manager.
|
||||
*/
|
||||
void ForceRelease();
|
||||
|
||||
/**
|
||||
* Return the list of all available readers, plus info on the
|
||||
* presence of cards in those readers.
|
||||
*/
|
||||
CReadersInfo ListReaders();
|
||||
|
||||
/**
|
||||
* Get a CReader object for the reader with name csReaderName;
|
||||
* no connection is made yet to the card that might be present
|
||||
* in the reader.
|
||||
* The list of csReaderNames can be found with ListReaers().
|
||||
* If csReader == "", then the first found reader is taken
|
||||
*/
|
||||
CReader & getReader(const std::string &csReaderName);
|
||||
|
||||
/**
|
||||
* Delete the cache files for the card with serial number 'csSerialNr'.
|
||||
* To delete all cache files, leave csSerialNr empty ("").
|
||||
* Returns true is something was deleted, false otherwise.
|
||||
*/
|
||||
bool DeleteFromCache(const std::string & csSerialNr);
|
||||
|
||||
private:
|
||||
// No copies allowed
|
||||
CCardLayer(const CCardLayer & oCardLayer);
|
||||
CCardLayer & operator = (const CCardLayer & oCardLayer);
|
||||
std::string * GetDefaultReader();
|
||||
|
||||
CContext m_oContext;
|
||||
|
||||
std::string m_szDefaultReaderName;
|
||||
unsigned long m_ulReaderCount;
|
||||
CReader *m_tpReaders[MAX_READERS];
|
||||
};
|
||||
|
||||
}
|
117
cardlayer/src/cardlayerconst.h
Executable file
117
cardlayer/src/cardlayerconst.h
Executable file
|
@ -0,0 +1,117 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#pragma once
|
||||
|
||||
#ifndef CARDLAYERCONST_H
|
||||
#define CARDLAYERCONST_H
|
||||
namespace eIDMW
|
||||
{
|
||||
/**
|
||||
* The maximum number of readers; if more readers are present
|
||||
* only the first MAX_READERS that are found will used.
|
||||
*/
|
||||
const static unsigned long MAX_READERS = 8;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
DISCONNECT_LEAVE_CARD = 0,
|
||||
DISCONNECT_RESET_CARD = 1,
|
||||
} tDisconnectMode;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
FILE_OP_READ,
|
||||
FILE_OP_WRITE,
|
||||
} tFileOperation;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
PIN_OP_VERIFY,
|
||||
PIN_OP_CHANGE,
|
||||
PIN_OP_LOGOFF,
|
||||
} tPinOperation;
|
||||
|
||||
const unsigned long SIGN_ALGO_RSA_RAW = 0x01;
|
||||
const unsigned long SIGN_ALGO_RSA_PKCS = 0x02;
|
||||
const unsigned long SIGN_ALGO_MD5_RSA_PKCS = 0x04;
|
||||
const unsigned long SIGN_ALGO_SHA1_RSA_PKCS = 0x08;
|
||||
const unsigned long SIGN_ALGO_SHA256_RSA_PKCS = 0x10;
|
||||
const unsigned long SIGN_ALGO_SHA384_RSA_PKCS = 0x20;
|
||||
const unsigned long SIGN_ALGO_SHA512_RSA_PKCS = 0x40;
|
||||
const unsigned long SIGN_ALGO_RIPEMD160_RSA_PKCS = 0x80;
|
||||
const unsigned long SIGN_ALGO_SHA1_RSA_PSS = 0x100;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
PIN_ENC_ASCII,
|
||||
PIN_ENC_BCD,
|
||||
PIN_ENC_GP, // Global platorm encoding e.g. "12345" -> {0x25, 0x12, 0x34, 0x5F, 0xFF, ... 0xFF}
|
||||
} tPinEncoding;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CARD_BEID,
|
||||
CARD_SIS,
|
||||
CARD_UNKNOWN,
|
||||
} tCardType;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CARD_INSERTED,
|
||||
CARD_NOT_PRESENT,
|
||||
CARD_STILL_PRESENT,
|
||||
CARD_REMOVED,
|
||||
CARD_OTHER,
|
||||
} tCardStatus;
|
||||
|
||||
const unsigned long TIMEOUT_INFINITE = 0xFFFFFFFF; // used in CCardLayer::GetStatusChange()
|
||||
|
||||
const unsigned long ALL_READERS = 0xFFFFFFFF; // used in CCardLayer::GetStatusChange()
|
||||
|
||||
const unsigned long FULL_FILE = 0xFFFFFFFF; // used in CReader::ReadFile()
|
||||
|
||||
const unsigned long PIN_STATUS_UNKNOWN = 0xFFFFFFFE; // used in CReader::PinStatus()
|
||||
|
||||
|
||||
/* used in CReader::Ctrl() */
|
||||
|
||||
const long CTRL_BEID = 1000;
|
||||
|
||||
/** Returns the unsigned card data (= same as CReader::GetInfo(), in case of a BE eID card).
|
||||
* No input data is needed, 28 bytes are returned. */
|
||||
const long CTRL_BEID_GETCARDDATA = CTRL_BEID;
|
||||
|
||||
/** Returns the signed card data (28 + 128 bytes). No input data is needed.
|
||||
* Not for V1 cards! */
|
||||
const long CTRL_BEID_GETSIGNEDCARDDATA = CTRL_BEID + 1;
|
||||
|
||||
/** Returns the signed PIN status (1 + 128 bytes).
|
||||
* Not for V1 cards!
|
||||
* The input data should consist of 1 byte: the pin reference. */
|
||||
const long CTRL_BEID_GETSIGNEDPINSTATUS = CTRL_BEID + 2;
|
||||
|
||||
/** Does an Internal Authenticate command, the signed challenge (128 bytes) is returned.
|
||||
* The input data should be 21 bytes:
|
||||
* - the key reference (1 byte)
|
||||
* - the challenge to be signed (20 bytes) */
|
||||
const long CTRL_BEID_INTERNAL_AUTH = CTRL_BEID + 3;
|
||||
}
|
||||
|
||||
#endif
|
673
cardlayer/src/cardpluginbeid/beidcard.cpp
Executable file
673
cardlayer/src/cardpluginbeid/beidcard.cpp
Executable file
|
@ -0,0 +1,673 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "beidcard.h"
|
||||
#include "../common/src/log.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "src/unknowncard.h"
|
||||
#endif
|
||||
|
||||
using namespace eIDMW;
|
||||
|
||||
static const unsigned char APPLET_AID[] = {0xA0,0x00,0x00,0x00,0x30,0x29,0x05,0x70,0x00,0xAD,0x13,0x10,0x01,0x01,0xFF};
|
||||
static const unsigned char BELPIC_AID[] = {0xA0,0x00,0x00,0x01,0x77,0x50,0x4B,0x43,0x53,0x2D,0x31,0x35};
|
||||
static const unsigned char ID_AID[] = {0xA0,0x00,0x00,0x01,0x77,0x49,0x64,0x46,0x69,0x6C,0x65,0x73};
|
||||
|
||||
static const tFileInfo DEFAULT_FILE_INFO = {-1, -1, -1};
|
||||
static const tFileInfo PREFS_FILE_INFO_V1 = {-1, -1, 1};
|
||||
static const tFileInfo PREFS_FILE_INFO_V2 = {-1, -1, 0x85};
|
||||
|
||||
// If we want to 'hardcode' this plugin internally in the CAL, this function
|
||||
// can't be present because it's the same for all plugins
|
||||
#ifndef CARDPLUGIN_IN_CAL
|
||||
CCard *GetCardInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad)
|
||||
{
|
||||
return BeidCardGetInstance(ulVersion, csReader, hCard, poContext, poPinpad);
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool BeidCardSelectApplet(CContext *poContext, unsigned long hCard)
|
||||
{
|
||||
unsigned char tucSelectApp[] = {0x00, 0xA4, 0x04, 0x00};
|
||||
CByteArray oCmd(40);
|
||||
oCmd.Append(tucSelectApp, sizeof(tucSelectApp));
|
||||
oCmd.Append((unsigned char) sizeof(APPLET_AID));
|
||||
oCmd.Append(APPLET_AID, sizeof(APPLET_AID));
|
||||
|
||||
CByteArray oResp = poContext->m_oPCSC.Transmit(hCard, oCmd);
|
||||
|
||||
return (oResp.Size() == 2 && (oResp.GetByte(0) == 0x61 || oResp.GetByte(0) == 0x90));
|
||||
}
|
||||
|
||||
CCard *BeidCardGetInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad)
|
||||
{
|
||||
CCard *poCard = NULL;
|
||||
|
||||
if ((ulVersion % 100) == (PLUGIN_VERSION % 100))
|
||||
{
|
||||
try {
|
||||
bool bNeedToSelectApplet = false;
|
||||
CByteArray oData;
|
||||
CByteArray oCmd(40);
|
||||
unsigned char tucSelectApp[] = {0x00, 0xA4, 0x04, 0x0C};
|
||||
oCmd.Append(tucSelectApp, sizeof(tucSelectApp));
|
||||
oCmd.Append((unsigned char) sizeof(BELPIC_AID));
|
||||
oCmd.Append(BELPIC_AID, sizeof(BELPIC_AID));
|
||||
|
||||
// Don't remove these brackets, CAutoLock dtor must be called!
|
||||
{
|
||||
CAutoLock oAutLock(&poContext->m_oPCSC, hCard);
|
||||
|
||||
oData = poContext->m_oPCSC.Transmit(hCard, oCmd);
|
||||
|
||||
if (oData.Size() == 2 && oData.GetByte(0) == 0x6A &&
|
||||
(oData.GetByte(1) == 0x82 || oData.GetByte(1) == 0x86))
|
||||
{
|
||||
// Perhaps the applet is no longer selected; so try to select it
|
||||
// first; and if successfull then try to select the Belpic AID again
|
||||
bNeedToSelectApplet = BeidCardSelectApplet(poContext, hCard);
|
||||
if (bNeedToSelectApplet)
|
||||
oData = poContext->m_oPCSC.Transmit(hCard, oCmd);
|
||||
}
|
||||
|
||||
bool bIsBeidCard = oData.Size() == 2 && oData.GetByte(0) == 0x90 && oData.GetByte(1) == 0x00;
|
||||
|
||||
if (bIsBeidCard)
|
||||
poCard = new CBeidCard(hCard, poContext, poPinpad, oData,
|
||||
bNeedToSelectApplet ? ALW_SELECT_APPLET : TRY_SELECT_APPLET);
|
||||
#ifdef __APPLE__
|
||||
else {
|
||||
// On Mac, if an unknown asynchronous card is inserted,
|
||||
// we don't return NULL but a CUnknownCard instance.
|
||||
// Reason: if we return NULL then the SISCardPlugin who
|
||||
// will be consulted next in card of a ACR38U reader
|
||||
// causes the reader/driver to get in a strange state
|
||||
// (if no SIS card is present) and if then a CUnknownCard
|
||||
// is instantiated, it will throw an exception if e.g.
|
||||
// SCardStatus() is called.
|
||||
// Remark: this trick won't work if synchronous card
|
||||
// (other then the SIS card is inserted).
|
||||
return new CUnknownCard(hCard, poContext, poPinpad, CByteArray());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
//printf("Exception in cardPluginBeid.CardGetInstance()\n");
|
||||
}
|
||||
}
|
||||
|
||||
return poCard;
|
||||
}
|
||||
|
||||
CBeidCard::CBeidCard(unsigned long hCard, CContext *poContext,
|
||||
CPinpad *poPinpad, const CByteArray & oData, tSelectAppletMode selectAppletMode) :
|
||||
CPkiCard(hCard, poContext, poPinpad)
|
||||
{
|
||||
try {
|
||||
m_ucCLA = 0x80;
|
||||
m_oCardData = SendAPDU(0xE4, 0x00, 0x00, 0x1C);
|
||||
m_ucCLA = 0x00;
|
||||
|
||||
if (m_oCardData.Size() < 23)
|
||||
{
|
||||
throw CMWEXCEPTION(EIDMW_ERR_APPLET_VERSION_NOT_FOUND);
|
||||
}
|
||||
|
||||
m_oCardData.Chop(2); // remove SW12 = '90 00'
|
||||
|
||||
m_oSerialNr = CByteArray(m_oCardData.GetBytes(), 16);
|
||||
|
||||
m_ucAppletVersion = m_oCardData.GetByte(21);
|
||||
if (m_ucAppletVersion < 0x20)
|
||||
m_ucAppletVersion = (unsigned char) (16 * m_oCardData.GetByte(21) + m_oCardData.GetByte(22));
|
||||
|
||||
m_ul6CDelay = 0;
|
||||
if (m_oCardData.GetByte(22) == 0x00 && m_oCardData.GetByte(23) == 0x01)
|
||||
m_ul6CDelay = 50;
|
||||
|
||||
m_selectAppletMode = selectAppletMode;
|
||||
}
|
||||
catch(CMWException e)
|
||||
{
|
||||
MWLOG(LEV_CRIT, MOD_CAL, L"Failed to get CardData: 0x%0x", e.GetError());
|
||||
Disconnect(DISCONNECT_LEAVE_CARD);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
MWLOG(LEV_CRIT, MOD_CAL, L"Failed to get CardData");
|
||||
Disconnect(DISCONNECT_LEAVE_CARD);
|
||||
}
|
||||
}
|
||||
|
||||
CBeidCard::~CBeidCard(void)
|
||||
{
|
||||
}
|
||||
|
||||
tCardType CBeidCard::GetType()
|
||||
{
|
||||
return CARD_BEID;
|
||||
}
|
||||
|
||||
CByteArray CBeidCard::GetSerialNrBytes()
|
||||
{
|
||||
return m_oSerialNr;
|
||||
}
|
||||
|
||||
CByteArray CBeidCard::GetInfo()
|
||||
{
|
||||
return m_oCardData;
|
||||
}
|
||||
|
||||
std::string CBeidCard::GetPinpadPrefix()
|
||||
{
|
||||
return "beidpp";
|
||||
}
|
||||
|
||||
unsigned long CBeidCard::PinStatus(const tPin & Pin)
|
||||
{
|
||||
// This command isn't supported on V1 cards
|
||||
if (m_oCardData.GetByte(21) < 0x20)
|
||||
return PIN_STATUS_UNKNOWN;
|
||||
|
||||
try
|
||||
{
|
||||
m_ucCLA = 0x80;
|
||||
CByteArray oResp = SendAPDU(0xEA, 0x00, (unsigned char) Pin.ulPinRef, 1);
|
||||
m_ucCLA = 0x00;
|
||||
|
||||
getSW12(oResp, 0x9000);
|
||||
|
||||
return oResp.GetByte(0);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
m_ucCLA = 0x00;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
DlgPinUsage CBeidCard::PinUsage2Dlg(const tPin & Pin, const tPrivKey *pKey)
|
||||
{
|
||||
DlgPinUsage usage = DLG_PIN_UNKNOWN;
|
||||
|
||||
if (pKey != NULL)
|
||||
{
|
||||
if (pKey->ulID == 2)
|
||||
usage = DLG_PIN_AUTH;
|
||||
else if (pKey->ulID == 3)
|
||||
usage = DLG_PIN_SIGN;
|
||||
}
|
||||
else if (Pin.ulID == 2)
|
||||
usage = DLG_PIN_SIGN;
|
||||
else
|
||||
usage = DLG_PIN_AUTH;
|
||||
|
||||
return usage;
|
||||
}
|
||||
|
||||
void CBeidCard::showPinDialog(tPinOperation operation, const tPin & Pin,
|
||||
std::string & csPin1, std::string & csPin2, const tPrivKey *pKey)
|
||||
{
|
||||
|
||||
// Convert params
|
||||
wchar_t wsPin1[PIN_MAX_LENGTH+1];
|
||||
wchar_t wsPin2[PIN_MAX_LENGTH+1];
|
||||
DlgPinOperation pinOperation = PinOperation2Dlg(operation);
|
||||
DlgPinUsage usage = PinUsage2Dlg(Pin, pKey);
|
||||
DlgPinInfo pinInfo = {Pin.ulMinLen, Pin.ulMaxLen, PIN_FLAG_DIGITS};
|
||||
|
||||
// The actual call
|
||||
DlgRet ret;
|
||||
std::wstring wideLabel = utilStringWiden(Pin.csLabel);
|
||||
if (operation != PIN_OP_CHANGE)
|
||||
{
|
||||
ret = DlgAskPin(pinOperation,
|
||||
usage, wideLabel.c_str(), pinInfo, wsPin1,PIN_MAX_LENGTH+1);
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = DlgAskPins(pinOperation,
|
||||
usage, wideLabel.c_str(),
|
||||
pinInfo, wsPin1,PIN_MAX_LENGTH+1,
|
||||
pinInfo, wsPin2,PIN_MAX_LENGTH+1);
|
||||
}
|
||||
|
||||
// Convert back
|
||||
if (ret == DLG_OK)
|
||||
{
|
||||
csPin1 = utilStringNarrow(wsPin1);
|
||||
if (operation == PIN_OP_CHANGE)
|
||||
csPin2 = utilStringNarrow(wsPin2);
|
||||
}
|
||||
else if (ret == DLG_CANCEL)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PIN_CANCEL);
|
||||
else if (ret == DLG_BAD_PARAM)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PARAM_BAD);
|
||||
else
|
||||
throw CMWEXCEPTION(EIDMW_ERR_UNKNOWN);
|
||||
|
||||
}
|
||||
|
||||
bool CBeidCard::PinCmd(tPinOperation operation, const tPin & Pin,
|
||||
const std::string & csPin1, const std::string & csPin2,
|
||||
unsigned long & ulRemaining, const tPrivKey *pKey)
|
||||
{
|
||||
tPin beidPin = Pin;
|
||||
// There's a path in the EF(AODF) for the PINs, but it's
|
||||
// not necessary, so we can save a Select File command
|
||||
beidPin.csPath = "";
|
||||
// Encoding is Global Platform, there is/was no way to encode
|
||||
// this in PKCS15 AODF so it says/said erroneously "BCD encoding".
|
||||
beidPin.encoding = PIN_ENC_GP;
|
||||
|
||||
return CPkiCard::PinCmd(operation, beidPin, csPin1, csPin2, ulRemaining, pKey);
|
||||
}
|
||||
|
||||
bool CBeidCard::LogOff(const tPin & Pin)
|
||||
{
|
||||
m_ucCLA = 0x80;
|
||||
// No PIN has to be specified
|
||||
CByteArray oResp = SendAPDU(0xE6, 0x00, 0x00, 0);
|
||||
m_ucCLA = 0x00;
|
||||
|
||||
getSW12(oResp, 0x9000);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned long CBeidCard::GetSupportedAlgorithms()
|
||||
{
|
||||
unsigned long ulAlgos =
|
||||
SIGN_ALGO_RSA_PKCS | SIGN_ALGO_MD5_RSA_PKCS | SIGN_ALGO_SHA1_RSA_PKCS;
|
||||
|
||||
if (m_ucAppletVersion >= 0x20)
|
||||
ulAlgos |= SIGN_ALGO_SHA1_RSA_PSS;
|
||||
|
||||
return ulAlgos;
|
||||
}
|
||||
|
||||
CByteArray CBeidCard::Ctrl(long ctrl, const CByteArray & oCmdData)
|
||||
{
|
||||
CAutoLock oAutoLock(this);
|
||||
|
||||
switch(ctrl)
|
||||
{
|
||||
case CTRL_BEID_GETCARDDATA:
|
||||
return m_oCardData;
|
||||
case CTRL_BEID_GETSIGNEDCARDDATA:
|
||||
if (m_ucAppletVersion < 0x20)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
else
|
||||
{
|
||||
if (m_selectAppletMode == ALW_SELECT_APPLET)
|
||||
SelectApplet();
|
||||
m_ucCLA = 0x80;
|
||||
CByteArray oRet = SendAPDU(0xE4, 0x02, 0x00, 0x9C);
|
||||
m_ucCLA = 0;
|
||||
getSW12(oRet, 0x9000);
|
||||
oRet.Chop(2);
|
||||
return oRet;
|
||||
}
|
||||
case CTRL_BEID_GETSIGNEDPINSTATUS:
|
||||
// oCmdData must contain:
|
||||
// - the pin reference (1 byte)
|
||||
if (m_ucAppletVersion < 0x20)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
else
|
||||
{
|
||||
if (m_selectAppletMode == ALW_SELECT_APPLET)
|
||||
SelectApplet();
|
||||
unsigned char ucPinRef = oCmdData.GetByte(0);
|
||||
m_ucCLA = 0x80;
|
||||
CByteArray oRet = SendAPDU(0xEA, 0x02, ucPinRef, 0x81);
|
||||
m_ucCLA = 0;
|
||||
if (ShouldSelectApplet(0xEA, getSW12(oRet)))
|
||||
{
|
||||
if (SelectApplet())
|
||||
{
|
||||
m_selectAppletMode = ALW_SELECT_APPLET;
|
||||
m_ucCLA = 0x80;
|
||||
CByteArray oRet = SendAPDU(0xEA, 0x02, ucPinRef, 0x81);
|
||||
m_ucCLA = 0;
|
||||
}
|
||||
}
|
||||
getSW12(oRet, 0x9000);
|
||||
oRet.Chop(2);
|
||||
return oRet;
|
||||
}
|
||||
case CTRL_BEID_INTERNAL_AUTH:
|
||||
// oCmdData must contain:
|
||||
// - the key reference (1 byte)
|
||||
// - the challenge to be signed (20 bytes)
|
||||
if (oCmdData.Size() != 21)
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PARAM_BAD);
|
||||
else
|
||||
{
|
||||
if (m_selectAppletMode == ALW_SELECT_APPLET)
|
||||
SelectApplet();
|
||||
unsigned char ucKeyRef = oCmdData.GetByte(0);
|
||||
CByteArray oData(22);
|
||||
oData.Append(0x94);
|
||||
oData.Append(0x14);
|
||||
oData.Append(oCmdData.GetBytes() + 1, 20);
|
||||
CByteArray oRet = SendAPDU(0x88, 0x02, ucKeyRef, oData);
|
||||
if (ShouldSelectApplet(0x88, getSW12(oRet)))
|
||||
{
|
||||
if (SelectApplet())
|
||||
{
|
||||
m_selectAppletMode = ALW_SELECT_APPLET;
|
||||
CByteArray oRet = SendAPDU(0x88, 0x02, ucKeyRef, oData);
|
||||
}
|
||||
}
|
||||
getSW12(oRet, 0x9000);
|
||||
oRet.Chop(2);
|
||||
return oRet;
|
||||
}
|
||||
default:
|
||||
MWLOG(LEV_WARN, MOD_CAL, L"Ctrl(): Unknown CRTL code %d (0x%0x) specified", ctrl, ctrl);
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PARAM_BAD);
|
||||
}
|
||||
}
|
||||
|
||||
CP15Correction* CBeidCard::GetP15Correction()
|
||||
{
|
||||
return &p15correction;
|
||||
}
|
||||
|
||||
tFileInfo CBeidCard::ParseFileInfo(CByteArray & oFCI)
|
||||
{
|
||||
// We should never come here
|
||||
throw CMWEXCEPTION(EIDMW_ERR_CHECK);
|
||||
}
|
||||
|
||||
void CBeidCard::SetSecurityEnv(const tPrivKey & key, unsigned long algo,
|
||||
unsigned long ulInputLen)
|
||||
{
|
||||
// Data = [04 80 <algoref> 84 <keyref>] (5 bytes)
|
||||
CByteArray oData(5);
|
||||
|
||||
oData.Append(0x04);
|
||||
|
||||
oData.Append(0x80);
|
||||
|
||||
unsigned char ucAlgo;
|
||||
switch (algo)
|
||||
{
|
||||
case SIGN_ALGO_RSA_PKCS: ucAlgo = 0x01; break;
|
||||
case SIGN_ALGO_SHA1_RSA_PKCS: ucAlgo = 0x02; break;
|
||||
case SIGN_ALGO_MD5_RSA_PKCS: ucAlgo = 0x04; break;
|
||||
case SIGN_ALGO_SHA1_RSA_PSS:
|
||||
if (m_ucAppletVersion < 0x20)
|
||||
{
|
||||
MWLOG(LEV_WARN, MOD_CAL, L"MSE SET: PSS not supported on V1 cards");
|
||||
throw CMWEXCEPTION(EIDMW_ERR_NOT_SUPPORTED);
|
||||
}
|
||||
ucAlgo = 0x08;
|
||||
break;
|
||||
default:
|
||||
throw CMWEXCEPTION(EIDMW_ERR_ALGO_BAD);
|
||||
}
|
||||
oData.Append(ucAlgo);
|
||||
|
||||
oData.Append(0x84);
|
||||
|
||||
oData.Append((unsigned char) key.ulKeyRef);
|
||||
|
||||
CByteArray oResp = SendAPDU(0x22, 0x41, 0xB6, oData);
|
||||
if (ShouldSelectApplet(0x22, getSW12(oResp)))
|
||||
{
|
||||
if (SelectApplet())
|
||||
{
|
||||
m_selectAppletMode = ALW_SELECT_APPLET;
|
||||
oResp = SendAPDU(0x22, 0x41, 0xB6, oData);
|
||||
}
|
||||
}
|
||||
|
||||
getSW12(oResp, 0x9000);
|
||||
}
|
||||
|
||||
CByteArray CBeidCard::SignInternal(const tPrivKey & key, unsigned long algo,
|
||||
const CByteArray & oData, const tPin *pPin)
|
||||
{
|
||||
CAutoLock autolock(this);
|
||||
|
||||
// For V2 cards, the Belpic dir has to be selected
|
||||
if (m_ucAppletVersion >= 0x20)
|
||||
SelectFile(key.csPath);
|
||||
else if (m_selectAppletMode == ALW_SELECT_APPLET)
|
||||
SelectApplet();
|
||||
|
||||
SetSecurityEnv(key, algo, oData.Size());
|
||||
|
||||
// Pretty unique for smart cards: first MSE SET, then verify PIN
|
||||
// (needed for the nonrep key/pin, but also usable for the auth key/pin)
|
||||
if (pPin != NULL)
|
||||
{
|
||||
unsigned long ulRemaining = 0;
|
||||
bool bOK = PinCmd(PIN_OP_VERIFY, *pPin, "", "", ulRemaining, &key);
|
||||
if (!bOK)
|
||||
throw CMWEXCEPTION(ulRemaining == 0 ? EIDMW_ERR_PIN_BLOCKED : EIDMW_ERR_PIN_BAD);
|
||||
}
|
||||
|
||||
// PSO: Compute Digital Signature
|
||||
CByteArray oResp = SendAPDU(0x2A, 0x9E, 0x9A, oData);
|
||||
unsigned long ulSW12 = getSW12(oResp);
|
||||
if (ulSW12 != 0x9000)
|
||||
throw CMWEXCEPTION(m_poContext->m_oPCSC.SW12ToErr(ulSW12));
|
||||
|
||||
// Remove SW1-SW2 from the response
|
||||
oResp.Chop(2);
|
||||
|
||||
return oResp;
|
||||
}
|
||||
|
||||
bool CBeidCard::ShouldSelectApplet(unsigned char ins, unsigned long ulSW12)
|
||||
{
|
||||
if (m_selectAppletMode != TRY_SELECT_APPLET)
|
||||
return false;
|
||||
|
||||
if (ins == 0xA4)
|
||||
return ulSW12 == 0x6A82 || ulSW12 == 0x6A86;
|
||||
return ulSW12 == 0x6A82 || ulSW12 == 0x6A86 || ulSW12 == 0x6D00;
|
||||
}
|
||||
|
||||
bool CBeidCard::SelectApplet()
|
||||
{
|
||||
return BeidCardSelectApplet(m_poContext, m_hCard);
|
||||
}
|
||||
|
||||
tBelpicDF CBeidCard::getDF(const std::string & csPath, unsigned long & ulOffset)
|
||||
{
|
||||
ulOffset = 0;
|
||||
if (csPath.substr(0, 4) == "3F00")
|
||||
ulOffset = 4;
|
||||
|
||||
if (ulOffset < csPath.size())
|
||||
{
|
||||
std::string csPartialPath = csPath.substr(ulOffset, 4);
|
||||
if (csPartialPath == "DF00")
|
||||
return BELPIC_DF;
|
||||
if (csPartialPath == "DF01" && m_ucAppletVersion >= 0x20)
|
||||
return ID_DF; // this AID doesn't exist for V1 cards
|
||||
}
|
||||
|
||||
return UNKNOWN_DF;
|
||||
}
|
||||
|
||||
tFileInfo CBeidCard::SelectFile(const std::string & csPath, bool bReturnFileInfo)
|
||||
{
|
||||
CPkiCard::SelectFile(csPath, false);
|
||||
|
||||
// The EF(Preferences) file can be written using the authentication PIN;
|
||||
// that's the only exception to the 'read always' - 'write never' ACs.
|
||||
if (csPath.substr(csPath.size() - 4, 4) == "4039")
|
||||
{
|
||||
if (m_ucAppletVersion < 0x20)
|
||||
return PREFS_FILE_INFO_V1;
|
||||
else
|
||||
return PREFS_FILE_INFO_V2;
|
||||
}
|
||||
else
|
||||
return DEFAULT_FILE_INFO;
|
||||
}
|
||||
|
||||
/**
|
||||
* The Belpic card doesn't support select by path (only
|
||||
* select by File ID or by AID) , so we make a loop with
|
||||
* 'select by file' commands.
|
||||
* E.g. if path = AAAABBBCCC the we do
|
||||
* Select(AAAA)
|
||||
* Select(BBBB)
|
||||
* Select(CCCC)
|
||||
* If the the path contains the Belpic DF (DF00) or
|
||||
* the ID DF (DF01) then we select by AID without
|
||||
* first selected the MF (3F00) even it it's specified
|
||||
* because selection by AID always works.
|
||||
*/
|
||||
CByteArray CBeidCard::SelectByPath(const std::string & csPath, bool bReturnFileInfo)
|
||||
{
|
||||
unsigned long ulOffset = 0;
|
||||
tBelpicDF belpicDF = getDF(csPath, ulOffset);
|
||||
|
||||
if (belpicDF == UNKNOWN_DF)
|
||||
{
|
||||
// 1. Do a loop of "Select File by file ID" commands
|
||||
|
||||
unsigned long ulPathLen = (unsigned long) csPath.size() / 2;
|
||||
for (ulOffset = 0; ulOffset < ulPathLen; ulOffset += 2)
|
||||
{
|
||||
CByteArray oPath(ulPathLen);
|
||||
oPath.Append(Hex2Byte(csPath, ulOffset));
|
||||
oPath.Append(Hex2Byte(csPath, ulOffset + 1));
|
||||
|
||||
CByteArray oResp = SendAPDU(0xA4, 0x02, 0x0C, oPath);
|
||||
unsigned long ulSW12 = getSW12(oResp);
|
||||
if ((ulSW12 == 0x6A82 || ulSW12 == 0x6A86) && m_selectAppletMode == TRY_SELECT_APPLET)
|
||||
{
|
||||
// The file still wasn't found, so let's first try to select the applet
|
||||
if (SelectApplet())
|
||||
{
|
||||
m_selectAppletMode = ALW_SELECT_APPLET;
|
||||
oResp = SendAPDU(0xA4, 0x02, 0x0C, oPath);
|
||||
}
|
||||
}
|
||||
getSW12(oResp, 0x9000);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// 2.a Select the BELPIC DF or the ID DF by AID
|
||||
|
||||
CByteArray oAID(20);
|
||||
if (belpicDF == BELPIC_DF)
|
||||
oAID.Append(BELPIC_AID, sizeof(BELPIC_AID));
|
||||
else
|
||||
oAID.Append(ID_AID, sizeof(ID_AID));
|
||||
|
||||
CByteArray oResp = SendAPDU(0xA4, 0x04, 0x0C, oAID);
|
||||
unsigned long ulSW12 = getSW12(oResp);
|
||||
if ((ulSW12 == 0x6A82 || ulSW12 == 0x6A86) && m_selectAppletMode == TRY_SELECT_APPLET)
|
||||
{
|
||||
// The file still wasn't found, so let's first try to select the applet
|
||||
if (SelectApplet())
|
||||
{
|
||||
m_selectAppletMode = ALW_SELECT_APPLET;
|
||||
oResp = SendAPDU(0xA4, 0x04, 0x0C, oAID);
|
||||
}
|
||||
}
|
||||
getSW12(oResp, 0x9000);
|
||||
|
||||
// 2.b Select the file inside the DF, if needed
|
||||
|
||||
ulOffset += 4;
|
||||
if (ulOffset + 4 == csPath.size())
|
||||
{
|
||||
CByteArray oPath(2);
|
||||
oPath.Append(Hex2Byte(csPath, ulOffset / 2));
|
||||
oPath.Append(Hex2Byte(csPath, ulOffset / 2 + 1));
|
||||
|
||||
CByteArray oResp = SendAPDU(0xA4, 0x02, 0x0C, oPath);
|
||||
unsigned long ulSW12 = getSW12(oResp);
|
||||
if (ulSW12 != 0x9000)
|
||||
throw CMWEXCEPTION(m_poContext->m_oPCSC.SW12ToErr(ulSW12));
|
||||
}
|
||||
}
|
||||
|
||||
// Normally we should put here the FCI, but since Belpic cards
|
||||
// don't return it, we just return the path that can be used
|
||||
// later on to return the harcoded FCI for that file.
|
||||
return CByteArray((unsigned char *) csPath.c_str(), (unsigned long) csPath.size());
|
||||
}
|
||||
|
||||
unsigned long CBeidCard::Get6CDelay()
|
||||
{
|
||||
return m_ul6CDelay;
|
||||
}
|
||||
|
||||
tCacheInfo CBeidCard::GetCacheInfo(const std::string &csPath)
|
||||
{
|
||||
tCacheInfo dontCache = {DONT_CACHE, 0};
|
||||
tCacheInfo simpleCache = {SIMPLE_CACHE, 0};
|
||||
tCacheInfo certCache = {CERT_CACHE, 0};
|
||||
tCacheInfo check16Cache = {CHECK_16_CACHE, 0}; // Check 16 bytes at offset 0
|
||||
tCacheInfo checkSerial = {CHECK_SERIAL, 0}; // Check if the card serial nr is present
|
||||
/*
|
||||
// csPath -> file ID
|
||||
unsigned int uiFileID = 0;
|
||||
unsigned long ulLen = (unsigned long) (csPath.size() / 2);
|
||||
if (ulLen >= 2)
|
||||
uiFileID = 256 * Hex2Byte(csPath, ulLen - 2) + Hex2Byte(csPath, ulLen - 1);
|
||||
|
||||
switch(uiFileID)
|
||||
{
|
||||
case 0x2F00: // EF(DIR)
|
||||
return m_ucAppletVersion < 0x20 ? simpleCache : dontCache;
|
||||
case 0x5031: // EF(ODF)
|
||||
case 0x5032: // EF(TokenInfo)
|
||||
case 0x5034: // EF(AODF)
|
||||
case 0x5035: // EF(PrKDF)
|
||||
case 0x5037: // EF(CDF)
|
||||
case 0x503C: // EF(Cert#8) (RRN)
|
||||
case 0x503D: // EF(Cert#9) (ID CA)
|
||||
case 0x4035: // EF(ID#Photo)
|
||||
#ifdef CAL_EMULATION // the EF(ID#RN) of the emulated test cards have the same serial nr
|
||||
case 0x4031: // EF(ID#RN)
|
||||
#endif
|
||||
return simpleCache;
|
||||
#ifndef CAL_EMULATION
|
||||
case 0x4031: // EF(ID#RN)
|
||||
return checkSerial;
|
||||
#endif
|
||||
case 0x4032: // EF(SGN#RN)
|
||||
case 0x4034: // EF(SGN#Adress)
|
||||
return check16Cache;
|
||||
case 0x5038: // EF(Cert#2) (authentication)
|
||||
case 0x5039: // EF(Cert#3) (non repudiation)
|
||||
case 0x503A: // EF(Cert#4) (Citizen CA)
|
||||
case 0x503B: // EF(Cert#6) (root)
|
||||
return certCache;
|
||||
}
|
||||
*/
|
||||
return dontCache;
|
||||
}
|
108
cardlayer/src/cardpluginbeid/beidcard.h
Executable file
108
cardlayer/src/cardpluginbeid/beidcard.h
Executable file
|
@ -0,0 +1,108 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#ifndef __BEIDCARD_H__
|
||||
#define __BEIDCARD_H__
|
||||
|
||||
#include "../pkicard.h"
|
||||
#include "beidp15correction.h"
|
||||
|
||||
using namespace eIDMW;
|
||||
|
||||
// If we want to 'hardcode' this plugin internally in the CAL, this function
|
||||
// can't be present because it's the same for all plugins
|
||||
#ifndef CARDPLUGIN_IN_CAL
|
||||
EIDMW_CAL_API CCard *GetCardInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad);
|
||||
#endif
|
||||
|
||||
CCard *BeidCardGetInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad);
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
typedef enum {
|
||||
BELPIC_DF,
|
||||
ID_DF,
|
||||
UNKNOWN_DF,
|
||||
} tBelpicDF;
|
||||
|
||||
class CBeidCard : public CPkiCard
|
||||
{
|
||||
public:
|
||||
CBeidCard(unsigned long hCard, CContext *poContext, CPinpad *poPinpad,
|
||||
const CByteArray & oData, tSelectAppletMode selectAppletMode);
|
||||
~CBeidCard(void);
|
||||
|
||||
virtual std::string GetPinpadPrefix();
|
||||
|
||||
virtual tCardType GetType();
|
||||
virtual CByteArray GetSerialNrBytes();
|
||||
/** Returns 3 bytes:
|
||||
* - the appletversion (1 byte): 0x10, 0x11, 0x20
|
||||
* - the global OS version (2 bytes) */
|
||||
virtual CByteArray GetInfo();
|
||||
|
||||
virtual DlgPinUsage PinUsage2Dlg(const tPin & Pin, const tPrivKey *pKey);
|
||||
virtual bool PinCmd(tPinOperation operation, const tPin & Pin,
|
||||
const std::string & csPin1, const std::string & csPin2,
|
||||
unsigned long & ulRemaining, const tPrivKey *pKey = NULL);
|
||||
virtual unsigned long PinStatus(const tPin & Pin);
|
||||
virtual bool LogOff(const tPin & Pin);
|
||||
|
||||
virtual unsigned long GetSupportedAlgorithms();
|
||||
|
||||
virtual CByteArray Ctrl(long ctrl, const CByteArray & oCmdData);
|
||||
|
||||
virtual CP15Correction* GetP15Correction();
|
||||
|
||||
protected:
|
||||
virtual bool ShouldSelectApplet(unsigned char ins, unsigned long ulSW12);
|
||||
virtual bool SelectApplet();
|
||||
|
||||
virtual tBelpicDF getDF(const std::string & csPath, unsigned long & ulOffset);
|
||||
virtual tFileInfo SelectFile(const std::string & csPath, bool bReturnFileInfo = false);
|
||||
virtual tFileInfo ParseFileInfo(CByteArray & oFCI);
|
||||
virtual CByteArray SelectByPath(const std::string & csPath, bool bReturnFileInfo = false);
|
||||
|
||||
virtual unsigned long Get6CDelay();
|
||||
|
||||
virtual void showPinDialog(tPinOperation operation, const tPin & Pin,
|
||||
std::string & csPin1, std::string & csPin2, const tPrivKey *pKey);
|
||||
|
||||
virtual void SetSecurityEnv(const tPrivKey & key, unsigned long algo,
|
||||
unsigned long ulInputLen);
|
||||
virtual CByteArray SignInternal(const tPrivKey & key, unsigned long algo,
|
||||
const CByteArray & oData, const tPin *pPin = NULL);
|
||||
|
||||
virtual tCacheInfo GetCacheInfo(const std::string &csPath);
|
||||
|
||||
CByteArray m_oCardData;
|
||||
CByteArray m_oSerialNr;
|
||||
unsigned char m_ucAppletVersion;
|
||||
unsigned long m_ul6CDelay;
|
||||
|
||||
CBeidP15Correction p15correction;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
43
cardlayer/src/cardpluginbeid/beidp15correction.cpp
Executable file
43
cardlayer/src/cardpluginbeid/beidp15correction.cpp
Executable file
|
@ -0,0 +1,43 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "../cardlayerconst.h"
|
||||
|
||||
#include "beidp15correction.h"
|
||||
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
void CBeidP15Correction::CheckPINs(std::vector<tPin>& pinVector) {
|
||||
for (std::vector<tPin>::iterator ip = pinVector.begin();
|
||||
ip != pinVector.end(); ++ip){
|
||||
// correct the encoding
|
||||
if( (*ip).encoding != PIN_ENC_GP ) (*ip).encoding = PIN_ENC_GP;
|
||||
if( (*ip).ulMaxLen != 12 ) (*ip).ulMaxLen = 12;
|
||||
}
|
||||
};
|
||||
|
||||
void CBeidP15Correction::CheckCerts(std::vector<tCert>& certVector) {
|
||||
// do nothing
|
||||
};
|
||||
|
||||
void CBeidP15Correction::CheckPrKeys(std::vector<tPrivKey>& keyVector) {
|
||||
// do nothing
|
||||
};
|
||||
}
|
38
cardlayer/src/cardpluginbeid/beidp15correction.h
Executable file
38
cardlayer/src/cardpluginbeid/beidp15correction.h
Executable file
|
@ -0,0 +1,38 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#ifndef BEIDP15CORRECTION_H
|
||||
#define BEIDP15CORRECTION_H
|
||||
|
||||
#include "../p15correction.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
class CBeidP15Correction: public CP15Correction
|
||||
{
|
||||
public:
|
||||
void CheckPINs(std::vector<tPin>& pinVector);
|
||||
void CheckCerts(std::vector<tCert>& certVector);
|
||||
void CheckPrKeys(std::vector<tPrivKey>& keyVector);
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
#endif
|
0
eid-mw/_src/eidmw/cardlayer/cardpluginBeid/cardpluginBeid.pro → cardlayer/src/cardpluginbeid/cardpluginBeid.pro
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginBeid/cardpluginBeid.pro → cardlayer/src/cardpluginbeid/cardpluginBeid.pro
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginBeid/cardpluginBeid.rc → cardlayer/src/cardpluginbeid/cardpluginBeid.rc
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginBeid/cardpluginBeid.rc → cardlayer/src/cardpluginbeid/cardpluginBeid.rc
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginSIS/cardpluginSIS.pro → cardlayer/src/cardpluginsis/cardpluginSIS.pro
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginSIS/cardpluginSIS.pro → cardlayer/src/cardpluginsis/cardpluginSIS.pro
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginSIS/cardpluginSIS.rc → cardlayer/src/cardpluginsis/cardpluginSIS.rc
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginSIS/cardpluginSIS.rc → cardlayer/src/cardpluginsis/cardpluginSIS.rc
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginSIS/cardpluginSISEmulation.pro → cardlayer/src/cardpluginsis/cardpluginSISEmulation.pro
Normal file → Executable file
0
eid-mw/_src/eidmw/cardlayer/cardpluginSIS/cardpluginSISEmulation.pro → cardlayer/src/cardpluginsis/cardpluginSISEmulation.pro
Normal file → Executable file
298
cardlayer/src/cardpluginsis/siscard.cpp
Executable file
298
cardlayer/src/cardpluginsis/siscard.cpp
Executable file
|
@ -0,0 +1,298 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/** \file SISCard.h
|
||||
Read the social security SIS-card and decode the data into useable fields
|
||||
|
||||
*/
|
||||
|
||||
/* To switch back to Asynchronous mode while the SIS card is still inserted.
|
||||
* It implies reading everything at onces in GetCardInstance() so it's no
|
||||
* longer needed to read from the card; and then switch to Asynchr. mode.
|
||||
* The downside is that we can't take advantage of caching this way..
|
||||
*/
|
||||
#if !defined WIN32
|
||||
#define SWITCH_TO_ASYNC_AFTER_READ // Needed on Linux
|
||||
#endif
|
||||
|
||||
#include "siscard.h"
|
||||
#include "../common/src/log.h"
|
||||
|
||||
using namespace eIDMW;
|
||||
|
||||
#ifdef WIN32
|
||||
#define SIS_PROTOCOL SCARD_PROTOCOL_UNDEFINED
|
||||
#define IOCTL_SET_CARD_TYPE SCARD_CTL_CODE(2060)
|
||||
#define SIS_DISPOSITION DISCONNECT_LEAVE_CARD
|
||||
const unsigned char tucSetSyncCard[] = {0x18, 0x00, 0x00, 0x00};
|
||||
#else
|
||||
#define SIS_PROTOCOL SCARD_PROTOCOL_RAW
|
||||
#define IOCTL_SET_CARD_TYPE 0
|
||||
#define SIS_DISPOSITION DISCONNECT_RESET_CARD
|
||||
const unsigned char tucSetSyncCard[] = { 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 }; // 4418/28
|
||||
#endif
|
||||
|
||||
// If we want to 'hardcode' this plugin internally in the CAL, this function
|
||||
// can't be present because it's the same for all plugins
|
||||
#ifndef CARDPLUGIN_IN_CAL
|
||||
CCard * ConnectGetCardInstance(unsigned long ulVersion,const char *csReader,
|
||||
CContext *poContext, CPinpad *poPinpad)
|
||||
{
|
||||
return SISCardConnectGetInstance(ulVersion, csReader, poContext, poPinpad);
|
||||
}
|
||||
|
||||
CCard *GetCardInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad)
|
||||
{
|
||||
return SISCardGetInstance(ulVersion, csReader, hCard, poContext, poPinpad);
|
||||
}
|
||||
#endif
|
||||
|
||||
CCard * SISCardConnectGetInstance(unsigned long ulVersion,const char *csReader,
|
||||
CContext *poContext, CPinpad *poPinpad)
|
||||
{
|
||||
CCard *poCard = NULL;
|
||||
CPCSC *poPCSC = &poContext->m_oPCSC;
|
||||
|
||||
if ((ulVersion % 100) == (PLUGIN_VERSION % 100))
|
||||
{
|
||||
try
|
||||
{
|
||||
// Synchr. cards require temporary direct-connection set the card-type in the card-reader
|
||||
unsigned long hCard = poPCSC->Connect(csReader, SCARD_SHARE_DIRECT, SIS_PROTOCOL);
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Set cardtype in card-reader to accept synch cards
|
||||
int32_t tSetSyncCard[2] = {0, 5};
|
||||
{
|
||||
CAutoLock oAutoLock(poPCSC, hCard);
|
||||
|
||||
CByteArray oCmd((unsigned char *)tSetSyncCard, sizeof(tSetSyncCard));
|
||||
poPCSC->Transmit(hCard, oCmd, SCARD_PCI_RAW);
|
||||
|
||||
}
|
||||
|
||||
// Reconnect
|
||||
poPCSC->Disconnect(hCard, DISCONNECT_RESET_CARD );
|
||||
hCard = poPCSC->Connect(csReader, SCARD_SHARE_SHARED, SCARD_PROTOCOL_T0);
|
||||
#else
|
||||
// Set cardtype in card-reader to accept synch cards
|
||||
CByteArray oCmd(tucSetSyncCard, sizeof(tucSetSyncCard));
|
||||
poPCSC->Control(hCard, IOCTL_SET_CARD_TYPE, oCmd);
|
||||
|
||||
// Reconnect
|
||||
poPCSC->Disconnect(hCard, SIS_DISPOSITION);
|
||||
hCard = poPCSC->Connect(csReader, SCARD_SHARE_SHARED, SCARD_PROTOCOL_T0);
|
||||
#endif
|
||||
poCard = SISCardGetInstance(ulVersion, csReader, hCard, poContext, poPinpad);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
//printf("Exception in cardPluginSIS.CardConnect()\n");
|
||||
}
|
||||
}
|
||||
|
||||
return poCard;
|
||||
}
|
||||
|
||||
static CByteArray ReadInternal(CPCSC *poPCSC, unsigned long hCard, unsigned long ulOffset, unsigned long ulMaxLen)
|
||||
{
|
||||
unsigned long ulLen = ulMaxLen > 252 ? 252 : ulMaxLen;
|
||||
|
||||
unsigned char tucReadDat[5] = {0xFF, 0xB2};
|
||||
tucReadDat[2] = (unsigned char)(ulOffset/256);
|
||||
tucReadDat[3] = (unsigned char)(ulOffset%256);
|
||||
tucReadDat[4] = (unsigned char)(ulLen);
|
||||
CByteArray oCmd(tucReadDat, sizeof(tucReadDat));
|
||||
CByteArray oData = poPCSC->Transmit(hCard, oCmd);
|
||||
|
||||
oData.Chop(2); // remove SW12
|
||||
|
||||
// If we read enough, or there isn't more to read, return
|
||||
if (ulMaxLen == ulLen || oData.Size() < ulLen)
|
||||
{
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" Read %d bytes from the SIS card", oData.Size());
|
||||
return oData;
|
||||
}
|
||||
|
||||
ulLen = oData.Size();
|
||||
ulOffset += ulLen;
|
||||
ulMaxLen -= ulLen;
|
||||
ulLen = ulMaxLen > 252 ? 252 : ulMaxLen;
|
||||
tucReadDat[2] = (unsigned char)(ulOffset/256);
|
||||
tucReadDat[3] = (unsigned char)(ulOffset%256);
|
||||
tucReadDat[4] = (unsigned char)(ulLen);
|
||||
oCmd = CByteArray(tucReadDat, sizeof(tucReadDat));
|
||||
CByteArray oData2 = poPCSC->Transmit(hCard, oCmd);
|
||||
|
||||
oData2.Chop(2); // remove SW12
|
||||
|
||||
oData.Append(oData2);
|
||||
|
||||
MWLOG(LEV_INFO, MOD_CAL, L" Read %d bytes from the SIS card", oData.Size());
|
||||
|
||||
return oData;
|
||||
}
|
||||
|
||||
static inline void BackToAsyncMode(unsigned long &hCard, CPCSC *poPCSC, const char *csReader)
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
int32_t tSetAsyncCard[2] = {0, 0};
|
||||
CByteArray oCmd((unsigned char *) tSetAsyncCard, sizeof(tSetAsyncCard));
|
||||
SCARD_IO_REQUEST ioRecvPci;
|
||||
poPCSC->EndTransaction(hCard);
|
||||
poPCSC->Disconnect(hCard, SIS_DISPOSITION);
|
||||
hCard = poPCSC->Connect(csReader, SCARD_SHARE_DIRECT, SIS_PROTOCOL);
|
||||
poPCSC->BeginTransaction(hCard);
|
||||
poPCSC->Transmit(hCard, oCmd, SCARD_PCI_RAW, &ioRecvPci);
|
||||
#else
|
||||
const unsigned char tucSetAyncCard[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||
CByteArray oCmd(tucSetAyncCard, sizeof(tucSetAyncCard));
|
||||
poPCSC->Control(hCard, IOCTL_SET_CARD_TYPE, oCmd);
|
||||
#endif
|
||||
}
|
||||
|
||||
CCard *SISCardGetInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad)
|
||||
{
|
||||
CCard *poCard = NULL;
|
||||
bool bIsSisCard = false;
|
||||
CByteArray oData;
|
||||
|
||||
// Check if it's a SIS card by reading the ATR and serial number
|
||||
try
|
||||
{
|
||||
poContext->m_oPCSC.BeginTransaction(hCard);
|
||||
|
||||
#ifndef SWITCH_TO_ASYNC_AFTER_READ
|
||||
unsigned long ulReadLen = 26; // read only the first part
|
||||
#else
|
||||
unsigned long ulReadLen = 404; // read everything
|
||||
try {
|
||||
#endif
|
||||
oData = ReadInternal(&poContext->m_oPCSC, hCard, 0, ulReadLen);
|
||||
bIsSisCard =
|
||||
(oData.Size() >= 26) &&
|
||||
(oData.GetByte(21) == 0xA0) && (oData.GetByte(22) == 0x00) &&
|
||||
(oData.GetByte(23) == 0x00) && (oData.GetByte(24) == 0x00) && (oData.GetByte(25) == 0x33);
|
||||
#ifdef SWITCH_TO_ASYNC_AFTER_READ
|
||||
} catch (...) {
|
||||
// Switch back to asynchronous mode.
|
||||
BackToAsyncMode(hCard, &poContext->m_oPCSC, csReader);
|
||||
throw;
|
||||
}
|
||||
// Switch back to asynchronous mode.
|
||||
BackToAsyncMode(hCard, &poContext->m_oPCSC, csReader);
|
||||
#endif
|
||||
|
||||
if (bIsSisCard)
|
||||
poCard = new CSISCard(hCard, poContext, poPinpad, oData);
|
||||
|
||||
poContext->m_oPCSC.EndTransaction(hCard);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
poContext->m_oPCSC.EndTransaction(hCard);
|
||||
//printf("Exception in cardPluginSIS.SISCardGetInstance()\n");
|
||||
}
|
||||
|
||||
return poCard;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
CSISCard::CSISCard(
|
||||
unsigned long hCard,
|
||||
CContext *poContext,
|
||||
CPinpad *poPinpad,
|
||||
const CByteArray & oData // is either the first 26 bytes, or the whole 404 bytes
|
||||
) :CCard(hCard, poContext, poPinpad)
|
||||
{
|
||||
if (oData.Size() == 26)
|
||||
m_oCardAtr = oData;
|
||||
else
|
||||
{
|
||||
m_oCardAtr = CByteArray(oData.GetBytes(), 26);
|
||||
m_oCardData = oData;
|
||||
}
|
||||
}
|
||||
|
||||
CSISCard::~CSISCard(void)
|
||||
{
|
||||
}
|
||||
|
||||
/** Read all data from the sis-card
|
||||
|
||||
\return CByteArray oData requested data from the SIS-card
|
||||
\retval EIDMW_ERR_FILE_NOT_FOUND exception; when unknown file-path is given
|
||||
\retval EIDMW_ERR_CARD exception; when the SIS-card can not supply the requested data
|
||||
|
||||
\sa
|
||||
*************************************************************************************/
|
||||
CByteArray CSISCard::ReadUncachedFile(
|
||||
const std::string &csPath, /**< In: file-path of the requested data, currently supported: "data" */
|
||||
unsigned long ulOffset, /**< In: start-offset within sis-card data, range 0-404 */
|
||||
unsigned long ulMaxLen /**< In: requested data-length, range 0-404 */
|
||||
)
|
||||
{
|
||||
if (m_oCardData.Size() == 0)
|
||||
m_oCardData = ReadInternal(&m_poContext->m_oPCSC, m_hCard, 0, 404);
|
||||
|
||||
CAutoLock oAutoLock(this);
|
||||
|
||||
if (ulOffset == 0 && ulMaxLen == FULL_FILE)
|
||||
return m_oCardData;
|
||||
|
||||
if (ulOffset > m_oCardData.Size())
|
||||
throw CMWEXCEPTION(EIDMW_ERR_PARAM_RANGE);
|
||||
|
||||
if (ulMaxLen > ulOffset + m_oCardData.Size())
|
||||
ulMaxLen = m_oCardData.Size() - ulOffset;
|
||||
return CByteArray(m_oCardData.GetBytes() + ulOffset, ulMaxLen);
|
||||
}
|
||||
|
||||
tCardType CSISCard::GetType()
|
||||
{
|
||||
return CARD_SIS;
|
||||
}
|
||||
|
||||
std::string CSISCard::GetSerialNr()
|
||||
{
|
||||
CByteArray oSerial(m_oCardAtr.GetBytes()+6, 11);
|
||||
return oSerial.ToString(false);
|
||||
}
|
||||
|
||||
std::string CSISCard::GetLabel()
|
||||
{
|
||||
return "SIS";
|
||||
}
|
||||
|
||||
CByteArray CSISCard::GetATR()
|
||||
{
|
||||
//first 4 card-bytes
|
||||
return CByteArray(m_oCardAtr.GetBytes(), 4);
|
||||
}
|
||||
|
||||
tCacheInfo CSISCard::GetCacheInfo(const std::string &csPath)
|
||||
{
|
||||
// There's only 1 file and it is cache-able
|
||||
tCacheInfo simpleCache = {SIMPLE_CACHE, 0};
|
||||
|
||||
return simpleCache;
|
||||
}
|
76
cardlayer/src/cardpluginsis/siscard.h
Executable file
76
cardlayer/src/cardpluginsis/siscard.h
Executable file
|
@ -0,0 +1,76 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/** \file SISCard.h
|
||||
Read the social security SIS-card and decode the data into useable fields
|
||||
*/
|
||||
|
||||
#ifndef __SISCARD_H__
|
||||
#define __SISCARD_H__
|
||||
|
||||
#include "../card.h"
|
||||
|
||||
using namespace eIDMW;
|
||||
|
||||
// If we want to 'hardcode' this plugin internally in the CAL, this function
|
||||
// can't be present because it's the same for all plugins
|
||||
#ifndef CARDPLUGIN_IN_CAL
|
||||
EIDMW_CAL_API CCard * ConnectGetCardInstance(unsigned long ulVersion,const char *csReader,
|
||||
CContext *poContext, CPinpad *poPinpad);
|
||||
EIDMW_CAL_API CCard *GetCardInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad);
|
||||
#endif
|
||||
|
||||
CCard * SISCardConnectGetInstance(unsigned long ulVersion,const char *csReader,
|
||||
CContext *poContext, CPinpad *poPinpad);
|
||||
CCard *SISCardGetInstance(unsigned long ulVersion, const char *csReader,
|
||||
unsigned long hCard, CContext *poContext, CPinpad *poPinpad);
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
class CSISCard : public CCard
|
||||
{
|
||||
public:
|
||||
CSISCard(unsigned long hCard, CContext *poContext,
|
||||
CPinpad *poPinpad, const CByteArray & oData);
|
||||
~CSISCard(void);
|
||||
|
||||
virtual CByteArray ReadUncachedFile(const std::string & csPath,
|
||||
unsigned long ulOffset = 0, unsigned long ulMaxLen = FULL_FILE);
|
||||
|
||||
tCardType GetType();
|
||||
|
||||
std::string GetSerialNr();
|
||||
|
||||
std::string GetLabel();
|
||||
|
||||
CByteArray GetATR();
|
||||
|
||||
private:
|
||||
tCacheInfo GetCacheInfo(const std::string &csPath);
|
||||
|
||||
CByteArray m_oCardAtr;
|
||||
CByteArray m_oCardData;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
112
cardlayer/src/cardpluginsis/sisplugin1.h
Executable file
112
cardlayer/src/cardpluginsis/sisplugin1.h
Executable file
|
@ -0,0 +1,112 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/**
|
||||
* This API should be implemented by libraries (also called
|
||||
* plugins) that want to support a reader for reading a SIS
|
||||
* card with the eID middleware.
|
||||
*
|
||||
* SIS card plugins should start with siscardplugin1 (Windows)
|
||||
* or libsiscardplugin1 (Linux, Mac).
|
||||
* The first part of PCSC name of the reader for which the plugin
|
||||
* can be used must be put between "__".
|
||||
* E.g. for the ACR38U reader, whose PCSC name on Windows is
|
||||
* "ACS ACR38 USB Reader 0", a valid plugin name would be
|
||||
* "siscardplugin1__ACS ACR38U__.dll" or
|
||||
* "siscardplugin1_BE_EID__ACS ACR38U__.dll".
|
||||
*
|
||||
* The SIS card plugin should export 1 function: the SISPluginReadCard()
|
||||
* function declared below.
|
||||
*
|
||||
* Location:
|
||||
* - Windows: "system-dir" + \siscardplugins eg.: C:\WINDOWS\system32\siscardplugins\siscardplugin1*.dll
|
||||
* - Mac, Linux; <PREFIX>/etc/siscardplugins/
|
||||
*/
|
||||
|
||||
#ifndef __SISPLUGIN1_H__
|
||||
#define __SISPLUGIN1_H__
|
||||
|
||||
#ifndef WIN32
|
||||
#include <wintypes.h>
|
||||
#define SISPLUGIN_EXPORT
|
||||
#else
|
||||
#define SISPLUGIN_EXPORT __declspec(dllexport)
|
||||
#endif
|
||||
#include <winscard.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define SISPLUGIN_VERSION 100
|
||||
|
||||
/** Wrapper functions to PCSC functions, see the PCSC API for more info. */
|
||||
typedef struct {
|
||||
long (*pCardConnect)(LPCSTR szReader,
|
||||
DWORD dwShareMode,
|
||||
DWORD dwPreferredProtocols,
|
||||
LPSCARDHANDLE phCard,
|
||||
LPDWORD pdwActiveProtocol);
|
||||
long (*pCardDisconnect)(SCARDHANDLE hCard, DWORD dwDisposition);
|
||||
long (*pCardBeginTransaction)(SCARDHANDLE hCard);
|
||||
long (*pCardEndTransaction)(SCARDHANDLE hCard, DWORD dwDisposition);
|
||||
long (*pCardTransmit)(SCARDHANDLE hCard,
|
||||
LPCSCARD_IO_REQUEST pioSendPci, LPCBYTE pbSendBuffer, DWORD cbSendLength,
|
||||
LPSCARD_IO_REQUEST pioRecvPci, LPBYTE pbRecvBuffer, LPDWORD pcbRecvLength);
|
||||
long (*pCardControl)(SCARDHANDLE hCard, DWORD dwControlCode,
|
||||
LPCVOID lpInBuffer, DWORD nInBufferSize,
|
||||
LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned);
|
||||
long (*pCtrl)(unsigned long ulControl, const void *pIn, void *pOut);
|
||||
} tPCSCfunctions;
|
||||
|
||||
/**
|
||||
* Connect to a SIS card if needed and read it's contents.
|
||||
* An SCardEstablishContext() has already been done, as well as an attempt
|
||||
* to do an SCardConnect(). If this failed, *phCardHandle is 0 and this function
|
||||
* should connect to the card. Otherwise, *phCardHandle differs from 0 and this
|
||||
* function can either use the card handle or, if needed, disconnect and connect
|
||||
* again.
|
||||
* When returning successfull, the 404 data bytes should have been written to pucData
|
||||
* and *phCardHandle should contain a valid card handle that can be used by the
|
||||
* middleware in an SCardStatus() function. No SCardDisconnect() should be done
|
||||
*
|
||||
* - ulVersion: IN major version (= ulVerion / 100) and minor version (= ulVersion % 100);
|
||||
* The major version must be 1, an other value can mean that the API has been changed.
|
||||
* The minor version numbers could be used to check for optional features (e.g. in ulReserved, pReserved).
|
||||
* - pPCSCfunctions: IN pointer to a tPCSCfunctions struct, contains wrapper functions
|
||||
* for the PCSC functions
|
||||
* - csReaderName: IN the reader name as returned by SCardListReaders()
|
||||
* - pucData: OUT a buffer to write the SIS card data to (404 bytes)
|
||||
* - ulReserved: IN Reserved for future use
|
||||
* - pReserved: IN/OUT Reserved for future use
|
||||
*
|
||||
* Returns: 0 if successfull; other values will only be used for logging purposes
|
||||
* and are not specified.
|
||||
*/
|
||||
|
||||
SISPLUGIN_EXPORT long SISPluginReadCard(unsigned long ulVersion, void *pPCSCfunctions,
|
||||
const char *csReaderName, SCARDHANDLE *phCardHandle,
|
||||
unsigned char *pucData,
|
||||
unsigned long ulReserved, void *pReserved);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
333
cardlayer/src/cardpluginsis/sispluginhandler.cpp
Executable file
333
cardlayer/src/cardpluginsis/sispluginhandler.cpp
Executable file
|
@ -0,0 +1,333 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#ifdef UNICODE
|
||||
#undef UNICODE
|
||||
#endif
|
||||
|
||||
#include "../pcsc.h"
|
||||
#include "sispluginhandler.h"
|
||||
#include "siscard.h"
|
||||
#include "sisplugin1.h"
|
||||
#include "../common/src/log.h"
|
||||
#include "../common/src/prefix.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
static bool m_bPluginInfosOK = false;
|
||||
static void GetPluginInfos();
|
||||
|
||||
static void AddPluginName(const char *csPluginName, const std::string & csPath);
|
||||
|
||||
static void GetPCSCFunctions(CPCSC *poPCSC, tPCSCfunctions *pxPCSCFunctions);
|
||||
|
||||
static void AddPluginInfo(const std::string & csPath, const std::string & csReader);
|
||||
static size_t PlugInCount();
|
||||
static std::string & GetPlugInPath(size_t idx);
|
||||
static std::string & GetPlugInReader(size_t idx);
|
||||
|
||||
typedef long (*SISPLUGINREADCARD)(unsigned long, void *,
|
||||
const char *, SCARDHANDLE *,
|
||||
unsigned char *,
|
||||
unsigned long, void *);
|
||||
|
||||
|
||||
/** Obtain the SIS-data via the plugin library
|
||||
*/
|
||||
CCard * SISPluginReadData(const char *csReader, unsigned long hCard,
|
||||
CContext *poContext, CPinpad *poPinpad,
|
||||
CDynamicLib &oCardPluginLib)
|
||||
{
|
||||
CCard *poCard = NULL;
|
||||
|
||||
if (!m_bPluginInfosOK)
|
||||
GetPluginInfos();
|
||||
|
||||
for (size_t i = 0; poCard == NULL && i < PlugInCount(); i++)
|
||||
{
|
||||
if (!StartsWith(csReader, GetPlugInReader(i).c_str()))
|
||||
continue;
|
||||
|
||||
std::string csPluginPath = GetPlugInPath(i);
|
||||
unsigned long ulErr = oCardPluginLib.Open(csPluginPath);
|
||||
if (ulErr != EIDMW_OK)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Couldn't load SIS plugin \"%ls\", err = 0x%0x",
|
||||
utilStringWiden(csPluginPath).c_str(), ulErr);
|
||||
continue;
|
||||
}
|
||||
|
||||
SISPLUGINREADCARD pSisPluginReadCard =
|
||||
(SISPLUGINREADCARD) oCardPluginLib.GetAddress("SISPluginReadCard");
|
||||
if (pSisPluginReadCard == NULL)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Function \"SISPluginReadCard\" not found in \"%ls\"",
|
||||
utilStringWiden(csPluginPath).c_str(), ulErr);
|
||||
continue;
|
||||
}
|
||||
|
||||
tPCSCfunctions xPCSCFunctions;
|
||||
GetPCSCFunctions(&poContext->m_oPCSC, &xPCSCFunctions);
|
||||
|
||||
unsigned char tucData[500];
|
||||
SCARDHANDLE hCrd = hCard;
|
||||
long lErr = pSisPluginReadCard(SISPLUGIN_VERSION, &xPCSCFunctions,
|
||||
csReader, &hCrd, tucData, 0, NULL);
|
||||
hCard = (unsigned long) hCrd;
|
||||
|
||||
if (lErr != 0)
|
||||
{
|
||||
MWLOG(LEV_ERROR, MOD_CAL, L"Function \"SISPluginReadCard\" in \"%ls\" returned 0x%0x (%d)",
|
||||
utilStringWiden(csPluginPath).c_str(), lErr, lErr);
|
||||
continue;
|
||||
}
|
||||
|
||||
MWLOG(LEV_DEBUG, MOD_CAL, L"Using SIS plugin \"%ls\"",
|
||||
utilStringWiden(csPluginPath).c_str());
|
||||
poCard = new CSISCard(hCard, poContext, poPinpad, CByteArray(tucData, 404));
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
return poCard;;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
// retrieve all available plug-in's
|
||||
// The function below lists the files in a directory, for which
|
||||
// no standard platform-independent API seems to exist...
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include <io.h>
|
||||
#include <windows.h>
|
||||
|
||||
static void GetPluginInfos()
|
||||
{
|
||||
char csSystemDir[_MAX_PATH];
|
||||
GetSystemDirectoryA(csSystemDir, sizeof(csSystemDir) - 50);
|
||||
|
||||
// E.g. "C:\WINDOWS\System32\siscardplugins\"
|
||||
std::string csPluginsDir = csSystemDir + std::string("\\siscardplugins\\");
|
||||
std::string strSearchFor = csPluginsDir + std::string("*.dll");
|
||||
const char *csSearchFor = strSearchFor.c_str();
|
||||
|
||||
struct _finddata_t c_file;
|
||||
intptr_t hFile = _findfirst(csSearchFor, &c_file);
|
||||
if (hFile != -1)
|
||||
{
|
||||
int iFindRes;
|
||||
do
|
||||
{
|
||||
AddPluginName(c_file.name, csPluginsDir + c_file.name);
|
||||
|
||||
iFindRes = _findnext(hFile, &c_file);
|
||||
}
|
||||
while (iFindRes == 0);
|
||||
|
||||
_findclose(hFile);
|
||||
}
|
||||
|
||||
m_bPluginInfosOK = true;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
static void GetPluginInfos()
|
||||
{
|
||||
std::string csPluginsDir = STRINGIFY(EIDMW_PREFIX) + std::string("/lib/siscardplugins/");
|
||||
const char *csSearchFor = csPluginsDir.c_str();
|
||||
|
||||
DIR *pDir = opendir(csSearchFor);
|
||||
// If pDir is NULL then the dir doesn't exist
|
||||
if(pDir != NULL)
|
||||
{
|
||||
struct dirent *pFile = readdir(pDir);
|
||||
for ( ;pFile != NULL; pFile = readdir(pDir))
|
||||
{
|
||||
AddPluginName(pFile->d_name, csPluginsDir + pFile->d_name);
|
||||
}
|
||||
|
||||
closedir(pDir);
|
||||
}
|
||||
|
||||
m_bPluginInfosOK = true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static void AddPluginName(const char *csPluginName, const std::string & csPath)
|
||||
{
|
||||
if (StartsWith(csPluginName, "siscardplugin1") || StartsWith(csPluginName, "libsiscardplugin1"))
|
||||
{
|
||||
const char *ptr1 = strstr(csPluginName, "__");
|
||||
const char *ptr2 = (ptr1 == NULL ? NULL : strstr(ptr1 + 2, "__"));
|
||||
if (ptr2 != NULL && ptr2 - ptr1 < 200)
|
||||
{
|
||||
ptr1 += 2;
|
||||
char csReaderName[200];
|
||||
memcpy(csReaderName, ptr1, ptr2 - ptr1);
|
||||
csReaderName[ptr2 - ptr1] = '\0';
|
||||
|
||||
AddPluginInfo(csPath, csReaderName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////
|
||||
|
||||
#define MAX_PLUGINS 50
|
||||
|
||||
std::string g_tcsPaths[MAX_PLUGINS];
|
||||
std::string g_tcsReaders[MAX_PLUGINS];
|
||||
|
||||
static size_t g_pluginCount = 0;
|
||||
|
||||
static std::string g_csEmpty = "";
|
||||
|
||||
static void AddPluginInfo(const std::string & csPath, const std::string & csReader)
|
||||
{
|
||||
if (g_pluginCount >= MAX_PLUGINS)
|
||||
return;
|
||||
|
||||
g_tcsPaths[g_pluginCount] = csPath;
|
||||
g_tcsReaders[g_pluginCount] = csReader;
|
||||
|
||||
g_pluginCount++;
|
||||
}
|
||||
|
||||
static size_t PlugInCount()
|
||||
{
|
||||
return g_pluginCount;
|
||||
}
|
||||
|
||||
static std::string & GetPlugInPath(size_t idx)
|
||||
{
|
||||
if (idx < g_pluginCount)
|
||||
return g_tcsPaths[idx];
|
||||
return g_csEmpty;
|
||||
}
|
||||
|
||||
static std::string & GetPlugInReader(size_t idx)
|
||||
{
|
||||
if (idx < g_pluginCount)
|
||||
return g_tcsReaders[idx];
|
||||
return g_csEmpty;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static CPCSC *g_poPCSC = NULL;
|
||||
|
||||
long CardConnect(LPCSTR szReader,
|
||||
DWORD dwShareMode,
|
||||
DWORD dwPreferredProtocols,
|
||||
LPSCARDHANDLE phCard,
|
||||
LPDWORD pdwActiveProtocol)
|
||||
{
|
||||
long lRet = SCardConnect(g_poPCSC->GetContext(), szReader,
|
||||
dwShareMode, dwPreferredProtocols, phCard, pdwActiveProtocol);
|
||||
|
||||
//printf("SCardConnect(sharemode=0x%0x, prefprotocols=0x%0x): r = 0x%0x (%d), protocol=0x%0x\n\n",
|
||||
// dwShareMode, dwPreferredProtocols, lRet, lRet, * pdwActiveProtocol);
|
||||
|
||||
return lRet;
|
||||
}
|
||||
|
||||
long CardDisconnect(SCARDHANDLE hCard, DWORD dwDisposition)
|
||||
{
|
||||
long lRet = SCardDisconnect(hCard, dwDisposition);
|
||||
|
||||
//printf("SCardDisconnect(hCard=0x%0x, disp=0x%0x): r = 0x%0x (%d)\n\n",
|
||||
// hCard, dwDisposition, lRet, lRet);
|
||||
|
||||
return lRet;
|
||||
}
|
||||
|
||||
long CardBeginTransaction(SCARDHANDLE hCard)
|
||||
{
|
||||
return SCardBeginTransaction(hCard);
|
||||
}
|
||||
|
||||
long CardEndTransaction(SCARDHANDLE hCard, DWORD dwDisposition)
|
||||
{
|
||||
return SCardEndTransaction(hCard, dwDisposition);
|
||||
}
|
||||
|
||||
long CardTransmit(SCARDHANDLE hCard,
|
||||
LPCSCARD_IO_REQUEST pioSendPci, LPCBYTE pbSendBuffer, DWORD cbSendLength,
|
||||
LPSCARD_IO_REQUEST pioRecvPci, LPBYTE pbRecvBuffer, LPDWORD pcbRecvLength)
|
||||
{
|
||||
long lRet = SCardTransmit(hCard,
|
||||
pioSendPci, pbSendBuffer, cbSendLength,
|
||||
pioRecvPci, pbRecvBuffer, pcbRecvLength);
|
||||
|
||||
//printf("SCardTransmit(hCard=0x%0x, sendprot=0x%0x, sent %d bytes, recvprot=0x%0x): r = 0x%0x (%d), recv %d bytes\n",
|
||||
//hCard, pioSendPci->dwProtocol, cbSendLength, pioRecvPci->dwProtocol, lRet, lRet, * pcbRecvLength);
|
||||
|
||||
return lRet;
|
||||
}
|
||||
|
||||
long CardControl(SCARDHANDLE hCard, DWORD dwControlCode,
|
||||
LPCVOID lpInBuffer, DWORD nInBufferSize,
|
||||
LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned)
|
||||
{
|
||||
#ifndef __OLD_PCSC_API__
|
||||
long lRet = SCardControl(hCard, dwControlCode,
|
||||
lpInBuffer, nInBufferSize,
|
||||
lpOutBuffer, nOutBufferSize, lpBytesReturned);
|
||||
|
||||
//printf("SCardControl()\n");
|
||||
|
||||
return lRet;
|
||||
#else
|
||||
long lRet = SCardControl(hCard,
|
||||
(const unsigned char *) lpInBuffer, nInBufferSize,
|
||||
(unsigned char*) lpOutBuffer, lpBytesReturned);
|
||||
|
||||
//printf("SCardControl()\n");
|
||||
|
||||
return lRet;
|
||||
#endif
|
||||
}
|
||||
|
||||
long Ctrl(unsigned long ulControl, const void *pIn, void *pOut)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
static void GetPCSCFunctions(CPCSC *poPCSC, tPCSCfunctions *pxPCSCFunctions)
|
||||
{
|
||||
g_poPCSC = poPCSC;
|
||||
|
||||
pxPCSCFunctions->pCardConnect = CardConnect;
|
||||
pxPCSCFunctions->pCardDisconnect = CardDisconnect;
|
||||
pxPCSCFunctions->pCardBeginTransaction = CardBeginTransaction;
|
||||
pxPCSCFunctions->pCardEndTransaction = CardEndTransaction;
|
||||
pxPCSCFunctions->pCardTransmit = CardTransmit;
|
||||
pxPCSCFunctions->pCardControl = CardControl;
|
||||
pxPCSCFunctions->pCtrl = Ctrl;
|
||||
}
|
||||
|
||||
}
|
37
cardlayer/src/cardpluginsis/sispluginhandler.h
Executable file
37
cardlayer/src/cardpluginsis/sispluginhandler.h
Executable file
|
@ -0,0 +1,37 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/**
|
||||
* Tries to load SIScardplugins and return a CSISCard object if this succeeded.
|
||||
*/
|
||||
#ifndef __SISPLUGINHANDLER_H__
|
||||
#define __SISPLUGINHANDLER_H__
|
||||
|
||||
#include "../card.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
CCard * SISPluginReadData(const char *csReader, unsigned long hCard,
|
||||
CContext *poContext, CPinpad *poPinpad,
|
||||
CDynamicLib &oCardPluginLib);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
281
cardlayer/src/cardpluginsis_acr38u/siscard.cpp
Executable file
281
cardlayer/src/cardpluginsis_acr38u/siscard.cpp
Executable file
|
@ -0,0 +1,281 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
/** \file SISCard.h
|
||||
This DLL reads all the data from the social security SIS-card.
|
||||
*/
|
||||
|
||||
#include "../cardpluginsis/sisplugin1.h"
|
||||
#include "log.h"
|
||||
#include <string.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#define SISPLUGIN_EXPORT __declspec(dllexport)
|
||||
#define SIS_PROTOCOL SCARD_PROTOCOL_UNDEFINED
|
||||
#define IOCTL_SET_CARD_TYPE SCARD_CTL_CODE(2060)
|
||||
#define SIS_DISPOSITION SCARD_LEAVE_CARD
|
||||
const unsigned char tucSetSyncCard[] = {0x18, 0x00, 0x00, 0x00};
|
||||
#else
|
||||
#define SISPLUGIN_EXPORT
|
||||
#define SIS_PROTOCOL SCARD_PROTOCOL_RAW
|
||||
#define IOCTL_SET_CARD_TYPE 0
|
||||
#define SIS_DISPOSITION SCARD_RESET_CARD
|
||||
const unsigned char tucSetSyncCard[] = { 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00 }; // 4418/28
|
||||
#endif
|
||||
|
||||
static long ConnectInSyncMode(tPCSCfunctions *pPCSCfunctions, const char *csReaderName,
|
||||
SCARDHANDLE *phCard, DWORD *pulProto);
|
||||
|
||||
static long BackToAsyncMode(tPCSCfunctions *pPCSCfunctions, const char *csReaderName,
|
||||
SCARDHANDLE *phCard);
|
||||
|
||||
static long ReadInternal(tPCSCfunctions *pPCSCfunctions, SCARDHANDLE hCard,
|
||||
LPCSCARD_IO_REQUEST pioSendPci, LPSCARD_IO_REQUEST pioRecvPci,
|
||||
unsigned long ulOffset, unsigned long ulMaxLen,
|
||||
unsigned char *pucData);
|
||||
|
||||
SISPLUGIN_EXPORT long SISPluginReadCard(
|
||||
unsigned long ulVersion, /**< In: SW-version of the middleware */
|
||||
void *pPCSCfunctions, /**< In: pointer to a tPCSCfunctions struct */
|
||||
const char *csReaderName, /**< In: the reader name as returned by SCardListReaders() */
|
||||
SCARDHANDLE *phCard, /**< In: handle to the card if it was succesful or 0 when it failed */
|
||||
unsigned char *pucData, /**< Out: returns the 404 bytes of the SIS-card */
|
||||
unsigned long ulReserved, /**< In: reserved for future extensions */
|
||||
void *pReserved /**< In/Out: reserved for future extensions */
|
||||
)
|
||||
{
|
||||
eIDMW::MWLOG(eIDMW::LEV_DEBUG, eIDMW::MOD_SIS, L"SISPluginReadCard(%d) called", *phCard);
|
||||
|
||||
SCARD_IO_REQUEST ioSendPci, ioRecvPci;
|
||||
tPCSCfunctions *pPCSCfuncs = (tPCSCfunctions *) pPCSCfunctions;
|
||||
DWORD ulProto = SCARD_PROTOCOL_T0;
|
||||
long lRet = -11111;
|
||||
|
||||
if (ulVersion/100 != 1)
|
||||
return lRet; //only version 1.xx supported
|
||||
|
||||
memset(pucData, 0, 404);
|
||||
|
||||
#ifdef __APPLE__
|
||||
if (0 != *phCard)
|
||||
{
|
||||
pPCSCfuncs->pCardDisconnect(*phCard, SCARD_RESET_CARD);
|
||||
*phCard = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (0 == *phCard)
|
||||
{
|
||||
lRet = ConnectInSyncMode(pPCSCfuncs, csReaderName, phCard, &ulProto);
|
||||
eIDMW::MWLOG(eIDMW::LEV_DEBUG, eIDMW::MOD_SIS, L" ConnectInSyncMode return = 0x%0x",lRet);
|
||||
if (SCARD_S_SUCCESS != lRet)
|
||||
return lRet;
|
||||
}
|
||||
|
||||
ioSendPci.cbPciLength = sizeof(SCARD_IO_REQUEST);
|
||||
ioRecvPci.cbPciLength = sizeof(SCARD_IO_REQUEST);
|
||||
ioSendPci.dwProtocol = ulProto;
|
||||
ioRecvPci.dwProtocol = ulProto;
|
||||
|
||||
lRet = pPCSCfuncs->pCardBeginTransaction(*phCard);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
lRet = ReadInternal(pPCSCfuncs, *phCard, &ioSendPci, &ioRecvPci, 0, 404, pucData);
|
||||
eIDMW::MWLOG(eIDMW::LEV_DEBUG, eIDMW::MOD_SIS, L" ReadInternal return = 0x%0x",lRet);
|
||||
BackToAsyncMode(pPCSCfuncs, csReaderName, phCard);
|
||||
pPCSCfuncs->pCardEndTransaction(*phCard, SCARD_LEAVE_CARD);
|
||||
}
|
||||
|
||||
// Check if it's a SIS card
|
||||
if (0 == lRet && (0xA0 != pucData[21] || 0x00 != pucData[22] || 0x00 != pucData[23] ||
|
||||
0x00 != pucData[24] || 0x33 != pucData[25]))
|
||||
{
|
||||
lRet = SCARD_E_CARD_UNSUPPORTED;
|
||||
}
|
||||
|
||||
return lRet;
|
||||
}
|
||||
|
||||
static long ConnectInSyncMode(tPCSCfunctions *pPCSCfunctions, const char *csReaderName,
|
||||
SCARDHANDLE *phCard, DWORD *pulProto)
|
||||
{
|
||||
unsigned char tucRecv[258];
|
||||
DWORD ulRecvLen = (DWORD) sizeof(tucRecv);
|
||||
SCARD_IO_REQUEST ioSendPci, ioRecvPci;
|
||||
|
||||
long lRet = pPCSCfunctions->pCardConnect(csReaderName, SCARD_SHARE_DIRECT,
|
||||
SIS_PROTOCOL, phCard, pulProto);
|
||||
if (SCARD_S_SUCCESS != lRet)
|
||||
return lRet;
|
||||
|
||||
#ifdef __APPLE__
|
||||
*pulProto = SCARD_PROTOCOL_RAW;
|
||||
#endif
|
||||
|
||||
ioSendPci.cbPciLength = sizeof(SCARD_IO_REQUEST);
|
||||
ioRecvPci.cbPciLength = sizeof(SCARD_IO_REQUEST);
|
||||
ioSendPci.dwProtocol = *pulProto;
|
||||
ioRecvPci.dwProtocol = *pulProto;
|
||||
|
||||
#ifdef __APPLE__
|
||||
lRet = pPCSCfunctions->pCardBeginTransaction(*phCard);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
// Set cardtype in card-reader to accept synch cards
|
||||
int32_t tSetSyncCard[2] = {0, 5};
|
||||
|
||||
lRet = pPCSCfunctions->pCardTransmit(*phCard,
|
||||
&ioSendPci, (unsigned char *) tSetSyncCard, (DWORD) sizeof(tSetSyncCard),
|
||||
&ioRecvPci, tucRecv, &ulRecvLen);
|
||||
|
||||
pPCSCfunctions->pCardEndTransaction(*phCard, SCARD_LEAVE_CARD);
|
||||
}
|
||||
|
||||
// Reconnect
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
lRet = pPCSCfunctions->pCardDisconnect(*phCard, SCARD_RESET_CARD);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
lRet = pPCSCfunctions->pCardConnect(csReaderName, SCARD_SHARE_SHARED,
|
||||
SCARD_PROTOCOL_T0, phCard, pulProto);
|
||||
}
|
||||
}
|
||||
#else
|
||||
// Set cardtype in card-reader to accept synch cards
|
||||
lRet = pPCSCfunctions->pCardControl(*phCard, IOCTL_SET_CARD_TYPE,
|
||||
tucSetSyncCard, (unsigned long) sizeof(tucSetSyncCard),
|
||||
tucRecv, ulRecvLen, &ulRecvLen);
|
||||
|
||||
// Reconnect
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
lRet = pPCSCfunctions->pCardDisconnect(*phCard, SIS_DISPOSITION);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
lRet = pPCSCfunctions->pCardConnect(csReaderName, SCARD_SHARE_SHARED,
|
||||
SCARD_PROTOCOL_T0, phCard, pulProto);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return lRet;
|
||||
}
|
||||
|
||||
static long BackToAsyncMode(tPCSCfunctions *pPCSCfunctions, const char *csReaderName,
|
||||
SCARDHANDLE *phCard)
|
||||
{
|
||||
unsigned char tucRecv[258];
|
||||
DWORD ulRecvLen = (DWORD) sizeof(tucRecv);
|
||||
#ifdef __APPLE__
|
||||
int32_t tSetAsyncCard[2] = {0, 0};
|
||||
long lRet = pPCSCfunctions->pCardEndTransaction(*phCard, SCARD_LEAVE_CARD);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
lRet = pPCSCfunctions->pCardDisconnect(*phCard, SCARD_RESET_CARD);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
DWORD dwAP;
|
||||
lRet = pPCSCfunctions->pCardConnect(csReaderName, SCARD_SHARE_DIRECT,
|
||||
SIS_PROTOCOL, phCard, &dwAP);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
dwAP = SCARD_PROTOCOL_RAW;
|
||||
#endif
|
||||
lRet = pPCSCfunctions->pCardBeginTransaction(*phCard);
|
||||
if (SCARD_S_SUCCESS == lRet)
|
||||
{
|
||||
SCARD_IO_REQUEST ioSendPci, ioRecvPci;
|
||||
ioSendPci.cbPciLength = sizeof(SCARD_IO_REQUEST);
|
||||
ioRecvPci.cbPciLength = sizeof(SCARD_IO_REQUEST);
|
||||
ioSendPci.dwProtocol = dwAP;
|
||||
ioRecvPci.dwProtocol = dwAP;
|
||||
long lRet = pPCSCfunctions->pCardTransmit(*phCard,
|
||||
&ioSendPci, (unsigned char *) tSetAsyncCard, sizeof(tSetAsyncCard),
|
||||
&ioRecvPci, tucRecv, &ulRecvLen);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return lRet;
|
||||
#else
|
||||
const unsigned char tucSetAsyncCard[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||
return pPCSCfunctions->pCardControl(*phCard, IOCTL_SET_CARD_TYPE,
|
||||
tucSetAsyncCard, sizeof(tucSetAsyncCard),
|
||||
tucRecv, ulRecvLen, &ulRecvLen);
|
||||
#endif
|
||||
}
|
||||
|
||||
static long ReadInternal(tPCSCfunctions *pPCSCfunctions, SCARDHANDLE hCard,
|
||||
LPCSCARD_IO_REQUEST pioSendPci, LPSCARD_IO_REQUEST pioRecvPci,
|
||||
unsigned long ulOffset, unsigned long ulMaxLen,
|
||||
unsigned char *pucData)
|
||||
{
|
||||
unsigned long ulLen = ulMaxLen > 252 ? 252 : ulMaxLen;
|
||||
unsigned long ulTotLen = 0;
|
||||
|
||||
unsigned char tucReadDat[5] = {0xFF, 0xB2};
|
||||
tucReadDat[2] = (unsigned char)(ulOffset/256);
|
||||
tucReadDat[3] = (unsigned char)(ulOffset%256);
|
||||
tucReadDat[4] = (unsigned char)(ulLen);
|
||||
|
||||
unsigned char tucRecv[258];
|
||||
DWORD ulRecvLen = (DWORD) sizeof(tucRecv);
|
||||
|
||||
long lRet = pPCSCfunctions->pCardTransmit(hCard,
|
||||
pioSendPci, tucReadDat, (DWORD) sizeof(tucReadDat),
|
||||
pioRecvPci, tucRecv, &ulRecvLen);
|
||||
if (SCARD_S_SUCCESS != lRet)
|
||||
return lRet;
|
||||
if (ulRecvLen < 2)
|
||||
return SCARD_F_COMM_ERROR;
|
||||
|
||||
ulRecvLen -= 2; // remove SW1 SW2
|
||||
memcpy(pucData, tucRecv, ulRecvLen);
|
||||
ulTotLen = ulRecvLen;
|
||||
|
||||
// If we read enough then return
|
||||
if (ulMaxLen == ulLen)
|
||||
return 0;
|
||||
|
||||
ulLen = ulRecvLen;
|
||||
ulOffset += ulLen;
|
||||
ulMaxLen -= ulLen;
|
||||
ulLen = ulMaxLen > 252 ? 252 : ulMaxLen;
|
||||
tucReadDat[2] = (unsigned char)(ulOffset/256);
|
||||
tucReadDat[3] = (unsigned char)(ulOffset%256);
|
||||
tucReadDat[4] = (unsigned char)(ulLen);
|
||||
|
||||
ulRecvLen = (unsigned long) sizeof(tucRecv);
|
||||
lRet = pPCSCfunctions->pCardTransmit(hCard,
|
||||
pioSendPci, tucReadDat, sizeof(tucReadDat),
|
||||
pioRecvPci, tucRecv, &ulRecvLen);
|
||||
if (SCARD_S_SUCCESS != lRet)
|
||||
return lRet;
|
||||
if (ulRecvLen < 2)
|
||||
return SCARD_F_COMM_ERROR;
|
||||
|
||||
ulRecvLen -= 2; // remove SW1 SW2
|
||||
if (ulTotLen + ulRecvLen > 404)
|
||||
return SCARD_E_INSUFFICIENT_BUFFER;
|
||||
memcpy(pucData + ulTotLen, tucRecv, ulRecvLen);
|
||||
|
||||
return 0;
|
||||
}
|
53
cardlayer/src/cardreaderinfo.cpp
Executable file
53
cardlayer/src/cardreaderinfo.cpp
Executable file
|
@ -0,0 +1,53 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "cardreaderinfo.h"
|
||||
|
||||
#include "cardlayer.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
CCardReaderInfo *CCardReaderInfo::m_CardReaderInfo = NULL;
|
||||
|
||||
// CCardReaderInfo::CCardReaderInfo()
|
||||
CCardReaderInfo::CCardReaderInfo(void)
|
||||
: m_NoOfReaders(-1)
|
||||
{
|
||||
}
|
||||
|
||||
// CCardReaderInfo *CCardReaderInfo::GetCardReaderInfo()
|
||||
CCardReaderInfo *CCardReaderInfo::GetCardReaderInfo()
|
||||
{
|
||||
if (m_CardReaderInfo == NULL)
|
||||
{
|
||||
m_CardReaderInfo = new CCardReaderInfo();
|
||||
}
|
||||
return m_CardReaderInfo;
|
||||
}
|
||||
|
||||
// void CCardReaderInfo::CollectInfo(void)
|
||||
void CCardReaderInfo::CollectInfo(void)
|
||||
{
|
||||
CCardLayer oCardLayer;
|
||||
CReadersInfo oReadersInfo = oCardLayer.ListReaders();
|
||||
m_NoOfReaders = oReadersInfo.ReaderCount();
|
||||
}
|
||||
|
||||
} // namespace eidMW
|
50
cardlayer/src/cardreaderinfo.h
Executable file
50
cardlayer/src/cardreaderinfo.h
Executable file
|
@ -0,0 +1,50 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../common/src/export.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
#ifdef WIN32
|
||||
#pragma warning(disable:4290) // Allow for 'throw()' specifications
|
||||
#endif
|
||||
|
||||
class CCardReaderInfo
|
||||
{
|
||||
public:
|
||||
EIDMW_CAL_API static CCardReaderInfo *GetCardReaderInfo(void);
|
||||
|
||||
EIDMW_CAL_API void CollectInfo(void);
|
||||
|
||||
EIDMW_CAL_API int GetNoOfReaders(void) {return m_NoOfReaders;};
|
||||
|
||||
private:
|
||||
CCardReaderInfo(void);
|
||||
|
||||
static CCardReaderInfo *m_CardReaderInfo;
|
||||
|
||||
int m_NoOfReaders;
|
||||
|
||||
};
|
||||
|
||||
}
|
38
cardlayer/src/context.cpp
Executable file
38
cardlayer/src/context.cpp
Executable file
|
@ -0,0 +1,38 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#include "context.h"
|
||||
#include "../common/src/configuration.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
CContext::CContext()
|
||||
{
|
||||
m_bSSO = CConfig::GetLong(CConfig::EIDMW_CONFIG_PARAM_SECURITY_SINGLESIGNON) != 0;
|
||||
|
||||
m_ulConnectionDelay = CConfig::GetLong(CConfig::EIDMW_CONFIG_PARAM_GENERAL_CARDCONNDELAY);
|
||||
}
|
||||
|
||||
CContext::~CContext()
|
||||
{
|
||||
m_oThreadPool.FinishThreads();
|
||||
|
||||
m_oPCSC.ReleaseContext();
|
||||
}
|
||||
}
|
45
cardlayer/src/context.h
Executable file
45
cardlayer/src/context.h
Executable file
|
@ -0,0 +1,45 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#pragma once
|
||||
|
||||
#ifndef CONTEXT_H
|
||||
#define CONTEXT_H
|
||||
|
||||
#include "pcsc.h"
|
||||
#include "threadpool.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
class EIDMW_CAL_API CContext
|
||||
{
|
||||
public:
|
||||
CContext();
|
||||
~CContext();
|
||||
|
||||
CPCSC m_oPCSC;
|
||||
CThreadPool m_oThreadPool;
|
||||
|
||||
bool m_bSSO; // force Single Sign-On
|
||||
unsigned long m_ulConnectionDelay;
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
73
cardlayer/src/internalconst.h
Executable file
73
cardlayer/src/internalconst.h
Executable file
|
@ -0,0 +1,73 @@
|
|||
/* ****************************************************************************
|
||||
|
||||
* eID Middleware Project.
|
||||
* Copyright (C) 2008-2010 FedICT.
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU Lesser General Public License version
|
||||
* 3.0 as published by the Free Software Foundation.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this software; if not, see
|
||||
* http://www.gnu.org/licenses/.
|
||||
|
||||
**************************************************************************** */
|
||||
#pragma once
|
||||
|
||||
#include "internalconst.h"
|
||||
|
||||
namespace eIDMW
|
||||
{
|
||||
|
||||
const unsigned long PP_CAP_VERIFY = 0x01;
|
||||
const unsigned long PP_CAP_CHANGE = 0x02;
|
||||
|
||||
const static unsigned long READERS_BUF_LEN = 600;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned long lFileLen; // -1 means 'unknown'
|
||||
unsigned long lReadPINRef; // -1 means 'no PIN needed' or 'unknown'
|
||||
unsigned long lWritePINRef; // -1 means 'no PIN needed' or 'unknown'
|
||||
} tFileInfo;
|
||||
|
||||
#ifdef __APPLE__
|
||||
// SCM331 reader on Mac PPC 10.4 can't read 252 bytes
|
||||
const unsigned long MAX_APDU_READ_LEN = 248;
|
||||
const unsigned long MAX_APDU_WRITE_LEN = 248;
|
||||
#else
|
||||
const unsigned long MAX_APDU_READ_LEN = 252;
|
||||
const unsigned long MAX_APDU_WRITE_LEN = 252;
|
||||
#endif
|
||||
const unsigned long MAX_APDU_LEN = 256;
|
||||
const unsigned long APDU_BUF_LEN = MAX_APDU_LEN + 2; // for SW1 and SW2
|
||||
|
||||
const unsigned long CTRL_BUF_LEN = 258; // Fixme: this won't be enough for a pinpad init !!!
|
||||
|
||||
typedef enum {
|
||||
DONT_CACHE,
|
||||
SIMPLE_CACHE, // for data that can never be modified
|
||||
CERT_CACHE, // for certs that can be modified
|
||||
CHECK_16_CACHE, // for data where checking 16 bytes is enough
|
||||
CHECK_SERIAL, // for data where the card serial number should be present
|
||||
} tCacheAction;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
tCacheAction action;
|
||||
unsigned long ulOffset; // for CHECK_16_CACHE
|
||||
} tCacheInfo;
|
||||
|
||||
typedef enum {
|
||||
DONT_SELECT_APPLET,
|
||||
ALW_SELECT_APPLET, // Always select the applet before doing a Select file
|
||||
TRY_SELECT_APPLET, // Try to select the applet in case of problems;
|
||||
// and if that worked then do it all the time
|
||||
} tSelectAppletMode;
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue