Changeset 172
- Timestamp:
- 04/29/04 11:25:16 (5 years ago)
- Files:
-
- libremix/libremix/Makefile.in (modified) (12 diffs)
- libremix/libremix/aclocal.m4 (modified) (85 diffs)
- libremix/libremix/config.guess (modified) (25 diffs)
- libremix/libremix/config.h.in (modified) (2 diffs)
- libremix/libremix/config.sub (modified) (16 diffs)
- libremix/libremix/configure (modified) (221 diffs)
- libremix/libremix/configure.ac (modified) (5 diffs)
- libremix/libremix/install-sh (modified) (10 diffs)
- libremix/libremix/ltmain.sh (modified) (202 diffs)
- libremix/libremix/missing (modified) (12 diffs)
- libremix/libremix/mkinstalldirs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libremix/libremix/Makefile.in
r161 r172 1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 1 # Makefile.in generated by automake 1.6.3 from Makefile.am. 2 # @configure_input@ 3 4 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 5 # Free Software Foundation, Inc. 4 6 # This Makefile.in is free software; the Free Software Foundation 5 7 # gives unlimited permission to copy and/or distribute it, … … 11 13 # PARTICULAR PURPOSE. 12 14 13 15 @SET_MAKE@ 14 16 SHELL = @SHELL@ 15 17 … … 32 34 includedir = @includedir@ 33 35 oldincludedir = /usr/include 34 35 DESTDIR =36 37 36 pkgdatadir = $(datadir)/@PACKAGE@ 38 37 pkglibdir = $(libdir)/@PACKAGE@ 39 38 pkgincludedir = $(includedir)/@PACKAGE@ 40 41 39 top_builddir = . 42 40 … … 46 44 AUTOHEADER = @AUTOHEADER@ 47 45 46 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 48 47 INSTALL = @INSTALL@ 49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 50 49 INSTALL_DATA = @INSTALL_DATA@ 50 install_sh_DATA = $(install_sh) -c -m 644 51 install_sh_PROGRAM = $(install_sh) -c 52 install_sh_SCRIPT = $(install_sh) -c 51 53 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 54 INSTALL_HEADER = $(INSTALL_DATA) 52 55 transform = @program_transform_name@ 53 54 56 NORMAL_INSTALL = : 55 57 PRE_INSTALL = : … … 60 62 host_alias = @host_alias@ 61 63 host_triplet = @host@ 64 65 EXEEXT = @EXEEXT@ 66 OBJEXT = @OBJEXT@ 67 PATH_SEPARATOR = @PATH_SEPARATOR@ 62 68 ALSA_LIBS = @ALSA_LIBS@ 69 AMTAR = @AMTAR@ 63 70 AR = @AR@ 64 71 AS = @AS@ 72 AWK = @AWK@ 73 BUILD_MONITOR = @BUILD_MONITOR@ 65 74 CC = @CC@ 66 75 CXX = @CXX@ 67 76 CXXCPP = @CXXCPP@ 77 DEPDIR = @DEPDIR@ 68 78 DLLTOOL = @DLLTOOL@ 69 79 ECHO = @ECHO@ 70 80 EGREP = @EGREP@ 71 EXEEXT = @EXEEXT@72 81 F77 = @F77@ 73 82 GCJ = @GCJ@ 74 83 GCJFLAGS = @GCJFLAGS@ 75 84 HAVE_DOXYGEN = @HAVE_DOXYGEN@ 76 HAVE_LIB = @HAVE_LIB@ 77 LIB = @LIB@ 85 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 78 86 LIBTOOL = @LIBTOOL@ 79 87 LN_S = @LN_S@ 80 LTLIB = @LTLIB@81 MAKEINFO = @MAKEINFO@82 88 OBJDUMP = @OBJDUMP@ 83 OBJEXT = @OBJEXT@84 89 PACKAGE = @PACKAGE@ 85 90 PACKAGE_PLUGIN_DIR = @PACKAGE_PLUGIN_DIR@ … … 91 96 STRIP = @STRIP@ 92 97 VERSION = @VERSION@ 98 am__include = @am__include@ 99 am__quote = @am__quote@ 100 install_sh = @install_sh@ 93 101 94 102 SUBDIRS = doc include src 95 103 DIST_SUBDIRS = $(SUBDIRS) 96 104 97 EXTRA_DIST = ACKNOWLEDGEMENTS ctxdata.pc.in remix.pc.in remix.spec.in remix.spec 105 EXTRA_DIST = ACKNOWLEDGEMENTS \ 106 ctxdata.pc.in remix.pc.in \ 107 remix.spec.in remix.spec 98 108 99 109 100 110 pkgconfigdir = $(libdir)/pkgconfig 101 111 pkgconfig_DATA = ctxdata.pc remix.pc 112 subdir = . 102 113 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 103 114 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 104 115 CONFIG_HEADER = config.h 105 CONFIG_CLEAN_FILES = ctxdata.pc remix.pc remix.spec 106 DATA = $(pkgconfig_DATA) 107 108 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ 109 Makefile.am Makefile.in NEWS aclocal.m4 config.guess config.h.in \ 110 config.sub configure configure.ac ctxdata.pc.in install-sh ltconfig \ 111 ltmain.sh missing mkinstalldirs remix.pc.in remix.spec.in 112 113 114 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 115 116 TAR = tar 117 GZIP_ENV = --best 118 all: all-redirect 116 CONFIG_CLEAN_FILES = ctxdata.pc remix.pc remix.spec 117 DIST_SOURCES = 118 DATA = $(pkgconfig_DATA) 119 120 121 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ 122 uninstall-info-recursive all-recursive install-data-recursive \ 123 install-exec-recursive installdirs-recursive install-recursive \ 124 uninstall-recursive check-recursive installcheck-recursive 125 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ 126 Makefile.in NEWS aclocal.m4 config.guess config.h.in config.sub \ 127 configure configure.ac ctxdata.pc.in depcomp install-sh \ 128 ltmain.sh missing mkinstalldirs remix.pc.in remix.spec.in 129 all: config.h 130 $(MAKE) $(AM_MAKEFLAGS) all-recursive 131 119 132 .SUFFIXES: 120 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 121 cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile 122 123 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 124 cd $(top_builddir) \ 125 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 133 134 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 135 configure.lineno 136 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 137 cd $(top_srcdir) && \ 138 $(AUTOMAKE) --gnu Makefile 139 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 140 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) 141 142 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 143 $(SHELL) ./config.status --recheck 144 $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 145 cd $(srcdir) && $(AUTOCONF) 126 146 127 147 $(ACLOCAL_M4): configure.ac 128 cd $(srcdir) && $(ACLOCAL) 129 130 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 131 $(SHELL) ./config.status --recheck 132 $(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 133 cd $(srcdir) && $(AUTOCONF) 134 135 config.h: stamp-h 148 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 149 150 config.h: stamp-h1 136 151 @if test ! -f $@; then \ 137 rm -f stamp-h; \138 $(MAKE) stamp-h; \152 rm -f stamp-h1; \ 153 $(MAKE) stamp-h1; \ 139 154 else :; fi 140 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 141 cd $(top_builddir) \ 142 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 143 $(SHELL) ./config.status 144 @echo timestamp > stamp-h 2> /dev/null 145 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in 146 @if test ! -f $@; then \ 147 rm -f $(srcdir)/stamp-h.in; \ 148 $(MAKE) $(srcdir)/stamp-h.in; \ 149 else :; fi 150 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) 155 156 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 157 @rm -f stamp-h1 158 cd $(top_builddir) && $(SHELL) ./config.status config.h 159 160 $(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) 151 161 cd $(top_srcdir) && $(AUTOHEADER) 152 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 153 154 mostlyclean-hdr: 155 156 clean-hdr: 162 touch $(srcdir)/config.h.in 157 163 158 164 distclean-hdr: 159 -rm -f config.h 160 161 maintainer-clean-hdr: 165 -rm -f config.h stamp-h1 162 166 ctxdata.pc: $(top_builddir)/config.status ctxdata.pc.in 163 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status167 cd $(top_builddir) && $(SHELL) ./config.status $@ 164 168 remix.pc: $(top_builddir)/config.status remix.pc.in 165 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status169 cd $(top_builddir) && $(SHELL) ./config.status $@ 166 170 remix.spec: $(top_builddir)/config.status remix.spec.in 167 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 168 171 cd $(top_builddir) && $(SHELL) ./config.status $@ 172 173 mostlyclean-libtool: 174 -rm -f *.lo 175 176 clean-libtool: 177 -rm -rf .libs _libs 178 179 distclean-libtool: 180 -rm -f libtool 181 uninstall-info-am: 182 pkgconfigDATA_INSTALL = $(INSTALL_DATA) 169 183 install-pkgconfigDATA: $(pkgconfig_DATA) 170 184 @$(NORMAL_INSTALL) 171 185 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) 172 186 @list='$(pkgconfig_DATA)'; for p in $$list; do \ 173 if test -f $(srcdir)/$$p; then \ 174 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \ 175 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \ 176 else if test -f $$p; then \ 177 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \ 178 $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \ 179 fi; fi; \ 187 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 188 f="`echo $$p | sed -e 's|^.*/||'`"; \ 189 echo " $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f"; \ 190 $(pkgconfigDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgconfigdir)/$$f; \ 180 191 done 181 192 182 193 uninstall-pkgconfigDATA: 183 194 @$(NORMAL_UNINSTALL) 184 list='$(pkgconfig_DATA)'; for p in $$list; do \ 185 rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \ 195 @list='$(pkgconfig_DATA)'; for p in $$list; do \ 196 f="`echo $$p | sed -e 's|^.*/||'`"; \ 197 echo " rm -f $(DESTDIR)$(pkgconfigdir)/$$f"; \ 198 rm -f $(DESTDIR)$(pkgconfigdir)/$$f; \ 186 199 done 187 200 … … 192 205 # (which will cause the Makefiles to be regenerated when you run `make'); 193 206 # (2) otherwise, pass the desired values on the `make' command line. 194 195 @SET_MAKE@ 196 197 all-recursive install-data-recursive install-exec-recursive \ 198 installdirs-recursive install-recursive uninstall-recursive \ 199 check-recursive installcheck-recursive info-recursive dvi-recursive: 200 @set fnord $(MAKEFLAGS); amf=$$2; \ 207 $(RECURSIVE_TARGETS): 208 @set fnord $$MAKEFLAGS; amf=$$2; \ 201 209 dot_seen=no; \ 202 210 target=`echo $@ | sed s/-recursive//`; \ … … 218 226 mostlyclean-recursive clean-recursive distclean-recursive \ 219 227 maintainer-clean-recursive: 220 @set fnord $ (MAKEFLAGS); amf=$$2; \228 @set fnord $$MAKEFLAGS; amf=$$2; \ 221 229 dot_seen=no; \ 222 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ 223 rev="$$subdir $$rev"; \ 224 test "$$subdir" != "." || dot_seen=yes; \ 230 case "$@" in \ 231 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 232 *) list='$(SUBDIRS)' ;; \ 233 esac; \ 234 rev=''; for subdir in $$list; do \ 235 if test "$$subdir" = "."; then :; else \ 236 rev="$$subdir $$rev"; \ 237 fi; \ 225 238 done; \ 226 test "$$dot_seen" = "no" && rev=". $$rev"; \239 rev="$$rev ."; \ 227 240 target=`echo $@ | sed s/-recursive//`; \ 228 241 for subdir in $$rev; do \ … … 241 254 done 242 255 256 ETAGS = etags 257 ETAGSFLAGS = 258 243 259 tags: TAGS 244 260 245 ID: $(HEADERS) $(SOURCES) $(LISP) 246 list='$(SOURCES) $(HEADERS)'; \ 247 unique=`for i in $$list; do echo $$i; done | \ 248 awk ' { files[$$0] = 1; } \ 261 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 262 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 263 unique=`for i in $$list; do \ 264 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 265 done | \ 266 $(AWK) ' { files[$$0] = 1; } \ 249 267 END { for (i in files) print i; }'`; \ 250 here=`pwd` && cd $(srcdir) \251 && mkid -f$$here/ID $$unique $(LISP) 252 253 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)268 mkid -fID $$unique 269 270 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ 271 $(TAGS_FILES) $(LISP) 254 272 tags=; \ 255 273 here=`pwd`; \ 256 274 list='$(SUBDIRS)'; for subdir in $$list; do \ 257 if test "$$subdir" = .; then :; else \275 if test "$$subdir" = .; then :; else \ 258 276 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ 259 fi; \277 fi; \ 260 278 done; \ 261 list='$(SOURCES) $(HEADERS)'; \ 262 unique=`for i in $$list; do echo $$i; done | \ 263 awk ' { files[$$0] = 1; } \ 279 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ 280 unique=`for i in $$list; do \ 281 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 282 done | \ 283 $(AWK) ' { files[$$0] = 1; } \ 264 284 END { for (i in files) print i; }'`; \ 265 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 266 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)) 267 268 mostlyclean-tags: 269 270 clean-tags: 285 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 286 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 287 $$tags $$unique 288 289 GTAGS: 290 here=`$(am__cd) $(top_builddir) && pwd` \ 291 && cd $(top_srcdir) \ 292 && gtags -i $(GTAGS_ARGS) $$here 271 293 272 294 distclean-tags: 273 -rm -f TAGS ID 274 275 maintainer-clean-tags: 276 295 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH 296 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 297 298 top_distdir = . 277 299 distdir = $(PACKAGE)-$(VERSION) 278 top_distdir = $(distdir) 300 301 am__remove_distdir = \ 302 { test ! -d $(distdir) \ 303 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ 304 && rm -fr $(distdir); }; } 305 306 GZIP_ENV = --best 307 distcleancheck_listfiles = find . -type f -print 308 309 distdir: $(DISTFILES) 310 $(am__remove_distdir) 311 mkdir $(distdir) 312 $(mkinstalldirs) $(distdir)/. $(distdir)/doc 313 @list='$(DISTFILES)'; for file in $$list; do \ 314 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 315 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ 316 if test "$$dir" != "$$file" && test "$$dir" != "."; then \ 317 dir="/$$dir"; \ 318 $(mkinstalldirs) "$(distdir)$$dir"; \ 319 else \ 320 dir=''; \ 321 fi; \ 322 if test -d $$d/$$file; then \ 323 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 324 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ 325 fi; \ 326 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ 327 else \ 328 test -f $(distdir)/$$file \ 329 || cp -p $$d/$$file $(distdir)/$$file \ 330 || exit 1; \ 331 fi; \ 332 done 333 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 334 if test "$$subdir" = .; then :; else \ 335 test -d $(distdir)/$$subdir \ 336 || mkdir $(distdir)/$$subdir \ 337 || exit 1; \ 338 (cd $$subdir && \ 339 $(MAKE) $(AM_MAKEFLAGS) \ 340 top_distdir="$(top_distdir)" \ 341 distdir=../$(distdir)/$$subdir \ 342 distdir) \ 343 || exit 1; \ 344 fi; \ 345 done 346 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ 347 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 348 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 349 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ 350 || chmod -R a+r $(distdir) 351 dist-gzip: distdir 352 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 353 $(am__remove_distdir) 354 355 dist dist-all: distdir 356 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 357 $(am__remove_distdir) 279 358 280 359 # This target untars the dist file and tries a VPATH configuration. Then … … 282 361 # tarfile. 283 362 distcheck: dist 284 -rm -rf $(distdir) 285 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 363 $(am__remove_distdir) 364 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - 365 chmod -R a-w $(distdir); chmod a+w $(distdir) 286 366 mkdir $(distdir)/=build 287 367 mkdir $(distdir)/=inst 288 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 289 cd $(distdir)/=build \ 368 chmod a-w $(distdir) 369 dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ 370 && cd $(distdir)/=build \ 290 371 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 372 $(DISTCHECK_CONFIGURE_FLAGS) \ 291 373 && $(MAKE) $(AM_MAKEFLAGS) \ 292 374 && $(MAKE) $(AM_MAKEFLAGS) dvi \ … … 294 376 && $(MAKE) $(AM_MAKEFLAGS) install \ 295 377 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 296 && $(MAKE) $(AM_MAKEFLAGS) dist 297 -rm -rf $(distdir) 298 @banner="$(distdir).tar.gz is ready for distribution"; \ 299 dashes=`echo "$$banner" | sed s/./=/g`; \ 300 echo "$$dashes"; \ 301 echo "$$banner"; \ 302 echo "$$dashes" 303 dist: distdir 304 -chmod -R a+r $(distdir) 305 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 306 -rm -rf $(distdir) 307 dist-all: distdir 308 -chmod -R a+r $(distdir) 309 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 310 -rm -rf $(distdir) 311 distdir: $(DISTFILES) 312 -rm -rf $(distdir) 313 mkdir $(distdir) 314 -chmod 777 $(distdir) 315 @for file in $(DISTFILES); do \ 316 d=$(srcdir); \ 317 if test -d $$d/$$file; then \ 318 cp -pr $$d/$$file $(distdir)/$$file; \ 319 else \ 320 test -f $(distdir)/$$file \ 321 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 322 || cp -p $$d/$$file $(distdir)/$$file || :; \ 323 fi; \ 324 done 325 for subdir in $(DIST_SUBDIRS); do \ 326 if test "$$subdir" = .; then :; else \ 327 test -d $(distdir)/$$subdir \ 328 || mkdir $(distdir)/$$subdir \ 329 || exit 1; \ 330 chmod 777 $(distdir)/$$subdir; \ 331 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ 332 || exit 1; \ 333 fi; \ 334 done 335 info-am: 336 info: info-recursive 337 dvi-am: 338 dvi: dvi-recursive 378 && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 379 && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ 380 || { echo "ERROR: files left after uninstall:" ; \ 381 find $$dc_install_base -type f -print ; \ 382 exit 1; } >&2 ) \ 383 && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ 384 && rm -f $(distdir).tar.gz \ 385 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck 386 $(am__remove_distdir) 387 @echo "$(distdir).tar.gz is ready for distribution" | \ 388 sed 'h;s/./=/g;p;x;p;x' 389 distcleancheck: distclean 390 if test '$(srcdir)' = . ; then \ 391 echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 392 exit 1 ; \ 393 fi 394 test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 395 || { echo "ERROR: files left after distclean:" ; \ 396 $(distcleancheck_listfiles) ; \ 397 exit 1; } >&2 339 398 check-am: all-am 340 399 check: check-recursive 341 installcheck-am: 342 install check: installcheck-recursive343 all-recursive-am: config.h 344 $( MAKE) $(AM_MAKEFLAGS) all-recursive345 346 install -exec-am:400 all-am: Makefile $(DATA) config.h 401 installdirs: installdirs-recursive 402 installdirs-am: 403 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) 404 405 install: install-recursive 347 406 install-exec: install-exec-recursive 348 349 install-data-am: install-pkgconfigDATA350 407 install-data: install-data-recursive 408 uninstall: uninstall-recursive 351 409 352 410 install-am: all-am 353 411 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 354 install: install-recursive 355 uninstall-am: uninstall-pkgconfigDATA 356 uninstall: uninstall-recursive 357 all-am: Makefile $(DATA) config.h 358 all-redirect: all-recursive-am 412 413 installcheck: installcheck-recursive 359 414 install-strip: 360 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 361 installdirs: installdirs-recursive 362 installdirs-am: 363 $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) 364 365 415 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 416 INSTALL_STRIP_FLAG=-s \ 417 `test -z '$(STRIP)' || \ 418 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install 366 419 mostlyclean-generic: 367 420 … … 370 423 distclean-generic: 371 424 -rm -f Makefile $(CONFIG_CLEAN_FILES) 372 -rm -f config.cache config.log stamp-h stamp-h[0-9]*373 425 374 426 maintainer-clean-generic: 375 mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic 427 @echo "This command is intended for maintainers to use" 428 @echo "it deletes files that may require special tools to rebuild." 429 clean: clean-recursive 430 431 clean-am: clean-generic clean-libtool mostlyclean-am 432 433 distclean: distclean-recursive 434 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 435 distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \ 436 distclean-tags 437 438 dvi: dvi-recursive 439 440 dvi-am: 441 442 info: info-recursive 443 444 info-am: 445 446 install-data-am: install-pkgconfigDATA 447 448 install-exec-am: 449 450 install-info: install-info-recursive 451 452 install-man: 453 454 installcheck-am: 455 456 maintainer-clean: maintainer-clean-recursive 457 -rm -f $(am__CONFIG_DISTCLEAN_FILES) 458 -rm -rf autom4te.cache 459 maintainer-clean-am: distclean-am maintainer-clean-generic 376 460 377 461 mostlyclean: mostlyclean-recursive 378 462 379 clean-am: clean-hdr clean-tags clean-generic mostlyclean-am 380 381 clean: clean-recursive 382 383 distclean-am: distclean-hdr distclean-tags distclean-generic clean-am 384 -rm -f libtool 385 386 distclean: distclean-recursive 387 -rm -f config.status 388 389 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ 390 maintainer-clean-generic distclean-am 391 @echo "This command is intended for maintainers to use;" 392 @echo "it deletes files that may require special tools to rebuild." 393 394 maintainer-clean: maintainer-clean-recursive 395 -rm -f config.status 396 397 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ 398 uninstall-pkgconfigDATA install-pkgconfigDATA install-data-recursive \ 399 uninstall-data-recursive install-exec-recursive \ 400 uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ 401 all-recursive check-recursive installcheck-recursive info-recursive \ 402 dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ 403 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ 404 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ 405 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ 406 install-exec-am install-exec install-data-am install-data install-am \ 407 install uninstall-am uninstall all-redirect all-am all installdirs-am \ 408 installdirs mostlyclean-generic distclean-generic clean-generic \ 409 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 410 463 mostlyclean-am: mostlyclean-generic mostlyclean-libtool 464 465 uninstall-am: uninstall-info-am uninstall-pkgconfigDATA 466 467 uninstall-info: uninstall-info-recursive 468 469 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ 470 clean-generic clean-libtool clean-recursive dist dist-all \ 471 dist-gzip distcheck distclean distclean-generic distclean-hdr \ 472 distclean-libtool distclean-recursive distclean-tags \ 473 distcleancheck distdir dvi dvi-am dvi-recursive info info-am \ 474 info-recursive install install-am install-data install-data-am \ 475 install-data-recursive install-exec install-exec-am \ 476 install-exec-recursive install-info install-info-am \ 477 install-info-recursive install-man install-pkgconfigDATA \ 478 install-recursive install-strip installcheck installcheck-am \ 479 installdirs installdirs-am installdirs-recursive \ 480 maintainer-clean maintainer-clean-generic \ 481 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 482 mostlyclean-libtool mostlyclean-recursive tags tags-recursive \ 483 uninstall uninstall-am uninstall-info-am \ 484 uninstall-info-recursive uninstall-pkgconfigDATA \ 485 uninstall-recursive 411 486 412 487 # Tell versions [3.59,3.63) of GNU make to not export all variables. libremix/libremix/aclocal.m4
r161 r172 1 dnl aclocal.m4 generated automatically by aclocal 1.4-p6 2 3 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 12 13 # lib-prefix.m4 serial 3 (gettext-0.12.2) 14 dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. 15 dnl This file is free software, distributed under the terms of the GNU 16 dnl General Public License. As a special exception to the GNU General 17 dnl Public License, this file may be distributed as part of a program 18 dnl that contains a configuration script generated by Autoconf, under 19 dnl the same distribution terms as the rest of that program. 20 21 dnl From Bruno Haible. 22 23 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and 24 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't 25 dnl require excessive bracketing. 26 ifdef([AC_HELP_STRING], 27 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], 28 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) 29 30 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed 31 dnl to access previously installed libraries. The basic assumption is that 32 dnl a user will want packages to use other packages he previously installed 33 dnl with the same --prefix option. 34 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate 35 dnl libraries, but is otherwise very convenient. 36 AC_DEFUN([AC_LIB_PREFIX], 37 [ 38 AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) 39 AC_REQUIRE([AC_PROG_CC]) 40 AC_REQUIRE([AC_CANONICAL_HOST]) 41 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 42 dnl By default, look in $includedir and $libdir. 43 use_additional=yes 44 AC_LIB_WITH_FINAL_PREFIX([ 45 eval additional_includedir=\"$includedir\" 46 eval additional_libdir=\"$libdir\" 47 ]) 48 AC_LIB_ARG_WITH([lib-prefix], 49 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib 50 --without-lib-prefix don't search for libraries in includedir and libdir], 51 [ 52 if test "X$withval" = "Xno"; then 53 use_additional=no 54 else 55 if test "X$withval" = "X"; then 56 AC_LIB_WITH_FINAL_PREFIX([ 57 eval additional_includedir=\"$includedir\" 58 eval additional_libdir=\"$libdir\" 59 ]) 60 else 61 additional_includedir="$withval/include" 62 additional_libdir="$withval/lib" 63 fi 64 fi 65 ]) 66 if test $use_additional = yes; then 67 dnl Potentially add $additional_includedir to $CPPFLAGS. 68 dnl But don't add it 69 dnl 1. if it's the standard /usr/include, 70 dnl 2. if it's already present in $CPPFLAGS, 71 dnl 3. if it's /usr/local/include and we are using GCC on Linux, 72 dnl 4. if it doesn't exist as a directory. 73 if test "X$additional_includedir" != "X/usr/include"; then 74 haveit= 75 for x in $CPPFLAGS; do 76 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 77 if test "X$x" = "X-I$additional_includedir"; then 78 haveit=yes 79 break 80 fi 81 done 82 if test -z "$haveit"; then 83 if test "X$additional_includedir" = "X/usr/local/include"; then 84 if test -n "$GCC"; then 85 case $host_os in 86 linux*) haveit=yes;; 87 esac 88 fi 89 fi 90 if test -z "$haveit"; then 91 if test -d "$additional_includedir"; then 92 dnl Really add $additional_includedir to $CPPFLAGS. 93 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" 94 fi 95 fi 96 fi 97 fi 98 dnl Potentially add $additional_libdir to $LDFLAGS. 99 dnl But don't add it 100 dnl 1. if it's the standard /usr/lib, 101 dnl 2. if it's already present in $LDFLAGS, 102 dnl 3. if it's /usr/local/lib and we are using GCC on Linux, 103 dnl 4. if it doesn't exist as a directory. 104 if test "X$additional_libdir" != "X/usr/lib"; then 105 haveit= 106 for x in $LDFLAGS; do 107 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 108 if test "X$x" = "X-L$additional_libdir"; then 109 haveit=yes 110 break 111 fi 112 done 113 if test -z "$haveit"; then 114 if test "X$additional_libdir" = "X/usr/local/lib"; then 115 if test -n "$GCC"; then 116 case $host_os in 117 linux*) haveit=yes;; 118 esac 119 fi 120 fi 121 if test -z "$haveit"; then 122 if test -d "$additional_libdir"; then 123 dnl Really add $additional_libdir to $LDFLAGS. 124 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" 125 fi 126 fi 127 fi 128 fi 129 fi 130 ]) 131 132 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, 133 dnl acl_final_exec_prefix, containing the values to which $prefix and 134 dnl $exec_prefix will expand at the end of the configure script. 135 AC_DEFUN([AC_LIB_PREPARE_PREFIX], 136 [ 137 dnl Unfortunately, prefix and exec_prefix get only finally determined 138 dnl at the end of configure. 139 if test "X$prefix" = "XNONE"; then 140 acl_final_prefix="$ac_default_prefix" 141 else 142 acl_final_prefix="$prefix" 143 fi 144 if test "X$exec_prefix" = "XNONE"; then 145 acl_final_exec_prefix='${prefix}' 146 else 147 acl_final_exec_prefix="$exec_prefix" 148 fi 149 acl_save_prefix="$prefix" 150 prefix="$acl_final_prefix" 151 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 152 prefix="$acl_save_prefix" 153 ]) 154 155 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the 156 dnl variables prefix and exec_prefix bound to the values they will have 157 dnl at the end of the configure script. 158 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], 159 [ 160 acl_save_prefix="$prefix" 161 prefix="$acl_final_prefix" 162 acl_save_exec_prefix="$exec_prefix" 163 exec_prefix="$acl_final_exec_prefix" 164 $1 165 exec_prefix="$acl_save_exec_prefix" 166 prefix="$acl_save_prefix" 167 ]) 168 169 # lib-link.m4 serial 4 (gettext-0.12) 170 dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. 171 dnl This file is free software, distributed under the terms of the GNU 172 dnl General Public License. As a special exception to the GNU General 173 dnl Public License, this file may be distributed as part of a program 174 dnl that contains a configuration script generated by Autoconf, under 175 dnl the same distribution terms as the rest of that program. 176 177 dnl From Bruno Haible. 178 179 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and 180 dnl the libraries corresponding to explicit and implicit dependencies. 181 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and 182 dnl augments the CPPFLAGS variable. 183 AC_DEFUN([AC_LIB_LINKFLAGS], 184 [ 185 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 186 AC_REQUIRE([AC_LIB_RPATH]) 187 define([Name],[translit([$1],[./-], [___])]) 188 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 189 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 190 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ 191 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 192 ac_cv_lib[]Name[]_libs="$LIB[]NAME" 193 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" 194 ac_cv_lib[]Name[]_cppflags="$INC[]NAME" 195 ]) 196 LIB[]NAME="$ac_cv_lib[]Name[]_libs" 197 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" 198 INC[]NAME="$ac_cv_lib[]Name[]_cppflags" 199 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 200 AC_SUBST([LIB]NAME) 201 AC_SUBST([LTLIB]NAME) 202 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the 203 dnl results of this search when this library appears as a dependency. 204 HAVE_LIB[]NAME=yes 205 undefine([Name]) 206 undefine([NAME]) 207 ]) 208 209 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) 210 dnl searches for libname and the libraries corresponding to explicit and 211 dnl implicit dependencies, together with the specified include files and 212 dnl the ability to compile and link the specified testcode. If found, it 213 dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and 214 dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and 215 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs 216 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. 217 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], 218 [ 219 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 220 AC_REQUIRE([AC_LIB_RPATH]) 221 define([Name],[translit([$1],[./-], [___])]) 222 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 223 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 224 225 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME 226 dnl accordingly. 227 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 228 229 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, 230 dnl because if the user has installed lib[]Name and not disabled its use 231 dnl via --without-lib[]Name-prefix, he wants to use it. 232 ac_save_CPPFLAGS="$CPPFLAGS" 233 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 234 235 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ 236 ac_save_LIBS="$LIBS" 237 LIBS="$LIBS $LIB[]NAME" 238 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) 239 LIBS="$ac_save_LIBS" 240 ]) 241 if test "$ac_cv_lib[]Name" = yes; then 242 HAVE_LIB[]NAME=yes 243 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) 244 AC_MSG_CHECKING([how to link with lib[]$1]) 245 AC_MSG_RESULT([$LIB[]NAME]) 246 else 247 HAVE_LIB[]NAME=no 248 dnl If $LIB[]NAME didn't lead to a usable library, we don't need 249 dnl $INC[]NAME either. 250 CPPFLAGS="$ac_save_CPPFLAGS" 251 LIB[]NAME= 252 LTLIB[]NAME= 253 fi 254 AC_SUBST([HAVE_LIB]NAME) 255 AC_SUBST([LIB]NAME) 256 AC_SUBST([LTLIB]NAME) 257 undefine([Name]) 258 undefine([NAME]) 259 ]) 260 261 dnl Determine the platform dependent parameters needed to use rpath: 262 dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, 263 dnl hardcode_direct, hardcode_minus_L. 264 AC_DEFUN([AC_LIB_RPATH], 265 [ 266 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS 267 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld 268 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host 269 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir 270 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ 271 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 272 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 273 . ./conftest.sh 274 rm -f ./conftest.sh 275 acl_cv_rpath=done 276 ]) 277 wl="$acl_cv_wl" 278 libext="$acl_cv_libext" 279 shlibext="$acl_cv_shlibext" 280 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 281 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 282 hardcode_direct="$acl_cv_hardcode_direct" 283 hardcode_minus_L="$acl_cv_hardcode_minus_L" 284 dnl Determine whether the user wants rpath handling at all. 285 AC_ARG_ENABLE(rpath, 286 [ --disable-rpath do not hardcode runtime library paths], 287 :, enable_rpath=yes) 288 ]) 289 290 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and 291 dnl the libraries corresponding to explicit and implicit dependencies. 292 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. 293 AC_DEFUN([AC_LIB_LINKFLAGS_BODY], 294 [ 295 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 296 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 297 dnl By default, look in $includedir and $libdir. 298 use_additional=yes 299 AC_LIB_WITH_FINAL_PREFIX([ 300 eval additional_includedir=\"$includedir\" 301 eval additional_libdir=\"$libdir\" 302 ]) 303 AC_LIB_ARG_WITH([lib$1-prefix], 304 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib 305 --without-lib$1-prefix don't search for lib$1 in includedir and libdir], 306 [ 307 if test "X$withval" = "Xno"; then 308 use_additional=no 309 else 310 if test "X$withval" = "X"; then 311 AC_LIB_WITH_FINAL_PREFIX([ 312 eval additional_includedir=\"$includedir\" 313 eval additional_libdir=\"$libdir\" 314 ]) 315 else 316 additional_includedir="$withval/include" 317 additional_libdir="$withval/lib" 318 fi 319 fi 320 ]) 321 dnl Search the library and its dependencies in $additional_libdir and 322 dnl $LDFLAGS. Using breadth-first-seach. 323 LIB[]NAME= 324 LTLIB[]NAME= 325 INC[]NAME= 326 rpathdirs= 327 ltrpathdirs= 328 names_already_handled= 329 names_next_round='$1 $2' 330 while test -n "$names_next_round"; do 331 names_this_round="$names_next_round" 332 names_next_round= 333 for name in $names_this_round; do 334 already_handled= 335 for n in $names_already_handled; do 336 if test "$n" = "$name"; then 337 already_handled=yes 338 break 339 fi 340 done 341 if test -z "$already_handled"; then 342 names_already_handled="$names_already_handled $name" 343 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS 344 dnl or AC_LIB_HAVE_LINKFLAGS call. 345 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 346 eval value=\"\$HAVE_LIB$uppername\" 347 if test -n "$value"; then 348 if test "$value" = yes; then 349 eval value=\"\$LIB$uppername\" 350 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" 351 eval value=\"\$LTLIB$uppername\" 352 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" 353 else 354 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined 355 dnl that this library doesn't exist. So just drop it. 356 : 357 fi 358 else 359 dnl Search the library lib$name in $additional_libdir and $LDFLAGS 360 dnl and the already constructed $LIBNAME/$LTLIBNAME. 361 found_dir= 362 found_la= 363 found_so= 364 found_a= 365 if test $use_additional = yes; then 366 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then 367 found_dir="$additional_libdir" 368 found_so="$additional_libdir/lib$name.$shlibext" 369 if test -f "$additional_libdir/lib$name.la"; then 370 found_la="$additional_libdir/lib$name.la" 371 fi 372 else 373 if test -f "$additional_libdir/lib$name.$libext"; then 374 found_dir="$additional_libdir" 375 found_a="$additional_libdir/lib$name.$libext" 376 if test -f "$additional_libdir/lib$name.la"; then 377 found_la="$additional_libdir/lib$name.la" 378 fi 379 fi 380 fi 381 fi 382 if test "X$found_dir" = "X"; then 383 for x in $LDFLAGS $LTLIB[]NAME; do 384 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 385 case "$x" in 386 -L*) 387 dir=`echo "X$x" | sed -e 's/^X-L//'` 388 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then 389 found_dir="$dir" 390 found_so="$dir/lib$name.$shlibext" 391 if test -f "$dir/lib$name.la"; then 392 found_la="$dir/lib$name.la" 393 fi 394 else 395 if test -f "$dir/lib$name.$libext"; then 396 found_dir="$dir" 397 found_a="$dir/lib$name.$libext" 398 if test -f "$dir/lib$name.la"; then 399 found_la="$dir/lib$name.la" 400 fi 401 fi 402 fi 403 ;; 404 esac 405 if test "X$found_dir" != "X"; then 406 break 407 fi 408 done 409 fi 410 if test "X$found_dir" != "X"; then 411 dnl Found the library. 412 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" 413 if test "X$found_so" != "X"; then 414 &nb
