Changeset 878
- Timestamp:
- 07/15/08 06:00:41 (8 weeks ago)
- Location:
- trunk
- Files:
-
- 4 modified
-
Makefile.in (modified) (23 diffs)
-
aclocal.m4 (modified) (38 diffs)
-
config.h.in (modified) (1 diff)
-
configure (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r874 r878  1  # Makefile.in generated by automake 1. 10from Makefile.am. 1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3  4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5  # 2003, 2004, 2005 , 2006Free Software Foundation, Inc. 5 # 2003, 2004, 2005 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … …  20 20 # Process this file with automake to produce Makefile.in 21 21   22 srcdir = @srcdir@  23 top_srcdir = @top_srcdir@ 22 24 VPATH = @srcdir@ 23 25 pkgdatadir = $(datadir)/@PACKAGE@ 24 26 pkglibdir = $(libdir)/@PACKAGE@ 25 27 pkgincludedir = $(includedir)/@PACKAGE@  28 top_builddir = . 26 29 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd  30 INSTALL = @INSTALL@ 27 31 install_sh_DATA = $(install_sh) -c -m 644 28 32 install_sh_PROGRAM = $(install_sh) -c … …  39 43 host_triplet = @host@ 40 44 bin_PROGRAMS = lcd4linux$(EXEEXT) 41  subdir = .Â42 45 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 43 46 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 44 47 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ 45  TODO config.guess config.rpath config.sub depcomp install-sh \ 46  missing mkinstalldirs  48 TODO config.guess config.sub depcomp install-sh missing \  49 mkinstalldirs  50 subdir = . 47 51 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 48 52 am__aclocal_m4_deps = $(top_srcdir)/curses.m4 \ … …  52 56 $(ACLOCAL_M4) 53 57 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 54  configure.lineno config .status.lineno 58 configure.lineno configure.status.lineno 55 59 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 56 60 CONFIG_HEADER = config.h … …  71 75 plugin_test.$(OBJEXT) plugin_time.$(OBJEXT) 72 76 lcd4linux_OBJECTS = $(am_lcd4linux_OBJECTS) 73  lcd4linux_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(lcd4linux_LDFLAGS) \ 74  $(LDFLAGS) -o $@ 75  DEFAULT_INCLUDES = -I.@am__isrc@  77 DEFAULT_INCLUDES = -I. -I$(srcdir) -I. 76 78 depcomp = $(SHELL) $(top_srcdir)/depcomp 77 79 am__depfiles_maybe = depfiles … …  96 98 distcleancheck_listfiles = find . -type f -print 97 99 ACLOCAL = @ACLOCAL@  100 AMDEP_FALSE = @AMDEP_FALSE@  101 AMDEP_TRUE = @AMDEP_TRUE@ 98 102 AMTAR = @AMTAR@ 99 103 AUTOCONF = @AUTOCONF@ … …  119 123 EXEEXT = @EXEEXT@ 120 124 GREP = @GREP@ 121  INSTALL = @INSTALL@Â122 125 INSTALL_DATA = @INSTALL_DATA@ 123 126 INSTALL_PROGRAM = @INSTALL_PROGRAM@ … …  132 135 LTLIBOBJS = @LTLIBOBJS@ 133 136 MAKEINFO = @MAKEINFO@ 134  MKDIR_P = @MKDIR_P@Â135 137 OBJEXT = @OBJEXT@ 136 138 PACKAGE = @PACKAGE@ … …  160 162 X_LIBS = @X_LIBS@ 161 163 X_PRE_LIBS = @X_PRE_LIBS@ 162  abs_builddir = @abs_builddir@Â163  abs_srcdir = @abs_srcdir@Â164  abs_top_builddir = @abs_top_builddir@Â165  abs_top_srcdir = @abs_top_srcdir@Â166 164 ac_ct_CC = @ac_ct_CC@  165 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@  166 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ 167 167 am__include = @am__include@ 168 168 am__leading_dot = @am__leading_dot@ … …  176 176 build_os = @build_os@ 177 177 build_vendor = @build_vendor@ 178  builddir = @builddir@Â179 178 datadir = @datadir@ 180 179 datarootdir = @datarootdir@ … …  204 203 sbindir = @sbindir@ 205 204 sharedstatedir = @sharedstatedir@ 206  srcdir = @srcdir@Â207 205 sysconfdir = @sysconfdir@ 208 206 target_alias = @target_alias@ 209  top_builddir = @top_builddir@Â210  top_srcdir = @top_srcdir@Â211 207 AUTOMAKE_OPTIONS = gnu 212 208 CLEANFILES = *~ … …  399 395 @if test ! -f $@; then \ 400 396 rm -f stamp-h1; \ 401  $(MAKE) $(AM_MAKEFLAGS)stamp-h1; \ 397 $(MAKE) stamp-h1; \ 402 398 else :; fi 403 399  … …  414 410 install-binPROGRAMS: $(bin_PROGRAMS) 415 411 @$(NORMAL_INSTALL) 416  test -z "$(bindir)" || $( MKDIR_P) "$(DESTDIR)$(bindir)" 412 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" 417 413 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 418 414 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … …  437 433 lcd4linux$(EXEEXT): $(lcd4linux_OBJECTS) $(lcd4linux_DEPENDENCIES)  438 434 @rm -f lcd4linux$(EXEEXT) 439  $( lcd4linux_LINK) $(lcd4linux_OBJECTS) $(lcd4linux_LDADD) $(LIBS) 435 $(LINK) $(lcd4linux_LDFLAGS) $(lcd4linux_OBJECTS) $(lcd4linux_LDADD) $(LIBS) 440 436  441 437 mostlyclean-compile: … …  546 542  547 543 .c.o: 548  @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<Â549  @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 544 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \  545 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 550 546 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 551 547 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ … …  553 549  554 550 .c.obj: 555  @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`Â556  @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 551 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \  552 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 557 553 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 558 554 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 559 555 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`  556 uninstall-info-am: 560 557  561 558 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … …  609 606 distdir: $(DISTFILES) 610 607 $(am__remove_distdir) 611  test -d $(distdir) || mkdir $(distdir) 612  @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 613  topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 614  list='$(DISTFILES)'; \ 615  dist_files=`for file in $$list; do echo $$file; done | \ 616  sed -e "s|^$$srcdirstrip/||;t" \ 617  -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 618  case $$dist_files in \ 619  */*) $(MKDIR_P) `echo "$$dist_files" | \ 620  sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 621  sort -u` ;; \ 622  esac; \ 623  for file in $$dist_files; do \  608 mkdir $(distdir)  609 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \  610 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \  611 list='$(DISTFILES)'; for file in $$list; do \  612 case $$file in \  613 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \  614 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \  615 esac; \ 624 616 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \  617 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \  618 if test "$$dir" != "$$file" && test "$$dir" != "."; then \  619 dir="/$$dir"; \  620 $(mkdir_p) "$(distdir)$$dir"; \  621 else \  622 dir=''; \  623 fi; \ 625 624 if test -d $$d/$$file; then \ 626  dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \Â627 625 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 628 626 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ … …  638 636 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 639 637 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 640  ! -type d ! -perm -444 -exec $( install_sh) -c -m a+r {} {} \; \ 638 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ 641 639 || chmod -R a+r $(distdir) 642 640 dist-gzip: distdir … …  713 711 @(echo "$(distdir) archives ready for distribution: "; \ 714 712 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 715  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 713 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' 716 714 distuninstallcheck: 717 715 @cd $(distuninstallcheck_dir) \ … …  737 735 installdirs: 738 736 for dir in "$(DESTDIR)$(bindir)"; do \ 739  test -z "$$dir" || $( MKDIR_P) "$$dir"; \ 737 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 740 738 done 741 739 install: install-am … …  787 785 install-data-am: 788 786  789  install-dvi: install-dvi-amÂ790  Â791 787 install-exec-am: install-binPROGRAMS 792 788  793  install-html: install-html-amÂ794  Â795 789 install-info: install-info-am 796 790  797 791 install-man: 798  Â799  install-pdf: install-pdf-amÂ800  Â801  install-ps: install-ps-amÂ802 792  803 793 installcheck-am: … …  822 812 ps-am: 823 813  824  uninstall-am: uninstall-binPROGRAMS 825   826  .MAKE: install-am install-strip  814 uninstall-am: uninstall-binPROGRAMS uninstall-info-am 827 815  828 816 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ … …  832 820 distclean-tags distcleancheck distdir distuninstallcheck dvi \ 833 821 dvi-am html html-am info info-am install install-am \ 834  install-binPROGRAMS install-data install-data-am install-dvi \ 835  install-dvi-am install-exec install-exec-am install-html \ 836  install-html-am install-info install-info-am install-man \ 837  install-pdf install-pdf-am install-ps install-ps-am \  822 install-binPROGRAMS install-data install-data-am install-exec \  823 install-exec-am install-info install-info-am install-man \ 838 824 install-strip installcheck installcheck-am installdirs \ 839 825 maintainer-clean maintainer-clean-generic mostlyclean \ 840 826 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ 841  tags uninstall uninstall-am uninstall-binPROGRAMS  827 tags uninstall uninstall-am uninstall-binPROGRAMS \  828 uninstall-info-am 842 829  843 830  -
trunk/aclocal.m4
r874 r878  1  # generated automatically by aclocal 1.10 -*- Autoconf -*- 1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- 2 2  3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4  # 2005, 2006 Free Software Foundation, Inc. 4 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation 6 6 # gives unlimited permission to copy and/or distribute it, … …  12 12 # PARTICULAR PURPOSE. 13 13  14  m4_if(m4_PACKAGE_VERSION, [2.61],, 15  [m4_fatal([this file was generated for autoconf 2.61. 16  You have another version of autoconf. If you want to use that, 17  you should regenerate the build system entirely.], [63])]) 18   19  # iconv.m4 serial AM4 (gettext-0.11.3) 20  dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.  14 m4_ifndef([AC_AUTOCONF_VERSION],  15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl  16 m4_if(AC_AUTOCONF_VERSION, [2.61],,  17 [m4_warning([this file was generated for autoconf 2.61.  18 You have another version of autoconf. It may work, but is not guaranteed to.  19 If you have problems, you may need to regenerate the build system entirely.  20 To do so, use the procedure documented by the package, typically `autoreconf'.])])  21   22 # iconv.m4 serial AM6 (gettext-0.17)  23 dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc. 21 24 dnl This file is free software; the Free Software Foundation 22 25 dnl gives unlimited permission to copy and/or distribute it, … …  40 43 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and 41 44 dnl those with the standalone portable GNU libiconv installed).  45 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles 42 46  43 47 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV … …  52 56 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) 53 57  54  AC_CACHE_CHECK( for iconv, am_cv_func_iconv, [ 58 AC_CACHE_CHECK([for iconv], am_cv_func_iconv, [ 55 59 am_cv_func_iconv="no, consider installing GNU libiconv" 56 60 am_cv_lib_iconv=no … …  75 79 ]) 76 80 if test "$am_cv_func_iconv" = yes; then 77  AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])  81 AC_CACHE_CHECK([for working iconv], am_cv_func_iconv_works, [  82 dnl This tests against bugs in AIX 5.1 and HP-UX 11.11.  83 am_save_LIBS="$LIBS"  84 if test $am_cv_lib_iconv = yes; then  85 LIBS="$LIBS $LIBICONV"  86 fi  87 AC_TRY_RUN([  88 #include <iconv.h>  89 #include <string.h>  90 int main ()  91 {  92 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful  93 returns. */  94 {  95 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");  96 if (cd_utf8_to_88591 != (iconv_t)(-1))  97 {  98 static const char input[] = "\342\202\254"; /* EURO SIGN */  99 char buf[10];  100 const char *inptr = input;  101 size_t inbytesleft = strlen (input);  102 char *outptr = buf;  103 size_t outbytesleft = sizeof (buf);  104 size_t res = iconv (cd_utf8_to_88591,  105 (char **) &inptr, &inbytesleft,  106 &outptr, &outbytesleft);  107 if (res == 0)  108 return 1;  109 }  110 }  111 #if 0 /* This bug could be worked around by the caller. */  112 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */  113 {  114 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");  115 if (cd_88591_to_utf8 != (iconv_t)(-1))  116 {  117 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";  118 char buf[50];  119 const char *inptr = input;  120 size_t inbytesleft = strlen (input);  121 char *outptr = buf;  122 size_t outbytesleft = sizeof (buf);  123 size_t res = iconv (cd_88591_to_utf8,  124 (char **) &inptr, &inbytesleft,  125 &outptr, &outbytesleft);  126 if ((int)res > 0)  127 return 1;  128 }  129 }  130 #endif  131 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is  132 provided. */  133 if (/* Try standardized names. */  134 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)  135 /* Try IRIX, OSF/1 names. */  136 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)  137 /* Try AIX names. */  138 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)  139 /* Try HP-UX names. */  140 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))  141 return 1;  142 return 0;  143 }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],  144 [case "$host_os" in  145 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;  146 *) am_cv_func_iconv_works="guessing yes" ;;  147 esac])  148 LIBS="$am_save_LIBS"  149 ])  150 case "$am_cv_func_iconv_works" in  151 *no) am_func_iconv=no am_cv_lib_iconv=no ;;  152 *) am_func_iconv=yes ;;  153 esac  154 else  155 am_func_iconv=no am_cv_lib_iconv=no  156 fi  157 if test "$am_func_iconv" = yes; then  158 AC_DEFINE(HAVE_ICONV, 1,  159 [Define if you have the iconv() function and it works.]) 78 160 fi 79 161 if test "$am_cv_lib_iconv" = yes; then … …  230 312 ]) 231 313  232  # lib-link.m4 serial 9 (gettext-0.16)Â233  dnl Copyright (C) 2001-200 6Free Software Foundation, Inc. 314 # lib-link.m4 serial 13 (gettext-0.17)  315 dnl Copyright (C) 2001-2007 Free Software Foundation, Inc. 234 316 dnl This file is free software; the Free Software Foundation 235 317 dnl gives unlimited permission to copy and/or distribute it, … …  238 320 dnl From Bruno Haible. 239 321  240  AC_PREREQ(2.5 0) 322 AC_PREREQ(2.54) 241 323  242 324 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and … …  244 326 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and 245 327 dnl augments the CPPFLAGS variable.  328 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname  329 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 246 330 AC_DEFUN([AC_LIB_LINKFLAGS], 247 331 [ … …  256 340 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" 257 341 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"  342 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" 258 343 ]) 259 344 LIB[]NAME="$ac_cv_lib[]Name[]_libs" 260 345 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" 261 346 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"  347 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" 262 348 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 263 349 AC_SUBST([LIB]NAME) 264 350 AC_SUBST([LTLIB]NAME)  351 AC_SUBST([LIB]NAME[_PREFIX]) 265 352 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the 266 353 dnl results of this search when this library appears as a dependency. … …  278 365 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs 279 366 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.  367 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname  368 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 280 369 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 281 370 [ … …  314 403 LIB[]NAME= 315 404 LTLIB[]NAME=  405 LIB[]NAME[]_PREFIX= 316 406 fi 317 407 AC_SUBST([HAVE_LIB]NAME) 318 408 AC_SUBST([LIB]NAME) 319 409 AC_SUBST([LTLIB]NAME)  410 AC_SUBST([LIB]NAME[_PREFIX]) 320 411 undefine([Name]) 321 412 undefine([NAME]) … …  323 414  324 415 dnl Determine the platform dependent parameters needed to use rpath: 325  dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, 326  dnl hardcode_direct, hardcode_minus_L.  416 dnl acl_libext,  417 dnl acl_shlibext,  418 dnl acl_hardcode_libdir_flag_spec,  419 dnl acl_hardcode_libdir_separator,  420 dnl acl_hardcode_direct,  421 dnl acl_hardcode_minus_L. 327 422 AC_DEFUN([AC_LIB_RPATH], 328 423 [ … …  341 436 ]) 342 437 wl="$acl_cv_wl" 343  libext="$acl_cv_libext" 344  shlibext="$acl_cv_shlibext" 345  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 346  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 347  hardcode_direct="$acl_cv_hardcode_direct" 348  hardcode_minus_L="$acl_cv_hardcode_minus_L"  438 acl_libext="$acl_cv_libext"  439 acl_shlibext="$acl_cv_shlibext"  440 acl_libname_spec="$acl_cv_libname_spec"  441 acl_library_names_spec="$acl_cv_library_names_spec"  442 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"  443 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"  444 acl_hardcode_direct="$acl_cv_hardcode_direct"  445 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 349 446 dnl Determine whether the user wants rpath handling at all. 350 447 AC_ARG_ENABLE(rpath, … …  356 453 dnl the libraries corresponding to explicit and implicit dependencies. 357 454 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.  455 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found  456 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. 358 457 AC_DEFUN([AC_LIB_LINKFLAGS_BODY], 359 458 [ … …  361 460 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 362 461 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])  462 dnl Autoconf >= 2.61 supports dots in --with options.  463 define([N_A_M_E],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit([$1],[.],[_])],[$1])]) 363 464 dnl By default, look in $includedir and $libdir. 364 465 use_additional=yes … …  367 468 eval additional_libdir=\"$libdir\" 368 469 ]) 369  AC_LIB_ARG_WITH([lib $1-prefix],Â370  [ --with-lib $1-prefix[=DIR] search for lib$1 in DIR/include and DIR/libÂ371  --without-lib $1-prefix don't search for lib$1 in includedir and libdir], 470 AC_LIB_ARG_WITH([lib]N_A_M_E[-prefix],  471 [ --with-lib]N_A_M_E[-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib  472 --without-lib]N_A_M_E[-prefix don't search for lib$1 in includedir and libdir], 372 473 [ 373 474 if test "X$withval" = "Xno"; then … …  390 491 LTLIB[]NAME= 391 492 INC[]NAME=  493 LIB[]NAME[]_PREFIX= 392 494 rpathdirs= 393 495 ltrpathdirs= … …  429 531 found_so= 430 532 found_a=  533 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name  534 if test -n "$acl_shlibext"; then  535 shrext=".$acl_shlibext" # typically: shrext=.so  536 else  537 shrext=  538 fi 431 539 if test $use_additional = yes; then 432  if test -n "$shlibext" \Â433  && { test -f "$additional_libdir/lib$name.$shlibext" \Â434  || { test "$shlibext" = dll \Â435  && test -f "$additional_libdir/lib$name.dll.a"; }; }; thenÂ436  found_dir="$additional_libdir"Â437  if test -f "$additional_libdir/lib$name.$shlibext"; thenÂ438  found_so="$ additional_libdir/lib$name.$shlibext" 540 dir="$additional_libdir"  541 dnl The same code as in the loop below:  542 dnl First look for a shared library.  543 if test -n "$acl_shlibext"; then  544 if test -f "$dir/$libname$shrext"; then  545 found_dir="$dir"  546 found_so="$dir/$libname$shrext" 439 547 else 440  found_so="$additional_libdir/lib$name.dll.a"  548 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then  549 ver=`(cd "$dir" && \  550 for f in "$libname$shrext".*; do echo "$f"; done \  551 | sed -e "s,^$libname$shrext\\\\.,," \  552 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \  553 | sed 1q ) 2>/dev/null`  554 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then  555 found_dir="$dir"  556 found_so="$dir/$libname$shrext.$ver"  557 fi  558 else  559 eval library_names=\"$acl_library_names_spec\"  560 for f in $library_names; do  561 if test -f "$dir/$f"; then  562 found_dir="$dir"  563 found_so="$dir/$f"  564 break  565 fi  566 done  567 fi 441 568 fi 442  if test -f "$additional_libdir/lib$name.la"; then 443  found_la="$additional_libdir/lib$name.la"  569 fi  570 dnl Then look for a static library.  571 if test "X$found_dir" = "X"; then  572 if test -f "$dir/$libname.$acl_libext"; then  573 found_dir="$dir"  574 found_a="$dir/$libname.$acl_libext" 444 575 fi 445  else 446  if test -f "$additional_libdir/lib$name.$libext"; then 447  found_dir="$additional_libdir" 448  found_a="$additional_libdir/lib$name.$libext" 449  if test -f "$additional_libdir/lib$name.la"; then 450  found_la="$additional_libdir/lib$name.la" 451  fi  576 fi  577 if test "X$found_dir" != "X"; then  578 if test -f "$dir/$libname.la"; then  579 found_la="$dir/$libname.la" 452 580 fi 453 581 fi … …  459 587 -L*) 460 588 dir=`echo "X$x" | sed -e 's/^X-L//'` 461  if test -n "$shlibext" \ 462  && { test -f "$dir/lib$name.$shlibext" \ 463  || { test "$shlibext" = dll \ 464  && test -f "$dir/lib$name.dll.a"; }; }; then 465  found_dir="$dir" 466  if test -f "$dir/lib$name.$shlibext"; then 467  found_so="$dir/lib$name.$shlibext"  589 dnl First look for a shared library.  590 if test -n "$acl_shlibext"; then  591 if test -f "$dir/$libname$shrext"; then  592 found_dir="$dir"  593 found_so="$dir/$libname$shrext" 468 594 else 469  found_so="$dir/lib$name.dll.a"  595 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then  596 ver=`(cd "$dir" && \  597 for f in "$libname$shrext".*; do echo "$f"; done \  598 | sed -e "s,^$libname$shrext\\\\.,," \  599 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \  600 | sed 1q ) 2>/dev/null`  601 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then  602 found_dir="$dir"  603 found_so="$dir/$libname$shrext.$ver"  604 fi  605 else  606 eval library_names=\"$acl_library_names_spec\"  607 for f in $library_names; do  608 if test -f "$dir/$f"; then  609 found_dir="$dir"  610 found_so="$dir/$f"  611 break  612 fi  613 done  614 fi 470 615 fi 471  if test -f "$dir/lib$name.la"; then 472  found_la="$dir/lib$name.la"Â
