diff options
author | Christian Grothoff <christian@grothoff.org> | 2005-07-08 23:21:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2005-07-08 23:21:57 +0000 |
commit | cd47c1b710551dc39f02e7058ab89ad5e1dfce72 (patch) | |
tree | 3fe56d0438ec90886dd0a5756ffc99dad11cc206 | |
parent | 439aeb94cdd590cd746655c2c5bd9c67cbc45a6a (diff) | |
download | gnunet-gtk-cd47c1b710551dc39f02e7058ab89ad5e1dfce72.tar.gz gnunet-gtk-cd47c1b710551dc39f02e7058ab89ad5e1dfce72.zip |
update
-rw-r--r-- | INSTALL | 61 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libltdl/Makefile.in | 51 | ||||
-rw-r--r-- | libltdl/aclocal.m4 | 567 | ||||
-rwxr-xr-x | libltdl/configure | 124 | ||||
-rwxr-xr-x | libltdl/install-sh | 102 | ||||
-rwxr-xr-x | libltdl/missing | 85 | ||||
-rw-r--r-- | mkinstalldirs | 6 | ||||
-rw-r--r-- | po/Makefile.in | 2 | ||||
-rw-r--r-- | src/plugins/stats/statistics.c | 2 |
10 files changed, 471 insertions, 530 deletions
@@ -1,13 +1,16 @@ | |||
1 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software | 1 | Installation Instructions |
2 | Foundation, Inc. | 2 | ************************* |
3 | 3 | ||
4 | This file is free documentation; the Free Software Foundation gives | 4 | Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free |
5 | Software Foundation, Inc. | ||
6 | |||
7 | This file is free documentation; the Free Software Foundation gives | ||
5 | unlimited permission to copy, distribute and modify it. | 8 | unlimited permission to copy, distribute and modify it. |
6 | 9 | ||
7 | Basic Installation | 10 | Basic Installation |
8 | ================== | 11 | ================== |
9 | 12 | ||
10 | These are generic installation instructions. | 13 | These are generic installation instructions. |
11 | 14 | ||
12 | The `configure' shell script attempts to guess correct values for | 15 | The `configure' shell script attempts to guess correct values for |
13 | various system-dependent variables used during compilation. It uses | 16 | various system-dependent variables used during compilation. It uses |
@@ -67,9 +70,9 @@ The simplest way to compile this package is: | |||
67 | Compilers and Options | 70 | Compilers and Options |
68 | ===================== | 71 | ===================== |
69 | 72 | ||
70 | Some systems require unusual options for compilation or linking that | 73 | Some systems require unusual options for compilation or linking that the |
71 | the `configure' script does not know about. Run `./configure --help' | 74 | `configure' script does not know about. Run `./configure --help' for |
72 | for details on some of the pertinent environment variables. | 75 | details on some of the pertinent environment variables. |
73 | 76 | ||
74 | You can give `configure' initial values for configuration parameters | 77 | You can give `configure' initial values for configuration parameters |
75 | by setting variables in the command line or in the environment. Here | 78 | by setting variables in the command line or in the environment. Here |
@@ -82,7 +85,7 @@ is an example: | |||
82 | Compiling For Multiple Architectures | 85 | Compiling For Multiple Architectures |
83 | ==================================== | 86 | ==================================== |
84 | 87 | ||
85 | You can compile the package for more than one kind of computer at the | 88 | You can compile the package for more than one kind of computer at the |
86 | same time, by placing the object files for each architecture in their | 89 | same time, by placing the object files for each architecture in their |
87 | own directory. To do this, you must use a version of `make' that | 90 | own directory. To do this, you must use a version of `make' that |
88 | supports the `VPATH' variable, such as GNU `make'. `cd' to the | 91 | supports the `VPATH' variable, such as GNU `make'. `cd' to the |
@@ -99,19 +102,19 @@ for another architecture. | |||
99 | Installation Names | 102 | Installation Names |
100 | ================== | 103 | ================== |
101 | 104 | ||
102 | By default, `make install' will install the package's files in | 105 | By default, `make install' will install the package's files in |
103 | `/usr/local/bin', `/usr/local/man', etc. You can specify an | 106 | `/usr/local/bin', `/usr/local/man', etc. You can specify an |
104 | installation prefix other than `/usr/local' by giving `configure' the | 107 | installation prefix other than `/usr/local' by giving `configure' the |
105 | option `--prefix=PATH'. | 108 | option `--prefix=PREFIX'. |
106 | 109 | ||
107 | You can specify separate installation prefixes for | 110 | You can specify separate installation prefixes for |
108 | architecture-specific files and architecture-independent files. If you | 111 | architecture-specific files and architecture-independent files. If you |
109 | give `configure' the option `--exec-prefix=PATH', the package will use | 112 | give `configure' the option `--exec-prefix=PREFIX', the package will |
110 | PATH as the prefix for installing programs and libraries. | 113 | use PREFIX as the prefix for installing programs and libraries. |
111 | Documentation and other data files will still use the regular prefix. | 114 | Documentation and other data files will still use the regular prefix. |
112 | 115 | ||
113 | In addition, if you use an unusual directory layout you can give | 116 | In addition, if you use an unusual directory layout you can give |
114 | options like `--bindir=PATH' to specify different values for particular | 117 | options like `--bindir=DIR' to specify different values for particular |
115 | kinds of files. Run `configure --help' for a list of the directories | 118 | kinds of files. Run `configure --help' for a list of the directories |
116 | you can set and what kinds of files go in them. | 119 | you can set and what kinds of files go in them. |
117 | 120 | ||
@@ -122,7 +125,7 @@ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. | |||
122 | Optional Features | 125 | Optional Features |
123 | ================= | 126 | ================= |
124 | 127 | ||
125 | Some packages pay attention to `--enable-FEATURE' options to | 128 | Some packages pay attention to `--enable-FEATURE' options to |
126 | `configure', where FEATURE indicates an optional part of the package. | 129 | `configure', where FEATURE indicates an optional part of the package. |
127 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE | 130 | They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
128 | is something like `gnu-as' or `x' (for the X Window System). The | 131 | is something like `gnu-as' or `x' (for the X Window System). The |
@@ -137,11 +140,11 @@ you can use the `configure' options `--x-includes=DIR' and | |||
137 | Specifying the System Type | 140 | Specifying the System Type |
138 | ========================== | 141 | ========================== |
139 | 142 | ||
140 | There may be some features `configure' cannot figure out | 143 | There may be some features `configure' cannot figure out automatically, |
141 | automatically, but needs to determine by the type of machine the package | 144 | but needs to determine by the type of machine the package will run on. |
142 | will run on. Usually, assuming the package is built to be run on the | 145 | Usually, assuming the package is built to be run on the _same_ |
143 | _same_ architectures, `configure' can figure that out, but if it prints | 146 | architectures, `configure' can figure that out, but if it prints a |
144 | a message saying it cannot guess the machine type, give it the | 147 | message saying it cannot guess the machine type, give it the |
145 | `--build=TYPE' option. TYPE can either be a short name for the system | 148 | `--build=TYPE' option. TYPE can either be a short name for the system |
146 | type, such as `sun4', or a canonical name which has the form: | 149 | type, such as `sun4', or a canonical name which has the form: |
147 | 150 | ||
@@ -167,9 +170,9 @@ eventually be run) with `--host=TYPE'. | |||
167 | Sharing Defaults | 170 | Sharing Defaults |
168 | ================ | 171 | ================ |
169 | 172 | ||
170 | If you want to set default values for `configure' scripts to share, | 173 | If you want to set default values for `configure' scripts to share, you |
171 | you can create a site shell script called `config.site' that gives | 174 | can create a site shell script called `config.site' that gives default |
172 | default values for variables like `CC', `cache_file', and `prefix'. | 175 | values for variables like `CC', `cache_file', and `prefix'. |
173 | `configure' looks for `PREFIX/share/config.site' if it exists, then | 176 | `configure' looks for `PREFIX/share/config.site' if it exists, then |
174 | `PREFIX/etc/config.site' if it exists. Or, you can set the | 177 | `PREFIX/etc/config.site' if it exists. Or, you can set the |
175 | `CONFIG_SITE' environment variable to the location of the site script. | 178 | `CONFIG_SITE' environment variable to the location of the site script. |
@@ -178,7 +181,7 @@ A warning: not all `configure' scripts look for a site script. | |||
178 | Defining Variables | 181 | Defining Variables |
179 | ================== | 182 | ================== |
180 | 183 | ||
181 | Variables not defined in a site shell script can be set in the | 184 | Variables not defined in a site shell script can be set in the |
182 | environment passed to `configure'. However, some packages may run | 185 | environment passed to `configure'. However, some packages may run |
183 | configure again during the build, and the customized values of these | 186 | configure again during the build, and the customized values of these |
184 | variables may be lost. In order to avoid this problem, you should set | 187 | variables may be lost. In order to avoid this problem, you should set |
@@ -186,14 +189,18 @@ them in the `configure' command line, using `VAR=value'. For example: | |||
186 | 189 | ||
187 | ./configure CC=/usr/local2/bin/gcc | 190 | ./configure CC=/usr/local2/bin/gcc |
188 | 191 | ||
189 | will cause the specified gcc to be used as the C compiler (unless it is | 192 | causes the specified `gcc' to be used as the C compiler (unless it is |
190 | overridden in the site shell script). | 193 | overridden in the site shell script). Here is a another example: |
194 | |||
195 | /bin/bash ./configure CONFIG_SHELL=/bin/bash | ||
196 | |||
197 | Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent | ||
198 | configuration-related scripts to be executed by `/bin/bash'. | ||
191 | 199 | ||
192 | `configure' Invocation | 200 | `configure' Invocation |
193 | ====================== | 201 | ====================== |
194 | 202 | ||
195 | `configure' recognizes the following options to control how it | 203 | `configure' recognizes the following options to control how it operates. |
196 | operates. | ||
197 | 204 | ||
198 | `--help' | 205 | `--help' |
199 | `-h' | 206 | `-h' |
diff --git a/configure.ac b/configure.ac index 3eca1958..738b74ba 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -268,6 +268,7 @@ src/plugins/Makefile | |||
268 | src/plugins/about/Makefile | 268 | src/plugins/about/Makefile |
269 | src/plugins/daemon/Makefile | 269 | src/plugins/daemon/Makefile |
270 | src/plugins/fs/Makefile | 270 | src/plugins/fs/Makefile |
271 | src/plugins/stats/Makefile | ||
271 | po/Makefile.in | 272 | po/Makefile.in |
272 | po/Makefile | 273 | po/Makefile |
273 | ]) | 274 | ]) |
diff --git a/libltdl/Makefile.in b/libltdl/Makefile.in index f00684f6..0f077113 100644 --- a/libltdl/Makefile.in +++ b/libltdl/Makefile.in | |||
@@ -1,8 +1,8 @@ | |||
1 | # Makefile.in generated by automake 1.8.5 from Makefile.am. | 1 | # Makefile.in generated by automake 1.9.5 from Makefile.am. |
2 | # @configure_input@ | 2 | # @configure_input@ |
3 | 3 | ||
4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
5 | # 2003, 2004 Free Software Foundation, Inc. | 5 | # 2003, 2004, 2005 Free Software Foundation, Inc. |
6 | # This Makefile.in is free software; the Free Software Foundation | 6 | # This Makefile.in is free software; the Free Software Foundation |
7 | # gives unlimited permission to copy and/or distribute it, | 7 | # gives unlimited permission to copy and/or distribute it, |
8 | # with or without modifications, as long as this notice is preserved. | 8 | # with or without modifications, as long as this notice is preserved. |
@@ -37,6 +37,7 @@ POST_INSTALL = : | |||
37 | NORMAL_UNINSTALL = : | 37 | NORMAL_UNINSTALL = : |
38 | PRE_UNINSTALL = : | 38 | PRE_UNINSTALL = : |
39 | POST_UNINSTALL = : | 39 | POST_UNINSTALL = : |
40 | build_triplet = @build@ | ||
40 | host_triplet = @host@ | 41 | host_triplet = @host@ |
41 | DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \ | 42 | DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \ |
42 | $(am__noinst_HEADERS_DIST) $(srcdir)/Makefile.am \ | 43 | $(am__noinst_HEADERS_DIST) $(srcdir)/Makefile.am \ |
@@ -50,9 +51,15 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |||
50 | $(ACLOCAL_M4) | 51 | $(ACLOCAL_M4) |
51 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | 52 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
52 | configure.lineno configure.status.lineno | 53 | configure.lineno configure.status.lineno |
53 | mkinstalldirs = $(mkdir_p) | 54 | mkinstalldirs = $(install_sh) -d |
54 | CONFIG_HEADER = config.h | 55 | CONFIG_HEADER = config.h |
55 | CONFIG_CLEAN_FILES = | 56 | CONFIG_CLEAN_FILES = |
57 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
58 | am__vpath_adj = case $$p in \ | ||
59 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
60 | *) f=$$p;; \ | ||
61 | esac; | ||
62 | am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | ||
56 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" | 63 | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" |
57 | libLTLIBRARIES_INSTALL = $(INSTALL) | 64 | libLTLIBRARIES_INSTALL = $(INSTALL) |
58 | LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) | 65 | LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) |
@@ -60,19 +67,21 @@ am__DEPENDENCIES_1 = | |||
60 | libltdl_la_DEPENDENCIES = $(am__DEPENDENCIES_1) | 67 | libltdl_la_DEPENDENCIES = $(am__DEPENDENCIES_1) |
61 | am_libltdl_la_OBJECTS = ltdl.lo | 68 | am_libltdl_la_OBJECTS = ltdl.lo |
62 | libltdl_la_OBJECTS = $(am_libltdl_la_OBJECTS) | 69 | libltdl_la_OBJECTS = $(am_libltdl_la_OBJECTS) |
70 | @INSTALL_LTDL_TRUE@am_libltdl_la_rpath = -rpath $(libdir) | ||
63 | libltdlc_la_DEPENDENCIES = $(am__DEPENDENCIES_1) | 71 | libltdlc_la_DEPENDENCIES = $(am__DEPENDENCIES_1) |
64 | am_libltdlc_la_OBJECTS = ltdl.lo | 72 | am_libltdlc_la_OBJECTS = ltdl.lo |
65 | libltdlc_la_OBJECTS = $(am_libltdlc_la_OBJECTS) | 73 | libltdlc_la_OBJECTS = $(am_libltdlc_la_OBJECTS) |
74 | @CONVENIENCE_LTDL_TRUE@am_libltdlc_la_rpath = | ||
66 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I. | 75 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I. |
67 | depcomp = | 76 | depcomp = |
68 | am__depfiles_maybe = | 77 | am__depfiles_maybe = |
69 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ | 78 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
70 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | 79 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
71 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \ | 80 | LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ |
72 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ | 81 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ |
73 | $(AM_CFLAGS) $(CFLAGS) | 82 | $(AM_CFLAGS) $(CFLAGS) |
74 | CCLD = $(CC) | 83 | CCLD = $(CC) |
75 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | 84 | LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
76 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ | 85 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
77 | SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES) | 86 | SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES) |
78 | DIST_SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES) | 87 | DIST_SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES) |
@@ -174,6 +183,8 @@ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ | |||
174 | am__include = @am__include@ | 183 | am__include = @am__include@ |
175 | am__leading_dot = @am__leading_dot@ | 184 | am__leading_dot = @am__leading_dot@ |
176 | am__quote = @am__quote@ | 185 | am__quote = @am__quote@ |
186 | am__tar = @am__tar@ | ||
187 | am__untar = @am__untar@ | ||
177 | bindir = @bindir@ | 188 | bindir = @bindir@ |
178 | build = @build@ | 189 | build = @build@ |
179 | build_alias = @build_alias@ | 190 | build_alias = @build_alias@ |
@@ -273,7 +284,7 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |||
273 | test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" | 284 | test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" |
274 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | 285 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
275 | if test -f $$p; then \ | 286 | if test -f $$p; then \ |
276 | f="`echo $$p | sed -e 's|^.*/||'`"; \ | 287 | f=$(am__strip_dir) \ |
277 | echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ | 288 | echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ |
278 | $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ | 289 | $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ |
279 | else :; fi; \ | 290 | else :; fi; \ |
@@ -281,8 +292,8 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) | |||
281 | 292 | ||
282 | uninstall-libLTLIBRARIES: | 293 | uninstall-libLTLIBRARIES: |
283 | @$(NORMAL_UNINSTALL) | 294 | @$(NORMAL_UNINSTALL) |
284 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | 295 | @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
285 | p="`echo $$p | sed -e 's|^.*/||'`"; \ | 296 | p=$(am__strip_dir) \ |
286 | echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ | 297 | echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ |
287 | $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ | 298 | $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ |
288 | done | 299 | done |
@@ -305,9 +316,9 @@ clean-noinstLTLIBRARIES: | |||
305 | rm -f "$${dir}/so_locations"; \ | 316 | rm -f "$${dir}/so_locations"; \ |
306 | done | 317 | done |
307 | libltdl.la: $(libltdl_la_OBJECTS) $(libltdl_la_DEPENDENCIES) | 318 | libltdl.la: $(libltdl_la_OBJECTS) $(libltdl_la_DEPENDENCIES) |
308 | $(LINK) -rpath $(libdir) $(libltdl_la_LDFLAGS) $(libltdl_la_OBJECTS) $(libltdl_la_LIBADD) $(LIBS) | 319 | $(LINK) $(am_libltdl_la_rpath) $(libltdl_la_LDFLAGS) $(libltdl_la_OBJECTS) $(libltdl_la_LIBADD) $(LIBS) |
309 | libltdlc.la: $(libltdlc_la_OBJECTS) $(libltdlc_la_DEPENDENCIES) | 320 | libltdlc.la: $(libltdlc_la_OBJECTS) $(libltdlc_la_DEPENDENCIES) |
310 | $(LINK) $(libltdlc_la_LDFLAGS) $(libltdlc_la_OBJECTS) $(libltdlc_la_LIBADD) $(LIBS) | 321 | $(LINK) $(am_libltdlc_la_rpath) $(libltdlc_la_LDFLAGS) $(libltdlc_la_OBJECTS) $(libltdlc_la_LIBADD) $(LIBS) |
311 | 322 | ||
312 | mostlyclean-compile: | 323 | mostlyclean-compile: |
313 | -rm -f *.$(OBJEXT) | 324 | -rm -f *.$(OBJEXT) |
@@ -338,7 +349,7 @@ install-includeHEADERS: $(include_HEADERS) | |||
338 | test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" | 349 | test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" |
339 | @list='$(include_HEADERS)'; for p in $$list; do \ | 350 | @list='$(include_HEADERS)'; for p in $$list; do \ |
340 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 351 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
341 | f="`echo $$p | sed -e 's|^.*/||'`"; \ | 352 | f=$(am__strip_dir) \ |
342 | echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ | 353 | echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ |
343 | $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ | 354 | $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ |
344 | done | 355 | done |
@@ -346,7 +357,7 @@ install-includeHEADERS: $(include_HEADERS) | |||
346 | uninstall-includeHEADERS: | 357 | uninstall-includeHEADERS: |
347 | @$(NORMAL_UNINSTALL) | 358 | @$(NORMAL_UNINSTALL) |
348 | @list='$(include_HEADERS)'; for p in $$list; do \ | 359 | @list='$(include_HEADERS)'; for p in $$list; do \ |
349 | f="`echo $$p | sed -e 's|^.*/||'`"; \ | 360 | f=$(am__strip_dir) \ |
350 | echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ | 361 | echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ |
351 | rm -f "$(DESTDIR)$(includedir)/$$f"; \ | 362 | rm -f "$(DESTDIR)$(includedir)/$$f"; \ |
352 | done | 363 | done |
@@ -434,15 +445,15 @@ distdir: $(DISTFILES) | |||
434 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ | 445 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
435 | || chmod -R a+r $(distdir) | 446 | || chmod -R a+r $(distdir) |
436 | dist-gzip: distdir | 447 | dist-gzip: distdir |
437 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 448 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
438 | $(am__remove_distdir) | 449 | $(am__remove_distdir) |
439 | 450 | ||
440 | dist-bzip2: distdir | 451 | dist-bzip2: distdir |
441 | $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 | 452 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 |
442 | $(am__remove_distdir) | 453 | $(am__remove_distdir) |
443 | 454 | ||
444 | dist-tarZ: distdir | 455 | dist-tarZ: distdir |
445 | $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z | 456 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
446 | $(am__remove_distdir) | 457 | $(am__remove_distdir) |
447 | 458 | ||
448 | dist-shar: distdir | 459 | dist-shar: distdir |
@@ -455,7 +466,7 @@ dist-zip: distdir | |||
455 | $(am__remove_distdir) | 466 | $(am__remove_distdir) |
456 | 467 | ||
457 | dist dist-all: distdir | 468 | dist dist-all: distdir |
458 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | 469 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
459 | $(am__remove_distdir) | 470 | $(am__remove_distdir) |
460 | 471 | ||
461 | # This target untars the dist file and tries a VPATH configuration. Then | 472 | # This target untars the dist file and tries a VPATH configuration. Then |
@@ -464,11 +475,11 @@ dist dist-all: distdir | |||
464 | distcheck: dist | 475 | distcheck: dist |
465 | case '$(DIST_ARCHIVES)' in \ | 476 | case '$(DIST_ARCHIVES)' in \ |
466 | *.tar.gz*) \ | 477 | *.tar.gz*) \ |
467 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ | 478 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ |
468 | *.tar.bz2*) \ | 479 | *.tar.bz2*) \ |
469 | bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ | 480 | bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ |
470 | *.tar.Z*) \ | 481 | *.tar.Z*) \ |
471 | uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ | 482 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
472 | *.shar.gz*) \ | 483 | *.shar.gz*) \ |
473 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ | 484 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ |
474 | *.zip*) \ | 485 | *.zip*) \ |
@@ -552,7 +563,7 @@ clean-generic: | |||
552 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | 563 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
553 | 564 | ||
554 | distclean-generic: | 565 | distclean-generic: |
555 | -rm -f $(CONFIG_CLEAN_FILES) | 566 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
556 | 567 | ||
557 | maintainer-clean-generic: | 568 | maintainer-clean-generic: |
558 | @echo "This command is intended for maintainers to use" | 569 | @echo "This command is intended for maintainers to use" |
diff --git a/libltdl/aclocal.m4 b/libltdl/aclocal.m4 index f83c9b74..6ba55da5 100644 --- a/libltdl/aclocal.m4 +++ b/libltdl/aclocal.m4 | |||
@@ -1,7 +1,7 @@ | |||
1 | # generated automatically by aclocal 1.8.5 -*- Autoconf -*- | 1 | # generated automatically by aclocal 1.9.5 -*- Autoconf -*- |
2 | 2 | ||
3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
4 | # Free Software Foundation, Inc. | 4 | # 2005 Free Software Foundation, Inc. |
5 | # This file is free software; the Free Software Foundation | 5 | # This file is free software; the Free Software Foundation |
6 | # gives unlimited permission to copy and/or distribute it, | 6 | # gives unlimited permission to copy and/or distribute it, |
7 | # with or without modifications, as long as this notice is preserved. | 7 | # with or without modifications, as long as this notice is preserved. |
@@ -6338,55 +6338,32 @@ AC_CHECK_TYPES([error_t], | |||
6338 | AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) | 6338 | AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next argz_stringify]) |
6339 | ])# AC_LTDL_FUNC_ARGZ | 6339 | ])# AC_LTDL_FUNC_ARGZ |
6340 | 6340 | ||
6341 | # -*- Autoconf -*- | 6341 | # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. |
6342 | # Copyright (C) 2002, 2003 Free Software Foundation, Inc. | 6342 | # |
6343 | # Generated from amversion.in; do not edit by hand. | 6343 | # This file is free software; the Free Software Foundation |
6344 | 6344 | # gives unlimited permission to copy and/or distribute it, | |
6345 | # This program is free software; you can redistribute it and/or modify | 6345 | # with or without modifications, as long as this notice is preserved. |
6346 | # it under the terms of the GNU General Public License as published by | ||
6347 | # the Free Software Foundation; either version 2, or (at your option) | ||
6348 | # any later version. | ||
6349 | |||
6350 | # This program is distributed in the hope that it will be useful, | ||
6351 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6352 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6353 | # GNU General Public License for more details. | ||
6354 | |||
6355 | # You should have received a copy of the GNU General Public License | ||
6356 | # along with this program; if not, write to the Free Software | ||
6357 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6358 | 6346 | ||
6359 | # AM_AUTOMAKE_VERSION(VERSION) | 6347 | # AM_AUTOMAKE_VERSION(VERSION) |
6360 | # ---------------------------- | 6348 | # ---------------------------- |
6361 | # Automake X.Y traces this macro to ensure aclocal.m4 has been | 6349 | # Automake X.Y traces this macro to ensure aclocal.m4 has been |
6362 | # generated from the m4 files accompanying Automake X.Y. | 6350 | # generated from the m4 files accompanying Automake X.Y. |
6363 | AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) | 6351 | AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) |
6364 | 6352 | ||
6365 | # AM_SET_CURRENT_AUTOMAKE_VERSION | 6353 | # AM_SET_CURRENT_AUTOMAKE_VERSION |
6366 | # ------------------------------- | 6354 | # ------------------------------- |
6367 | # Call AM_AUTOMAKE_VERSION so it can be traced. | 6355 | # Call AM_AUTOMAKE_VERSION so it can be traced. |
6368 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. | 6356 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
6369 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 6357 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
6370 | [AM_AUTOMAKE_VERSION([1.8.5])]) | 6358 | [AM_AUTOMAKE_VERSION([1.9.5])]) |
6371 | 6359 | ||
6372 | # AM_AUX_DIR_EXPAND | 6360 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
6373 | |||
6374 | # Copyright (C) 2001, 2003 Free Software Foundation, Inc. | ||
6375 | |||
6376 | # This program is free software; you can redistribute it and/or modify | ||
6377 | # it under the terms of the GNU General Public License as published by | ||
6378 | # the Free Software Foundation; either version 2, or (at your option) | ||
6379 | # any later version. | ||
6380 | 6361 | ||
6381 | # This program is distributed in the hope that it will be useful, | 6362 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
6382 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 6363 | # |
6383 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 6364 | # This file is free software; the Free Software Foundation |
6384 | # GNU General Public License for more details. | 6365 | # gives unlimited permission to copy and/or distribute it, |
6385 | 6366 | # with or without modifications, as long as this notice is preserved. | |
6386 | # You should have received a copy of the GNU General Public License | ||
6387 | # along with this program; if not, write to the Free Software | ||
6388 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6389 | # 02111-1307, USA. | ||
6390 | 6367 | ||
6391 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | 6368 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
6392 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to | 6369 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
@@ -6433,26 +6410,16 @@ AC_PREREQ([2.50])dnl | |||
6433 | am_aux_dir=`cd $ac_aux_dir && pwd` | 6410 | am_aux_dir=`cd $ac_aux_dir && pwd` |
6434 | ]) | 6411 | ]) |
6435 | 6412 | ||
6436 | # AM_CONDITIONAL -*- Autoconf -*- | 6413 | # AM_CONDITIONAL -*- Autoconf -*- |
6437 | 6414 | ||
6438 | # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. | 6415 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 |
6439 | 6416 | # Free Software Foundation, Inc. | |
6440 | # This program is free software; you can redistribute it and/or modify | 6417 | # |
6441 | # it under the terms of the GNU General Public License as published by | 6418 | # This file is free software; the Free Software Foundation |
6442 | # the Free Software Foundation; either version 2, or (at your option) | 6419 | # gives unlimited permission to copy and/or distribute it, |
6443 | # any later version. | 6420 | # with or without modifications, as long as this notice is preserved. |
6444 | |||
6445 | # This program is distributed in the hope that it will be useful, | ||
6446 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6447 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6448 | # GNU General Public License for more details. | ||
6449 | |||
6450 | # You should have received a copy of the GNU General Public License | ||
6451 | # along with this program; if not, write to the Free Software | ||
6452 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6453 | # 02111-1307, USA. | ||
6454 | 6421 | ||
6455 | # serial 6 | 6422 | # serial 7 |
6456 | 6423 | ||
6457 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) | 6424 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
6458 | # ------------------------------------- | 6425 | # ------------------------------------- |
@@ -6472,30 +6439,19 @@ else | |||
6472 | fi | 6439 | fi |
6473 | AC_CONFIG_COMMANDS_PRE( | 6440 | AC_CONFIG_COMMANDS_PRE( |
6474 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | 6441 | [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
6475 | AC_MSG_ERROR([conditional "$1" was never defined. | 6442 | AC_MSG_ERROR([[conditional "$1" was never defined. |
6476 | Usually this means the macro was only invoked conditionally.]) | 6443 | Usually this means the macro was only invoked conditionally.]]) |
6477 | fi])]) | 6444 | fi])]) |
6478 | 6445 | ||
6479 | # serial 7 -*- Autoconf -*- | ||
6480 | 6446 | ||
6481 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 | 6447 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
6482 | # Free Software Foundation, Inc. | 6448 | # Free Software Foundation, Inc. |
6449 | # | ||
6450 | # This file is free software; the Free Software Foundation | ||
6451 | # gives unlimited permission to copy and/or distribute it, | ||
6452 | # with or without modifications, as long as this notice is preserved. | ||
6483 | 6453 | ||
6484 | # This program is free software; you can redistribute it and/or modify | 6454 | # serial 8 |
6485 | # it under the terms of the GNU General Public License as published by | ||
6486 | # the Free Software Foundation; either version 2, or (at your option) | ||
6487 | # any later version. | ||
6488 | |||
6489 | # This program is distributed in the hope that it will be useful, | ||
6490 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6491 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6492 | # GNU General Public License for more details. | ||
6493 | |||
6494 | # You should have received a copy of the GNU General Public License | ||
6495 | # along with this program; if not, write to the Free Software | ||
6496 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6497 | # 02111-1307, USA. | ||
6498 | |||
6499 | 6455 | ||
6500 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be | 6456 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
6501 | # written in clear, in which case automake, when reading aclocal.m4, | 6457 | # written in clear, in which case automake, when reading aclocal.m4, |
@@ -6504,7 +6460,6 @@ fi])]) | |||
6504 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | 6460 | # CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
6505 | 6461 | ||
6506 | 6462 | ||
6507 | |||
6508 | # _AM_DEPENDENCIES(NAME) | 6463 | # _AM_DEPENDENCIES(NAME) |
6509 | # ---------------------- | 6464 | # ---------------------- |
6510 | # See how the compiler implements dependency checking. | 6465 | # See how the compiler implements dependency checking. |
@@ -6644,26 +6599,16 @@ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | |||
6644 | AC_SUBST([AMDEPBACKSLASH]) | 6599 | AC_SUBST([AMDEPBACKSLASH]) |
6645 | ]) | 6600 | ]) |
6646 | 6601 | ||
6647 | # Generate code to set up dependency tracking. -*- Autoconf -*- | 6602 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
6648 | |||
6649 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | ||
6650 | |||
6651 | # This program is free software; you can redistribute it and/or modify | ||
6652 | # it under the terms of the GNU General Public License as published by | ||
6653 | # the Free Software Foundation; either version 2, or (at your option) | ||
6654 | # any later version. | ||
6655 | |||
6656 | # This program is distributed in the hope that it will be useful, | ||
6657 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6658 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6659 | # GNU General Public License for more details. | ||
6660 | 6603 | ||
6661 | # You should have received a copy of the GNU General Public License | 6604 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
6662 | # along with this program; if not, write to the Free Software | 6605 | # Free Software Foundation, Inc. |
6663 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 6606 | # |
6664 | # 02111-1307, USA. | 6607 | # This file is free software; the Free Software Foundation |
6608 | # gives unlimited permission to copy and/or distribute it, | ||
6609 | # with or without modifications, as long as this notice is preserved. | ||
6665 | 6610 | ||
6666 | #serial 2 | 6611 | #serial 3 |
6667 | 6612 | ||
6668 | # _AM_OUTPUT_DEPENDENCY_COMMANDS | 6613 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
6669 | # ------------------------------ | 6614 | # ------------------------------ |
@@ -6682,27 +6627,21 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | |||
6682 | else | 6627 | else |
6683 | continue | 6628 | continue |
6684 | fi | 6629 | fi |
6685 | grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue | 6630 | # Extract the definition of DEPDIR, am__include, and am__quote |
6686 | # Extract the definition of DEP_FILES from the Makefile without | 6631 | # from the Makefile without running `make'. |
6687 | # running `make'. | ||
6688 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 6632 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
6689 | test -z "$DEPDIR" && continue | 6633 | test -z "$DEPDIR" && continue |
6634 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
6635 | test -z "am__include" && continue | ||
6636 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
6690 | # When using ansi2knr, U may be empty or an underscore; expand it | 6637 | # When using ansi2knr, U may be empty or an underscore; expand it |
6691 | U=`sed -n 's/^U = //p' < "$mf"` | 6638 | U=`sed -n 's/^U = //p' < "$mf"` |
6692 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 6639 | # Find all dependency output files, they are included files with |
6693 | # We invoke sed twice because it is the simplest approach to | 6640 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
6694 | # changing $(DEPDIR) to its actual value in the expansion. | 6641 | # simplest approach to changing $(DEPDIR) to its actual value in the |
6695 | for file in `sed -n ' | 6642 | # expansion. |
6696 | /^DEP_FILES = .*\\\\$/ { | 6643 | for file in `sed -n " |
6697 | s/^DEP_FILES = // | 6644 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
6698 | :loop | ||
6699 | s/\\\\$// | ||
6700 | p | ||
6701 | n | ||
6702 | /\\\\$/ b loop | ||
6703 | p | ||
6704 | } | ||
6705 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | ||
6706 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 6645 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
6707 | # Make sure the directory exists. | 6646 | # Make sure the directory exists. |
6708 | test -f "$dirpart/$file" && continue | 6647 | test -f "$dirpart/$file" && continue |
@@ -6728,54 +6667,31 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | |||
6728 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | 6667 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
6729 | ]) | 6668 | ]) |
6730 | 6669 | ||
6731 | # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*- | 6670 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 |
6732 | 6671 | # Free Software Foundation, Inc. | |
6733 | # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. | 6672 | # |
6734 | 6673 | # This file is free software; the Free Software Foundation | |
6735 | # This program is free software; you can redistribute it and/or modify | 6674 | # gives unlimited permission to copy and/or distribute it, |
6736 | # it under the terms of the GNU General Public License as published by | 6675 | # with or without modifications, as long as this notice is preserved. |
6737 | # the Free Software Foundation; either version 2, or (at your option) | ||
6738 | # any later version. | ||
6739 | |||
6740 | # This program is distributed in the hope that it will be useful, | ||
6741 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6742 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6743 | # GNU General Public License for more details. | ||
6744 | |||
6745 | # You should have received a copy of the GNU General Public License | ||
6746 | # along with this program; if not, write to the Free Software | ||
6747 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6748 | # 02111-1307, USA. | ||
6749 | 6676 | ||
6750 | # serial 7 | 6677 | # serial 8 |
6751 | 6678 | ||
6752 | # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | 6679 | # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
6753 | AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | 6680 | AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
6754 | 6681 | ||
6755 | # Do all the work for Automake. -*- Autoconf -*- | 6682 | # Do all the work for Automake. -*- Autoconf -*- |
6756 | 6683 | ||
6757 | # This macro actually does too much some checks are only needed if | 6684 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
6758 | # your package does certain things. But this isn't really a big deal. | ||
6759 | |||
6760 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 | ||
6761 | # Free Software Foundation, Inc. | 6685 | # Free Software Foundation, Inc. |
6686 | # | ||
6687 | # This file is free software; the Free Software Foundation | ||
6688 | # gives unlimited permission to copy and/or distribute it, | ||
6689 | # with or without modifications, as long as this notice is preserved. | ||
6762 | 6690 | ||
6763 | # This program is free software; you can redistribute it and/or modify | 6691 | # serial 12 |
6764 | # it under the terms of the GNU General Public License as published by | ||
6765 | # the Free Software Foundation; either version 2, or (at your option) | ||
6766 | # any later version. | ||
6767 | |||
6768 | # This program is distributed in the hope that it will be useful, | ||
6769 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6770 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6771 | # GNU General Public License for more details. | ||
6772 | |||
6773 | # You should have received a copy of the GNU General Public License | ||
6774 | # along with this program; if not, write to the Free Software | ||
6775 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6776 | # 02111-1307, USA. | ||
6777 | 6692 | ||
6778 | # serial 11 | 6693 | # This macro actually does too much. Some checks are only needed if |
6694 | # your package does certain things. But this isn't really a big deal. | ||
6779 | 6695 | ||
6780 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | 6696 | # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
6781 | # AM_INIT_AUTOMAKE([OPTIONS]) | 6697 | # AM_INIT_AUTOMAKE([OPTIONS]) |
@@ -6833,7 +6749,6 @@ AM_MISSING_PROG(AUTOCONF, autoconf) | |||
6833 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) | 6749 | AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
6834 | AM_MISSING_PROG(AUTOHEADER, autoheader) | 6750 | AM_MISSING_PROG(AUTOHEADER, autoheader) |
6835 | AM_MISSING_PROG(MAKEINFO, makeinfo) | 6751 | AM_MISSING_PROG(MAKEINFO, makeinfo) |
6836 | AM_MISSING_PROG(AMTAR, tar) | ||
6837 | AM_PROG_INSTALL_SH | 6752 | AM_PROG_INSTALL_SH |
6838 | AM_PROG_INSTALL_STRIP | 6753 | AM_PROG_INSTALL_STRIP |
6839 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl | 6754 | AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
@@ -6842,7 +6757,9 @@ AC_REQUIRE([AM_PROG_MKDIR_P])dnl | |||
6842 | AC_REQUIRE([AC_PROG_AWK])dnl | 6757 | AC_REQUIRE([AC_PROG_AWK])dnl |
6843 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl | 6758 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
6844 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl | 6759 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
6845 | 6760 | _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | |
6761 | [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | ||
6762 | [_AM_PROG_TAR([v7])])]) | ||
6846 | _AM_IF_OPTION([no-dependencies],, | 6763 | _AM_IF_OPTION([no-dependencies],, |
6847 | [AC_PROVIDE_IFELSE([AC_PROG_CC], | 6764 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
6848 | [_AM_DEPENDENCIES(CC)], | 6765 | [_AM_DEPENDENCIES(CC)], |
@@ -6876,51 +6793,27 @@ for _am_header in $config_headers :; do | |||
6876 | done | 6793 | done |
6877 | echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) | 6794 | echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
6878 | 6795 | ||
6796 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | ||
6797 | # | ||
6798 | # This file is free software; the Free Software Foundation | ||
6799 | # gives unlimited permission to copy and/or distribute it, | ||
6800 | # with or without modifications, as long as this notice is preserved. | ||
6801 | |||
6879 | # AM_PROG_INSTALL_SH | 6802 | # AM_PROG_INSTALL_SH |
6880 | # ------------------ | 6803 | # ------------------ |
6881 | # Define $install_sh. | 6804 | # Define $install_sh. |
6882 | |||
6883 | # Copyright (C) 2001, 2003 Free Software Foundation, Inc. | ||
6884 | |||
6885 | # This program is free software; you can redistribute it and/or modify | ||
6886 | # it under the terms of the GNU General Public License as published by | ||
6887 | # the Free Software Foundation; either version 2, or (at your option) | ||
6888 | # any later version. | ||
6889 | |||
6890 | # This program is distributed in the hope that it will be useful, | ||
6891 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6892 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6893 | # GNU General Public License for more details. | ||
6894 | |||
6895 | # You should have received a copy of the GNU General Public License | ||
6896 | # along with this program; if not, write to the Free Software | ||
6897 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6898 | # 02111-1307, USA. | ||
6899 | |||
6900 | AC_DEFUN([AM_PROG_INSTALL_SH], | 6805 | AC_DEFUN([AM_PROG_INSTALL_SH], |
6901 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 6806 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
6902 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 6807 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
6903 | AC_SUBST(install_sh)]) | 6808 | AC_SUBST(install_sh)]) |
6904 | 6809 | ||
6905 | # -*- Autoconf -*- | 6810 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
6906 | # Copyright (C) 2003 Free Software Foundation, Inc. | 6811 | # |
6907 | 6812 | # This file is free software; the Free Software Foundation | |
6908 | # This program is free software; you can redistribute it and/or modify | 6813 | # gives unlimited permission to copy and/or distribute it, |
6909 | # it under the terms of the GNU General Public License as published by | 6814 | # with or without modifications, as long as this notice is preserved. |
6910 | # the Free Software Foundation; either version 2, or (at your option) | ||
6911 | # any later version. | ||
6912 | |||
6913 | # This program is distributed in the hope that it will be useful, | ||
6914 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6915 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6916 | # GNU General Public License for more details. | ||
6917 | |||
6918 | # You should have received a copy of the GNU General Public License | ||
6919 | # along with this program; if not, write to the Free Software | ||
6920 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6921 | # 02111-1307, USA. | ||
6922 | 6815 | ||
6923 | # serial 1 | 6816 | # serial 2 |
6924 | 6817 | ||
6925 | # Check whether the underlying file-system supports filenames | 6818 | # Check whether the underlying file-system supports filenames |
6926 | # with a leading dot. For instance MS-DOS doesn't. | 6819 | # with a leading dot. For instance MS-DOS doesn't. |
@@ -6935,28 +6828,17 @@ fi | |||
6935 | rmdir .tst 2>/dev/null | 6828 | rmdir .tst 2>/dev/null |
6936 | AC_SUBST([am__leading_dot])]) | 6829 | AC_SUBST([am__leading_dot])]) |
6937 | 6830 | ||
6938 | # Add --enable-maintainer-mode option to configure. | 6831 | # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
6939 | # From Jim Meyering | 6832 | # From Jim Meyering |
6940 | 6833 | ||
6941 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 | 6834 | # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 |
6942 | # Free Software Foundation, Inc. | 6835 | # Free Software Foundation, Inc. |
6836 | # | ||
6837 | # This file is free software; the Free Software Foundation | ||
6838 | # gives unlimited permission to copy and/or distribute it, | ||
6839 | # with or without modifications, as long as this notice is preserved. | ||
6943 | 6840 | ||
6944 | # This program is free software; you can redistribute it and/or modify | 6841 | # serial 4 |
6945 | # it under the terms of the GNU General Public License as published by | ||
6946 | # the Free Software Foundation; either version 2, or (at your option) | ||
6947 | # any later version. | ||
6948 | |||
6949 | # This program is distributed in the hope that it will be useful, | ||
6950 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6951 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6952 | # GNU General Public License for more details. | ||
6953 | |||
6954 | # You should have received a copy of the GNU General Public License | ||
6955 | # along with this program; if not, write to the Free Software | ||
6956 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6957 | # 02111-1307, USA. | ||
6958 | |||
6959 | # serial 3 | ||
6960 | 6842 | ||
6961 | AC_DEFUN([AM_MAINTAINER_MODE], | 6843 | AC_DEFUN([AM_MAINTAINER_MODE], |
6962 | [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) | 6844 | [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
@@ -6975,26 +6857,15 @@ AC_DEFUN([AM_MAINTAINER_MODE], | |||
6975 | 6857 | ||
6976 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) | 6858 | AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
6977 | 6859 | ||
6978 | # Check to see how 'make' treats includes. -*- Autoconf -*- | 6860 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
6979 | 6861 | ||
6980 | # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. | 6862 | # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. |
6981 | 6863 | # | |
6982 | # This program is free software; you can redistribute it and/or modify | 6864 | # This file is free software; the Free Software Foundation |
6983 | # it under the terms of the GNU General Public License as published by | 6865 | # gives unlimited permission to copy and/or distribute it, |
6984 | # the Free Software Foundation; either version 2, or (at your option) | 6866 | # with or without modifications, as long as this notice is preserved. |
6985 | # any later version. | ||
6986 | |||
6987 | # This program is distributed in the hope that it will be useful, | ||
6988 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
6989 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
6990 | # GNU General Public License for more details. | ||
6991 | |||
6992 | # You should have received a copy of the GNU General Public License | ||
6993 | # along with this program; if not, write to the Free Software | ||
6994 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
6995 | # 02111-1307, USA. | ||
6996 | 6867 | ||
6997 | # serial 2 | 6868 | # serial 3 |
6998 | 6869 | ||
6999 | # AM_MAKE_INCLUDE() | 6870 | # AM_MAKE_INCLUDE() |
7000 | # ----------------- | 6871 | # ----------------- |
@@ -7038,27 +6909,16 @@ AC_MSG_RESULT([$_am_result]) | |||
7038 | rm -f confinc confmf | 6909 | rm -f confinc confmf |
7039 | ]) | 6910 | ]) |
7040 | 6911 | ||
7041 | # -*- Autoconf -*- | 6912 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
7042 | |||
7043 | |||
7044 | # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. | ||
7045 | 6913 | ||
7046 | # This program is free software; you can redistribute it and/or modify | 6914 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 |
7047 | # it under the terms of the GNU General Public License as published by | 6915 | # Free Software Foundation, Inc. |
7048 | # the Free Software Foundation; either version 2, or (at your option) | 6916 | # |
7049 | # any later version. | 6917 | # This file is free software; the Free Software Foundation |
7050 | 6918 | # gives unlimited permission to copy and/or distribute it, | |
7051 | # This program is distributed in the hope that it will be useful, | 6919 | # with or without modifications, as long as this notice is preserved. |
7052 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
7053 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
7054 | # GNU General Public License for more details. | ||
7055 | |||
7056 | # You should have received a copy of the GNU General Public License | ||
7057 | # along with this program; if not, write to the Free Software | ||
7058 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
7059 | # 02111-1307, USA. | ||
7060 | 6920 | ||
7061 | # serial 3 | 6921 | # serial 4 |
7062 | 6922 | ||
7063 | # AM_MISSING_PROG(NAME, PROGRAM) | 6923 | # AM_MISSING_PROG(NAME, PROGRAM) |
7064 | # ------------------------------ | 6924 | # ------------------------------ |
@@ -7084,27 +6944,16 @@ else | |||
7084 | fi | 6944 | fi |
7085 | ]) | 6945 | ]) |
7086 | 6946 | ||
6947 | # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | ||
6948 | # | ||
6949 | # This file is free software; the Free Software Foundation | ||
6950 | # gives unlimited permission to copy and/or distribute it, | ||
6951 | # with or without modifications, as long as this notice is preserved. | ||
6952 | |||
7087 | # AM_PROG_MKDIR_P | 6953 | # AM_PROG_MKDIR_P |
7088 | # --------------- | 6954 | # --------------- |
7089 | # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. | 6955 | # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. |
7090 | 6956 | # | |
7091 | # Copyright (C) 2003, 2004 Free Software Foundation, Inc. | ||
7092 | |||
7093 | # This program is free software; you can redistribute it and/or modify | ||
7094 | # it under the terms of the GNU General Public License as published by | ||
7095 | # the Free Software Foundation; either version 2, or (at your option) | ||
7096 | # any later version. | ||
7097 | |||
7098 | # This program is distributed in the hope that it will be useful, | ||
7099 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
7100 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
7101 | # GNU General Public License for more details. | ||
7102 | |||
7103 | # You should have received a copy of the GNU General Public License | ||
7104 | # along with this program; if not, write to the Free Software | ||
7105 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
7106 | # 02111-1307, USA. | ||
7107 | |||
7108 | # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories | 6957 | # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories |
7109 | # created by `make install' are always world readable, even if the | 6958 | # created by `make install' are always world readable, even if the |
7110 | # installer happens to have an overly restrictive umask (e.g. 077). | 6959 | # installer happens to have an overly restrictive umask (e.g. 077). |
@@ -7125,13 +6974,21 @@ fi | |||
7125 | # this.) | 6974 | # this.) |
7126 | AC_DEFUN([AM_PROG_MKDIR_P], | 6975 | AC_DEFUN([AM_PROG_MKDIR_P], |
7127 | [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 6976 | [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
7128 | # Keeping the `.' argument allows $(mkdir_p) to be used without | 6977 | # We used to keeping the `.' as first argument, in order to |
7129 | # argument. Indeed, we sometimes output rules like | 6978 | # allow $(mkdir_p) to be used without argument. As in |
7130 | # $(mkdir_p) $(somedir) | 6979 | # $(mkdir_p) $(somedir) |
7131 | # where $(somedir) is conditionally defined. | 6980 | # where $(somedir) is conditionally defined. However this is wrong |
7132 | # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 6981 | # for two reasons: |
7133 | # expensive solution, as it forces Make to start a sub-shell.) | 6982 | # 1. if the package is installed by a user who cannot write `.' |
7134 | mkdir_p='mkdir -p -- .' | 6983 | # make install will fail, |
6984 | # 2. the above comment should most certainly read | ||
6985 | # $(mkdir_p) $(DESTDIR)$(somedir) | ||
6986 | # so it does not work when $(somedir) is undefined and | ||
6987 | # $(DESTDIR) is not. | ||
6988 | # To support the latter case, we have to write | ||
6989 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | ||
6990 | # so the `.' trick is pointless. | ||
6991 | mkdir_p='mkdir -p --' | ||
7135 | else | 6992 | else |
7136 | # On NextStep and OpenStep, the `mkdir' command does not | 6993 | # On NextStep and OpenStep, the `mkdir' command does not |
7137 | # recognize any option. It will interpret all options as | 6994 | # recognize any option. It will interpret all options as |
@@ -7150,26 +7007,15 @@ else | |||
7150 | fi | 7007 | fi |
7151 | AC_SUBST([mkdir_p])]) | 7008 | AC_SUBST([mkdir_p])]) |
7152 | 7009 | ||
7153 | # Helper functions for option handling. -*- Autoconf -*- | 7010 | # Helper functions for option handling. -*- Autoconf -*- |
7154 | |||
7155 | # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. | ||
7156 | |||
7157 | # This program is free software; you can redistribute it and/or modify | ||
7158 | # it under the terms of the GNU General Public License as published by | ||
7159 | # the Free Software Foundation; either version 2, or (at your option) | ||
7160 | # any later version. | ||
7161 | |||
7162 | # This program is distributed in the hope that it will be useful, | ||
7163 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
7164 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
7165 | # GNU General Public License for more details. | ||
7166 | 7011 | ||
7167 | # You should have received a copy of the GNU General Public License | 7012 | # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. |
7168 | # along with this program; if not, write to the Free Software | 7013 | # |
7169 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 7014 | # This file is free software; the Free Software Foundation |
7170 | # 02111-1307, USA. | 7015 | # gives unlimited permission to copy and/or distribute it, |
7016 | # with or without modifications, as long as this notice is preserved. | ||
7171 | 7017 | ||
7172 | # serial 2 | 7018 | # serial 3 |
7173 | 7019 | ||
7174 | # _AM_MANGLE_OPTION(NAME) | 7020 | # _AM_MANGLE_OPTION(NAME) |
7175 | # ----------------------- | 7021 | # ----------------------- |
@@ -7194,28 +7040,16 @@ AC_DEFUN([_AM_SET_OPTIONS], | |||
7194 | AC_DEFUN([_AM_IF_OPTION], | 7040 | AC_DEFUN([_AM_IF_OPTION], |
7195 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | 7041 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
7196 | 7042 | ||
7197 | # | 7043 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
7198 | # Check to make sure that the build environment is sane. | ||
7199 | # | ||
7200 | |||
7201 | # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. | ||
7202 | |||
7203 | # This program is free software; you can redistribute it and/or modify | ||
7204 | # it under the terms of the GNU General Public License as published by | ||
7205 | # the Free Software Foundation; either version 2, or (at your option) | ||
7206 | # any later version. | ||
7207 | |||
7208 | # This program is distributed in the hope that it will be useful, | ||
7209 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
7210 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
7211 | # GNU General Public License for more details. | ||
7212 | 7044 | ||
7213 | # You should have received a copy of the GNU General Public License | 7045 | # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 |
7214 | # along with this program; if not, write to the Free Software | 7046 | # Free Software Foundation, Inc. |
7215 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 7047 | # |
7216 | # 02111-1307, USA. | 7048 | # This file is free software; the Free Software Foundation |
7049 | # gives unlimited permission to copy and/or distribute it, | ||
7050 | # with or without modifications, as long as this notice is preserved. | ||
7217 | 7051 | ||
7218 | # serial 3 | 7052 | # serial 4 |
7219 | 7053 | ||
7220 | # AM_SANITY_CHECK | 7054 | # AM_SANITY_CHECK |
7221 | # --------------- | 7055 | # --------------- |
@@ -7258,25 +7092,14 @@ Check your system clock]) | |||
7258 | fi | 7092 | fi |
7259 | AC_MSG_RESULT(yes)]) | 7093 | AC_MSG_RESULT(yes)]) |
7260 | 7094 | ||
7261 | # AM_PROG_INSTALL_STRIP | 7095 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
7262 | 7096 | # | |
7263 | # Copyright (C) 2001, 2003 Free Software Foundation, Inc. | 7097 | # This file is free software; the Free Software Foundation |
7264 | 7098 | # gives unlimited permission to copy and/or distribute it, | |
7265 | # This program is free software; you can redistribute it and/or modify | 7099 | # with or without modifications, as long as this notice is preserved. |
7266 | # it under the terms of the GNU General Public License as published by | ||
7267 | # the Free Software Foundation; either version 2, or (at your option) | ||
7268 | # any later version. | ||
7269 | |||
7270 | # This program is distributed in the hope that it will be useful, | ||
7271 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
7272 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
7273 | # GNU General Public License for more details. | ||
7274 | |||
7275 | # You should have received a copy of the GNU General Public License | ||
7276 | # along with this program; if not, write to the Free Software | ||
7277 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | ||
7278 | # 02111-1307, USA. | ||
7279 | 7100 | ||
7101 | # AM_PROG_INSTALL_STRIP | ||
7102 | # --------------------- | ||
7280 | # One issue with vendor `install' (even GNU) is that you can't | 7103 | # One issue with vendor `install' (even GNU) is that you can't |
7281 | # specify the program used to strip binaries. This is especially | 7104 | # specify the program used to strip binaries. This is especially |
7282 | # annoying in cross-compiling environments, where the build's strip | 7105 | # annoying in cross-compiling environments, where the build's strip |
@@ -7297,3 +7120,99 @@ fi | |||
7297 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | 7120 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
7298 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) | 7121 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
7299 | 7122 | ||
7123 | # Check how to create a tarball. -*- Autoconf -*- | ||
7124 | |||
7125 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | ||
7126 | # | ||
7127 | # This file is free software; the Free Software Foundation | ||
7128 | # gives unlimited permission to copy and/or distribute it, | ||
7129 | # with or without modifications, as long as this notice is preserved. | ||
7130 | |||
7131 | # serial 2 | ||
7132 | |||
7133 | # _AM_PROG_TAR(FORMAT) | ||
7134 | # -------------------- | ||
7135 | # Check how to create a tarball in format FORMAT. | ||
7136 | # FORMAT should be one of `v7', `ustar', or `pax'. | ||
7137 | # | ||
7138 | # Substitute a variable $(am__tar) that is a command | ||
7139 | # writing to stdout a FORMAT-tarball containing the directory | ||
7140 | # $tardir. | ||
7141 | # tardir=directory && $(am__tar) > result.tar | ||
7142 | # | ||
7143 | # Substitute a variable $(am__untar) that extract such | ||
7144 | # a tarball read from stdin. | ||
7145 | # $(am__untar) < result.tar | ||
7146 | AC_DEFUN([_AM_PROG_TAR], | ||
7147 | [# Always define AMTAR for backward compatibility. | ||
7148 | AM_MISSING_PROG([AMTAR], [tar]) | ||
7149 | m4_if([$1], [v7], | ||
7150 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | ||
7151 | [m4_case([$1], [ustar],, [pax],, | ||
7152 | [m4_fatal([Unknown tar format])]) | ||
7153 | AC_MSG_CHECKING([how to create a $1 tar archive]) | ||
7154 | # Loop over all known methods to create a tar archive until one works. | ||
7155 | _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | ||
7156 | _am_tools=${am_cv_prog_tar_$1-$_am_tools} | ||
7157 | # Do not fold the above two line into one, because Tru64 sh and | ||
7158 | # Solaris sh will not grok spaces in the rhs of `-'. | ||
7159 | for _am_tool in $_am_tools | ||
7160 | do | ||
7161 | case $_am_tool in | ||
7162 | gnutar) | ||
7163 | for _am_tar in tar gnutar gtar; | ||
7164 | do | ||
7165 | AM_RUN_LOG([$_am_tar --version]) && break | ||
7166 | done | ||
7167 | am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' | ||
7168 | am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' | ||
7169 | am__untar="$_am_tar -xf -" | ||
7170 | ;; | ||
7171 | plaintar) | ||
7172 | # Must skip GNU tar: if it does not support --format= it doesn't create | ||
7173 | # ustar tarball either. | ||
7174 | (tar --version) >/dev/null 2>&1 && continue | ||
7175 | am__tar='tar chf - "$$tardir"' | ||
7176 | am__tar_='tar chf - "$tardir"' | ||
7177 | am__untar='tar xf -' | ||
7178 | ;; | ||
7179 | pax) | ||
7180 | am__tar='pax -L -x $1 -w "$$tardir"' | ||
7181 | am__tar_='pax -L -x $1 -w "$tardir"' | ||
7182 | am__untar='pax -r' | ||
7183 | ;; | ||
7184 | cpio) | ||
7185 | am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | ||
7186 | am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | ||
7187 | am__untar='cpio -i -H $1 -d' | ||
7188 | ;; | ||
7189 | none) | ||
7190 | am__tar=false | ||
7191 | am__tar_=false | ||
7192 | am__untar=false | ||
7193 | ;; | ||
7194 | esac | ||
7195 | |||
7196 | # If the value was cached, stop now. We just wanted to have am__tar | ||
7197 | # and am__untar set. | ||
7198 | test -n "${am_cv_prog_tar_$1}" && break | ||
7199 | |||
7200 | # tar/untar a dummy directory, and stop if the command works | ||
7201 | rm -rf conftest.dir | ||
7202 | mkdir conftest.dir | ||
7203 | echo GrepMe > conftest.dir/file | ||
7204 | AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | ||
7205 | rm -rf conftest.dir | ||
7206 | if test -s conftest.tar; then | ||
7207 | AM_RUN_LOG([$am__untar <conftest.tar]) | ||
7208 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | ||
7209 | fi | ||
7210 | done | ||
7211 | rm -rf conftest.dir | ||
7212 | |||
7213 | AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | ||
7214 | AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | ||
7215 | AC_SUBST([am__tar]) | ||
7216 | AC_SUBST([am__untar]) | ||
7217 | ]) # _AM_PROG_TAR | ||
7218 | |||
diff --git a/libltdl/configure b/libltdl/configure index 13b09f57..03678466 100755 --- a/libltdl/configure +++ b/libltdl/configure | |||
@@ -465,7 +465,7 @@ ac_includes_default="\ | |||
465 | # include <unistd.h> | 465 | # include <unistd.h> |
466 | #endif" | 466 | #endif" |
467 | 467 | ||
468 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBOBJS LTLIBOBJS' | 468 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBTOOL_DEPS INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE LIBADD_DL LIBOBJS LTLIBOBJS' |
469 | ac_subst_files='' | 469 | ac_subst_files='' |
470 | 470 | ||
471 | # Initialize some variables set by options. | 471 | # Initialize some variables set by options. |
@@ -1565,7 +1565,7 @@ fi | |||
1565 | ## ------------------------ ## | 1565 | ## ------------------------ ## |
1566 | ## Automake Initialisation. ## | 1566 | ## Automake Initialisation. ## |
1567 | ## ------------------------ ## | 1567 | ## ------------------------ ## |
1568 | am__api_version="1.8" | 1568 | am__api_version="1.9" |
1569 | # Find a good install program. We prefer a C program (faster), | 1569 | # Find a good install program. We prefer a C program (faster), |
1570 | # so one script is as good as another. But avoid the broken or | 1570 | # so one script is as good as another. But avoid the broken or |
1571 | # incompatible versions: | 1571 | # incompatible versions: |
@@ -1717,13 +1717,21 @@ echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |||
1717 | fi | 1717 | fi |
1718 | 1718 | ||
1719 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then | 1719 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
1720 | # Keeping the `.' argument allows $(mkdir_p) to be used without | 1720 | # We used to keeping the `.' as first argument, in order to |
1721 | # argument. Indeed, we sometimes output rules like | 1721 | # allow $(mkdir_p) to be used without argument. As in |
1722 | # $(mkdir_p) $(somedir) | 1722 | # $(mkdir_p) $(somedir) |
1723 | # where $(somedir) is conditionally defined. | 1723 | # where $(somedir) is conditionally defined. However this is wrong |
1724 | # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more | 1724 | # for two reasons: |
1725 | # expensive solution, as it forces Make to start a sub-shell.) | 1725 | # 1. if the package is installed by a user who cannot write `.' |
1726 | mkdir_p='mkdir -p -- .' | 1726 | # make install will fail, |
1727 | # 2. the above comment should most certainly read | ||
1728 | # $(mkdir_p) $(DESTDIR)$(somedir) | ||
1729 | # so it does not work when $(somedir) is undefined and | ||
1730 | # $(DESTDIR) is not. | ||
1731 | # To support the latter case, we have to write | ||
1732 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), | ||
1733 | # so the `.' trick is pointless. | ||
1734 | mkdir_p='mkdir -p --' | ||
1727 | else | 1735 | else |
1728 | # On NextStep and OpenStep, the `mkdir' command does not | 1736 | # On NextStep and OpenStep, the `mkdir' command does not |
1729 | # recognize any option. It will interpret all options as | 1737 | # recognize any option. It will interpret all options as |
@@ -1858,9 +1866,6 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |||
1858 | 1866 | ||
1859 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 1867 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1860 | 1868 | ||
1861 | |||
1862 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
1863 | |||
1864 | install_sh=${install_sh-"$am_aux_dir/install-sh"} | 1869 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1865 | 1870 | ||
1866 | # Installed binaries are usually stripped using `strip' when the user | 1871 | # Installed binaries are usually stripped using `strip' when the user |
@@ -1953,6 +1958,13 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" | |||
1953 | 1958 | ||
1954 | # We need awk for the "check" target. The system "awk" is bad on | 1959 | # We need awk for the "check" target. The system "awk" is bad on |
1955 | # some platforms. | 1960 | # some platforms. |
1961 | # Always define AMTAR for backward compatibility. | ||
1962 | |||
1963 | AMTAR=${AMTAR-"${am_missing_run}tar"} | ||
1964 | |||
1965 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | ||
1966 | |||
1967 | |||
1956 | 1968 | ||
1957 | 1969 | ||
1958 | 1970 | ||
@@ -3867,7 +3879,7 @@ ia64-*-hpux*) | |||
3867 | ;; | 3879 | ;; |
3868 | *-*-irix6*) | 3880 | *-*-irix6*) |
3869 | # Find out which ABI we are using. | 3881 | # Find out which ABI we are using. |
3870 | echo '#line 3870 "configure"' > conftest.$ac_ext | 3882 | echo '#line 3882 "configure"' > conftest.$ac_ext |
3871 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3883 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3872 | (eval $ac_compile) 2>&5 | 3884 | (eval $ac_compile) 2>&5 |
3873 | ac_status=$? | 3885 | ac_status=$? |
@@ -5673,7 +5685,7 @@ fi | |||
5673 | 5685 | ||
5674 | 5686 | ||
5675 | # Provide some information about the compiler. | 5687 | # Provide some information about the compiler. |
5676 | echo "$as_me:5676:" \ | 5688 | echo "$as_me:5688:" \ |
5677 | "checking for Fortran 77 compiler version" >&5 | 5689 | "checking for Fortran 77 compiler version" >&5 |
5678 | ac_compiler=`set X $ac_compile; echo $2` | 5690 | ac_compiler=`set X $ac_compile; echo $2` |
5679 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 5691 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
@@ -6705,11 +6717,11 @@ else | |||
6705 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 6717 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6706 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 6718 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6707 | -e 's:$: $lt_compiler_flag:'` | 6719 | -e 's:$: $lt_compiler_flag:'` |
6708 | (eval echo "\"\$as_me:6708: $lt_compile\"" >&5) | 6720 | (eval echo "\"\$as_me:6720: $lt_compile\"" >&5) |
6709 | (eval "$lt_compile" 2>conftest.err) | 6721 | (eval "$lt_compile" 2>conftest.err) |
6710 | ac_status=$? | 6722 | ac_status=$? |
6711 | cat conftest.err >&5 | 6723 | cat conftest.err >&5 |
6712 | echo "$as_me:6712: \$? = $ac_status" >&5 | 6724 | echo "$as_me:6724: \$? = $ac_status" >&5 |
6713 | if (exit $ac_status) && test -s "$ac_outfile"; then | 6725 | if (exit $ac_status) && test -s "$ac_outfile"; then |
6714 | # The compiler can only warn and ignore the option if not recognized | 6726 | # The compiler can only warn and ignore the option if not recognized |
6715 | # So say no if there are warnings | 6727 | # So say no if there are warnings |
@@ -6938,11 +6950,11 @@ else | |||
6938 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 6950 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6939 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 6951 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6940 | -e 's:$: $lt_compiler_flag:'` | 6952 | -e 's:$: $lt_compiler_flag:'` |
6941 | (eval echo "\"\$as_me:6941: $lt_compile\"" >&5) | 6953 | (eval echo "\"\$as_me:6953: $lt_compile\"" >&5) |
6942 | (eval "$lt_compile" 2>conftest.err) | 6954 | (eval "$lt_compile" 2>conftest.err) |
6943 | ac_status=$? | 6955 | ac_status=$? |
6944 | cat conftest.err >&5 | 6956 | cat conftest.err >&5 |
6945 | echo "$as_me:6945: \$? = $ac_status" >&5 | 6957 | echo "$as_me:6957: \$? = $ac_status" >&5 |
6946 | if (exit $ac_status) && test -s "$ac_outfile"; then | 6958 | if (exit $ac_status) && test -s "$ac_outfile"; then |
6947 | # The compiler can only warn and ignore the option if not recognized | 6959 | # The compiler can only warn and ignore the option if not recognized |
6948 | # So say no if there are warnings | 6960 | # So say no if there are warnings |
@@ -6998,11 +7010,11 @@ else | |||
6998 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 7010 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6999 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 7011 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7000 | -e 's:$: $lt_compiler_flag:'` | 7012 | -e 's:$: $lt_compiler_flag:'` |
7001 | (eval echo "\"\$as_me:7001: $lt_compile\"" >&5) | 7013 | (eval echo "\"\$as_me:7013: $lt_compile\"" >&5) |
7002 | (eval "$lt_compile" 2>out/conftest.err) | 7014 | (eval "$lt_compile" 2>out/conftest.err) |
7003 | ac_status=$? | 7015 | ac_status=$? |
7004 | cat out/conftest.err >&5 | 7016 | cat out/conftest.err >&5 |
7005 | echo "$as_me:7005: \$? = $ac_status" >&5 | 7017 | echo "$as_me:7017: \$? = $ac_status" >&5 |
7006 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 7018 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7007 | then | 7019 | then |
7008 | # The compiler can only warn and ignore the option if not recognized | 7020 | # The compiler can only warn and ignore the option if not recognized |
@@ -9186,7 +9198,7 @@ else | |||
9186 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 9198 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9187 | lt_status=$lt_dlunknown | 9199 | lt_status=$lt_dlunknown |
9188 | cat > conftest.$ac_ext <<EOF | 9200 | cat > conftest.$ac_ext <<EOF |
9189 | #line 9189 "configure" | 9201 | #line 9201 "configure" |
9190 | #include "confdefs.h" | 9202 | #include "confdefs.h" |
9191 | 9203 | ||
9192 | #if HAVE_DLFCN_H | 9204 | #if HAVE_DLFCN_H |
@@ -9284,7 +9296,7 @@ else | |||
9284 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 9296 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9285 | lt_status=$lt_dlunknown | 9297 | lt_status=$lt_dlunknown |
9286 | cat > conftest.$ac_ext <<EOF | 9298 | cat > conftest.$ac_ext <<EOF |
9287 | #line 9287 "configure" | 9299 | #line 9299 "configure" |
9288 | #include "confdefs.h" | 9300 | #include "confdefs.h" |
9289 | 9301 | ||
9290 | #if HAVE_DLFCN_H | 9302 | #if HAVE_DLFCN_H |
@@ -11461,11 +11473,11 @@ else | |||
11461 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 11473 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11462 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 11474 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11463 | -e 's:$: $lt_compiler_flag:'` | 11475 | -e 's:$: $lt_compiler_flag:'` |
11464 | (eval echo "\"\$as_me:11464: $lt_compile\"" >&5) | 11476 | (eval echo "\"\$as_me:11476: $lt_compile\"" >&5) |
11465 | (eval "$lt_compile" 2>conftest.err) | 11477 | (eval "$lt_compile" 2>conftest.err) |
11466 | ac_status=$? | 11478 | ac_status=$? |
11467 | cat conftest.err >&5 | 11479 | cat conftest.err >&5 |
11468 | echo "$as_me:11468: \$? = $ac_status" >&5 | 11480 | echo "$as_me:11480: \$? = $ac_status" >&5 |
11469 | if (exit $ac_status) && test -s "$ac_outfile"; then | 11481 | if (exit $ac_status) && test -s "$ac_outfile"; then |
11470 | # The compiler can only warn and ignore the option if not recognized | 11482 | # The compiler can only warn and ignore the option if not recognized |
11471 | # So say no if there are warnings | 11483 | # So say no if there are warnings |
@@ -11521,11 +11533,11 @@ else | |||
11521 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 11533 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11522 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 11534 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11523 | -e 's:$: $lt_compiler_flag:'` | 11535 | -e 's:$: $lt_compiler_flag:'` |
11524 | (eval echo "\"\$as_me:11524: $lt_compile\"" >&5) | 11536 | (eval echo "\"\$as_me:11536: $lt_compile\"" >&5) |
11525 | (eval "$lt_compile" 2>out/conftest.err) | 11537 | (eval "$lt_compile" 2>out/conftest.err) |
11526 | ac_status=$? | 11538 | ac_status=$? |
11527 | cat out/conftest.err >&5 | 11539 | cat out/conftest.err >&5 |
11528 | echo "$as_me:11528: \$? = $ac_status" >&5 | 11540 | echo "$as_me:11540: \$? = $ac_status" >&5 |
11529 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 11541 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11530 | then | 11542 | then |
11531 | # The compiler can only warn and ignore the option if not recognized | 11543 | # The compiler can only warn and ignore the option if not recognized |
@@ -12890,7 +12902,7 @@ else | |||
12890 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 12902 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12891 | lt_status=$lt_dlunknown | 12903 | lt_status=$lt_dlunknown |
12892 | cat > conftest.$ac_ext <<EOF | 12904 | cat > conftest.$ac_ext <<EOF |
12893 | #line 12893 "configure" | 12905 | #line 12905 "configure" |
12894 | #include "confdefs.h" | 12906 | #include "confdefs.h" |
12895 | 12907 | ||
12896 | #if HAVE_DLFCN_H | 12908 | #if HAVE_DLFCN_H |
@@ -12988,7 +13000,7 @@ else | |||
12988 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 13000 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12989 | lt_status=$lt_dlunknown | 13001 | lt_status=$lt_dlunknown |
12990 | cat > conftest.$ac_ext <<EOF | 13002 | cat > conftest.$ac_ext <<EOF |
12991 | #line 12991 "configure" | 13003 | #line 13003 "configure" |
12992 | #include "confdefs.h" | 13004 | #include "confdefs.h" |
12993 | 13005 | ||
12994 | #if HAVE_DLFCN_H | 13006 | #if HAVE_DLFCN_H |
@@ -13815,11 +13827,11 @@ else | |||
13815 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 13827 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13816 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 13828 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13817 | -e 's:$: $lt_compiler_flag:'` | 13829 | -e 's:$: $lt_compiler_flag:'` |
13818 | (eval echo "\"\$as_me:13818: $lt_compile\"" >&5) | 13830 | (eval echo "\"\$as_me:13830: $lt_compile\"" >&5) |
13819 | (eval "$lt_compile" 2>conftest.err) | 13831 | (eval "$lt_compile" 2>conftest.err) |
13820 | ac_status=$? | 13832 | ac_status=$? |
13821 | cat conftest.err >&5 | 13833 | cat conftest.err >&5 |
13822 | echo "$as_me:13822: \$? = $ac_status" >&5 | 13834 | echo "$as_me:13834: \$? = $ac_status" >&5 |
13823 | if (exit $ac_status) && test -s "$ac_outfile"; then | 13835 | if (exit $ac_status) && test -s "$ac_outfile"; then |
13824 | # The compiler can only warn and ignore the option if not recognized | 13836 | # The compiler can only warn and ignore the option if not recognized |
13825 | # So say no if there are warnings | 13837 | # So say no if there are warnings |
@@ -13875,11 +13887,11 @@ else | |||
13875 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 13887 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13876 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 13888 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13877 | -e 's:$: $lt_compiler_flag:'` | 13889 | -e 's:$: $lt_compiler_flag:'` |
13878 | (eval echo "\"\$as_me:13878: $lt_compile\"" >&5) | 13890 | (eval echo "\"\$as_me:13890: $lt_compile\"" >&5) |
13879 | (eval "$lt_compile" 2>out/conftest.err) | 13891 | (eval "$lt_compile" 2>out/conftest.err) |
13880 | ac_status=$? | 13892 | ac_status=$? |
13881 | cat out/conftest.err >&5 | 13893 | cat out/conftest.err >&5 |
13882 | echo "$as_me:13882: \$? = $ac_status" >&5 | 13894 | echo "$as_me:13894: \$? = $ac_status" >&5 |
13883 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 13895 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13884 | then | 13896 | then |
13885 | # The compiler can only warn and ignore the option if not recognized | 13897 | # The compiler can only warn and ignore the option if not recognized |
@@ -15920,11 +15932,11 @@ else | |||
15920 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 15932 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15921 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 15933 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15922 | -e 's:$: $lt_compiler_flag:'` | 15934 | -e 's:$: $lt_compiler_flag:'` |
15923 | (eval echo "\"\$as_me:15923: $lt_compile\"" >&5) | 15935 | (eval echo "\"\$as_me:15935: $lt_compile\"" >&5) |
15924 | (eval "$lt_compile" 2>conftest.err) | 15936 | (eval "$lt_compile" 2>conftest.err) |
15925 | ac_status=$? | 15937 | ac_status=$? |
15926 | cat conftest.err >&5 | 15938 | cat conftest.err >&5 |
15927 | echo "$as_me:15927: \$? = $ac_status" >&5 | 15939 | echo "$as_me:15939: \$? = $ac_status" >&5 |
15928 | if (exit $ac_status) && test -s "$ac_outfile"; then | 15940 | if (exit $ac_status) && test -s "$ac_outfile"; then |
15929 | # The compiler can only warn and ignore the option if not recognized | 15941 | # The compiler can only warn and ignore the option if not recognized |
15930 | # So say no if there are warnings | 15942 | # So say no if there are warnings |
@@ -16153,11 +16165,11 @@ else | |||
16153 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 16165 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16154 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 16166 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16155 | -e 's:$: $lt_compiler_flag:'` | 16167 | -e 's:$: $lt_compiler_flag:'` |
16156 | (eval echo "\"\$as_me:16156: $lt_compile\"" >&5) | 16168 | (eval echo "\"\$as_me:16168: $lt_compile\"" >&5) |
16157 | (eval "$lt_compile" 2>conftest.err) | 16169 | (eval "$lt_compile" 2>conftest.err) |
16158 | ac_status=$? | 16170 | ac_status=$? |
16159 | cat conftest.err >&5 | 16171 | cat conftest.err >&5 |
16160 | echo "$as_me:16160: \$? = $ac_status" >&5 | 16172 | echo "$as_me:16172: \$? = $ac_status" >&5 |
16161 | if (exit $ac_status) && test -s "$ac_outfile"; then | 16173 | if (exit $ac_status) && test -s "$ac_outfile"; then |
16162 | # The compiler can only warn and ignore the option if not recognized | 16174 | # The compiler can only warn and ignore the option if not recognized |
16163 | # So say no if there are warnings | 16175 | # So say no if there are warnings |
@@ -16213,11 +16225,11 @@ else | |||
16213 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 16225 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16214 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 16226 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16215 | -e 's:$: $lt_compiler_flag:'` | 16227 | -e 's:$: $lt_compiler_flag:'` |
16216 | (eval echo "\"\$as_me:16216: $lt_compile\"" >&5) | 16228 | (eval echo "\"\$as_me:16228: $lt_compile\"" >&5) |
16217 | (eval "$lt_compile" 2>out/conftest.err) | 16229 | (eval "$lt_compile" 2>out/conftest.err) |
16218 | ac_status=$? | 16230 | ac_status=$? |
16219 | cat out/conftest.err >&5 | 16231 | cat out/conftest.err >&5 |
16220 | echo "$as_me:16220: \$? = $ac_status" >&5 | 16232 | echo "$as_me:16232: \$? = $ac_status" >&5 |
16221 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 16233 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16222 | then | 16234 | then |
16223 | # The compiler can only warn and ignore the option if not recognized | 16235 | # The compiler can only warn and ignore the option if not recognized |
@@ -18401,7 +18413,7 @@ else | |||
18401 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 18413 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18402 | lt_status=$lt_dlunknown | 18414 | lt_status=$lt_dlunknown |
18403 | cat > conftest.$ac_ext <<EOF | 18415 | cat > conftest.$ac_ext <<EOF |
18404 | #line 18404 "configure" | 18416 | #line 18416 "configure" |
18405 | #include "confdefs.h" | 18417 | #include "confdefs.h" |
18406 | 18418 | ||
18407 | #if HAVE_DLFCN_H | 18419 | #if HAVE_DLFCN_H |
@@ -18499,7 +18511,7 @@ else | |||
18499 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 18511 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18500 | lt_status=$lt_dlunknown | 18512 | lt_status=$lt_dlunknown |
18501 | cat > conftest.$ac_ext <<EOF | 18513 | cat > conftest.$ac_ext <<EOF |
18502 | #line 18502 "configure" | 18514 | #line 18514 "configure" |
18503 | #include "confdefs.h" | 18515 | #include "confdefs.h" |
18504 | 18516 | ||
18505 | #if HAVE_DLFCN_H | 18517 | #if HAVE_DLFCN_H |
@@ -20716,7 +20728,7 @@ else | |||
20716 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 20728 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
20717 | lt_status=$lt_dlunknown | 20729 | lt_status=$lt_dlunknown |
20718 | cat > conftest.$ac_ext <<EOF | 20730 | cat > conftest.$ac_ext <<EOF |
20719 | #line 20719 "configure" | 20731 | #line 20731 "configure" |
20720 | #include "confdefs.h" | 20732 | #include "confdefs.h" |
20721 | 20733 | ||
20722 | #if HAVE_DLFCN_H | 20734 | #if HAVE_DLFCN_H |
@@ -22901,7 +22913,6 @@ s,@AUTOCONF@,$AUTOCONF,;t t | |||
22901 | s,@AUTOMAKE@,$AUTOMAKE,;t t | 22913 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
22902 | s,@AUTOHEADER@,$AUTOHEADER,;t t | 22914 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
22903 | s,@MAKEINFO@,$MAKEINFO,;t t | 22915 | s,@MAKEINFO@,$MAKEINFO,;t t |
22904 | s,@AMTAR@,$AMTAR,;t t | ||
22905 | s,@install_sh@,$install_sh,;t t | 22916 | s,@install_sh@,$install_sh,;t t |
22906 | s,@STRIP@,$STRIP,;t t | 22917 | s,@STRIP@,$STRIP,;t t |
22907 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 22918 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
@@ -22910,6 +22921,9 @@ s,@mkdir_p@,$mkdir_p,;t t | |||
22910 | s,@AWK@,$AWK,;t t | 22921 | s,@AWK@,$AWK,;t t |
22911 | s,@SET_MAKE@,$SET_MAKE,;t t | 22922 | s,@SET_MAKE@,$SET_MAKE,;t t |
22912 | s,@am__leading_dot@,$am__leading_dot,;t t | 22923 | s,@am__leading_dot@,$am__leading_dot,;t t |
22924 | s,@AMTAR@,$AMTAR,;t t | ||
22925 | s,@am__tar@,$am__tar,;t t | ||
22926 | s,@am__untar@,$am__untar,;t t | ||
22913 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t | 22927 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
22914 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t | 22928 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
22915 | s,@MAINT@,$MAINT,;t t | 22929 | s,@MAINT@,$MAINT,;t t |
@@ -23593,27 +23607,21 @@ echo X"$mf" | | |||
23593 | else | 23607 | else |
23594 | continue | 23608 | continue |
23595 | fi | 23609 | fi |
23596 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue | 23610 | # Extract the definition of DEPDIR, am__include, and am__quote |
23597 | # Extract the definition of DEP_FILES from the Makefile without | 23611 | # from the Makefile without running `make'. |
23598 | # running `make'. | ||
23599 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 23612 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
23600 | test -z "$DEPDIR" && continue | 23613 | test -z "$DEPDIR" && continue |
23614 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | ||
23615 | test -z "am__include" && continue | ||
23616 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | ||
23601 | # When using ansi2knr, U may be empty or an underscore; expand it | 23617 | # When using ansi2knr, U may be empty or an underscore; expand it |
23602 | U=`sed -n 's/^U = //p' < "$mf"` | 23618 | U=`sed -n 's/^U = //p' < "$mf"` |
23603 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" | 23619 | # Find all dependency output files, they are included files with |
23604 | # We invoke sed twice because it is the simplest approach to | 23620 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
23605 | # changing $(DEPDIR) to its actual value in the expansion. | 23621 | # simplest approach to changing $(DEPDIR) to its actual value in the |
23606 | for file in `sed -n ' | 23622 | # expansion. |
23607 | /^DEP_FILES = .*\\\\$/ { | 23623 | for file in `sed -n " |
23608 | s/^DEP_FILES = // | 23624 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
23609 | :loop | ||
23610 | s/\\\\$// | ||
23611 | p | ||
23612 | n | ||
23613 | /\\\\$/ b loop | ||
23614 | p | ||
23615 | } | ||
23616 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ | ||
23617 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 23625 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
23618 | # Make sure the directory exists. | 23626 | # Make sure the directory exists. |
23619 | test -f "$dirpart/$file" && continue | 23627 | test -f "$dirpart/$file" && continue |
diff --git a/libltdl/install-sh b/libltdl/install-sh index e4160c99..1a835340 100755 --- a/libltdl/install-sh +++ b/libltdl/install-sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # install - install a program, script, or datafile | 2 | # install - install a program, script, or datafile |
3 | 3 | ||
4 | scriptversion=2004-04-01.17 | 4 | scriptversion=2005-02-02.21 |
5 | 5 | ||
6 | # This originates from X11R5 (mit/util/scripts/install.sh), which was | 6 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
7 | # later released in X11R6 (xc/config/util/install.sh) with the | 7 | # later released in X11R6 (xc/config/util/install.sh) with the |
@@ -58,9 +58,6 @@ stripprog="${STRIPPROG-strip}" | |||
58 | rmprog="${RMPROG-rm}" | 58 | rmprog="${RMPROG-rm}" |
59 | mkdirprog="${MKDIRPROG-mkdir}" | 59 | mkdirprog="${MKDIRPROG-mkdir}" |
60 | 60 | ||
61 | transformbasename= | ||
62 | transform_arg= | ||
63 | instcmd="$mvprog" | ||
64 | chmodcmd="$chmodprog 0755" | 61 | chmodcmd="$chmodprog 0755" |
65 | chowncmd= | 62 | chowncmd= |
66 | chgrpcmd= | 63 | chgrpcmd= |
@@ -70,23 +67,27 @@ mvcmd="$mvprog" | |||
70 | src= | 67 | src= |
71 | dst= | 68 | dst= |
72 | dir_arg= | 69 | dir_arg= |
70 | dstarg= | ||
71 | no_target_directory= | ||
73 | 72 | ||
74 | usage="Usage: $0 [OPTION]... SRCFILE DSTFILE | 73 | usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE |
75 | or: $0 [OPTION]... SRCFILES... DIRECTORY | 74 | or: $0 [OPTION]... SRCFILES... DIRECTORY |
76 | or: $0 -d DIRECTORIES... | 75 | or: $0 [OPTION]... -t DIRECTORY SRCFILES... |
76 | or: $0 [OPTION]... -d DIRECTORIES... | ||
77 | 77 | ||
78 | In the first form, install SRCFILE to DSTFILE, removing SRCFILE by default. | 78 | In the 1st form, copy SRCFILE to DSTFILE. |
79 | In the second, create the directory path DIR. | 79 | In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. |
80 | In the 4th, create DIRECTORIES. | ||
80 | 81 | ||
81 | Options: | 82 | Options: |
82 | -b=TRANSFORMBASENAME | 83 | -c (ignored) |
83 | -c copy source (using $cpprog) instead of moving (using $mvprog). | ||
84 | -d create directories instead of installing files. | 84 | -d create directories instead of installing files. |
85 | -g GROUP $chgrp installed files to GROUP. | 85 | -g GROUP $chgrpprog installed files to GROUP. |
86 | -m MODE $chmod installed files to MODE. | 86 | -m MODE $chmodprog installed files to MODE. |
87 | -o USER $chown installed files to USER. | 87 | -o USER $chownprog installed files to USER. |
88 | -s strip installed files (using $stripprog). | 88 | -s $stripprog installed files. |
89 | -t=TRANSFORM | 89 | -t DIRECTORY install into DIRECTORY. |
90 | -T report an error if DSTFILE is a directory. | ||
90 | --help display this help and exit. | 91 | --help display this help and exit. |
91 | --version display version info and exit. | 92 | --version display version info and exit. |
92 | 93 | ||
@@ -96,12 +97,7 @@ Environment variables override the default commands: | |||
96 | 97 | ||
97 | while test -n "$1"; do | 98 | while test -n "$1"; do |
98 | case $1 in | 99 | case $1 in |
99 | -b=*) transformbasename=`echo $1 | sed 's/-b=//'` | 100 | -c) shift |
100 | shift | ||
101 | continue;; | ||
102 | |||
103 | -c) instcmd=$cpprog | ||
104 | shift | ||
105 | continue;; | 101 | continue;; |
106 | 102 | ||
107 | -d) dir_arg=true | 103 | -d) dir_arg=true |
@@ -113,7 +109,7 @@ while test -n "$1"; do | |||
113 | shift | 109 | shift |
114 | continue;; | 110 | continue;; |
115 | 111 | ||
116 | --help) echo "$usage"; exit 0;; | 112 | --help) echo "$usage"; exit $?;; |
117 | 113 | ||
118 | -m) chmodcmd="$chmodprog $2" | 114 | -m) chmodcmd="$chmodprog $2" |
119 | shift | 115 | shift |
@@ -129,14 +125,20 @@ while test -n "$1"; do | |||
129 | shift | 125 | shift |
130 | continue;; | 126 | continue;; |
131 | 127 | ||
132 | -t=*) transformarg=`echo $1 | sed 's/-t=//'` | 128 | -t) dstarg=$2 |
133 | shift | 129 | shift |
134 | continue;; | 130 | shift |
131 | continue;; | ||
135 | 132 | ||
136 | --version) echo "$0 $scriptversion"; exit 0;; | 133 | -T) no_target_directory=true |
134 | shift | ||
135 | continue;; | ||
136 | |||
137 | --version) echo "$0 $scriptversion"; exit $?;; | ||
137 | 138 | ||
138 | *) # When -d is used, all remaining arguments are directories to create. | 139 | *) # When -d is used, all remaining arguments are directories to create. |
139 | test -n "$dir_arg" && break | 140 | # When -t is used, the destination is already specified. |
141 | test -n "$dir_arg$dstarg" && break | ||
140 | # Otherwise, the last argument is the destination. Remove it from $@. | 142 | # Otherwise, the last argument is the destination. Remove it from $@. |
141 | for arg | 143 | for arg |
142 | do | 144 | do |
@@ -174,13 +176,13 @@ do | |||
174 | src= | 176 | src= |
175 | 177 | ||
176 | if test -d "$dst"; then | 178 | if test -d "$dst"; then |
177 | instcmd=: | 179 | mkdircmd=: |
178 | chmodcmd= | 180 | chmodcmd= |
179 | else | 181 | else |
180 | instcmd=$mkdirprog | 182 | mkdircmd=$mkdirprog |
181 | fi | 183 | fi |
182 | else | 184 | else |
183 | # Waiting for this to be detected by the "$instcmd $src $dsttmp" command | 185 | # Waiting for this to be detected by the "$cpprog $src $dsttmp" command |
184 | # might cause directories to be created, which would be especially bad | 186 | # might cause directories to be created, which would be especially bad |
185 | # if $src (and thus $dsttmp) contains '*'. | 187 | # if $src (and thus $dsttmp) contains '*'. |
186 | if test ! -f "$src" && test ! -d "$src"; then | 188 | if test ! -f "$src" && test ! -d "$src"; then |
@@ -202,12 +204,16 @@ do | |||
202 | # If destination is a directory, append the input filename; won't work | 204 | # If destination is a directory, append the input filename; won't work |
203 | # if double slashes aren't ignored. | 205 | # if double slashes aren't ignored. |
204 | if test -d "$dst"; then | 206 | if test -d "$dst"; then |
207 | if test -n "$no_target_directory"; then | ||
208 | echo "$0: $dstarg: Is a directory" >&2 | ||
209 | exit 1 | ||
210 | fi | ||
205 | dst=$dst/`basename "$src"` | 211 | dst=$dst/`basename "$src"` |
206 | fi | 212 | fi |
207 | fi | 213 | fi |
208 | 214 | ||
209 | # This sed command emulates the dirname command. | 215 | # This sed command emulates the dirname command. |
210 | dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` | 216 | dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` |
211 | 217 | ||
212 | # Make sure that the destination directory exists. | 218 | # Make sure that the destination directory exists. |
213 | 219 | ||
@@ -220,7 +226,8 @@ do | |||
220 | oIFS=$IFS | 226 | oIFS=$IFS |
221 | # Some sh's can't handle IFS=/ for some reason. | 227 | # Some sh's can't handle IFS=/ for some reason. |
222 | IFS='%' | 228 | IFS='%' |
223 | set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` | 229 | set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` |
230 | shift | ||
224 | IFS=$oIFS | 231 | IFS=$oIFS |
225 | 232 | ||
226 | pathcomp= | 233 | pathcomp= |
@@ -229,51 +236,42 @@ do | |||
229 | pathcomp=$pathcomp$1 | 236 | pathcomp=$pathcomp$1 |
230 | shift | 237 | shift |
231 | if test ! -d "$pathcomp"; then | 238 | if test ! -d "$pathcomp"; then |
232 | $mkdirprog "$pathcomp" || lasterr=$? | 239 | $mkdirprog "$pathcomp" |
233 | # mkdir can fail with a `File exist' error in case several | 240 | # mkdir can fail with a `File exist' error in case several |
234 | # install-sh are creating the directory concurrently. This | 241 | # install-sh are creating the directory concurrently. This |
235 | # is OK. | 242 | # is OK. |
236 | test ! -d "$pathcomp" && { (exit ${lasterr-1}); exit; } | 243 | test -d "$pathcomp" || exit |
237 | fi | 244 | fi |
238 | pathcomp=$pathcomp/ | 245 | pathcomp=$pathcomp/ |
239 | done | 246 | done |
240 | fi | 247 | fi |
241 | 248 | ||
242 | if test -n "$dir_arg"; then | 249 | if test -n "$dir_arg"; then |
243 | $doit $instcmd "$dst" \ | 250 | $doit $mkdircmd "$dst" \ |
244 | && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ | 251 | && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ |
245 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ | 252 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ |
246 | && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ | 253 | && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ |
247 | && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } | 254 | && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } |
248 | 255 | ||
249 | else | 256 | else |
250 | # If we're going to rename the final executable, determine the name now. | 257 | dstfile=`basename "$dst"` |
251 | if test -z "$transformarg"; then | ||
252 | dstfile=`basename "$dst"` | ||
253 | else | ||
254 | dstfile=`basename "$dst" $transformbasename \ | ||
255 | | sed $transformarg`$transformbasename | ||
256 | fi | ||
257 | |||
258 | # don't allow the sed command to completely eliminate the filename. | ||
259 | test -z "$dstfile" && dstfile=`basename "$dst"` | ||
260 | 258 | ||
261 | # Make a couple of temp file names in the proper directory. | 259 | # Make a couple of temp file names in the proper directory. |
262 | dsttmp=$dstdir/_inst.$$_ | 260 | dsttmp=$dstdir/_inst.$$_ |
263 | rmtmp=$dstdir/_rm.$$_ | 261 | rmtmp=$dstdir/_rm.$$_ |
264 | 262 | ||
265 | # Trap to clean up those temp files at exit. | 263 | # Trap to clean up those temp files at exit. |
266 | trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 | 264 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
267 | trap '(exit $?); exit' 1 2 13 15 | 265 | trap '(exit $?); exit' 1 2 13 15 |
268 | 266 | ||
269 | # Move or copy the file name to the temp name | 267 | # Copy the file name to the temp name. |
270 | $doit $instcmd "$src" "$dsttmp" && | 268 | $doit $cpprog "$src" "$dsttmp" && |
271 | 269 | ||
272 | # and set any options; do chmod last to preserve setuid bits. | 270 | # and set any options; do chmod last to preserve setuid bits. |
273 | # | 271 | # |
274 | # If any of these fail, we abort the whole thing. If we want to | 272 | # If any of these fail, we abort the whole thing. If we want to |
275 | # ignore errors from any of these, just make sure not to ignore | 273 | # ignore errors from any of these, just make sure not to ignore |
276 | # errors from the above "$doit $instcmd $src $dsttmp" command. | 274 | # errors from the above "$doit $cpprog $src $dsttmp" command. |
277 | # | 275 | # |
278 | { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ | 276 | { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ |
279 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ | 277 | && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ |
@@ -298,7 +296,7 @@ do | |||
298 | || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ | 296 | || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ |
299 | || { | 297 | || { |
300 | echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 | 298 | echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 |
301 | (exit 1); exit | 299 | (exit 1); exit 1 |
302 | } | 300 | } |
303 | else | 301 | else |
304 | : | 302 | : |
@@ -309,12 +307,12 @@ do | |||
309 | $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" | 307 | $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" |
310 | } | 308 | } |
311 | } | 309 | } |
312 | fi || { (exit 1); exit; } | 310 | fi || { (exit 1); exit 1; } |
313 | done | 311 | done |
314 | 312 | ||
315 | # The final little trick to "correctly" pass the exit status to the exit trap. | 313 | # The final little trick to "correctly" pass the exit status to the exit trap. |
316 | { | 314 | { |
317 | (exit 0); exit | 315 | (exit 0); exit 0 |
318 | } | 316 | } |
319 | 317 | ||
320 | # Local variables: | 318 | # Local variables: |
diff --git a/libltdl/missing b/libltdl/missing index e7ef83a1..09edd884 100755 --- a/libltdl/missing +++ b/libltdl/missing | |||
@@ -1,9 +1,9 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Common stub for a few missing GNU programs while installing. | 2 | # Common stub for a few missing GNU programs while installing. |
3 | 3 | ||
4 | scriptversion=2003-09-02.23 | 4 | scriptversion=2005-02-08.22 |
5 | 5 | ||
6 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 | 6 | # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 |
7 | # Free Software Foundation, Inc. | 7 | # Free Software Foundation, Inc. |
8 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. | 8 | # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
9 | 9 | ||
@@ -60,11 +60,6 @@ case "$1" in | |||
60 | msg="probably too old" | 60 | msg="probably too old" |
61 | fi | 61 | fi |
62 | ;; | 62 | ;; |
63 | esac | ||
64 | |||
65 | # If it does not exist, or fails to run (possibly an outdated version), | ||
66 | # try to emulate it. | ||
67 | case "$1" in | ||
68 | 63 | ||
69 | -h|--h|--he|--hel|--help) | 64 | -h|--h|--he|--hel|--help) |
70 | echo "\ | 65 | echo "\ |
@@ -92,10 +87,12 @@ Supported PROGRAM values: | |||
92 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] | 87 | yacc create \`y.tab.[ch]', if possible, from existing .[ch] |
93 | 88 | ||
94 | Send bug reports to <bug-automake@gnu.org>." | 89 | Send bug reports to <bug-automake@gnu.org>." |
90 | exit $? | ||
95 | ;; | 91 | ;; |
96 | 92 | ||
97 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) | 93 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) |
98 | echo "missing $scriptversion (GNU Automake)" | 94 | echo "missing $scriptversion (GNU Automake)" |
95 | exit $? | ||
99 | ;; | 96 | ;; |
100 | 97 | ||
101 | -*) | 98 | -*) |
@@ -104,12 +101,42 @@ Send bug reports to <bug-automake@gnu.org>." | |||
104 | exit 1 | 101 | exit 1 |
105 | ;; | 102 | ;; |
106 | 103 | ||
107 | aclocal*) | 104 | esac |
105 | |||
106 | # Now exit if we have it, but it failed. Also exit now if we | ||
107 | # don't have it and --version was passed (most likely to detect | ||
108 | # the program). | ||
109 | case "$1" in | ||
110 | lex|yacc) | ||
111 | # Not GNU programs, they don't have --version. | ||
112 | ;; | ||
113 | |||
114 | tar) | ||
115 | if test -n "$run"; then | ||
116 | echo 1>&2 "ERROR: \`tar' requires --run" | ||
117 | exit 1 | ||
118 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | ||
119 | exit 1 | ||
120 | fi | ||
121 | ;; | ||
122 | |||
123 | *) | ||
108 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | 124 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then |
109 | # We have it, but it failed. | 125 | # We have it, but it failed. |
110 | exit 1 | 126 | exit 1 |
127 | elif test "x$2" = "x--version" || test "x$2" = "x--help"; then | ||
128 | # Could not run --version or --help. This is probably someone | ||
129 | # running `$TOOL --version' or `$TOOL --help' to check whether | ||
130 | # $TOOL exists and not knowing $TOOL uses missing. | ||
131 | exit 1 | ||
111 | fi | 132 | fi |
133 | ;; | ||
134 | esac | ||
112 | 135 | ||
136 | # If it does not exist, or fails to run (possibly an outdated version), | ||
137 | # try to emulate it. | ||
138 | case "$1" in | ||
139 | aclocal*) | ||
113 | echo 1>&2 "\ | 140 | echo 1>&2 "\ |
114 | WARNING: \`$1' is $msg. You should only need it if | 141 | WARNING: \`$1' is $msg. You should only need it if |
115 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want | 142 | you modified \`acinclude.m4' or \`${configure_ac}'. You might want |
@@ -119,11 +146,6 @@ WARNING: \`$1' is $msg. You should only need it if | |||
119 | ;; | 146 | ;; |
120 | 147 | ||
121 | autoconf) | 148 | autoconf) |
122 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | ||
123 | # We have it, but it failed. | ||
124 | exit 1 | ||
125 | fi | ||
126 | |||
127 | echo 1>&2 "\ | 149 | echo 1>&2 "\ |
128 | WARNING: \`$1' is $msg. You should only need it if | 150 | WARNING: \`$1' is $msg. You should only need it if |
129 | you modified \`${configure_ac}'. You might want to install the | 151 | you modified \`${configure_ac}'. You might want to install the |
@@ -133,11 +155,6 @@ WARNING: \`$1' is $msg. You should only need it if | |||
133 | ;; | 155 | ;; |
134 | 156 | ||
135 | autoheader) | 157 | autoheader) |
136 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | ||
137 | # We have it, but it failed. | ||
138 | exit 1 | ||
139 | fi | ||
140 | |||
141 | echo 1>&2 "\ | 158 | echo 1>&2 "\ |
142 | WARNING: \`$1' is $msg. You should only need it if | 159 | WARNING: \`$1' is $msg. You should only need it if |
143 | you modified \`acconfig.h' or \`${configure_ac}'. You might want | 160 | you modified \`acconfig.h' or \`${configure_ac}'. You might want |
@@ -157,11 +174,6 @@ WARNING: \`$1' is $msg. You should only need it if | |||
157 | ;; | 174 | ;; |
158 | 175 | ||
159 | automake*) | 176 | automake*) |
160 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | ||
161 | # We have it, but it failed. | ||
162 | exit 1 | ||
163 | fi | ||
164 | |||
165 | echo 1>&2 "\ | 177 | echo 1>&2 "\ |
166 | WARNING: \`$1' is $msg. You should only need it if | 178 | WARNING: \`$1' is $msg. You should only need it if |
167 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. | 179 | you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. |
@@ -173,11 +185,6 @@ WARNING: \`$1' is $msg. You should only need it if | |||
173 | ;; | 185 | ;; |
174 | 186 | ||
175 | autom4te) | 187 | autom4te) |
176 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | ||
177 | # We have it, but it failed. | ||
178 | exit 1 | ||
179 | fi | ||
180 | |||
181 | echo 1>&2 "\ | 188 | echo 1>&2 "\ |
182 | WARNING: \`$1' is needed, but is $msg. | 189 | WARNING: \`$1' is needed, but is $msg. |
183 | You might have modified some files without having the | 190 | You might have modified some files without having the |
@@ -254,11 +261,6 @@ WARNING: \`$1' is $msg. You should only need it if | |||
254 | ;; | 261 | ;; |
255 | 262 | ||
256 | help2man) | 263 | help2man) |
257 | if test -z "$run" && ($1 --version) > /dev/null 2>&1; then | ||
258 | # We have it, but it failed. | ||
259 | exit 1 | ||
260 | fi | ||
261 | |||
262 | echo 1>&2 "\ | 264 | echo 1>&2 "\ |
263 | WARNING: \`$1' is $msg. You should only need it if | 265 | WARNING: \`$1' is $msg. You should only need it if |
264 | you modified a dependency of a manual page. You may need the | 266 | you modified a dependency of a manual page. You may need the |
@@ -279,11 +281,6 @@ WARNING: \`$1' is $msg. You should only need it if | |||
279 | ;; | 281 | ;; |
280 | 282 | ||
281 | makeinfo) | 283 | makeinfo) |
282 | if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then | ||
283 | # We have makeinfo, but it failed. | ||
284 | exit 1 | ||
285 | fi | ||
286 | |||
287 | echo 1>&2 "\ | 284 | echo 1>&2 "\ |
288 | WARNING: \`$1' is $msg. You should only need it if | 285 | WARNING: \`$1' is $msg. You should only need it if |
289 | you modified a \`.texi' or \`.texinfo' file, or any other file | 286 | you modified a \`.texi' or \`.texinfo' file, or any other file |
@@ -291,20 +288,20 @@ WARNING: \`$1' is $msg. You should only need it if | |||
291 | call might also be the consequence of using a buggy \`make' (AIX, | 288 | call might also be the consequence of using a buggy \`make' (AIX, |
292 | DU, IRIX). You might want to install the \`Texinfo' package or | 289 | DU, IRIX). You might want to install the \`Texinfo' package or |
293 | the \`GNU make' package. Grab either from any GNU archive site." | 290 | the \`GNU make' package. Grab either from any GNU archive site." |
291 | # The file to touch is that specified with -o ... | ||
294 | file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` | 292 | file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` |
295 | if test -z "$file"; then | 293 | if test -z "$file"; then |
296 | file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` | 294 | # ... or it is the one specified with @setfilename ... |
297 | file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` | 295 | infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` |
296 | file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` | ||
297 | # ... or it is derived from the source name (dir/f.texi becomes f.info) | ||
298 | test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info | ||
298 | fi | 299 | fi |
299 | touch $file | 300 | touch $file |
300 | ;; | 301 | ;; |
301 | 302 | ||
302 | tar) | 303 | tar) |
303 | shift | 304 | shift |
304 | if test -n "$run"; then | ||
305 | echo 1>&2 "ERROR: \`tar' requires --run" | ||
306 | exit 1 | ||
307 | fi | ||
308 | 305 | ||
309 | # We have already tried tar in the generic part. | 306 | # We have already tried tar in the generic part. |
310 | # Look for gnutar/gtar before invocation to avoid ugly error | 307 | # Look for gnutar/gtar before invocation to avoid ugly error |
diff --git a/mkinstalldirs b/mkinstalldirs index 6fbe5e11..5d26a485 100644 --- a/mkinstalldirs +++ b/mkinstalldirs | |||
@@ -1,7 +1,7 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # mkinstalldirs --- make directory hierarchy | 2 | # mkinstalldirs --- make directory hierarchy |
3 | 3 | ||
4 | scriptversion=2004-02-15.20 | 4 | scriptversion=2005-02-02.21 |
5 | 5 | ||
6 | # Original author: Noah Friedman <friedman@prep.ai.mit.edu> | 6 | # Original author: Noah Friedman <friedman@prep.ai.mit.edu> |
7 | # Created: 1993-05-16 | 7 | # Created: 1993-05-16 |
@@ -27,7 +27,7 @@ while test $# -gt 0 ; do | |||
27 | case $1 in | 27 | case $1 in |
28 | -h | --help | --h*) # -h for help | 28 | -h | --help | --h*) # -h for help |
29 | echo "$usage" | 29 | echo "$usage" |
30 | exit 0 | 30 | exit $? |
31 | ;; | 31 | ;; |
32 | -m) # -m PERM arg | 32 | -m) # -m PERM arg |
33 | shift | 33 | shift |
@@ -37,7 +37,7 @@ while test $# -gt 0 ; do | |||
37 | ;; | 37 | ;; |
38 | --version) | 38 | --version) |
39 | echo "$0 $scriptversion" | 39 | echo "$0 $scriptversion" |
40 | exit 0 | 40 | exit $? |
41 | ;; | 41 | ;; |
42 | --) # stop option processing | 42 | --) # stop option processing |
43 | shift | 43 | shift |
diff --git a/po/Makefile.in b/po/Makefile.in index 4119b275..ad12baf4 100644 --- a/po/Makefile.in +++ b/po/Makefile.in | |||
@@ -21,7 +21,7 @@ srcdir = . | |||
21 | top_srcdir = .. | 21 | top_srcdir = .. |
22 | 22 | ||
23 | 23 | ||
24 | prefix = /home/grothoff | 24 | prefix = /home/grothoff/ |
25 | exec_prefix = ${prefix} | 25 | exec_prefix = ${prefix} |
26 | datadir = ${prefix}/share | 26 | datadir = ${prefix}/share |
27 | localedir = $(datadir)/locale | 27 | localedir = $(datadir)/locale |
diff --git a/src/plugins/stats/statistics.c b/src/plugins/stats/statistics.c index 09eec75b..badbc303 100644 --- a/src/plugins/stats/statistics.c +++ b/src/plugins/stats/statistics.c | |||
@@ -398,7 +398,7 @@ void init_stats() { | |||
398 | init_functions(); | 398 | init_functions(); |
399 | notebook | 399 | notebook |
400 | = glade_xml_get_widget(getMainXML(), | 400 | = glade_xml_get_widget(getMainXML(), |
401 | "downloadNotebook"); | 401 | "statsNotebook"); |
402 | memset(&config, | 402 | memset(&config, |
403 | 0, | 403 | 0, |
404 | sizeof(ProcConfig)); | 404 | sizeof(ProcConfig)); |