Changeset 1028
- Timestamp:
- 04/05/08 00:28:07 (8 months ago)
- Location:
- trunk
- Files:
-
- 7 removed
- 36 modified
- 8 copied
-
. (modified) (1 prop)
-
Makefile.am (modified) (2 diffs)
-
aclocal (modified) (1 prop)
-
aclocal/Makefile.am (modified) (1 diff)
-
aclocal/ac_compile_check_sizeof.m4 (deleted)
-
aclocal/ac_create_stdint_h.m4 (modified) (4 diffs)
-
aclocal/pkg.m4 (deleted)
-
configure.ac (modified) (3 diffs)
-
doc (modified) (1 prop)
-
doc/Makefile.am (modified) (1 diff)
-
doc/changelog.sh (deleted)
-
doc/doxygen-footer.html (copied) (copied from branches/alonbl/build/doc/doxygen-footer.html)
-
doc/doxygen.conf.in (modified) (28 diffs)
-
doc/export-wiki.sh (deleted)
-
doc/export-wiki.xsl (deleted)
-
doc/generate-api.sh (deleted)
-
doc/nonpersistent (copied) (copied from branches/alonbl/build/doc/nonpersistent)
-
doc/nonpersistent/Makefile.am (copied) (copied from branches/alonbl/build/doc/nonpersistent/Makefile.am)
-
doc/nonpersistent/export-wiki.sh (copied) (copied from branches/alonbl/build/doc/nonpersistent/export-wiki.sh)
-
doc/nonpersistent/export-wiki.xsl (copied) (copied from branches/alonbl/build/doc/nonpersistent/export-wiki.xsl)
-
doc/nonpersistent/svn2cl.xsl (copied) (copied from branches/alonbl/build/doc/nonpersistent/svn2cl.xsl)
-
doc/opensc-logo.gif (copied) (copied from branches/alonbl/build/doc/opensc-logo.gif)
-
doc/svn2cl.xsl (deleted)
-
etc (modified) (1 prop)
-
etc/Makefile.am (modified) (1 diff)
-
macos (modified) (1 prop)
-
macos/Makefile.am (modified) (1 diff)
-
solaris (modified) (1 prop)
-
src (modified) (1 prop)
-
src/Makefile.am (modified) (1 diff)
-
src/ct (modified) (1 prop)
-
src/ct/Makefile.am (modified) (1 diff)
-
src/ctapi (modified) (1 prop)
-
src/ctapi/Makefile.am (modified) (1 diff)
-
src/ifd (modified) (1 prop)
-
src/ifd/Makefile.am (modified) (2 diffs)
-
src/ifd/atr.c (modified) (1 diff)
-
src/ifd/ifd-cm4000.c (modified) (1 diff)
-
src/ifd/ifd-pertosmart1030.c (modified) (1 diff)
-
src/ifd/ifd-pertosmart1038.c (modified) (1 diff)
-
src/ifd/ifd-rutoken.c (modified) (1 diff)
-
src/ifd/sys-linux.c (modified) (2 diffs)
-
src/include (modified) (1 prop)
-
src/include/Makefile.am (modified) (1 diff)
-
src/include/openct (modified) (1 prop)
-
src/include/openct/Makefile.am (modified) (1 diff)
-
src/pcsc (modified) (1 prop)
-
src/pcsc/Makefile.am (modified) (1 diff)
-
src/tools (modified) (1 prop)
-
src/tools/Makefile.am (modified) (1 diff)
-
svnignore (copied) (copied from branches/alonbl/build/svnignore)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 Makefile 2 Makefile.in 3 core 4 archive 5 acinclude.m4 6 aclocal.m4 7 autom4te.cache 8 compile 9 confdefs.h 10 config.* 11 configure 12 conftest 13 conftest.c 14 depcomp 15 install-sh 16 libtool 17 libtool.m4 18 ltmain.sh 19 missing 20 mkinstalldirs 21 so_locations 22 stamp-h* 23 1 24 .deps 2 25 .libs … … 19 42 *.rej 20 43 *.u 44 *.rc 45 *.pc 21 46 *~ 22 Makefile 23 Makefile.in 24 core 25 gmon.out 26 archive 27 acinclude.m4 28 aclocal.m4 29 autom4te.cache 30 compile 31 confdefs.h 32 config.cache 33 config.guess 34 config.h 35 config.h.in 36 config.log 37 config.status 38 config.sub 39 configure 40 conftest 41 conftest.c 42 depcomp 43 install-sh 44 libtool 45 libtool.m4 46 ltmain.sh 47 missing 48 mkinstalldirs 49 so_locations 50 stamp-h* 47 *.gz 48 *.bz2 49 *.[0-9] 50 *.html 51 *.gif 52 *.css 53 *.out 54 *.loT 55 56 ChangeLog 57 doxygen.conf 58 reader.conf 59 openct_serial 60 openct.hald 61 openct_usb 62 openct_pcmcia 63 init-script 64 openct.conf 65 types.h 66 ifdhandler 67 ifdproxy 68 openct-tool 69 openct-control
-
- Property svn:ignore
-
trunk/Makefile.am
r806 r1028 1 # Process this file with automake to create Makefile.in 1 AUTOMAKE_OPTIONS = foreign 1.10 2 ACLOCAL_AMFLAGS = -I aclocal 2 3 3 SUBDIRS = . aclocal etc macos src 4 DIST_SUBDIRS = . aclocal doc etc macos src 4 MAINTAINERCLEANFILES = \ 5 config.log config.status \ 6 $(srcdir)/Makefile.in \ 7 $(srcdir)/config.h.in $(srcdir)/config.h.in~ $(srcdir)/configure \ 8 $(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \ 9 $(srcdir)/depcomp $(srcdir)/aclocal.m4 $(srcdir)/compile \ 10 $(srcdir)/config.guess $(srcdir)/config.sub \ 11 $(srcdir)/packaged 12 EXTRA_DIST = svnignore 5 13 6 EXTRA_DIST = LGPL-2.1 NEWS TODO bootstrap depcomp \ 14 SUBDIRS = aclocal etc macos src doc 15 16 dist_noinst_SCRIPTS = bootstrap 17 dist_noinst_DATA = LGPL-2.1 TODO \ 7 18 solaris/Makefile.client solaris/Makefile.server solaris/README \ 8 19 solaris/checkinstall.in solaris/devices-openct-fabric.xml-dist \ … … 10 21 solaris/openct.conf-dist solaris/pkginfo.in solaris/postinstall \ 11 22 solaris/preremove solaris/proto 23 dist_doc_DATA = NEWS 12 24 13 MAINTAINERCLEANFILES = \ 14 Makefile.in config.h.in configure \ 15 install-sh ltmain.sh missing mkinstalldirs \ 16 compile depcomp config.log config.status \ 17 config.guess config.sub acinclude.m4 aclocal.m4 18 19 DEPCLEANFILES = config.log configure 20 21 AUTOMAKE_OPTIONS = foreign 1.5 22 ACLOCAL_AMFLAGS = -I aclocal 25 # Allow detection of packaged tarball 26 dist-hook: 27 echo > "$(distdir)/packaged" -
trunk/aclocal
- Property svn:ignore
-
old new 1 Makefile 2 Makefile.in 3 core 4 archive 5 acinclude.m4 6 aclocal.m4 7 autom4te.cache 8 compile 9 confdefs.h 10 config.* 11 configure 12 conftest 13 conftest.c 14 depcomp 15 install-sh 16 libtool 17 libtool.m4 18 ltmain.sh 19 missing 20 mkinstalldirs 21 so_locations 22 stamp-h* 23 1 24 .deps 2 25 .libs … … 19 42 *.rej 20 43 *.u 44 *.rc 45 *.pc 21 46 *~ 22 Makefile 23 Makefile.in 24 core 25 gmon.out 47 *.gz 48 *.bz2 49 *.[0-9] 50 *.html 51 *.gif 52 *.css 53 *.out 54 *.loT 55 56 ChangeLog 57 doxygen.conf 58 reader.conf 59 openct_serial 60 openct.hald 61 openct_usb 62 openct_pcmcia 63 init-script 64 openct.conf 65 types.h 66 ifdhandler 67 ifdproxy 68 openct-tool 69 openct-control
-
- Property svn:ignore
-
trunk/aclocal/Makefile.am
r769 r1028 1 # Process this file with automake to createMakefile.in1 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in 2 2 3 MAINTAINERCLEANFILES = Makefile.in 4 5 EXTRA_DIST = ac_compile_check_sizeof.m4 ac_create_stdint_h.m4 \ 6 acx_pthread.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 pkg.m4 3 dist_noinst_DATA = ac_create_stdint_h.m4 \ 4 acx_pthread.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 -
trunk/aclocal/ac_create_stdint_h.m4
r359 r1028 16 16 dnl int_least32_t.. int_fast32_t.. intmax_t 17 17 dnl which may or may not rely on the definitions of other files, 18 dnl or using the AC_C OMPILE_CHECK_SIZEOF macro to determine the actual18 dnl or using the AC_CHECK_SIZEOF macro to determine the actual 19 19 dnl sizeof each type. 20 20 dnl … … 39 39 AC_DEFUN([AC_CREATE_STDINT_H], 40 40 [# ------ AC CREATE STDINT H ------------------------------------- 41 AC_PROG_MKDIR_P 42 AC_PROG_SED 41 43 AC_MSG_CHECKING([for stdint-types....]) 42 44 ac_stdint_h=`echo ifelse($1, , _stdint.h, $1)` … … 90 92 91 93 if test "$ac_cv_header_stdint_x" = "no-file" ; then 92 AC_C OMPILE_CHECK_SIZEOF(char)93 AC_C OMPILE_CHECK_SIZEOF(short)94 AC_C OMPILE_CHECK_SIZEOF(int)95 AC_C OMPILE_CHECK_SIZEOF(long)96 AC_C OMPILE_CHECK_SIZEOF(void*)94 AC_CHECK_SIZEOF(char) 95 AC_CHECK_SIZEOF(short) 96 AC_CHECK_SIZEOF(int) 97 AC_CHECK_SIZEOF(long) 98 AC_CHECK_SIZEOF(void*) 97 99 ac_cv_header_stdint_test="yes" 98 100 else … … 103 105 _ac_stdint_h=AS_TR_CPP(_$ac_stdint_h) 104 106 AC_MSG_RESULT(creating $ac_stdint_h : $_ac_stdint_h) 107 ${MKDIR_P} $(echo "${ac_stdint_h}" | ${SED} 's/[[^/]]*$//') 2> /dev/null 105 108 echo "#ifndef" $_ac_stdint_h >$ac_stdint_h 106 109 echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h -
trunk/configure.ac
r1011 r1028 1 1 dnl -*- mode: m4; -*- 2 dnl Process this file with autoconf to produce a configure script. 3 4 # Require autoconf 2.52 5 AC_PREREQ(2.52) 6 AC_INIT([openct], [0.6.14-svn]) 7 AM_INIT_AUTOMAKE 8 AM_CONFIG_HEADER(config.h) 9 10 AC_CONFIG_SRCDIR(src/ifd/ifdhandler.c) 2 3 AC_PREREQ([2.60]) 4 5 define([PACKAGE_VERSION_MAJOR], [0]) 6 define([PACKAGE_VERSION_MINOR], [6]) 7 define([PACKAGE_VERSION_FIX], [14]) 8 9 AC_INIT([openct], [PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX-svn]) 10 AC_CONFIG_AUX_DIR([.]) 11 AM_CONFIG_HEADER([config.h]) 12 AM_INIT_AUTOMAKE([${PACKAGE_NAME}], [${PACKAGE_VERSION}]) 13 14 OPENCT_VERSION_MAJOR="PACKAGE_VERSION_MAJOR" 15 OPENCT_VERSION_MINOR="PACKAGE_VERSION_MINOR" 16 OPENCT_VERSION_FIX="PACKAGE_VERSION_FIX" 11 17 12 18 # LT Version numbers, remember to change them just *before* a release. 13 19 # (Code changed: REVISION++) 14 # (Interfaces added/removed/changed: CURRENT++, REVISION=0) 15 # (Interfaces added: AGE++) 16 # (Interfaces removed: AGE=0) 17 OPENCT_LT_CURRENT=1 18 OPENCT_LT_REVISION=0 19 OPENCT_LT_AGE=0 20 21 AC_SUBST(OPENCT_LT_CURRENT) 22 AC_SUBST(OPENCT_LT_REVISION) 23 AC_SUBST(OPENCT_LT_AGE) 20 # (Oldest interface removed: OLDEST++) 21 # (Interfaces added: CURRENT++, REVISION=0) 22 OPENCT_LT_CURRENT="1" 23 OPENCT_LT_OLDEST="1" 24 OPENCT_LT_REVISION="0" 25 OPENCT_LT_AGE="$((${OPENCT_LT_CURRENT}-${OPENCT_LT_OLDEST}))" 26 27 AC_CONFIG_SRCDIR(src/ifd/ifdhandler.c) 24 28 25 29 AC_CANONICAL_HOST 26 30 AC_PROG_CC 31 PKG_PROG_PKG_CONFIG 27 32 AC_C_BIGENDIAN 28 33 34 AC_MSG_CHECKING([svn checkout]) 35 if test -e packaged; then 36 svn_checkout="no" 37 else 38 svn_checkout="yes" 39 fi 40 AC_MSG_RESULT([${svn_checkout}]) 41 29 42 dnl Check for some target-specific stuff 30 case "$host" in 31 *-*-hpux*) 32 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED" 33 ;; 34 *-*-solaris*) 35 CPPFLAGS="$CPPFLAGS -I/usr/sfw/include -I/usr/local/include" 36 LDFLAGS="$LDFLAGS -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/local/lib -R/usr/local/lib" 37 need_dash_r=1 38 ;; 39 *-*-sunos4*) 40 CPPFLAGS="$CPPFLAGS -DSUNOS4" 41 ;; 42 *-*-aix*) 43 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 44 LDFLAGS="$LDFLAGS -L/usr/local/lib" 45 if (test "$LD" != "gcc" && test -z "$blibpath"); then 46 blibpath="/usr/lib:/lib:/usr/local/lib" 47 fi 48 ;; 49 *-*-osf*) 50 CPPFLAGS="$CPPFLAGS -D_POSIX_PII_SOCKET" 51 ;; 52 *-*-linux*) 53 ;; 54 *-*-darwin*) 55 LIBS="$LIBS -Wl,-framework,CoreFoundation" 56 if test "$GCC" = "yes"; then 57 CFLAGS="$CFLAGS -no-cpp-precomp" 58 fi 43 case "${host}" in 44 *-*-hpux*) 45 CPPFLAGS="${CPPFLAGS} -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED" 46 ;; 47 *-*-solaris*) 48 CPPFLAGS="${CPPFLAGS} -I/usr/local/include" 49 LDFLAGS="${LDFLAGS} -L/usr/local/lib -R/usr/local/lib" 50 need_dash_r="1" 51 ;; 52 *-*-sunos4*) 53 CPPFLAGS="${CPPFLAGS} -DSUNOS4" 54 ;; 55 *-*-aix*) 56 CPPFLAGS="${CPPFLAGS} -I/usr/local/include" 57 LDFLAGS="${LDFLAGS} -L/usr/local/lib" 58 if test "${LD}" != "gcc" -a -z "${blibpath}"; then 59 blibpath="/usr/lib:/lib:/usr/local/lib" 60 fi 61 ;; 62 *-*-osf*) 63 CPPFLAGS="${CPPFLAGS} -D_POSIX_PII_SOCKET" 64 ;; 65 *-*-darwin*) 66 LIBS="${LIBS} -Wl,-framework,CoreFoundation" 67 if test "${GCC}" = "yes"; then 68 CFLAGS="${CFLAGS} -no-cpp-precomp" 69 fi 59 70 ;; 60 71 esac 61 72 62 AC_ARG_WITH(common-dir, 63 AC_HELP_STRING([--with-common-dir=PATH], [Specify path for common installation libraries]), 64 [ 65 if test "x$withval" != "xno" ; then 66 trycommondir=$withval 67 fi 68 ] 69 ) 70 71 saved_LDFLAGS="$LDFLAGS" 72 saved_CPPFLAGS="$CPPFLAGS" 73 AC_CACHE_CHECK([for common directory], ac_cv_commondir, [ 74 for commondir in $trycommondir "" /usr/local /usr/pkg /opt ; do 75 # Skip directories if they don't exist 76 if test ! -z "$commondir" -a ! -d "$commondir/" ; then 77 continue; 78 fi 79 CPPFLAGS="$saved_CPPFLAGS" 80 LDFLAGS="$saved_LDFLAGS" 81 82 if test ! -z "$commondir" -a "x$commondir" != "x/usr"; then 83 LDFLAGS="-L$commondir/lib $saved_LDFLAGS" 84 if test ! -z "$need_dash_r" ; then 85 LDFLAGS="-R$commondir/lib $LDFLAGS" 86 fi 87 CPPFLAGS="-I$commondir/include $saved_CPPFLAGS" 88 fi 89 break; 90 done 91 92 if test -z "$commondir" ; then 93 commondir="(system)" 94 fi 95 ac_cv_commondir=$commondir 96 ]) 97 98 dnl Options 99 AM_MAINTAINER_MODE 73 rootlibdir="/lib${libdir##*/lib}" 74 usrlibdir="/usr/lib${libdir##*/lib}" 75 usrsbindir="/usr/sbin${libdir##*/sbin}" 76 77 full_sysconfdir=`eval eval eval eval eval echo "${sysconfdir}" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"` 78 full_localstatedir=`eval eval eval eval eval echo "${localstatedir}" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"` 79 80 AC_ARG_ENABLE( 81 [strict], 82 [AC_HELP_STRING([--enable-strict], [enable strict compile mode @<:@disabled@:>@])], 83 , 84 [enable_strict="no"] 85 ) 86 87 AC_ARG_ENABLE( 88 [pedantic], 89 [AC_HELP_STRING([--enable-pedantic], [enable pedantic compile mode @<:@disabled@:>@])], 90 , 91 [enable_pedantic="no"] 92 ) 93 94 AC_ARG_ENABLE( 95 [doc], 96 [AC_HELP_STRING([--enable-doc], [enable installation of documents. @<:@disabled@:>@])], 97 , 98 [enable_doc="no"] 99 ) 100 101 AC_ARG_ENABLE( 102 [api-doc], 103 [AC_HELP_STRING([--enable-api-doc], [enable generation and installation of api documents. @<:@disabled@:>@])], 104 , 105 [enable_api_doc="no"] 106 ) 107 108 AC_ARG_ENABLE( 109 [pcsc], 110 [AC_HELP_STRING([--enable-pcsc], [enable pcsc support. @<:@disabled@:>@])], 111 , 112 [enable_pcsc="no"] 113 ) 114 115 AC_ARG_ENABLE( 116 [usb], 117 [AC_HELP_STRING([--enable-usb], [enable usb support. @<:@disabled@:>@])], 118 , 119 [enable_usb="no"] 120 ) 121 122 AC_ARG_ENABLE( 123 [debug], 124 [AC_HELP_STRING([--enable-debug], [enable debug messages. @<:@disabled@:>@])], 125 [test "${enableval}" = "yes" && AC_DEFINE([DEBUG], [1], [Enable debug messages.])] 126 ) 127 128 AC_ARG_ENABLE( 129 [sunray], 130 [AC_HELP_STRING([--enable-sunray], [enable sunray support. @<:@disabled@:>@])], 131 [test "${enableval}" = "yes" && AC_DEFINE([sunray], [1], [Enable sunray support.])] 132 ) 133 134 AC_ARG_ENABLE( 135 [sunrayclient], 136 [AC_HELP_STRING([--enable-sunrayclient], [enable sunray client support. @<:@disabled@:>@])], 137 [test "${enableval}" = "yes" && AC_DEFINE(sunrayclient, 1, [Enable sunray client support.])] 138 ) 139 140 AC_ARG_WITH( 141 [bundle], 142 [AC_HELP_STRING([--with-bundle=PATH], [install bundle file for pcsc-lite to PATH @<:@not installed@:>@])], 143 [ 144 if test "${withval}" = "yes"; then 145 bundledir="\$(libdir)" 146 else 147 bundledir="${withval}" 148 fi 149 ], 150 [bundledir=""] 151 ) 152 153 AC_ARG_WITH( 154 [udev], 155 [AC_HELP_STRING([--with-udev=PATH], [install udev files into PATH @<:@not installed@:>@])], 156 [ 157 if test "${withval}" = "yes"; then 158 udevdir="\$(libdir)/udev" 159 else 160 udevdir="${withval}" 161 fi 162 ], 163 [udevdir=""] 164 ) 165 166 AC_ARG_WITH( 167 [hotplug], 168 [AC_HELP_STRING([--with-hotplug=PATH], [install hotplug files into PATH @<:@not installed@:>@])], 169 [ 170 if test "${withval}" = "yes"; then 171 hotplugdir="\$(sysconfdir)/hotplug/usb" 172 else 173 hotplugdir="${withval}" 174 fi 175 ], 176 [hotplugdir=""] 177 ) 178 179 AC_ARG_WITH( 180 [ifddir], 181 [AC_HELP_STRING([--with-ifddir], [ifd directory. @<:@/usr/lib/ifd@:>@])], 182 [ifddir="${withval}"], 183 [ifddir="${usrlibdir}/ifd"] 184 ) 185 186 AC_ARG_WITH( 187 [apidocdir], 188 [AC_HELP_STRING([--with-apidocdir], [put API documents at this directory, default HTMLDIR/api])], 189 [apidocdir="${with_apidocdir}"], 190 [apidocdir="\$(htmldir)/api"] 191 ) 100 192 101 193 dnl Checks for programs. … … 103 195 AC_PROG_INSTALL 104 196 AC_PROG_LN_S 197 AC_PROG_MKDIR_P 198 AC_PROG_SED 105 199 AC_PROG_MAKE_SET 106 AM_PROG_LEX107 108 dnl Special check for pthread support.109 ACX_PTHREAD(110 [111 AC_DEFINE(HAVE_PTHREAD,1,112 [Define if you have POSIX threads libraries and header files.])113 ], [114 AC_MSG_ERROR([POSIX thread support required])115 ])116 LIBS="$PTHREAD_LIBS $LIBS"117 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"118 CC="$PTHREAD_CC"119 200 120 201 dnl Add libtool support. 202 AM_PROG_CC_C_O 121 203 AM_PROG_LIBTOOL 204 205 AC_CHECK_PROGS([DOXYGEN],[doxygen]) 206 test "${enable_api_doc}" = "yes" -a -z "${DOXYGEN}" && AC_MSG_ERROR([doxygen is required for api doc]) 207 208 dnl These required for svn checkout 209 AC_ARG_VAR([XSLTPROC], [xsltproc utility]) 210 AC_ARG_VAR([SVN], [subversion utility]) 211 AC_ARG_VAR([WGET], [wget utility]) 212 AC_ARG_VAR([WGET_OPTS], [wget options]) 213 AC_ARG_VAR([TR], [tr utility]) 214 AC_CHECK_PROGS([XSLTPROC],[xsltproc]) 215 AC_CHECK_PROGS([SVN],[svn]) 216 AC_CHECK_PROGS([WGET],[wget]) 217 AC_CHECK_PROGS([TR],[tr]) 218 test -z "${WGET_OPTS}" && WGET_OPTS="-nv" 219 220 dnl svn checkout dependencies 221 if test "${svn_checkout}" = "yes"; then 222 AC_MSG_CHECKING([XSLTPROC requirement]) 223 if test -n "${XSLTPROC}"; then 224 AC_MSG_RESULT([ok]) 225 else 226 if test "${enable_doc}" = "yes"; then 227 AC_MSG_ERROR([Missing XSLTPROC svn build with doc]) 228 else 229 AC_MSG_WARN(["make dist" will not work]) 230 fi 231 fi 232 233 AC_MSG_CHECKING([svn doc build dependencies]) 234 if test -n "${SVN}" -a -n "${TR}" -a -n "${WGET}"; then 235 AC_MSG_RESULT([ok]) 236 else 237 if test "${enable_doc}" = "yes"; then 238 AC_MSG_ERROR([Missing SVN, TR or WGET for svn doc build]) 239 else 240 AC_MSG_WARN(["make dist" will not work]) 241 fi 242 fi 243 fi 122 244 123 245 dnl Checks for header files. 124 246 AC_HEADER_STDC 125 247 AC_HEADER_SYS_WAIT 126 AC_CHECK_HEADERS([errno.h fcntl.h malloc.h stdlib.h string.h strings.h sys/time.h unistd.h getopt.h dlfcn.h sys/poll.h]) 248 AC_CHECK_HEADERS([ \ 249 errno.h fcntl.h malloc.h stdlib.h string.h \ 250 strings.h sys/time.h unistd.h getopt.h \ 251 dlfcn.h sys/poll.h 252 ]) 127 253 128 254 dnl Checks for typedefs, structures, and compiler characteristics. … … 140 266 dnl C Compiler features 141 267 AC_C_INLINE 142 if test "$GCC" = "yes"; then 143 CFLAGS="-Wall $CFLAGS" 144 fi 145 146 dnl use ltdl 268 269 dnl See if socket() is found from libsocket 270 AC_CHECK_LIB( 271 [socket], 272 [socket], 273 [ 274 LIBS="${LIBS} -lsocket" 275 AC_CHECK_LIB( 276 [resolv], 277 [res_query], 278 [LIBS="${LIBS} -lresolv"] 279 ) 280 ] 281 ) 282 283 AC_ARG_VAR([LTLIB_CFLAGS], [C compiler flags for libltdl]) 284 AC_ARG_VAR([LTLIB_LIBS], [linker flags for libltdl]) 147 285 if test -z "${LTLIB_LIBS}"; then 148 AC_ARG_VAR([LTLIB_CFLAGS], [C compiler flags for libltdl]) 149 AC_ARG_VAR([LTLIB_LIBS], [linker flags for libltdl]) 150 151 AC_CHECK_LIB( 152 [ltdl], 153 [lt_dlopen], 154 [LTLIB_LIBS="-lltdl"], 155 [AC_MSG_ERROR([ltdl1 not found, please install libltdl and/or libtool])]) 156 157 AC_CHECK_HEADER( 158 [ltdl.h], 159 , 160 [AC_MSG_ERROR([ltdl.h not found, please install libltdl and/or libtool])] 161 ) 162 fi
