1dnl Process this file with autoconf to produce a configure script. 2 3AC_INIT([unixODBC], [2.3.9], nick@unixodbc.org, [unixODBC]) 4AM_INIT_AUTOMAKE 5 6dnl Checks for programs. 7AC_PROG_AWK 8AC_PROG_YACC 9AC_PROG_CPP 10AC_PROG_CC 11AM_PROG_LEX 12AC_PROG_INSTALL 13AC_PROG_LN_S 14AC_PROG_MAKE_SET 15AC_CONFIG_MACRO_DIR([m4]) 16 17AC_DISABLE_STATIC 18 19dnl Check if we want to worry about threads 20 21AC_ARG_ENABLE( threads, 22[ --enable-threads build with thread support [default=yes]], 23[ case "${enableval}" in 24 yes) thread=true ;; 25 no) thread=false ;; 26 *) AC_MSG_ERROR(bad value ${enableval} for --enable-thread) ;; 27 esac],[thread=true]) 28 29AC_ARG_ENABLE( gnuthreads, 30[ --enable-gnuthreads build with gnu threads support [default=no]], 31[ case "${enableval}" in 32 yes) gnuthread=true ;; 33 no) gnuthread=false ;; 34 *) AC_MSG_ERROR(bad value ${enableval} for --enable-gnuthread) ;; 35 esac],[gnuthread=false]) 36 37AC_ARG_ENABLE( readline, 38[ --enable-readline build with readline support [default=yes]], 39[ case "${enableval}" in 40 yes) readline=true ;; 41 no) readline=false ;; 42 *) AC_MSG_ERROR(bad value ${enableval} for --enable-readline) ;; 43 esac],[readline=true]) 44 45AC_ARG_ENABLE( editline, 46[ --enable-editline build with editline support [default=no]], 47[ case "${enableval}" in 48 yes) editline=true ;; 49 no) editline=false ;; 50 *) AC_MSG_ERROR(bad value ${enableval} for --enable-editline) ;; 51 esac],[editline=false]) 52 53AC_ARG_ENABLE( inicaching, 54[ --enable-inicaching build with ini file caching support [default=yes]], 55[ case "${enableval}" in 56 yes) inicaching=true ;; 57 no) inicaching=false ;; 58 *) AC_MSG_ERROR(bad value ${enableval} for --enable-inicaching) ;; 59 esac],[inicaching=true]) 60 61dnl Check if we want to build the drivers 62 63AC_ARG_ENABLE( drivers, 64[ --enable-drivers build included drivers [default=no]], 65[ case "${enableval}" in 66 yes) drivers=true ;; 67 no) drivers=false ;; 68 *) AC_MSG_ERROR(bad value ${enableval} for --enable-drivers) ;; 69 esac],[drivers=false]) 70 71dnl Check if we want to build the driver config 72 73AC_ARG_ENABLE( driverc, 74[ --enable-driver-conf build included driver config libs [default=no]], 75[ case "${enableval}" in 76 yes) driverc=true ;; 77 no) driverc=false ;; 78 *) AC_MSG_ERROR(bad value ${enableval} for --enable-driver-conf) ;; 79 esac],[driverc=false]) 80 81AC_ARG_ENABLE( fastvalidate, 82[ --enable-fastvalidate use relaxed handle checking in the DM [default=no]], 83[ case "${enableval}" in 84 yes) fastvalidate=true ;; 85 no) fastvalidate=false ;; 86 *) AC_MSG_ERROR(bad value ${enableval} for --enable-fastvalidate) ;; 87 esac],[fastvalidate=false]) 88 89AC_ARG_ENABLE( iconv, 90[ --enable-iconv build with iconv support [default=yes]], 91[ case "${enableval}" in 92 yes) iconv=true ;; 93 no) iconv=false ;; 94 *) AC_MSG_ERROR(bad value ${enableval} for --enable-iconv) ;; 95 esac],[iconv=true]) 96 97dnl Check for sys/sem.h 98 99AC_CHECK_HEADERS(sys/sem.h, semh=true, semh=false) 100 101AC_ARG_ENABLE( stats, 102[ --enable-stats build with statistic gathering support [default=no]], 103[ case "${enableval}" in 104 yes) if test "x$semh" = "xfalse"; then 105 AC_MSG_ERROR(stats enabled but required header was not found) 106 fi 107 stats=true ;; 108 no) stats=false ;; 109 *) AC_MSG_ERROR(bad value ${enableval} for --enable-stats) ;; 110 esac],[stats=false]) 111 112stats_ftok_name="odbc.ini" 113 114AC_ARG_WITH(stats_ftok_name, 115 [ --with-stats-ftok-name=filename Filename to get IPC ID for stats gathering [default=odbc.ini]], 116 stats_ftok_name="$withval" 117 ) 118 119STATS_FTOK_NAME="$stats_ftok_name" 120 121AC_SUBST(STATS_FTOK_NAME) 122 123AC_DEFINE_UNQUOTED([STATS_FTOK_NAME],"$STATS_FTOK_NAME",[Filename to use for ftok]) 124 125AC_ARG_ENABLE( setlibversion, 126[ --enable-setlibversion build with VERS set in libraries [default=no]], 127[ case "${enableval}" in 128 yes) setlibversion=true ;; 129 no) setlibversion=false ;; 130 *) AC_MSG_ERROR(bad value ${enableval} for --enable-setlibversion) ;; 131 esac],[setlibversion=false]) 132 133AC_ARG_ENABLE( handlemap, 134[ --enable-handlemap driver manager can map driver handles called back from broken drivers [default=no]], 135[ case "${enableval}" in 136 yes) handlemap=true ;; 137 no) handlemap=false ;; 138 *) AC_MSG_ERROR(bad value ${enableval} for --enable-handlemap) ;; 139 esac],[handlemap=false]) 140 141AC_ARG_ENABLE( stricterror, 142[ --enable-stricterror error conform to the MS spec, the unixODBC prefix is removed for driver errors [default=yes]], 143[ case "${enableval}" in 144 yes) stricterror=true ;; 145 no) stricterror=false ;; 146 *) AC_MSG_ERROR(bad value ${enableval} for --enable-stricterror) ;; 147 esac],[stricterror=true]) 148 149AC_ARG_ENABLE( gui, 150[ --enable-gui only included for backwards compatibility, gui now in its own project, see ChangeLog], 151[ case "${enableval}" in 152 *) ;; 153 esac]) 154 155dnl Enable building of the convenience library 156dnl and set LIBLTDL accordingly 157 158INCLTDL="" 159LIBLTDL="" 160 161AC_LIBTOOL_WIN32_DLL 162dnl AC_PROG_LIBTOOL 163 164dnl AC_CONFIG_MACRO_DIR([libltdl/m4]) 165dnl LT_CONFIG_LTDL_DIR([libltdl]) 166dnl LTDL_INIT 167 168LT_CONFIG_LTDL_DIR([libltdl]) 169LT_INIT([dlopen]) 170LTDL_INIT([convenience]) 171 172dnl Substitute INCLTDL and LIBLTDL in the Makefiles 173AC_SUBST(LTDLINCL) 174AC_SUBST(LIBLTDL) 175 176#dnl Find shared lib extension 177#AC_MSG_CHECKING(for shared lib extension) 178#SHLIBEXT="$shrext_cmds" 179#AC_MSG_RESULT($shrext_cmds) 180#AC_SUBST(SHLIBEXT) 181 182dnl Find shared lib extension 183AC_MSG_CHECKING(for shared lib extension) 184eval "SHLIBEXT=$shrext_cmds" 185AC_MSG_RESULT($SHLIBEXT) 186AC_SUBST(SHLIBEXT,$SHLIBEXT) 187 188AC_DEFINE_UNQUOTED([SHLIBEXT], "$shrext_cmds", [Shared lib extension]) 189AC_DEFINE_DIR([DEFLIB_PATH], [libdir], [Lib directory]) 190AC_DEFINE_DIR([LIB_PREFIX], [libdir], [Lib directory]) 191AC_DEFINE_DIR([SYSTEM_FILE_PATH], [sysconfdir], [System file path]) 192AC_DEFINE_DIR([SYSTEM_LIB_PATH], [libdir], [Lib path]) 193AC_DEFINE_DIR([PREFIX], [prefix], [Install prefix]) 194AC_DEFINE_DIR([EXEC_PREFIX], [exec_prefix], [Install exec_prefix]) 195AC_DEFINE_DIR([BIN_PREFIX], [bindir], [Install bindir]) 196AC_DEFINE_DIR([INCLUDE_PREFIX], [includedir], [Install includedir]) 197AC_DEFINE([UNIXODBC], [], [Flag that we are not using another DM]) 198 199if test "x$iconv" = "xtrue"; 200then 201 202AM_ICONV 203 204iconv_char_enc="auto-search" 205AC_ARG_WITH(iconv_char_enc, 206 [ --with-iconv-char-enc=enc Encoding to use as ASCII [default=auto-search] ], 207 iconv_char_enc="$withval" 208 ) 209 210ICONV_CHAR_ENCODING="$iconv_char_enc" 211 212iconv_ucode_enc="auto-search" 213 214AC_ARG_WITH(iconv_ucode_enc, 215 [ --with-iconv-ucode-enc=enc Encoding to use as UNICODE [default=auto-search] ], 216 iconv_ucode_enc="$withval" 217 ) 218 219ICONV_CHAR_ENCODING="" 220ICONV_UNICODE_ENCODING="" 221 222if test "$am_cv_func_iconv" = yes; then 223 AC_MSG_CHECKING( for encoding to use for CHAR representations ); 224 ICONV_CHAR_ENCODING="$iconv_char_enc" 225 AC_MSG_RESULT( $iconv_char_enc ); 226 227 AC_MSG_CHECKING( for encoding to use for UNICODE representations ); 228 ICONV_UNICODE_ENCODING="$iconv_ucode_enc" 229 AC_MSG_RESULT( $iconv_ucode_enc ); 230fi 231 232AC_SUBST(ICONV_CHAR_ENCODING) 233AC_SUBST(ICONV_UNICODE_ENCODING) 234 235AC_DEFINE_UNQUOTED([UNICODE_ENCODING],"$ICONV_UNICODE_ENCODING",[Encoding to use for UNICODE]) 236AC_DEFINE_UNQUOTED([ASCII_ENCODING],"$ICONV_CHAR_ENCODING",[Encoding to use for CHAR]) 237 238AC_ARG_ENABLE( iconvperdriver, 239[ --enable-iconvperdriver build with iconv support per driver [default=no]], 240[ case "${enableval}" in 241 yes) iconvperdriver=true ;; 242 no) iconvperdriver=false ;; 243 *) AC_MSG_ERROR(bad value ${enableval} for --enable-iconvperdriver) ;; 244 esac],[iconvperdriver=false]) 245 246AC_MSG_CHECKING( Are we using per driver iconv ) 247if test "x$iconvperdriver" = "xtrue"; then 248 AC_DEFINE([ENABLE_DRIVER_ICONV],[],[Using perdriver iconv]) 249 AC_MSG_RESULT( yes ); 250else 251 AC_MSG_RESULT( no ); 252fi 253 254fi 255 256dnl Checks for libraries. 257AC_CHECK_LIB(crypt, crypt, [ AC_DEFINE([HAVE_LIBCRYPT], [], [Add -lcrypt to lib list]) LIBADD_CRYPT="-lcrypt" ]) 258AC_SUBST(LIBADD_CRYPT) 259AC_CHECK_LIB(m, pow, [ LIBADD_POW="-lm" ], ) 260AC_SUBST(LIBADD_POW) 261 262have_editline="no" 263 264if test "x$editline" = "xtrue"; then 265 AC_CHECK_LIB_NOC(edit, readline, 266 [ 267 READLINE=-ledit 268 have_editline="yes" 269 ], 270 [ 271 dnl try with -lcurses 272 AC_CHECK_LIB_NOC(edit, readline, 273 [ 274 READLINE="-ledit -lcurses" 275 have_editline="yes" 276 ], 277 [ 278 ], 279 -lcurses ) 280 ]) 281 282 if test "x$have_editline" = "xyes"; then 283 AC_CHECK_HEADERS(editline/readline.h, [AC_DEFINE([HAVE_EDITLINE], [1], [Add editline support])]) 284 readline=false 285 fi 286fi 287 288have_readline="no" 289 290if test "x$readline" = "xtrue"; then 291 AC_CHECK_LIB_NOC(readline, readline, 292 [ 293 READLINE=-lreadline 294 have_readline="yes" 295 ], 296 [ 297 dnl try with -lcurses 298 AC_CHECK_LIB_NOC(readline, readline, 299 [ 300 READLINE="-lreadline -lcurses" 301 have_readline="yes" 302 ], 303 [ 304 ], 305 -lcurses ) 306 ]) 307 308 if test "x$have_readline" = "xyes"; then 309 AC_CHECK_HEADERS(readline/history.h, [AC_DEFINE([HAVE_READLINE], [1], [Add readline support])]) 310 fi 311fi 312 313AC_SUBST(READLINE) 314 315AC_MSG_CHECKING( Are we using ini caching ) 316if test "x$inicaching" = "xtrue"; then 317 AC_DEFINE([ENABLE_INI_CACHING],[],[Using ini cacheing]) 318 AC_MSG_RESULT( yes ); 319else 320 AC_MSG_RESULT( no ); 321fi 322 323dnl Are we using flex 324if test "x$drivers" = "xtrue"; then 325AC_MSG_CHECKING( Are we using flex ) 326if test "x$LEX" = "xflex"; then 327LFLAGS="$LFLAGS -i" 328AC_MSG_RESULT( yes ); 329AC_CHECK_LIB(c, scandir, [AC_DEFINE([HAVE_SCANDIR], [1], [Use the scandir lib])] ) 330else 331AC_MSG_RESULT( no - text driver disabled ); 332fi 333AM_CONDITIONAL(HAVE_FLEX, test "x$LEX" = "xflex" ) 334AC_SUBST(LFLAGS) 335else 336AM_CONDITIONAL(HAVE_FLEX, test "xabc" = "xdef" ) 337fi 338 339case $host_os in 340 *qnx* ) 341 qnx="true" 342 AC_DEFINE([QNX_LIBLTDL],[],[Using QNX]) 343 ;; 344esac 345 346dnl check how time() can be used 347AC_HEADER_TIME 348AC_CHECK_HEADERS(sys/time.h) 349 350AC_CHECK_SIZEOF(long, 4) 351 352AC_MSG_CHECKING([if platform is 64 bit]) 353if test "$ac_cv_sizeof_long" = "8"; then 354 AC_MSG_RESULT( Yes ); 355 AC_DEFINE([PLATFORM64],[],[Platform is 64 bit]) 356else 357 AC_MSG_RESULT( No ); 358fi 359 360AC_CHECK_LONG_LONG 361AC_CHECK_SIZEOF([long int]) 362AC_CHECK_TYPES([ptrdiff_t]) 363 364AC_CHECK_FUNCS( strcasecmp strncasecmp vsnprintf strtol atoll strtoll endpwent gettimeofday ftime time stricmp strnicmp getuid getpwuid nl_langinfo ) 365 366AM_LANGINFO_CODESET 367 368LIBADD_DL= 369AC_SUBST(LIBADD_DL) 370 371THREADLIB="" 372if test "x$thread" = "xtrue"; then 373 if test "x$gnuthread" = "xtrue"; then 374 AC_CHECK_PTH( 1.3.0 ) 375 CPPFLAGS="$CPPFLAGS $PTH_CPPFLAGS" 376 CFLAGS="$CFLAGS $PTH_CFLAGS" 377 LDFLAGS="$LDFLAGS $PTH_LDFLAGS" 378 THREADLIB="$PTH_LIBS" 379 AC_DEFINE([HAVE_LIBPTH], [1], [Use the -lpth thread library]) 380 else 381 gotthread="no"; 382 383 AC_MSG_CHECKING( if os is AIX ) 384 case $host_os in 385 "aix"*) 386 raw_threads="no"; 387 AC_MSG_RESULT( yes - disable check for libthread ); 388 ;; 389 *) 390 raw_threads="yes"; 391 AC_MSG_RESULT( no - enable check for libthread ); 392 ;; 393 esac 394 395 if test "x$raw_threads" = "xyes"; then 396 AC_CHECK_LIB_NOC(thread, mutex_lock, 397 [ 398 AC_DEFINE([HAVE_LIBTHREAD], [1], [Use the -lthread threading lib]) 399 dnl Check if the compiler will build with -mt as a option, this is a solaris thing 400 AC_CHECK_COMP_OPT(mt) 401 gotthread="yes"; 402 THREADLIB="-lthread" 403 ]) 404 fi 405 406 if test "x$gotthread" = "xno"; then 407 AC_CHECK_LIBPT_NOC(pthread, pthread_mutex_lock, 408 [ 409 AC_DEFINE([HAVE_LIBPTHREAD], [1], [Use -lpthread threading lib]) 410 gotthread="yes"; 411 THREADLIB="-lpthread" 412 if test "x$ac_cv_prog_gcc" = "xyes"; then 413 dnl Check if the compiler will build with -pthread as a option 414 AC_CHECK_COMP_OPT(pthread) 415 else 416 dnl Check if the compiler will build with -mt as a option 417 AC_CHECK_COMP_OPT(mt) 418 fi 419 ]) 420 fi 421 422 if test "x$gotthread" = "xno"; then 423 AC_CHECK_LIBPT_NOC(c, pthread_mutex_lock, 424 [ 425 AC_DEFINE(HAVE_LIBPTHREAD,1) 426 gotthread="yes"; 427 THREADLIB="" 428 if test "x$ac_cv_prog_gcc" = "xyes"; then 429 dnl Check if the compiler will build with -pthread as a option 430 AC_CHECK_COMP_OPT(pthread) 431 else 432 dnl Check if the compiler will build with -mt as a option 433 AC_CHECK_COMP_OPT(mt) 434 fi 435 ]) 436 fi 437 438 if test "x$gotthread" = "xno"; then 439 if test "x$ac_cv_prog_gcc" = "xyes"; then 440 dnl This is for freebsd that needs -lpthread before it finds the lib 441 AC_CHECK_COMP_OPT(pthread) 442 AC_CHECK_LIBPT_NOC(c, pthread_mutex_lock, 443 [ 444 AC_DEFINE(HAVE_LIBPTHREAD,1) 445 THREADLIB="-pthread -lc_r" 446 gotthread="yes"; 447 ]) 448 fi 449 fi 450 451 dnl Check for AIX 452 if test "x$gotthread" = "xno"; then 453 SAVECFLAGS="$CFLAGS" 454 CFLAGS="$CFLAGS -D_THREAD_SAFE -D_ALL_SOURCE -D_LONG_LONG" 455 AC_CHECK_LIBPT_NOC(pthread, pthread_mutex_lock, 456 [ 457 AC_DEFINE(HAVE_LIBPTHREAD,1) 458 gotthread="yes"; 459 THREADLIB="-lpthread" 460 ]) 461 CFLAGS="$SAVECFLAGS" 462 AC_DEFINE([_THREAD_SAFE],[],[Build flag for AIX]) 463 AC_DEFINE([_ALL_SOURCE],[],[Build flag for AIX]) 464 AC_DEFINE([_LONG_LONG],[],[Build flag for AIX]) 465 fi 466 467 if test "x$gotthread" = "xyes"; then 468 dnl do not add a -lc because of this 469 save_LIBS=$LIBS 470 AC_CHECK_LIB(c, localtime_r, [AC_DEFINE([HAVE_LOCALTIME_R], [1], [Use rentrant version of localtime] )]) 471 LIBS=$save_LIBS 472 fi 473 fi 474fi 475 476case $host_os in 477 "darwin"*) 478 stats="false" 479 macosx="yes" 480 AC_DEFINE([OSXHEADER],[],[Using OSX]) 481 ;; 482 483 sysv5Open*) 484 if test "x$THREADLIB" = "x"; then 485 LIBS="$LIBS $THREADLIB" 486 else 487 LIBS="$LIBS -Kthread" 488 fi 489 ;; 490 491 *) 492 LIBS="$LIBS $THREADLIB" 493 ;; 494esac 495 496if test "x$stats" = "xtrue"; then 497 AC_CHECK_FUNCS( ftok semget shmget semop snprintf,[],[stats=false]) 498fi 499 500if test "x$stats" = "xtrue"; then 501AC_CHECK_SEMUNDOO 502AC_DEFINE([COLLECT_STATS], [], [Use a semaphore to allow ODBCConfig to display running counts]) 503fi 504 505AC_ARG_WITH(msql-lib, 506 [ --with-msql-lib=DIR where the root of MiniSQL libs are installed ], 507 msql_libraries="$withval" 508 ) 509 510AC_ARG_WITH(msql-include, 511 [ --with-msql-include=DIR where the MiniSQL headers are installed ], 512 msql_headers="$withval" 513 ) 514 515AC_SUBST(msql_libraries) 516AC_SUBST(msql_headers) 517 518dnl Checks for header files. 519AC_HEADER_STDC 520 521AC_CHECK_HEADERS(malloc.h unistd.h pwd.h crypt.h limits.h synch.h strings.h string.h locale.h sys/malloc.h sys/types.h sys/sem.h stdarg.h varargs.h sys/time.h sys/timeb.h time.h langinfo.h stddef.h ) 522 523INCLUDES="$INCLUDES $USER_INCLUDES"; 524 525dnl only build the mSQL code if the headers are in place 526AC_CHECK_HEADERS(msql.h,[msql=true], 527[ 528 msql=false; 529 for ac_dir in $kde_extra_includes $msql_headers; 530 do 531 AC_CHECK_HEADERS( $ac_dir/msql.h, 532 [ 533 msql=true; 534 INCLUDES="$INCLUDES $USER_INCLUDES -I$ac_dir"; 535 ]) 536 done 537]) 538 539dnl AC_SUBST(all_includes) 540dnl AC_SUBST(all_libraries) 541 542AM_CONDITIONAL(MSQL, test "x$msql" = "xtrue" ) 543AM_CONDITIONAL(DRIVERS, test "x$drivers" = "xtrue" ) 544AM_CONDITIONAL(DRIVERC, test "x$driverc" = "xtrue" ) 545AM_CONDITIONAL(QNX, test "x$qnx" = "xtrue" ) 546AM_CONDITIONAL(WITHLT, test "x$use_builtin_libtool" = "xyes" ) 547 548dnl This blows up due to what I think is a bug in automake 1.6.3 549dnl AC_SUBST(INCLUDES) 550 551if test "x$fastvalidate" = "xtrue"; then 552AC_DEFINE([FAST_HANDLE_VALIDATE], [], [Disable the precise but slow checking of the validity of handles]) 553fi 554 555if test "x$handlemap" = "xtrue"; then 556AC_DEFINE([WITH_HANDLE_REDIRECT],[],[Work with IBM drivers that use 32 bit handles on 64 bit platforms]) 557fi 558 559if test "x$stricterror" = "xtrue"; then 560AC_DEFINE([STRICT_ODBC_ERROR],[],[don't include unixODBC prefix in driver error messages]) 561fi 562 563dnl Checks for typedefs, structures, and compiler characteristics. 564AC_C_CONST 565AC_TYPE_SIZE_T 566AC_STRUCT_TM 567AC_TYPE_UID_T 568AC_HEADER_DIRENT 569 570dnl Checks for library functions. 571AC_FUNC_ALLOCA 572AC_FUNC_VPRINTF 573AC_CHECK_FUNCS( putenv socket strdup strstr setenv setlocale strchr ) 574 575dnl This is the unixODBC source tree 576AC_DEFINE([UNIXODBC_SOURCE],[],[We are building inside the unixODBC source tree]) 577 578LIB_VERSION="2:0:0" 579AC_SUBST(LIB_VERSION) 580 581AC_CONFIG_HEADERS(config.h) 582AC_CONFIG_HEADERS(unixodbc_conf.h) 583 584AC_CONFIG_FILES([ 585 Makefile 586 extras/Makefile 587 log/Makefile 588 lst/Makefile 589 ini/Makefile 590 odbcinst/Makefile 591 odbcinst/odbcinst.pc 592 cur/Makefile 593 cur/odbccr.pc 594 DriverManager/Makefile 595 DriverManager/odbc.pc 596 exe/Makefile 597 DRVConfig/Makefile 598 DRVConfig/drvcfg1/Makefile 599 DRVConfig/drvcfg2/Makefile 600 DRVConfig/PostgreSQL/Makefile 601 DRVConfig/MiniSQL/Makefile 602 DRVConfig/MySQL/Makefile 603 DRVConfig/nn/Makefile 604 DRVConfig/esoob/Makefile 605 DRVConfig/oplodbc/Makefile 606 DRVConfig/template/Makefile 607 DRVConfig/tds/Makefile 608 DRVConfig/txt/Makefile 609 DRVConfig/Oracle/Makefile 610 DRVConfig/sapdb/Makefile 611 DRVConfig/Mimer/Makefile 612 Drivers/Makefile 613 Drivers/Postgre7.1/Makefile 614 Drivers/nn/Makefile 615 Drivers/template/Makefile 616 Drivers/MiniSQL/Makefile 617 include/Makefile 618 man/Makefile 619 doc/Makefile 620 doc/AdministratorManual/Makefile 621 doc/ProgrammerManual/Makefile 622 doc/ProgrammerManual/Tutorial/Makefile 623 doc/UserManual/Makefile 624 doc/lst/Makefile 625 samples/Makefile 626]) 627AC_OUTPUT 628 629dnl Attempt to add version information to libraries generated by libtool 630AC_MSG_CHECKING( are we setting library version ) 631if test "x$setlibversion" = "xtrue"; then 632 AC_MSG_RESULT( yes ); 633 sed '/archive_expsym_cmds=/s/{ global/VERS_3.52 {global/' < libtool > libtool.tmp; mv libtool.tmp libtool 634else 635 AC_MSG_RESULT( no ); 636fi 637