Changeset 1056
- Timestamp:
- 06/05/08 22:17:07 (6 months ago)
- Location:
- trunk
- Files:
-
- 1 removed
- 2 modified
-
Makefile.am (modified) (1 diff)
-
configure.ac (modified) (23 diffs)
-
m4/Makefile.am (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r1055 r1056 9 9 $(srcdir)/depcomp $(srcdir)/aclocal.m4 $(srcdir)/compile \ 10 10 $(srcdir)/config.guess $(srcdir)/config.sub \ 11 $(srcdir)/aclocal/ltsugar.m4 $(srcdir)/aclocal/libtool.m4 \ 12 $(srcdir)/aclocal/ltversion.m4 $(srcdir)/aclocal/lt~obsolete.m4 \ 13 $(srcdir)/aclocal/ltoptions.m4 \ 11 14 $(srcdir)/packaged 12 15 EXTRA_DIST = svnignore 13 16 14 SUBDIRS = aclocaletc macos src doc17 SUBDIRS = etc macos src doc 15 18 16 19 dist_noinst_SCRIPTS = bootstrap -
trunk/configure.ac
r1055 r1056 1 1 dnl -*- mode: m4; -*- 2 2 3 AC_PREREQ( [2.60])3 AC_PREREQ(2.60) 4 4 5 5 define([PACKAGE_VERSION_MAJOR], [0]) … … 7 7 define([PACKAGE_VERSION_FIX], [14]) 8 8 9 AC_INIT([openct], [PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX-svn])9 AC_INIT([openct],[PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX-svn]) 10 10 AC_CONFIG_AUX_DIR([.]) 11 AM_CONFIG_HEADER([config.h]) 11 AC_CONFIG_HEADERS([config.h]) 12 AC_CONFIG_MACRO_DIR([m4]) 12 13 AM_INIT_AUTOMAKE([${PACKAGE_NAME}], [${PACKAGE_VERSION}]) 13 14 … … 79 80 AC_ARG_ENABLE( 80 81 [strict], 81 [A C_HELP_STRING([--enable-strict],[enable strict compile mode @<:@disabled@:>@])],82 [AS_HELP_STRING([--enable-strict],[enable strict compile mode @<:@disabled@:>@])], 82 83 , 83 84 [enable_strict="no"] … … 86 87 AC_ARG_ENABLE( 87 88 [pedantic], 88 [A C_HELP_STRING([--enable-pedantic],[enable pedantic compile mode @<:@disabled@:>@])],89 [AS_HELP_STRING([--enable-pedantic],[enable pedantic compile mode @<:@disabled@:>@])], 89 90 , 90 91 [enable_pedantic="no"] … … 93 94 AC_ARG_ENABLE( 94 95 [doc], 95 [A C_HELP_STRING([--enable-doc],[enable installation of documents @<:@disabled@:>@])],96 [AS_HELP_STRING([--enable-doc],[enable installation of documents @<:@disabled@:>@])], 96 97 , 97 98 [enable_doc="no"] … … 100 101 AC_ARG_ENABLE( 101 102 [api-doc], 102 [A C_HELP_STRING([--enable-api-doc],[enable generation and installation of api documents @<:@disabled@:>@])],103 [AS_HELP_STRING([--enable-api-doc],[enable generation and installation of api documents @<:@disabled@:>@])], 103 104 , 104 105 [enable_api_doc="no"] … … 107 108 AC_ARG_ENABLE( 108 109 [pcsc], 109 [A C_HELP_STRING([--enable-pcsc],[enable pcsc support @<:@disabled@:>@])],110 [AS_HELP_STRING([--enable-pcsc],[enable pcsc support @<:@disabled@:>@])], 110 111 , 111 112 [enable_pcsc="no"] … … 114 115 AC_ARG_ENABLE( 115 116 [usb], 116 [A C_HELP_STRING([--enable-usb],[enable usb support @<:@disabled@:>@])],117 [AS_HELP_STRING([--enable-usb],[enable usb support @<:@disabled@:>@])], 117 118 , 118 119 [enable_usb="no"] … … 121 122 AC_ARG_ENABLE( 122 123 [debug], 123 [A C_HELP_STRING([--enable-debug],[enable debug messages @<:@disabled@:>@])],124 [AS_HELP_STRING([--enable-debug],[enable debug messages @<:@disabled@:>@])], 124 125 [test "${enableval}" = "yes" && AC_DEFINE([DEBUG], [1], [Enable debug messages.])] 125 126 ) … … 127 128 AC_ARG_ENABLE( 128 129 [sunray], 129 [A C_HELP_STRING([--enable-sunray],[enable sunray support @<:@disabled@:>@])],130 [AS_HELP_STRING([--enable-sunray],[enable sunray support @<:@disabled@:>@])], 130 131 [test "${enableval}" = "yes" && AC_DEFINE([sunray], [1], [Enable sunray support.])] 131 132 ) … … 133 134 AC_ARG_ENABLE( 134 135 [sunrayclient], 135 [A C_HELP_STRING([--enable-sunrayclient],[enable sunray client support @<:@disabled@:>@])],136 [AS_HELP_STRING([--enable-sunrayclient],[enable sunray client support @<:@disabled@:>@])], 136 137 [test "${enableval}" = "yes" && AC_DEFINE(sunrayclient, 1, [Enable sunray client support.])] 137 138 ) … … 139 140 AC_ARG_ENABLE( 140 141 [non-privileged], 141 [A C_HELP_STRING([--enable-non-privileged],[enable non privileged mode @<:@disabled@:>@])],142 [AS_HELP_STRING([--enable-non-privileged],[enable non privileged mode @<:@disabled@:>@])], 142 143 [test "${enableval}" = "no" && ENABLE_NON_PRIVILEGED="#"], 143 144 [ENABLE_NON_PRIVILEGED="#"] … … 146 147 AC_ARG_WITH( 147 148 [bundle], 148 [A C_HELP_STRING([--with-bundle=PATH],[install bundle file for pcsc-lite to PATH @<:@not installed@:>@])],149 [AS_HELP_STRING([--with-bundle=PATH],[install bundle file for pcsc-lite to PATH @<:@not installed@:>@])], 149 150 [ 150 151 if test "${withval}" = "yes"; then … … 159 160 AC_ARG_WITH( 160 161 [udev], 161 [A C_HELP_STRING([--with-udev=PATH],[install udev files into PATH @<:@not installed@:>@])],162 [AS_HELP_STRING([--with-udev=PATH],[install udev files into PATH @<:@not installed@:>@])], 162 163 [ 163 164 if test "${withval}" = "yes"; then … … 172 173 AC_ARG_WITH( 173 174 [hotplug], 174 [A C_HELP_STRING([--with-hotplug=PATH],[install hotplug files into PATH @<:@not installed@:>@])],175 [AS_HELP_STRING([--with-hotplug=PATH],[install hotplug files into PATH @<:@not installed@:>@])], 175 176 [ 176 177 if test "${withval}" = "yes"; then … … 185 186 AC_ARG_WITH( 186 187 [ifddir], 187 [A C_HELP_STRING([--with-ifddir],[ifd directory @<:@/usr/lib/ifd@:>@])],188 [AS_HELP_STRING([--with-ifddir],[ifd directory @<:@/usr/lib/ifd@:>@])], 188 189 [ifddir="${withval}"], 189 190 [ifddir="${usrlibdir}/ifd"] … … 192 193 AC_ARG_WITH( 193 194 [apidocdir], 194 [A C_HELP_STRING([--with-apidocdir],[put API documents at this directory @<:@HTMLDIR/api@:>@])],195 [AS_HELP_STRING([--with-apidocdir],[put API documents at this directory @<:@HTMLDIR/api@:>@])], 195 196 [apidocdir="${with_apidocdir}"], 196 197 [apidocdir="\$(htmldir)/api"] … … 199 200 AC_ARG_WITH( 200 201 [daemon-user], 201 [A C_HELP_STRING([--with-daemon-user=USER],[use this user for daemon @<:@openctd@:>@])],202 [AS_HELP_STRING([--with-daemon-user=USER],[use this user for daemon @<:@openctd@:>@])], 202 203 [daemon_user="${withval}"], 203 204 [daemon_user="openctd"] … … 206 207 AC_ARG_WITH( 207 208 [daemon-groups], 208 [A C_HELP_STRING([--with-daemon-groups=GROUPS],[use these comma separated group list for daemon @<:@usb@:>@])],209 [AS_HELP_STRING([--with-daemon-groups=GROUPS],[use these comma separated group list for daemon @<:@usb@:>@])], 209 210 [daemon_groups="${withval}"], 210 211 [daemon_groups="usb"] … … 222 223 AM_PROG_CC_C_O 223 224 AM_PROG_LIBTOOL 225 #LT_INIT([win32-dll]) 226 #LT_LANG([Windows Resource]) 224 227 225 228 AC_CHECK_PROGS([DOXYGEN],[doxygen]) … … 321 324 322 325 AC_MSG_CHECKING([struct sockaddr_storage::ss_family]) 323 AC_TRY_COMPILE( 324 [ 326 AC_COMPILE_IFELSE( 327 [AC_LANG_PROGRAM( 328 [[ 325 329 #include <sys/types.h> 326 330 #include <sys/socket.h> 327 ],328 [331 ]], 332 [[ 329 333 struct sockaddr_storage s; 330 334 s.ss_family = 1; 331 ], 335 ]] 336 )], 332 337 [AC_MSG_RESULT([ok])], 333 338 [AC_TRY_COMPILE( … … 433 438 AM_CONDITIONAL([ENABLE_PCSC], [test "${enable_pcsc}" = "yes"]) 434 439 435 AC_ OUTPUT([440 AC_CONFIG_FILES([ 436 441 Makefile 437 m4/Makefile438 442 doc/Makefile 439 443 doc/doxygen.conf … … 452 456 src/tools/openct-tool.1 453 457 ]) 458 AC_OUTPUT 454 459 455 460 cat <<EOF
