Codebase list cinnamon-menus / 71b4d51
Imported Upstream version 2.6.0 Maximiliano Curia 8 years ago
18 changed file(s) with 1 addition(s) and 43056 deletion(s). Raw diff Collapse all Expand all
+0
-837
Makefile less more
0 # Makefile.in generated by automake 1.13.3 from Makefile.am.
1 # Makefile. Generated from Makefile.in by configure.
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14
15
16 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17 am__make_running_with_option = \
18 case $${target_option-} in \
19 ?) ;; \
20 *) echo "am__make_running_with_option: internal error: invalid" \
21 "target option '$${target_option-}' specified" >&2; \
22 exit 1;; \
23 esac; \
24 has_opt=no; \
25 sane_makeflags=$$MAKEFLAGS; \
26 if $(am__is_gnu_make); then \
27 sane_makeflags=$$MFLAGS; \
28 else \
29 case $$MAKEFLAGS in \
30 *\\[\ \ ]*) \
31 bs=\\; \
32 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
33 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
34 esac; \
35 fi; \
36 skip_next=no; \
37 strip_trailopt () \
38 { \
39 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
40 }; \
41 for flg in $$sane_makeflags; do \
42 test $$skip_next = yes && { skip_next=no; continue; }; \
43 case $$flg in \
44 *=*|--*) continue;; \
45 -*I) strip_trailopt 'I'; skip_next=yes;; \
46 -*I?*) strip_trailopt 'I';; \
47 -*O) strip_trailopt 'O'; skip_next=yes;; \
48 -*O?*) strip_trailopt 'O';; \
49 -*l) strip_trailopt 'l'; skip_next=yes;; \
50 -*l?*) strip_trailopt 'l';; \
51 -[dEDm]) skip_next=yes;; \
52 -[JT]) skip_next=yes;; \
53 esac; \
54 case $$flg in \
55 *$$target_option*) has_opt=yes; break;; \
56 esac; \
57 done; \
58 test $$has_opt = yes
59 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
60 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
61 pkgdatadir = $(datadir)/cinnamon-menus
62 pkgincludedir = $(includedir)/cinnamon-menus
63 pkglibdir = $(libdir)/cinnamon-menus
64 pkglibexecdir = $(libexecdir)/cinnamon-menus
65 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
66 install_sh_DATA = $(install_sh) -c -m 644
67 install_sh_PROGRAM = $(install_sh) -c
68 install_sh_SCRIPT = $(install_sh) -c
69 INSTALL_HEADER = $(INSTALL_DATA)
70 transform = $(program_transform_name)
71 NORMAL_INSTALL = :
72 PRE_INSTALL = :
73 POST_INSTALL = :
74 NORMAL_UNINSTALL = :
75 PRE_UNINSTALL = :
76 POST_UNINSTALL = :
77 build_triplet = x86_64-unknown-linux-gnu
78 host_triplet = x86_64-unknown-linux-gnu
79 subdir = .
80 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
81 $(top_srcdir)/configure $(am__configure_deps) \
82 $(srcdir)/config.h.in AUTHORS COPYING COPYING.LIB ChangeLog \
83 NEWS README config.guess config.sub depcomp install-sh missing \
84 ltmain.sh
85 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
86 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
87 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
88 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
89 $(top_srcdir)/configure.ac
90 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
91 $(ACLOCAL_M4)
92 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
93 configure.lineno config.status.lineno
94 mkinstalldirs = $(install_sh) -d
95 CONFIG_HEADER = config.h
96 CONFIG_CLEAN_FILES =
97 CONFIG_CLEAN_VPATH_FILES =
98 AM_V_P = $(am__v_P_$(V))
99 am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
100 am__v_P_0 = false
101 am__v_P_1 = :
102 AM_V_GEN = $(am__v_GEN_$(V))
103 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
104 am__v_GEN_0 = @echo " GEN " $@;
105 am__v_GEN_1 =
106 AM_V_at = $(am__v_at_$(V))
107 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
108 am__v_at_0 = @
109 am__v_at_1 =
110 SOURCES =
111 DIST_SOURCES =
112 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
113 ctags-recursive dvi-recursive html-recursive info-recursive \
114 install-data-recursive install-dvi-recursive \
115 install-exec-recursive install-html-recursive \
116 install-info-recursive install-pdf-recursive \
117 install-ps-recursive install-recursive installcheck-recursive \
118 installdirs-recursive pdf-recursive ps-recursive \
119 tags-recursive uninstall-recursive
120 am__can_run_installinfo = \
121 case $$AM_UPDATE_INFO_DIR in \
122 n|no|NO) false;; \
123 *) (install-info --version) >/dev/null 2>&1;; \
124 esac
125 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
126 distclean-recursive maintainer-clean-recursive
127 am__recursive_targets = \
128 $(RECURSIVE_TARGETS) \
129 $(RECURSIVE_CLEAN_TARGETS) \
130 $(am__extra_recursive_targets)
131 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
132 cscope distdir dist dist-all distcheck
133 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
134 $(LISP)config.h.in
135 # Read a list of newline-separated strings from the standard input,
136 # and print each of them once, without duplicates. Input order is
137 # *not* preserved.
138 am__uniquify_input = $(AWK) '\
139 BEGIN { nonempty = 0; } \
140 { items[$$0] = 1; nonempty = 1; } \
141 END { if (nonempty) { for (i in items) print i; }; } \
142 '
143 # Make sure the list of sources is unique. This is necessary because,
144 # e.g., the same source file might be shared among _SOURCES variables
145 # for different programs/libraries.
146 am__define_uniq_tagged_files = \
147 list='$(am__tagged_files)'; \
148 unique=`for i in $$list; do \
149 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
150 done | $(am__uniquify_input)`
151 ETAGS = etags
152 CTAGS = ctags
153 CSCOPE = cscope
154 DIST_SUBDIRS = $(SUBDIRS)
155 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
156 distdir = $(PACKAGE)-$(VERSION)
157 top_distdir = $(distdir)
158 am__remove_distdir = \
159 if test -d "$(distdir)"; then \
160 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
161 && rm -rf "$(distdir)" \
162 || { sleep 5 && rm -rf "$(distdir)"; }; \
163 else :; fi
164 am__post_remove_distdir = $(am__remove_distdir)
165 am__relativize = \
166 dir0=`pwd`; \
167 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
168 sed_rest='s,^[^/]*/*,,'; \
169 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
170 sed_butlast='s,/*[^/]*$$,,'; \
171 while test -n "$$dir1"; do \
172 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
173 if test "$$first" != "."; then \
174 if test "$$first" = ".."; then \
175 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
176 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
177 else \
178 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
179 if test "$$first2" = "$$first"; then \
180 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
181 else \
182 dir2="../$$dir2"; \
183 fi; \
184 dir0="$$dir0"/"$$first"; \
185 fi; \
186 fi; \
187 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
188 done; \
189 reldir="$$dir2"
190 GZIP_ENV = --best
191 DIST_ARCHIVES = $(distdir).tar.xz
192 DIST_TARGETS = dist-xz
193 distuninstallcheck_listfiles = find . -type f -print
194 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
195 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
196 distcleancheck_listfiles = find . -type f -print
197 ACLOCAL = ${SHELL} /home/mtwebster/bin/cinnamon-menus/missing aclocal-1.13
198 AMTAR = $${TAR-tar}
199 AM_DEFAULT_VERBOSITY = 0
200 AR = ar
201 AS = as
202 AUTOCONF = ${SHELL} /home/mtwebster/bin/cinnamon-menus/missing autoconf
203 AUTOHEADER = ${SHELL} /home/mtwebster/bin/cinnamon-menus/missing autoheader
204 AUTOMAKE = ${SHELL} /home/mtwebster/bin/cinnamon-menus/missing automake-1.13
205 AWK = gawk
206 CC = gcc
207 CCDEPMODE = depmode=gcc3
208 CFLAGS = -g -O2
209 CPP = gcc -E
210 CPPFLAGS =
211 CYGPATH_W = echo
212 DEBUG_CFLAGS = -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
213 DEFS = -DHAVE_CONFIG_H
214 DEPDIR = .deps
215 DISABLE_DEPRECATED = -DGCONF_DISABLE_DEPRECATED -DGCONF_DISABLE_SINGLE_INCLUDES -DBONOBO_DISABLE_DEPRECATED -DBONOBO_DISABLE_SINGLE_INCLUDES -DBONOBO_UI_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_SINGLE_INCLUDES -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_SINGLE_INCLUDES -DLIBGLADE_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_SINGLE_INCLUDES -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_SINGLE_INCLUDES -DWNCK_DISABLE_DEPRECATED -DWNCK_DISABLE_SINGLE_INCLUDES -DLIBSOUP_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_SINGLE_INCLUDES
216 DISABLE_DEPRECATED_CFLAGS =
217 DLLTOOL = dlltool
218 DSYMUTIL =
219 DUMPBIN =
220 ECHO_C =
221 ECHO_N = -n
222 ECHO_T =
223 EGREP = /bin/grep -E
224 EXEEXT =
225 FGREP = /bin/grep -F
226 GIO_UNIX_CFLAGS = -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
227 GIO_UNIX_LIBS = -lgio-2.0 -lgobject-2.0 -lglib-2.0
228 GREP = /bin/grep
229 INSTALL = /usr/bin/install -c
230 INSTALL_DATA = ${INSTALL} -m 644
231 INSTALL_PROGRAM = ${INSTALL}
232 INSTALL_SCRIPT = ${INSTALL}
233 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
234 INTROSPECTION_CFLAGS = -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gobject-introspection-1.0
235 INTROSPECTION_COMPILER = /usr/bin/g-ir-compiler
236 INTROSPECTION_GENERATE = /usr/bin/g-ir-generate
237 INTROSPECTION_GIRDIR = /usr/share/gir-1.0
238 INTROSPECTION_LIBS = -lgirepository-1.0 -lgobject-2.0 -lglib-2.0
239 INTROSPECTION_MAKEFILE = /usr/share/gobject-introspection-1.0/Makefile.introspection
240 INTROSPECTION_SCANNER = /usr/bin/g-ir-scanner
241 INTROSPECTION_TYPELIBDIR = /usr/lib/girepository-1.0
242 LD = /usr/bin/ld -m elf_x86_64
243 LDFLAGS =
244 LIBOBJS =
245 LIBS =
246 LIBTOOL = $(SHELL) $(top_builddir)/libtool
247 LIB_MENU_LT_VERSION = 0:1:0
248 LIPO =
249 LN_S = ln -s
250 LTLIBOBJS =
251 MAINT =
252 MAKEINFO = ${SHELL} /home/mtwebster/bin/cinnamon-menus/missing makeinfo
253 MANIFEST_TOOL = :
254 MKDIR_P = /bin/mkdir -p
255 NM = /usr/bin/nm -B
256 NMEDIT =
257 OBJDUMP = objdump
258 OBJEXT = o
259 OTOOL =
260 OTOOL64 =
261 PACKAGE = cinnamon-menus
262 PACKAGE_BUGREPORT =
263 PACKAGE_NAME = cinnamon-menus
264 PACKAGE_STRING = cinnamon-menus 2.1
265 PACKAGE_TARNAME = cinnamon-menus
266 PACKAGE_URL =
267 PACKAGE_VERSION = 2.1
268 PATH_SEPARATOR = :
269 PKG_CONFIG = /usr/bin/pkg-config
270 PKG_CONFIG_LIBDIR =
271 PKG_CONFIG_PATH =
272 RANLIB = ranlib
273 SED = /bin/sed
274 SET_MAKE =
275 SHELL = /bin/bash
276 STRIP = strip
277 VERSION = 2.1
278 WARN_CFLAGS = -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs
279 abs_builddir = /home/mtwebster/bin/cinnamon-menus
280 abs_srcdir = /home/mtwebster/bin/cinnamon-menus
281 abs_top_builddir = /home/mtwebster/bin/cinnamon-menus
282 abs_top_srcdir = /home/mtwebster/bin/cinnamon-menus
283 ac_ct_AR = ar
284 ac_ct_CC = gcc
285 ac_ct_DUMPBIN =
286 am__include = include
287 am__leading_dot = .
288 am__quote =
289 am__tar = $${TAR-tar} chof - "$$tardir"
290 am__untar = $${TAR-tar} xf -
291 bindir = ${exec_prefix}/bin
292 build = x86_64-unknown-linux-gnu
293 build_alias =
294 build_cpu = x86_64
295 build_os = linux-gnu
296 build_vendor = unknown
297 builddir = .
298 datadir = ${datarootdir}
299 datarootdir = ${prefix}/share
300 docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
301 dvidir = ${docdir}
302 exec_prefix = ${prefix}
303 host = x86_64-unknown-linux-gnu
304 host_alias =
305 host_cpu = x86_64
306 host_os = linux-gnu
307 host_vendor = unknown
308 htmldir = ${docdir}
309 includedir = ${prefix}/include
310 infodir = ${datarootdir}/info
311 install_sh = ${SHELL} /home/mtwebster/bin/cinnamon-menus/install-sh
312 libdir = ${exec_prefix}/lib
313 libexecdir = ${exec_prefix}/libexec
314 localedir = ${datarootdir}/locale
315 localstatedir = ${prefix}/var
316 mandir = ${datarootdir}/man
317 mkdir_p = $(MKDIR_P)
318 oldincludedir = /usr/include
319 pdfdir = ${docdir}
320 prefix = /usr/local
321 program_transform_name = s,x,x,
322 psdir = ${docdir}
323 sbindir = ${exec_prefix}/sbin
324 sharedstatedir = ${prefix}/com
325 srcdir = .
326 sysconfdir = ${prefix}/etc
327 target_alias =
328 top_build_prefix =
329 top_builddir = .
330 top_srcdir = .
331 SUBDIRS = libmenu
332 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
333 DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
334 EXTRA_DIST = \
335 HACKING \
336 MAINTAINERS
337
338 MAINTAINERCLEANFILES = \
339 $(srcdir)/INSTALL \
340 $(srcdir)/aclocal.m4 \
341 $(srcdir)/config.guess \
342 $(srcdir)/config.h.in \
343 $(srcdir)/config.sub \
344 $(srcdir)/depcomp \
345 $(srcdir)/install-sh \
346 $(srcdir)/ltmain.sh \
347 $(srcdir)/missing \
348 $(srcdir)/mkinstalldirs \
349 $(srcdir)/py-compile \
350 `find "$(srcdir)" -type f -name Makefile.in -print` \
351 $(srcdir)/configure \
352 $(srcdir)/m4/intltool.m4 \
353 $(srcdir)/m4/libtool.m4 \
354 $(srcdir)/m4/ltoptions.m4 \
355 $(srcdir)/m4/ltsugar.m4 \
356 $(srcdir)/m4/ltversion.m4 \
357 $(srcdir)/m4/lt~obsolete.m4
358
359 all: config.h
360 $(MAKE) $(AM_MAKEFLAGS) all-recursive
361
362 .SUFFIXES:
363 am--refresh: Makefile
364 @:
365 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
366 @for dep in $?; do \
367 case '$(am__configure_deps)' in \
368 *$$dep*) \
369 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
370 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
371 && exit 0; \
372 exit 1;; \
373 esac; \
374 done; \
375 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
376 $(am__cd) $(top_srcdir) && \
377 $(AUTOMAKE) --foreign Makefile
378 .PRECIOUS: Makefile
379 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
380 @case '$?' in \
381 *config.status*) \
382 echo ' $(SHELL) ./config.status'; \
383 $(SHELL) ./config.status;; \
384 *) \
385 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
386 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
387 esac;
388
389 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
390 $(SHELL) ./config.status --recheck
391
392 $(top_srcdir)/configure: $(am__configure_deps)
393 $(am__cd) $(srcdir) && $(AUTOCONF)
394 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
395 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
396 $(am__aclocal_m4_deps):
397
398 config.h: stamp-h1
399 @if test ! -f $@; then rm -f stamp-h1; else :; fi
400 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
401
402 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
403 @rm -f stamp-h1
404 cd $(top_builddir) && $(SHELL) ./config.status config.h
405 $(srcdir)/config.h.in: $(am__configure_deps)
406 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
407 rm -f stamp-h1
408 touch $@
409
410 distclean-hdr:
411 -rm -f config.h stamp-h1
412
413 mostlyclean-libtool:
414 -rm -f *.lo
415
416 clean-libtool:
417 -rm -rf .libs _libs
418
419 distclean-libtool:
420 -rm -f libtool config.lt
421
422 # This directory's subdirectories are mostly independent; you can cd
423 # into them and run 'make' without going through this Makefile.
424 # To change the values of 'make' variables: instead of editing Makefiles,
425 # (1) if the variable is set in 'config.status', edit 'config.status'
426 # (which will cause the Makefiles to be regenerated when you run 'make');
427 # (2) otherwise, pass the desired values on the 'make' command line.
428 $(am__recursive_targets):
429 @fail=; \
430 if $(am__make_keepgoing); then \
431 failcom='fail=yes'; \
432 else \
433 failcom='exit 1'; \
434 fi; \
435 dot_seen=no; \
436 target=`echo $@ | sed s/-recursive//`; \
437 case "$@" in \
438 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
439 *) list='$(SUBDIRS)' ;; \
440 esac; \
441 for subdir in $$list; do \
442 echo "Making $$target in $$subdir"; \
443 if test "$$subdir" = "."; then \
444 dot_seen=yes; \
445 local_target="$$target-am"; \
446 else \
447 local_target="$$target"; \
448 fi; \
449 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
450 || eval $$failcom; \
451 done; \
452 if test "$$dot_seen" = "no"; then \
453 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
454 fi; test -z "$$fail"
455
456 ID: $(am__tagged_files)
457 $(am__define_uniq_tagged_files); mkid -fID $$unique
458 tags: tags-recursive
459 TAGS: tags
460
461 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
462 set x; \
463 here=`pwd`; \
464 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
465 include_option=--etags-include; \
466 empty_fix=.; \
467 else \
468 include_option=--include; \
469 empty_fix=; \
470 fi; \
471 list='$(SUBDIRS)'; for subdir in $$list; do \
472 if test "$$subdir" = .; then :; else \
473 test ! -f $$subdir/TAGS || \
474 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
475 fi; \
476 done; \
477 $(am__define_uniq_tagged_files); \
478 shift; \
479 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
480 test -n "$$unique" || unique=$$empty_fix; \
481 if test $$# -gt 0; then \
482 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
483 "$$@" $$unique; \
484 else \
485 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
486 $$unique; \
487 fi; \
488 fi
489 ctags: ctags-recursive
490
491 CTAGS: ctags
492 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
493 $(am__define_uniq_tagged_files); \
494 test -z "$(CTAGS_ARGS)$$unique" \
495 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
496 $$unique
497
498 GTAGS:
499 here=`$(am__cd) $(top_builddir) && pwd` \
500 && $(am__cd) $(top_srcdir) \
501 && gtags -i $(GTAGS_ARGS) "$$here"
502 cscope: cscope.files
503 test ! -s cscope.files \
504 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
505 clean-cscope:
506 -rm -f cscope.files
507 cscope.files: clean-cscope cscopelist
508 cscopelist: cscopelist-recursive
509
510 cscopelist-am: $(am__tagged_files)
511 list='$(am__tagged_files)'; \
512 case "$(srcdir)" in \
513 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
514 *) sdir=$(subdir)/$(srcdir) ;; \
515 esac; \
516 for i in $$list; do \
517 if test -f "$$i"; then \
518 echo "$(subdir)/$$i"; \
519 else \
520 echo "$$sdir/$$i"; \
521 fi; \
522 done >> $(top_builddir)/cscope.files
523
524 distclean-tags:
525 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
526 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
527
528 distdir: $(DISTFILES)
529 $(am__remove_distdir)
530 test -d "$(distdir)" || mkdir "$(distdir)"
531 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
532 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
533 list='$(DISTFILES)'; \
534 dist_files=`for file in $$list; do echo $$file; done | \
535 sed -e "s|^$$srcdirstrip/||;t" \
536 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
537 case $$dist_files in \
538 */*) $(MKDIR_P) `echo "$$dist_files" | \
539 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
540 sort -u` ;; \
541 esac; \
542 for file in $$dist_files; do \
543 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
544 if test -d $$d/$$file; then \
545 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
546 if test -d "$(distdir)/$$file"; then \
547 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
548 fi; \
549 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
550 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
551 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
552 fi; \
553 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
554 else \
555 test -f "$(distdir)/$$file" \
556 || cp -p $$d/$$file "$(distdir)/$$file" \
557 || exit 1; \
558 fi; \
559 done
560 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
561 if test "$$subdir" = .; then :; else \
562 $(am__make_dryrun) \
563 || test -d "$(distdir)/$$subdir" \
564 || $(MKDIR_P) "$(distdir)/$$subdir" \
565 || exit 1; \
566 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
567 $(am__relativize); \
568 new_distdir=$$reldir; \
569 dir1=$$subdir; dir2="$(top_distdir)"; \
570 $(am__relativize); \
571 new_top_distdir=$$reldir; \
572 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
573 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
574 ($(am__cd) $$subdir && \
575 $(MAKE) $(AM_MAKEFLAGS) \
576 top_distdir="$$new_top_distdir" \
577 distdir="$$new_distdir" \
578 am__remove_distdir=: \
579 am__skip_length_check=: \
580 am__skip_mode_fix=: \
581 distdir) \
582 || exit 1; \
583 fi; \
584 done
585 -test -n "$(am__skip_mode_fix)" \
586 || find "$(distdir)" -type d ! -perm -755 \
587 -exec chmod u+rwx,go+rx {} \; -o \
588 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
589 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
590 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
591 || chmod -R a+r "$(distdir)"
592 dist-gzip: distdir
593 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
594 $(am__post_remove_distdir)
595
596 dist-bzip2: distdir
597 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
598 $(am__post_remove_distdir)
599
600 dist-lzip: distdir
601 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
602 $(am__post_remove_distdir)
603 dist-xz: distdir
604 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
605 $(am__post_remove_distdir)
606
607 dist-tarZ: distdir
608 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
609 $(am__post_remove_distdir)
610
611 dist-shar: distdir
612 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
613 $(am__post_remove_distdir)
614
615 dist-zip: distdir
616 -rm -f $(distdir).zip
617 zip -rq $(distdir).zip $(distdir)
618 $(am__post_remove_distdir)
619
620 dist dist-all:
621 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
622 $(am__post_remove_distdir)
623
624 # This target untars the dist file and tries a VPATH configuration. Then
625 # it guarantees that the distribution is self-contained by making another
626 # tarfile.
627 distcheck: dist
628 case '$(DIST_ARCHIVES)' in \
629 *.tar.gz*) \
630 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
631 *.tar.bz2*) \
632 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
633 *.tar.lz*) \
634 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
635 *.tar.xz*) \
636 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
637 *.tar.Z*) \
638 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
639 *.shar.gz*) \
640 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
641 *.zip*) \
642 unzip $(distdir).zip ;;\
643 esac
644 chmod -R a-w $(distdir)
645 chmod u+w $(distdir)
646 mkdir $(distdir)/_build $(distdir)/_inst
647 chmod a-w $(distdir)
648 test -d $(distdir)/_build || exit 0; \
649 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
650 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
651 && am__cwd=`pwd` \
652 && $(am__cd) $(distdir)/_build \
653 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
654 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
655 $(DISTCHECK_CONFIGURE_FLAGS) \
656 && $(MAKE) $(AM_MAKEFLAGS) \
657 && $(MAKE) $(AM_MAKEFLAGS) dvi \
658 && $(MAKE) $(AM_MAKEFLAGS) check \
659 && $(MAKE) $(AM_MAKEFLAGS) install \
660 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
661 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
662 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
663 distuninstallcheck \
664 && chmod -R a-w "$$dc_install_base" \
665 && ({ \
666 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
667 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
668 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
669 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
670 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
671 } || { rm -rf "$$dc_destdir"; exit 1; }) \
672 && rm -rf "$$dc_destdir" \
673 && $(MAKE) $(AM_MAKEFLAGS) dist \
674 && rm -rf $(DIST_ARCHIVES) \
675 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
676 && cd "$$am__cwd" \
677 || exit 1
678 $(am__post_remove_distdir)
679 @(echo "$(distdir) archives ready for distribution: "; \
680 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
681 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
682 distuninstallcheck:
683 @test -n '$(distuninstallcheck_dir)' || { \
684 echo 'ERROR: trying to run $@ with an empty' \
685 '$$(distuninstallcheck_dir)' >&2; \
686 exit 1; \
687 }; \
688 $(am__cd) '$(distuninstallcheck_dir)' || { \
689 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
690 exit 1; \
691 }; \
692 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
693 || { echo "ERROR: files left after uninstall:" ; \
694 if test -n "$(DESTDIR)"; then \
695 echo " (check DESTDIR support)"; \
696 fi ; \
697 $(distuninstallcheck_listfiles) ; \
698 exit 1; } >&2
699 distcleancheck: distclean
700 @if test '$(srcdir)' = . ; then \
701 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
702 exit 1 ; \
703 fi
704 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
705 || { echo "ERROR: files left in build directory after distclean:" ; \
706 $(distcleancheck_listfiles) ; \
707 exit 1; } >&2
708 check-am: all-am
709 check: check-recursive
710 all-am: Makefile config.h
711 installdirs: installdirs-recursive
712 installdirs-am:
713 install: install-recursive
714 install-exec: install-exec-recursive
715 install-data: install-data-recursive
716 uninstall: uninstall-recursive
717
718 install-am: all-am
719 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
720
721 installcheck: installcheck-recursive
722 install-strip:
723 if test -z '$(STRIP)'; then \
724 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
725 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
726 install; \
727 else \
728 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
729 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
730 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
731 fi
732 mostlyclean-generic:
733
734 clean-generic:
735
736 distclean-generic:
737 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
738 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
739
740 maintainer-clean-generic:
741 @echo "This command is intended for maintainers to use"
742 @echo "it deletes files that may require special tools to rebuild."
743 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
744 clean: clean-recursive
745
746 clean-am: clean-generic clean-libtool mostlyclean-am
747
748 distclean: distclean-recursive
749 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
750 -rm -f Makefile
751 distclean-am: clean-am distclean-generic distclean-hdr \
752 distclean-libtool distclean-tags
753
754 dvi: dvi-recursive
755
756 dvi-am:
757
758 html: html-recursive
759
760 html-am:
761
762 info: info-recursive
763
764 info-am:
765
766 install-data-am:
767
768 install-dvi: install-dvi-recursive
769
770 install-dvi-am:
771
772 install-exec-am:
773
774 install-html: install-html-recursive
775
776 install-html-am:
777
778 install-info: install-info-recursive
779
780 install-info-am:
781
782 install-man:
783
784 install-pdf: install-pdf-recursive
785
786 install-pdf-am:
787
788 install-ps: install-ps-recursive
789
790 install-ps-am:
791
792 installcheck-am:
793
794 maintainer-clean: maintainer-clean-recursive
795 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
796 -rm -rf $(top_srcdir)/autom4te.cache
797 -rm -f Makefile
798 maintainer-clean-am: distclean-am maintainer-clean-generic
799
800 mostlyclean: mostlyclean-recursive
801
802 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
803
804 pdf: pdf-recursive
805
806 pdf-am:
807
808 ps: ps-recursive
809
810 ps-am:
811
812 uninstall-am:
813
814 .MAKE: $(am__recursive_targets) all install-am install-strip
815
816 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
817 am--refresh check check-am clean clean-cscope clean-generic \
818 clean-libtool cscope cscopelist-am ctags ctags-am dist \
819 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
820 dist-xz dist-zip distcheck distclean distclean-generic \
821 distclean-hdr distclean-libtool distclean-tags distcleancheck \
822 distdir distuninstallcheck dvi dvi-am html html-am info \
823 info-am install install-am install-data install-data-am \
824 install-dvi install-dvi-am install-exec install-exec-am \
825 install-html install-html-am install-info install-info-am \
826 install-man install-pdf install-pdf-am install-ps \
827 install-ps-am install-strip installcheck installcheck-am \
828 installdirs installdirs-am maintainer-clean \
829 maintainer-clean-generic mostlyclean mostlyclean-generic \
830 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
831 uninstall-am
832
833
834 # Tell versions [3.59,3.63) of GNU make to not export all variables.
835 # Otherwise a system limit (for SysV at least) may be exceeded.
836 .NOEXPORT:
+0
-837
Makefile.in less more
0 # Makefile.in generated by automake 1.13.3 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
4
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE.
13
14 @SET_MAKE@
15 VPATH = @srcdir@
16 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17 am__make_running_with_option = \
18 case $${target_option-} in \
19 ?) ;; \
20 *) echo "am__make_running_with_option: internal error: invalid" \
21 "target option '$${target_option-}' specified" >&2; \
22 exit 1;; \
23 esac; \
24 has_opt=no; \
25 sane_makeflags=$$MAKEFLAGS; \
26 if $(am__is_gnu_make); then \
27 sane_makeflags=$$MFLAGS; \
28 else \
29 case $$MAKEFLAGS in \
30 *\\[\ \ ]*) \
31 bs=\\; \
32 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
33 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
34 esac; \
35 fi; \
36 skip_next=no; \
37 strip_trailopt () \
38 { \
39 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
40 }; \
41 for flg in $$sane_makeflags; do \
42 test $$skip_next = yes && { skip_next=no; continue; }; \
43 case $$flg in \
44 *=*|--*) continue;; \
45 -*I) strip_trailopt 'I'; skip_next=yes;; \
46 -*I?*) strip_trailopt 'I';; \
47 -*O) strip_trailopt 'O'; skip_next=yes;; \
48 -*O?*) strip_trailopt 'O';; \
49 -*l) strip_trailopt 'l'; skip_next=yes;; \
50 -*l?*) strip_trailopt 'l';; \
51 -[dEDm]) skip_next=yes;; \
52 -[JT]) skip_next=yes;; \
53 esac; \
54 case $$flg in \
55 *$$target_option*) has_opt=yes; break;; \
56 esac; \
57 done; \
58 test $$has_opt = yes
59 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
60 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
61 pkgdatadir = $(datadir)/@PACKAGE@
62 pkgincludedir = $(includedir)/@PACKAGE@
63 pkglibdir = $(libdir)/@PACKAGE@
64 pkglibexecdir = $(libexecdir)/@PACKAGE@
65 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
66 install_sh_DATA = $(install_sh) -c -m 644
67 install_sh_PROGRAM = $(install_sh) -c
68 install_sh_SCRIPT = $(install_sh) -c
69 INSTALL_HEADER = $(INSTALL_DATA)
70 transform = $(program_transform_name)
71 NORMAL_INSTALL = :
72 PRE_INSTALL = :
73 POST_INSTALL = :
74 NORMAL_UNINSTALL = :
75 PRE_UNINSTALL = :
76 POST_UNINSTALL = :
77 build_triplet = @build@
78 host_triplet = @host@
79 subdir = .
80 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
81 $(top_srcdir)/configure $(am__configure_deps) \
82 $(srcdir)/config.h.in AUTHORS COPYING COPYING.LIB ChangeLog \
83 NEWS README config.guess config.sub depcomp install-sh missing \
84 ltmain.sh
85 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
86 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
87 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
88 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
89 $(top_srcdir)/configure.ac
90 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
91 $(ACLOCAL_M4)
92 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
93 configure.lineno config.status.lineno
94 mkinstalldirs = $(install_sh) -d
95 CONFIG_HEADER = config.h
96 CONFIG_CLEAN_FILES =
97 CONFIG_CLEAN_VPATH_FILES =
98 AM_V_P = $(am__v_P_@AM_V@)
99 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
100 am__v_P_0 = false
101 am__v_P_1 = :
102 AM_V_GEN = $(am__v_GEN_@AM_V@)
103 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
104 am__v_GEN_0 = @echo " GEN " $@;
105 am__v_GEN_1 =
106 AM_V_at = $(am__v_at_@AM_V@)
107 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
108 am__v_at_0 = @
109 am__v_at_1 =
110 SOURCES =
111 DIST_SOURCES =
112 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
113 ctags-recursive dvi-recursive html-recursive info-recursive \
114 install-data-recursive install-dvi-recursive \
115 install-exec-recursive install-html-recursive \
116 install-info-recursive install-pdf-recursive \
117 install-ps-recursive install-recursive installcheck-recursive \
118 installdirs-recursive pdf-recursive ps-recursive \
119 tags-recursive uninstall-recursive
120 am__can_run_installinfo = \
121 case $$AM_UPDATE_INFO_DIR in \
122 n|no|NO) false;; \
123 *) (install-info --version) >/dev/null 2>&1;; \
124 esac
125 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
126 distclean-recursive maintainer-clean-recursive
127 am__recursive_targets = \
128 $(RECURSIVE_TARGETS) \
129 $(RECURSIVE_CLEAN_TARGETS) \
130 $(am__extra_recursive_targets)
131 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
132 cscope distdir dist dist-all distcheck
133 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
134 $(LISP)config.h.in
135 # Read a list of newline-separated strings from the standard input,
136 # and print each of them once, without duplicates. Input order is
137 # *not* preserved.
138 am__uniquify_input = $(AWK) '\
139 BEGIN { nonempty = 0; } \
140 { items[$$0] = 1; nonempty = 1; } \
141 END { if (nonempty) { for (i in items) print i; }; } \
142 '
143 # Make sure the list of sources is unique. This is necessary because,
144 # e.g., the same source file might be shared among _SOURCES variables
145 # for different programs/libraries.
146 am__define_uniq_tagged_files = \
147 list='$(am__tagged_files)'; \
148 unique=`for i in $$list; do \
149 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
150 done | $(am__uniquify_input)`
151 ETAGS = etags
152 CTAGS = ctags
153 CSCOPE = cscope
154 DIST_SUBDIRS = $(SUBDIRS)
155 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
156 distdir = $(PACKAGE)-$(VERSION)
157 top_distdir = $(distdir)
158 am__remove_distdir = \
159 if test -d "$(distdir)"; then \
160 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
161 && rm -rf "$(distdir)" \
162 || { sleep 5 && rm -rf "$(distdir)"; }; \
163 else :; fi
164 am__post_remove_distdir = $(am__remove_distdir)
165 am__relativize = \
166 dir0=`pwd`; \
167 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
168 sed_rest='s,^[^/]*/*,,'; \
169 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
170 sed_butlast='s,/*[^/]*$$,,'; \
171 while test -n "$$dir1"; do \
172 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
173 if test "$$first" != "."; then \
174 if test "$$first" = ".."; then \
175 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
176 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
177 else \
178 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
179 if test "$$first2" = "$$first"; then \
180 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
181 else \
182 dir2="../$$dir2"; \
183 fi; \
184 dir0="$$dir0"/"$$first"; \
185 fi; \
186 fi; \
187 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
188 done; \
189 reldir="$$dir2"
190 GZIP_ENV = --best
191 DIST_ARCHIVES = $(distdir).tar.xz
192 DIST_TARGETS = dist-xz
193 distuninstallcheck_listfiles = find . -type f -print
194 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
195 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
196 distcleancheck_listfiles = find . -type f -print
197 ACLOCAL = @ACLOCAL@
198 AMTAR = @AMTAR@
199 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
200 AR = @AR@
201 AS = @AS@
202 AUTOCONF = @AUTOCONF@
203 AUTOHEADER = @AUTOHEADER@
204 AUTOMAKE = @AUTOMAKE@
205 AWK = @AWK@
206 CC = @CC@
207 CCDEPMODE = @CCDEPMODE@
208 CFLAGS = @CFLAGS@
209 CPP = @CPP@
210 CPPFLAGS = @CPPFLAGS@
211 CYGPATH_W = @CYGPATH_W@
212 DEBUG_CFLAGS = @DEBUG_CFLAGS@
213 DEFS = @DEFS@
214 DEPDIR = @DEPDIR@
215 DISABLE_DEPRECATED = @DISABLE_DEPRECATED@
216 DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@
217 DLLTOOL = @DLLTOOL@
218 DSYMUTIL = @DSYMUTIL@
219 DUMPBIN = @DUMPBIN@
220 ECHO_C = @ECHO_C@
221 ECHO_N = @ECHO_N@
222 ECHO_T = @ECHO_T@
223 EGREP = @EGREP@
224 EXEEXT = @EXEEXT@
225 FGREP = @FGREP@
226 GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
227 GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
228 GREP = @GREP@
229 INSTALL = @INSTALL@
230 INSTALL_DATA = @INSTALL_DATA@
231 INSTALL_PROGRAM = @INSTALL_PROGRAM@
232 INSTALL_SCRIPT = @INSTALL_SCRIPT@
233 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
234 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
235 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
236 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
237 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
238 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
239 INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@
240 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
241 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
242 LD = @LD@
243 LDFLAGS = @LDFLAGS@
244 LIBOBJS = @LIBOBJS@
245 LIBS = @LIBS@
246 LIBTOOL = @LIBTOOL@
247 LIB_MENU_LT_VERSION = @LIB_MENU_LT_VERSION@
248 LIPO = @LIPO@
249 LN_S = @LN_S@
250 LTLIBOBJS = @LTLIBOBJS@
251 MAINT = @MAINT@
252 MAKEINFO = @MAKEINFO@
253 MANIFEST_TOOL = @MANIFEST_TOOL@
254 MKDIR_P = @MKDIR_P@
255 NM = @NM@
256 NMEDIT = @NMEDIT@
257 OBJDUMP = @OBJDUMP@
258 OBJEXT = @OBJEXT@
259 OTOOL = @OTOOL@
260 OTOOL64 = @OTOOL64@
261 PACKAGE = @PACKAGE@
262 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
263 PACKAGE_NAME = @PACKAGE_NAME@
264 PACKAGE_STRING = @PACKAGE_STRING@
265 PACKAGE_TARNAME = @PACKAGE_TARNAME@
266 PACKAGE_URL = @PACKAGE_URL@
267 PACKAGE_VERSION = @PACKAGE_VERSION@
268 PATH_SEPARATOR = @PATH_SEPARATOR@
269 PKG_CONFIG = @PKG_CONFIG@
270 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
271 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
272 RANLIB = @RANLIB@
273 SED = @SED@
274 SET_MAKE = @SET_MAKE@
275 SHELL = @SHELL@
276 STRIP = @STRIP@
277 VERSION = @VERSION@
278 WARN_CFLAGS = @WARN_CFLAGS@
279 abs_builddir = @abs_builddir@
280 abs_srcdir = @abs_srcdir@
281 abs_top_builddir = @abs_top_builddir@
282 abs_top_srcdir = @abs_top_srcdir@
283 ac_ct_AR = @ac_ct_AR@
284 ac_ct_CC = @ac_ct_CC@
285 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
286 am__include = @am__include@
287 am__leading_dot = @am__leading_dot@
288 am__quote = @am__quote@
289 am__tar = @am__tar@
290 am__untar = @am__untar@
291 bindir = @bindir@
292 build = @build@
293 build_alias = @build_alias@
294 build_cpu = @build_cpu@
295 build_os = @build_os@
296 build_vendor = @build_vendor@
297 builddir = @builddir@
298 datadir = @datadir@
299 datarootdir = @datarootdir@
300 docdir = @docdir@
301 dvidir = @dvidir@
302 exec_prefix = @exec_prefix@
303 host = @host@
304 host_alias = @host_alias@
305 host_cpu = @host_cpu@
306 host_os = @host_os@
307 host_vendor = @host_vendor@
308 htmldir = @htmldir@
309 includedir = @includedir@
310 infodir = @infodir@
311 install_sh = @install_sh@
312 libdir = @libdir@
313 libexecdir = @libexecdir@
314 localedir = @localedir@
315 localstatedir = @localstatedir@
316 mandir = @mandir@
317 mkdir_p = @mkdir_p@
318 oldincludedir = @oldincludedir@
319 pdfdir = @pdfdir@
320 prefix = @prefix@
321 program_transform_name = @program_transform_name@
322 psdir = @psdir@
323 sbindir = @sbindir@
324 sharedstatedir = @sharedstatedir@
325 srcdir = @srcdir@
326 sysconfdir = @sysconfdir@
327 target_alias = @target_alias@
328 top_build_prefix = @top_build_prefix@
329 top_builddir = @top_builddir@
330 top_srcdir = @top_srcdir@
331 SUBDIRS = libmenu
332 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
333 DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
334 EXTRA_DIST = \
335 HACKING \
336 MAINTAINERS
337
338 MAINTAINERCLEANFILES = \
339 $(srcdir)/INSTALL \
340 $(srcdir)/aclocal.m4 \
341 $(srcdir)/config.guess \
342 $(srcdir)/config.h.in \
343 $(srcdir)/config.sub \
344 $(srcdir)/depcomp \
345 $(srcdir)/install-sh \
346 $(srcdir)/ltmain.sh \
347 $(srcdir)/missing \
348 $(srcdir)/mkinstalldirs \
349 $(srcdir)/py-compile \
350 `find "$(srcdir)" -type f -name Makefile.in -print` \
351 $(srcdir)/configure \
352 $(srcdir)/m4/intltool.m4 \
353 $(srcdir)/m4/libtool.m4 \
354 $(srcdir)/m4/ltoptions.m4 \
355 $(srcdir)/m4/ltsugar.m4 \
356 $(srcdir)/m4/ltversion.m4 \
357 $(srcdir)/m4/lt~obsolete.m4
358
359 all: config.h
360 $(MAKE) $(AM_MAKEFLAGS) all-recursive
361
362 .SUFFIXES:
363 am--refresh: Makefile
364 @:
365 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
366 @for dep in $?; do \
367 case '$(am__configure_deps)' in \
368 *$$dep*) \
369 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
370 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
371 && exit 0; \
372 exit 1;; \
373 esac; \
374 done; \
375 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
376 $(am__cd) $(top_srcdir) && \
377 $(AUTOMAKE) --foreign Makefile
378 .PRECIOUS: Makefile
379 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
380 @case '$?' in \
381 *config.status*) \
382 echo ' $(SHELL) ./config.status'; \
383 $(SHELL) ./config.status;; \
384 *) \
385 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
386 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
387 esac;
388
389 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
390 $(SHELL) ./config.status --recheck
391
392 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
393 $(am__cd) $(srcdir) && $(AUTOCONF)
394 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
395 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
396 $(am__aclocal_m4_deps):
397
398 config.h: stamp-h1
399 @if test ! -f $@; then rm -f stamp-h1; else :; fi
400 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
401
402 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
403 @rm -f stamp-h1
404 cd $(top_builddir) && $(SHELL) ./config.status config.h
405 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
406 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
407 rm -f stamp-h1
408 touch $@
409
410 distclean-hdr:
411 -rm -f config.h stamp-h1
412
413 mostlyclean-libtool:
414 -rm -f *.lo
415
416 clean-libtool:
417 -rm -rf .libs _libs
418
419 distclean-libtool:
420 -rm -f libtool config.lt
421
422 # This directory's subdirectories are mostly independent; you can cd
423 # into them and run 'make' without going through this Makefile.
424 # To change the values of 'make' variables: instead of editing Makefiles,
425 # (1) if the variable is set in 'config.status', edit 'config.status'
426 # (which will cause the Makefiles to be regenerated when you run 'make');
427 # (2) otherwise, pass the desired values on the 'make' command line.
428 $(am__recursive_targets):
429 @fail=; \
430 if $(am__make_keepgoing); then \
431 failcom='fail=yes'; \
432 else \
433 failcom='exit 1'; \
434 fi; \
435 dot_seen=no; \
436 target=`echo $@ | sed s/-recursive//`; \
437 case "$@" in \
438 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
439 *) list='$(SUBDIRS)' ;; \
440 esac; \
441 for subdir in $$list; do \
442 echo "Making $$target in $$subdir"; \
443 if test "$$subdir" = "."; then \
444 dot_seen=yes; \
445 local_target="$$target-am"; \
446 else \
447 local_target="$$target"; \
448 fi; \
449 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
450 || eval $$failcom; \
451 done; \
452 if test "$$dot_seen" = "no"; then \
453 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
454 fi; test -z "$$fail"
455
456 ID: $(am__tagged_files)
457 $(am__define_uniq_tagged_files); mkid -fID $$unique
458 tags: tags-recursive
459 TAGS: tags
460
461 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
462 set x; \
463 here=`pwd`; \
464 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
465 include_option=--etags-include; \
466 empty_fix=.; \
467 else \
468 include_option=--include; \
469 empty_fix=; \
470 fi; \
471 list='$(SUBDIRS)'; for subdir in $$list; do \
472 if test "$$subdir" = .; then :; else \
473 test ! -f $$subdir/TAGS || \
474 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
475 fi; \
476 done; \
477 $(am__define_uniq_tagged_files); \
478 shift; \
479 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
480 test -n "$$unique" || unique=$$empty_fix; \
481 if test $$# -gt 0; then \
482 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
483 "$$@" $$unique; \
484 else \
485 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
486 $$unique; \
487 fi; \
488 fi
489 ctags: ctags-recursive
490
491 CTAGS: ctags
492 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
493 $(am__define_uniq_tagged_files); \
494 test -z "$(CTAGS_ARGS)$$unique" \
495 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
496 $$unique
497
498 GTAGS:
499 here=`$(am__cd) $(top_builddir) && pwd` \
500 && $(am__cd) $(top_srcdir) \
501 && gtags -i $(GTAGS_ARGS) "$$here"
502 cscope: cscope.files
503 test ! -s cscope.files \
504 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
505 clean-cscope:
506 -rm -f cscope.files
507 cscope.files: clean-cscope cscopelist
508 cscopelist: cscopelist-recursive
509
510 cscopelist-am: $(am__tagged_files)
511 list='$(am__tagged_files)'; \
512 case "$(srcdir)" in \
513 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
514 *) sdir=$(subdir)/$(srcdir) ;; \
515 esac; \
516 for i in $$list; do \
517 if test -f "$$i"; then \
518 echo "$(subdir)/$$i"; \
519 else \
520 echo "$$sdir/$$i"; \
521 fi; \
522 done >> $(top_builddir)/cscope.files
523
524 distclean-tags:
525 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
526 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
527
528 distdir: $(DISTFILES)
529 $(am__remove_distdir)
530 test -d "$(distdir)" || mkdir "$(distdir)"
531 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
532 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
533 list='$(DISTFILES)'; \
534 dist_files=`for file in $$list; do echo $$file; done | \
535 sed -e "s|^$$srcdirstrip/||;t" \
536 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
537 case $$dist_files in \
538 */*) $(MKDIR_P) `echo "$$dist_files" | \
539 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
540 sort -u` ;; \
541 esac; \
542 for file in $$dist_files; do \
543 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
544 if test -d $$d/$$file; then \
545 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
546 if test -d "$(distdir)/$$file"; then \
547 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
548 fi; \
549 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
550 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
551 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
552 fi; \
553 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
554 else \
555 test -f "$(distdir)/$$file" \
556 || cp -p $$d/$$file "$(distdir)/$$file" \
557 || exit 1; \
558 fi; \
559 done
560 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
561 if test "$$subdir" = .; then :; else \
562 $(am__make_dryrun) \
563 || test -d "$(distdir)/$$subdir" \
564 || $(MKDIR_P) "$(distdir)/$$subdir" \
565 || exit 1; \
566 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
567 $(am__relativize); \
568 new_distdir=$$reldir; \
569 dir1=$$subdir; dir2="$(top_distdir)"; \
570 $(am__relativize); \
571 new_top_distdir=$$reldir; \
572 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
573 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
574 ($(am__cd) $$subdir && \
575 $(MAKE) $(AM_MAKEFLAGS) \
576 top_distdir="$$new_top_distdir" \
577 distdir="$$new_distdir" \
578 am__remove_distdir=: \
579 am__skip_length_check=: \
580 am__skip_mode_fix=: \
581 distdir) \
582 || exit 1; \
583 fi; \
584 done
585 -test -n "$(am__skip_mode_fix)" \
586 || find "$(distdir)" -type d ! -perm -755 \
587 -exec chmod u+rwx,go+rx {} \; -o \
588 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
589 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
590 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
591 || chmod -R a+r "$(distdir)"
592 dist-gzip: distdir
593 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
594 $(am__post_remove_distdir)
595
596 dist-bzip2: distdir
597 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
598 $(am__post_remove_distdir)
599
600 dist-lzip: distdir
601 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
602 $(am__post_remove_distdir)
603 dist-xz: distdir
604 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
605 $(am__post_remove_distdir)
606
607 dist-tarZ: distdir
608 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
609 $(am__post_remove_distdir)
610
611 dist-shar: distdir
612 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
613 $(am__post_remove_distdir)
614
615 dist-zip: distdir
616 -rm -f $(distdir).zip
617 zip -rq $(distdir).zip $(distdir)
618 $(am__post_remove_distdir)
619
620 dist dist-all:
621 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
622 $(am__post_remove_distdir)
623
624 # This target untars the dist file and tries a VPATH configuration. Then
625 # it guarantees that the distribution is self-contained by making another
626 # tarfile.
627 distcheck: dist
628 case '$(DIST_ARCHIVES)' in \
629 *.tar.gz*) \
630 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
631 *.tar.bz2*) \
632 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
633 *.tar.lz*) \
634 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
635 *.tar.xz*) \
636 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
637 *.tar.Z*) \
638 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
639 *.shar.gz*) \
640 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
641 *.zip*) \
642 unzip $(distdir).zip ;;\
643 esac
644 chmod -R a-w $(distdir)
645 chmod u+w $(distdir)
646 mkdir $(distdir)/_build $(distdir)/_inst
647 chmod a-w $(distdir)
648 test -d $(distdir)/_build || exit 0; \
649 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
650 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
651 && am__cwd=`pwd` \
652 && $(am__cd) $(distdir)/_build \
653 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
654 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
655 $(DISTCHECK_CONFIGURE_FLAGS) \
656 && $(MAKE) $(AM_MAKEFLAGS) \
657 && $(MAKE) $(AM_MAKEFLAGS) dvi \
658 && $(MAKE) $(AM_MAKEFLAGS) check \
659 && $(MAKE) $(AM_MAKEFLAGS) install \
660 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
661 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
662 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
663 distuninstallcheck \
664 && chmod -R a-w "$$dc_install_base" \
665 && ({ \
666 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
667 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
668 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
669 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
670 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
671 } || { rm -rf "$$dc_destdir"; exit 1; }) \
672 && rm -rf "$$dc_destdir" \
673 && $(MAKE) $(AM_MAKEFLAGS) dist \
674 && rm -rf $(DIST_ARCHIVES) \
675 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
676 && cd "$$am__cwd" \
677 || exit 1
678 $(am__post_remove_distdir)
679 @(echo "$(distdir) archives ready for distribution: "; \
680 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
681 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
682 distuninstallcheck:
683 @test -n '$(distuninstallcheck_dir)' || { \
684 echo 'ERROR: trying to run $@ with an empty' \
685 '$$(distuninstallcheck_dir)' >&2; \
686 exit 1; \
687 }; \
688 $(am__cd) '$(distuninstallcheck_dir)' || { \
689 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
690 exit 1; \
691 }; \
692 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
693 || { echo "ERROR: files left after uninstall:" ; \
694 if test -n "$(DESTDIR)"; then \
695 echo " (check DESTDIR support)"; \
696 fi ; \
697 $(distuninstallcheck_listfiles) ; \
698 exit 1; } >&2
699 distcleancheck: distclean
700 @if test '$(srcdir)' = . ; then \
701 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
702 exit 1 ; \
703 fi
704 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
705 || { echo "ERROR: files left in build directory after distclean:" ; \
706 $(distcleancheck_listfiles) ; \
707 exit 1; } >&2
708 check-am: all-am
709 check: check-recursive
710 all-am: Makefile config.h
711 installdirs: installdirs-recursive
712 installdirs-am:
713 install: install-recursive
714 install-exec: install-exec-recursive
715 install-data: install-data-recursive
716 uninstall: uninstall-recursive
717
718 install-am: all-am
719 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
720
721 installcheck: installcheck-recursive
722 install-strip:
723 if test -z '$(STRIP)'; then \
724 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
725 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
726 install; \
727 else \
728 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
729 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
730 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
731 fi
732 mostlyclean-generic:
733
734 clean-generic:
735
736 distclean-generic:
737 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
738 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
739
740 maintainer-clean-generic:
741 @echo "This command is intended for maintainers to use"
742 @echo "it deletes files that may require special tools to rebuild."
743 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
744 clean: clean-recursive
745
746 clean-am: clean-generic clean-libtool mostlyclean-am
747
748 distclean: distclean-recursive
749 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
750 -rm -f Makefile
751 distclean-am: clean-am distclean-generic distclean-hdr \
752 distclean-libtool distclean-tags
753
754 dvi: dvi-recursive
755
756 dvi-am:
757
758 html: html-recursive
759
760 html-am:
761
762 info: info-recursive
763
764 info-am:
765
766 install-data-am:
767
768 install-dvi: install-dvi-recursive
769
770 install-dvi-am:
771
772 install-exec-am:
773
774 install-html: install-html-recursive
775
776 install-html-am:
777
778 install-info: install-info-recursive
779
780 install-info-am:
781
782 install-man:
783
784 install-pdf: install-pdf-recursive
785
786 install-pdf-am:
787
788 install-ps: install-ps-recursive
789
790 install-ps-am:
791
792 installcheck-am:
793
794 maintainer-clean: maintainer-clean-recursive
795 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
796 -rm -rf $(top_srcdir)/autom4te.cache
797 -rm -f Makefile
798 maintainer-clean-am: distclean-am maintainer-clean-generic
799
800 mostlyclean: mostlyclean-recursive
801
802 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
803
804 pdf: pdf-recursive
805
806 pdf-am:
807
808 ps: ps-recursive
809
810 ps-am:
811
812 uninstall-am:
813
814 .MAKE: $(am__recursive_targets) all install-am install-strip
815
816 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
817 am--refresh check check-am clean clean-cscope clean-generic \
818 clean-libtool cscope cscopelist-am ctags ctags-am dist \
819 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
820 dist-xz dist-zip distcheck distclean distclean-generic \
821 distclean-hdr distclean-libtool distclean-tags distcleancheck \
822 distdir distuninstallcheck dvi dvi-am html html-am info \
823 info-am install install-am install-data install-data-am \
824 install-dvi install-dvi-am install-exec install-exec-am \
825 install-html install-html-am install-info install-info-am \
826 install-man install-pdf install-pdf-am install-ps \
827 install-ps-am install-strip installcheck installcheck-am \
828 installdirs installdirs-am maintainer-clean \
829 maintainer-clean-generic mostlyclean mostlyclean-generic \
830 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
831 uninstall-am
832
833
834 # Tell versions [3.59,3.63) of GNU make to not export all variables.
835 # Otherwise a system limit (for SysV at least) may be exceeded.
836 .NOEXPORT:
+0
-1559
aclocal.m4 less more
0 # generated automatically by aclocal 1.13.3 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
3
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
18 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
21
22 # gnome-common.m4
23 #
24 # serial 3
25 #
26
27 dnl GNOME_COMMON_INIT
28
29 AU_DEFUN([GNOME_COMMON_INIT],
30 [
31 dnl this macro should come after AC_CONFIG_MACRO_DIR
32 AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
33
34 dnl ensure that when the Automake generated makefile calls aclocal,
35 dnl it honours the $ACLOCAL_FLAGS environment variable
36 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
37 if test -n "$ac_macro_dir"; then
38 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
39 fi
40
41 AC_SUBST([ACLOCAL_AMFLAGS])
42 ],
43 [[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
44 in your top-level Makefile.am, instead, where "m4" is the macro directory set
45 with AC_CONFIG_MACRO_DIR() in your configure.ac]])
46
47 AC_DEFUN([GNOME_DEBUG_CHECK],
48 [
49 AC_ARG_ENABLE([debug],
50 AC_HELP_STRING([--enable-debug],
51 [turn on debugging]),,
52 [enable_debug=no])
53
54 if test x$enable_debug = xyes ; then
55 AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
56 [Enable additional debugging at the expense of performance and size])
57 fi
58 ])
59
60 dnl GNOME_MAINTAINER_MODE_DEFINES ()
61 dnl define DISABLE_DEPRECATED
62 dnl
63 AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
64 [
65 AC_REQUIRE([AM_MAINTAINER_MODE])
66
67 DISABLE_DEPRECATED=""
68 if test $USE_MAINTAINER_MODE = yes; then
69 DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
70 for DOMAIN in $DOMAINS; do
71 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
72 done
73 fi
74
75 AC_SUBST(DISABLE_DEPRECATED)
76 ])
77
78 dnl GNOME_COMPILE_WARNINGS
79 dnl Turn on many useful compiler warnings and substitute the result into
80 dnl WARN_CFLAGS
81 dnl For now, only works on GCC
82 AC_DEFUN([GNOME_COMPILE_WARNINGS],[
83 dnl ******************************
84 dnl More compiler warnings
85 dnl ******************************
86
87 AC_ARG_ENABLE(compile-warnings,
88 AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
89 [Turn on compiler warnings]),,
90 [enable_compile_warnings="m4_default([$1],[yes])"])
91
92 if test "x$GCC" != xyes; then
93 enable_compile_warnings=no
94 fi
95
96 warning_flags=
97 realsave_CFLAGS="$CFLAGS"
98
99 dnl These are warning flags that aren't marked as fatal. Can be
100 dnl overridden on a per-project basis with -Wno-foo.
101 base_warn_flags=" \
102 -Wall \
103 -Wstrict-prototypes \
104 -Wnested-externs \
105 "
106
107 dnl These compiler flags typically indicate very broken or suspicious
108 dnl code. Some of them such as implicit-function-declaration are
109 dnl just not default because gcc compiles a lot of legacy code.
110 dnl We choose to make this set into explicit errors.
111 base_error_flags=" \
112 -Werror=missing-prototypes \
113 -Werror=implicit-function-declaration \
114 -Werror=pointer-arith \
115 -Werror=init-self \
116 -Werror=format-security \
117 -Werror=format=2 \
118 -Werror=missing-include-dirs \
119 "
120
121 case "$enable_compile_warnings" in
122 no)
123 warning_flags=
124 ;;
125 minimum)
126 warning_flags="-Wall"
127 ;;
128 yes)
129 warning_flags="$base_warn_flags $base_error_flags"
130 ;;
131 maximum|error)
132 warning_flags="$base_warn_flags $base_error_flags"
133 ;;
134 *)
135 AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
136 ;;
137 esac
138
139 if test "$enable_compile_warnings" = "error" ; then
140 warning_flags="$warning_flags -Werror"
141 fi
142
143 dnl Check whether GCC supports the warning options
144 for option in $warning_flags; do
145 save_CFLAGS="$CFLAGS"
146 CFLAGS="$CFLAGS $option"
147 AC_MSG_CHECKING([whether gcc understands $option])
148 AC_TRY_COMPILE([], [],
149 has_option=yes,
150 has_option=no,)
151 CFLAGS="$save_CFLAGS"
152 AC_MSG_RESULT([$has_option])
153 if test $has_option = yes; then
154 tested_warning_flags="$tested_warning_flags $option"
155 fi
156 unset has_option
157 unset save_CFLAGS
158 done
159 unset option
160 CFLAGS="$realsave_CFLAGS"
161 AC_MSG_CHECKING(what warning flags to pass to the C compiler)
162 AC_MSG_RESULT($tested_warning_flags)
163
164 AC_ARG_ENABLE(iso-c,
165 AC_HELP_STRING([--enable-iso-c],
166 [Try to warn if code is not ISO C ]),,
167 [enable_iso_c=no])
168
169 AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
170 complCFLAGS=
171 if test "x$enable_iso_c" != "xno"; then
172 if test "x$GCC" = "xyes"; then
173 case " $CFLAGS " in
174 *[\ \ ]-ansi[\ \ ]*) ;;
175 *) complCFLAGS="$complCFLAGS -ansi" ;;
176 esac
177 case " $CFLAGS " in
178 *[\ \ ]-pedantic[\ \ ]*) ;;
179 *) complCFLAGS="$complCFLAGS -pedantic" ;;
180 esac
181 fi
182 fi
183 AC_MSG_RESULT($complCFLAGS)
184
185 WARN_CFLAGS="$tested_warning_flags $complCFLAGS"
186 AC_SUBST(WARN_CFLAGS)
187 ])
188
189 dnl For C++, do basically the same thing.
190
191 AC_DEFUN([GNOME_CXX_WARNINGS],[
192 AC_ARG_ENABLE(cxx-warnings,
193 AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
194 [Turn on compiler warnings.]),,
195 [enable_cxx_warnings="m4_default([$1],[minimum])"])
196
197 AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
198 warnCXXFLAGS=
199 if test "x$GXX" != xyes; then
200 enable_cxx_warnings=no
201 fi
202 if test "x$enable_cxx_warnings" != "xno"; then
203 if test "x$GXX" = "xyes"; then
204 case " $CXXFLAGS " in
205 *[\ \ ]-Wall[\ \ ]*) ;;
206 *) warnCXXFLAGS="-Wall -Wno-unused" ;;
207 esac
208
209 ## -W is not all that useful. And it cannot be controlled
210 ## with individual -Wno-xxx flags, unlike -Wall
211 if test "x$enable_cxx_warnings" = "xyes"; then
212 warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
213 fi
214 fi
215 fi
216 AC_MSG_RESULT($warnCXXFLAGS)
217
218 AC_ARG_ENABLE(iso-cxx,
219 AC_HELP_STRING([--enable-iso-cxx],
220 [Try to warn if code is not ISO C++ ]),,
221 [enable_iso_cxx=no])
222
223 AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
224 complCXXFLAGS=
225 if test "x$enable_iso_cxx" != "xno"; then
226 if test "x$GXX" = "xyes"; then
227 case " $CXXFLAGS " in
228 *[\ \ ]-ansi[\ \ ]*) ;;
229 *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
230 esac
231
232 case " $CXXFLAGS " in
233 *[\ \ ]-pedantic[\ \ ]*) ;;
234 *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
235 esac
236 fi
237 fi
238 AC_MSG_RESULT($complCXXFLAGS)
239
240 WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
241 AC_SUBST(WARN_CXXFLAGS)
242 ])
243
244 dnl -*- mode: autoconf -*-
245 dnl Copyright 2009 Johan Dahlin
246 dnl
247 dnl This file is free software; the author(s) gives unlimited
248 dnl permission to copy and/or distribute it, with or without
249 dnl modifications, as long as this notice is preserved.
250 dnl
251
252 # serial 1
253
254 m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
255 [
256 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
257 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
258 AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
259
260 dnl enable/disable introspection
261 m4_if([$2], [require],
262 [dnl
263 enable_introspection=yes
264 ],[dnl
265 AC_ARG_ENABLE(introspection,
266 AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
267 [Enable introspection for this build]),,
268 [enable_introspection=auto])
269 ])dnl
270
271 AC_MSG_CHECKING([for gobject-introspection])
272
273 dnl presence/version checking
274 AS_CASE([$enable_introspection],
275 [no], [dnl
276 found_introspection="no (disabled, use --enable-introspection to enable)"
277 ],dnl
278 [yes],[dnl
279 PKG_CHECK_EXISTS([gobject-introspection-1.0],,
280 AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
281 PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
282 found_introspection=yes,
283 AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
284 ],dnl
285 [auto],[dnl
286 PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
287 dnl Canonicalize enable_introspection
288 enable_introspection=$found_introspection
289 ],dnl
290 [dnl
291 AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
292 ])dnl
293
294 AC_MSG_RESULT([$found_introspection])
295
296 INTROSPECTION_SCANNER=
297 INTROSPECTION_COMPILER=
298 INTROSPECTION_GENERATE=
299 INTROSPECTION_GIRDIR=
300 INTROSPECTION_TYPELIBDIR=
301 if test "x$found_introspection" = "xyes"; then
302 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
303 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
304 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
305 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
306 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
307 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
308 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
309 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
310 fi
311 AC_SUBST(INTROSPECTION_SCANNER)
312 AC_SUBST(INTROSPECTION_COMPILER)
313 AC_SUBST(INTROSPECTION_GENERATE)
314 AC_SUBST(INTROSPECTION_GIRDIR)
315 AC_SUBST(INTROSPECTION_TYPELIBDIR)
316 AC_SUBST(INTROSPECTION_CFLAGS)
317 AC_SUBST(INTROSPECTION_LIBS)
318 AC_SUBST(INTROSPECTION_MAKEFILE)
319
320 AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
321 ])
322
323
324 dnl Usage:
325 dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
326
327 AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
328 [
329 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
330 ])
331
332 dnl Usage:
333 dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
334
335
336 AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
337 [
338 _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
339 ])
340
341 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
342 # serial 1 (pkg-config-0.24)
343 #
344 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
345 #
346 # This program is free software; you can redistribute it and/or modify
347 # it under the terms of the GNU General Public License as published by
348 # the Free Software Foundation; either version 2 of the License, or
349 # (at your option) any later version.
350 #
351 # This program is distributed in the hope that it will be useful, but
352 # WITHOUT ANY WARRANTY; without even the implied warranty of
353 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
354 # General Public License for more details.
355 #
356 # You should have received a copy of the GNU General Public License
357 # along with this program; if not, write to the Free Software
358 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
359 #
360 # As a special exception to the GNU General Public License, if you
361 # distribute this file as part of a program that contains a
362 # configuration script generated by Autoconf, you may include it under
363 # the same distribution terms that you use for the rest of that program.
364
365 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
366 # ----------------------------------
367 AC_DEFUN([PKG_PROG_PKG_CONFIG],
368 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
369 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
370 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
371 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
372 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
373 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
374
375 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
376 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
377 fi
378 if test -n "$PKG_CONFIG"; then
379 _pkg_min_version=m4_default([$1], [0.9.0])
380 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
381 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
382 AC_MSG_RESULT([yes])
383 else
384 AC_MSG_RESULT([no])
385 PKG_CONFIG=""
386 fi
387 fi[]dnl
388 ])# PKG_PROG_PKG_CONFIG
389
390 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
391 #
392 # Check to see whether a particular set of modules exists. Similar
393 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
394 #
395 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
396 # only at the first occurence in configure.ac, so if the first place
397 # it's called might be skipped (such as if it is within an "if", you
398 # have to call PKG_CHECK_EXISTS manually
399 # --------------------------------------------------------------
400 AC_DEFUN([PKG_CHECK_EXISTS],
401 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
402 if test -n "$PKG_CONFIG" && \
403 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
404 m4_default([$2], [:])
405 m4_ifvaln([$3], [else
406 $3])dnl
407 fi])
408
409 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
410 # ---------------------------------------------
411 m4_define([_PKG_CONFIG],
412 [if test -n "$$1"; then
413 pkg_cv_[]$1="$$1"
414 elif test -n "$PKG_CONFIG"; then
415 PKG_CHECK_EXISTS([$3],
416 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
417 test "x$?" != "x0" && pkg_failed=yes ],
418 [pkg_failed=yes])
419 else
420 pkg_failed=untried
421 fi[]dnl
422 ])# _PKG_CONFIG
423
424 # _PKG_SHORT_ERRORS_SUPPORTED
425 # -----------------------------
426 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
427 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
429 _pkg_short_errors_supported=yes
430 else
431 _pkg_short_errors_supported=no
432 fi[]dnl
433 ])# _PKG_SHORT_ERRORS_SUPPORTED
434
435
436 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
437 # [ACTION-IF-NOT-FOUND])
438 #
439 #
440 # Note that if there is a possibility the first call to
441 # PKG_CHECK_MODULES might not happen, you should be sure to include an
442 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
443 #
444 #
445 # --------------------------------------------------------------
446 AC_DEFUN([PKG_CHECK_MODULES],
447 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
448 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
449 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
450
451 pkg_failed=no
452 AC_MSG_CHECKING([for $1])
453
454 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
455 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
456
457 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
458 and $1[]_LIBS to avoid the need to call pkg-config.
459 See the pkg-config man page for more details.])
460
461 if test $pkg_failed = yes; then
462 AC_MSG_RESULT([no])
463 _PKG_SHORT_ERRORS_SUPPORTED
464 if test $_pkg_short_errors_supported = yes; then
465 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
466 else
467 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
468 fi
469 # Put the nasty error message in config.log where it belongs
470 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
471
472 m4_default([$4], [AC_MSG_ERROR(
473 [Package requirements ($2) were not met:
474
475 $$1_PKG_ERRORS
476
477 Consider adjusting the PKG_CONFIG_PATH environment variable if you
478 installed software in a non-standard prefix.
479
480 _PKG_TEXT])[]dnl
481 ])
482 elif test $pkg_failed = untried; then
483 AC_MSG_RESULT([no])
484 m4_default([$4], [AC_MSG_FAILURE(
485 [The pkg-config script could not be found or is too old. Make sure it
486 is in your PATH or set the PKG_CONFIG environment variable to the full
487 path to pkg-config.
488
489 _PKG_TEXT
490
491 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
492 ])
493 else
494 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
495 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
496 AC_MSG_RESULT([yes])
497 $3
498 fi[]dnl
499 ])# PKG_CHECK_MODULES
500
501 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
502 #
503 # This file is free software; the Free Software Foundation
504 # gives unlimited permission to copy and/or distribute it,
505 # with or without modifications, as long as this notice is preserved.
506
507 # AM_AUTOMAKE_VERSION(VERSION)
508 # ----------------------------
509 # Automake X.Y traces this macro to ensure aclocal.m4 has been
510 # generated from the m4 files accompanying Automake X.Y.
511 # (This private macro should not be called outside this file.)
512 AC_DEFUN([AM_AUTOMAKE_VERSION],
513 [am__api_version='1.13'
514 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
515 dnl require some minimum version. Point them to the right macro.
516 m4_if([$1], [1.13.3], [],
517 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
518 ])
519
520 # _AM_AUTOCONF_VERSION(VERSION)
521 # -----------------------------
522 # aclocal traces this macro to find the Autoconf version.
523 # This is a private macro too. Using m4_define simplifies
524 # the logic in aclocal, which can simply ignore this definition.
525 m4_define([_AM_AUTOCONF_VERSION], [])
526
527 # AM_SET_CURRENT_AUTOMAKE_VERSION
528 # -------------------------------
529 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
530 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
531 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
532 [AM_AUTOMAKE_VERSION([1.13.3])dnl
533 m4_ifndef([AC_AUTOCONF_VERSION],
534 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
535 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
536
537 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
538
539 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
540 #
541 # This file is free software; the Free Software Foundation
542 # gives unlimited permission to copy and/or distribute it,
543 # with or without modifications, as long as this notice is preserved.
544
545 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
546 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
547 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
548 #
549 # Of course, Automake must honor this variable whenever it calls a
550 # tool from the auxiliary directory. The problem is that $srcdir (and
551 # therefore $ac_aux_dir as well) can be either absolute or relative,
552 # depending on how configure is run. This is pretty annoying, since
553 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
554 # source directory, any form will work fine, but in subdirectories a
555 # relative path needs to be adjusted first.
556 #
557 # $ac_aux_dir/missing
558 # fails when called from a subdirectory if $ac_aux_dir is relative
559 # $top_srcdir/$ac_aux_dir/missing
560 # fails if $ac_aux_dir is absolute,
561 # fails when called from a subdirectory in a VPATH build with
562 # a relative $ac_aux_dir
563 #
564 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
565 # are both prefixed by $srcdir. In an in-source build this is usually
566 # harmless because $srcdir is '.', but things will broke when you
567 # start a VPATH build or use an absolute $srcdir.
568 #
569 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
570 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
571 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
572 # and then we would define $MISSING as
573 # MISSING="\${SHELL} $am_aux_dir/missing"
574 # This will work as long as MISSING is not called from configure, because
575 # unfortunately $(top_srcdir) has no meaning in configure.
576 # However there are other variables, like CC, which are often used in
577 # configure, and could therefore not use this "fixed" $ac_aux_dir.
578 #
579 # Another solution, used here, is to always expand $ac_aux_dir to an
580 # absolute PATH. The drawback is that using absolute paths prevent a
581 # configured tree to be moved without reconfiguration.
582
583 AC_DEFUN([AM_AUX_DIR_EXPAND],
584 [dnl Rely on autoconf to set up CDPATH properly.
585 AC_PREREQ([2.50])dnl
586 # expand $ac_aux_dir to an absolute path
587 am_aux_dir=`cd $ac_aux_dir && pwd`
588 ])
589
590 # AM_CONDITIONAL -*- Autoconf -*-
591
592 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
593 #
594 # This file is free software; the Free Software Foundation
595 # gives unlimited permission to copy and/or distribute it,
596 # with or without modifications, as long as this notice is preserved.
597
598 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
599 # -------------------------------------
600 # Define a conditional.
601 AC_DEFUN([AM_CONDITIONAL],
602 [AC_PREREQ([2.52])dnl
603 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
604 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
605 AC_SUBST([$1_TRUE])dnl
606 AC_SUBST([$1_FALSE])dnl
607 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
608 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
609 m4_define([_AM_COND_VALUE_$1], [$2])dnl
610 if $2; then
611 $1_TRUE=
612 $1_FALSE='#'
613 else
614 $1_TRUE='#'
615 $1_FALSE=
616 fi
617 AC_CONFIG_COMMANDS_PRE(
618 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
619 AC_MSG_ERROR([[conditional "$1" was never defined.
620 Usually this means the macro was only invoked conditionally.]])
621 fi])])
622
623 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
624 #
625 # This file is free software; the Free Software Foundation
626 # gives unlimited permission to copy and/or distribute it,
627 # with or without modifications, as long as this notice is preserved.
628
629
630 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
631 # written in clear, in which case automake, when reading aclocal.m4,
632 # will think it sees a *use*, and therefore will trigger all it's
633 # C support machinery. Also note that it means that autoscan, seeing
634 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
635
636
637 # _AM_DEPENDENCIES(NAME)
638 # ----------------------
639 # See how the compiler implements dependency checking.
640 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
641 # We try a few techniques and use that to set a single cache variable.
642 #
643 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
644 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
645 # dependency, and given that the user is not expected to run this macro,
646 # just rely on AC_PROG_CC.
647 AC_DEFUN([_AM_DEPENDENCIES],
648 [AC_REQUIRE([AM_SET_DEPDIR])dnl
649 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
650 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
651 AC_REQUIRE([AM_DEP_TRACK])dnl
652
653 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
654 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
655 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
656 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
657 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
658 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
659 [depcc="$$1" am_compiler_list=])
660
661 AC_CACHE_CHECK([dependency style of $depcc],
662 [am_cv_$1_dependencies_compiler_type],
663 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
664 # We make a subdir and do the tests there. Otherwise we can end up
665 # making bogus files that we don't know about and never remove. For
666 # instance it was reported that on HP-UX the gcc test will end up
667 # making a dummy file named 'D' -- because '-MD' means "put the output
668 # in D".
669 rm -rf conftest.dir
670 mkdir conftest.dir
671 # Copy depcomp to subdir because otherwise we won't find it if we're
672 # using a relative directory.
673 cp "$am_depcomp" conftest.dir
674 cd conftest.dir
675 # We will build objects and dependencies in a subdirectory because
676 # it helps to detect inapplicable dependency modes. For instance
677 # both Tru64's cc and ICC support -MD to output dependencies as a
678 # side effect of compilation, but ICC will put the dependencies in
679 # the current directory while Tru64 will put them in the object
680 # directory.
681 mkdir sub
682
683 am_cv_$1_dependencies_compiler_type=none
684 if test "$am_compiler_list" = ""; then
685 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
686 fi
687 am__universal=false
688 m4_case([$1], [CC],
689 [case " $depcc " in #(
690 *\ -arch\ *\ -arch\ *) am__universal=true ;;
691 esac],
692 [CXX],
693 [case " $depcc " in #(
694 *\ -arch\ *\ -arch\ *) am__universal=true ;;
695 esac])
696
697 for depmode in $am_compiler_list; do
698 # Setup a source with many dependencies, because some compilers
699 # like to wrap large dependency lists on column 80 (with \), and
700 # we should not choose a depcomp mode which is confused by this.
701 #
702 # We need to recreate these files for each test, as the compiler may
703 # overwrite some of them when testing with obscure command lines.
704 # This happens at least with the AIX C compiler.
705 : > sub/conftest.c
706 for i in 1 2 3 4 5 6; do
707 echo '#include "conftst'$i'.h"' >> sub/conftest.c
708 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
709 # Solaris 10 /bin/sh.
710 echo '/* dummy */' > sub/conftst$i.h
711 done
712 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
713
714 # We check with '-c' and '-o' for the sake of the "dashmstdout"
715 # mode. It turns out that the SunPro C++ compiler does not properly
716 # handle '-M -o', and we need to detect this. Also, some Intel
717 # versions had trouble with output in subdirs.
718 am__obj=sub/conftest.${OBJEXT-o}
719 am__minus_obj="-o $am__obj"
720 case $depmode in
721 gcc)
722 # This depmode causes a compiler race in universal mode.
723 test "$am__universal" = false || continue
724 ;;
725 nosideeffect)
726 # After this tag, mechanisms are not by side-effect, so they'll
727 # only be used when explicitly requested.
728 if test "x$enable_dependency_tracking" = xyes; then
729 continue
730 else
731 break
732 fi
733 ;;
734 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
735 # This compiler won't grok '-c -o', but also, the minuso test has
736 # not run yet. These depmodes are late enough in the game, and
737 # so weak that their functioning should not be impacted.
738 am__obj=conftest.${OBJEXT-o}
739 am__minus_obj=
740 ;;
741 none) break ;;
742 esac
743 if depmode=$depmode \
744 source=sub/conftest.c object=$am__obj \
745 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
746 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
747 >/dev/null 2>conftest.err &&
748 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
749 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
750 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
751 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
752 # icc doesn't choke on unknown options, it will just issue warnings
753 # or remarks (even with -Werror). So we grep stderr for any message
754 # that says an option was ignored or not supported.
755 # When given -MP, icc 7.0 and 7.1 complain thusly:
756 # icc: Command line warning: ignoring option '-M'; no argument required
757 # The diagnosis changed in icc 8.0:
758 # icc: Command line remark: option '-MP' not supported
759 if (grep 'ignoring option' conftest.err ||
760 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
761 am_cv_$1_dependencies_compiler_type=$depmode
762 break
763 fi
764 fi
765 done
766
767 cd ..
768 rm -rf conftest.dir
769 else
770 am_cv_$1_dependencies_compiler_type=none
771 fi
772 ])
773 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
774 AM_CONDITIONAL([am__fastdep$1], [
775 test "x$enable_dependency_tracking" != xno \
776 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
777 ])
778
779
780 # AM_SET_DEPDIR
781 # -------------
782 # Choose a directory name for dependency files.
783 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
784 AC_DEFUN([AM_SET_DEPDIR],
785 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
786 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
787 ])
788
789
790 # AM_DEP_TRACK
791 # ------------
792 AC_DEFUN([AM_DEP_TRACK],
793 [AC_ARG_ENABLE([dependency-tracking], [dnl
794 AS_HELP_STRING(
795 [--enable-dependency-tracking],
796 [do not reject slow dependency extractors])
797 AS_HELP_STRING(
798 [--disable-dependency-tracking],
799 [speeds up one-time build])])
800 if test "x$enable_dependency_tracking" != xno; then
801 am_depcomp="$ac_aux_dir/depcomp"
802 AMDEPBACKSLASH='\'
803 am__nodep='_no'
804 fi
805 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
806 AC_SUBST([AMDEPBACKSLASH])dnl
807 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
808 AC_SUBST([am__nodep])dnl
809 _AM_SUBST_NOTMAKE([am__nodep])dnl
810 ])
811
812 # Generate code to set up dependency tracking. -*- Autoconf -*-
813
814 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
815 #
816 # This file is free software; the Free Software Foundation
817 # gives unlimited permission to copy and/or distribute it,
818 # with or without modifications, as long as this notice is preserved.
819
820
821 # _AM_OUTPUT_DEPENDENCY_COMMANDS
822 # ------------------------------
823 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
824 [{
825 # Older Autoconf quotes --file arguments for eval, but not when files
826 # are listed without --file. Let's play safe and only enable the eval
827 # if we detect the quoting.
828 case $CONFIG_FILES in
829 *\'*) eval set x "$CONFIG_FILES" ;;
830 *) set x $CONFIG_FILES ;;
831 esac
832 shift
833 for mf
834 do
835 # Strip MF so we end up with the name of the file.
836 mf=`echo "$mf" | sed -e 's/:.*$//'`
837 # Check whether this is an Automake generated Makefile or not.
838 # We used to match only the files named 'Makefile.in', but
839 # some people rename them; so instead we look at the file content.
840 # Grep'ing the first line is not enough: some people post-process
841 # each Makefile.in and add a new line on top of each file to say so.
842 # Grep'ing the whole file is not good either: AIX grep has a line
843 # limit of 2048, but all sed's we know have understand at least 4000.
844 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
845 dirpart=`AS_DIRNAME("$mf")`
846 else
847 continue
848 fi
849 # Extract the definition of DEPDIR, am__include, and am__quote
850 # from the Makefile without running 'make'.
851 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
852 test -z "$DEPDIR" && continue
853 am__include=`sed -n 's/^am__include = //p' < "$mf"`
854 test -z "$am__include" && continue
855 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
856 # Find all dependency output files, they are included files with
857 # $(DEPDIR) in their names. We invoke sed twice because it is the
858 # simplest approach to changing $(DEPDIR) to its actual value in the
859 # expansion.
860 for file in `sed -n "
861 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
862 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
863 # Make sure the directory exists.
864 test -f "$dirpart/$file" && continue
865 fdir=`AS_DIRNAME(["$file"])`
866 AS_MKDIR_P([$dirpart/$fdir])
867 # echo "creating $dirpart/$file"
868 echo '# dummy' > "$dirpart/$file"
869 done
870 done
871 }
872 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
873
874
875 # AM_OUTPUT_DEPENDENCY_COMMANDS
876 # -----------------------------
877 # This macro should only be invoked once -- use via AC_REQUIRE.
878 #
879 # This code is only required when automatic dependency tracking
880 # is enabled. FIXME. This creates each '.P' file that we will
881 # need in order to bootstrap the dependency handling code.
882 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
883 [AC_CONFIG_COMMANDS([depfiles],
884 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
885 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
886 ])
887
888 # Do all the work for Automake. -*- Autoconf -*-
889
890 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
891 #
892 # This file is free software; the Free Software Foundation
893 # gives unlimited permission to copy and/or distribute it,
894 # with or without modifications, as long as this notice is preserved.
895
896 # This macro actually does too much. Some checks are only needed if
897 # your package does certain things. But this isn't really a big deal.
898
899 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
900 # AM_INIT_AUTOMAKE([OPTIONS])
901 # -----------------------------------------------
902 # The call with PACKAGE and VERSION arguments is the old style
903 # call (pre autoconf-2.50), which is being phased out. PACKAGE
904 # and VERSION should now be passed to AC_INIT and removed from
905 # the call to AM_INIT_AUTOMAKE.
906 # We support both call styles for the transition. After
907 # the next Automake release, Autoconf can make the AC_INIT
908 # arguments mandatory, and then we can depend on a new Autoconf
909 # release and drop the old call support.
910 AC_DEFUN([AM_INIT_AUTOMAKE],
911 [AC_PREREQ([2.65])dnl
912 dnl Autoconf wants to disallow AM_ names. We explicitly allow
913 dnl the ones we care about.
914 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
915 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
916 AC_REQUIRE([AC_PROG_INSTALL])dnl
917 if test "`cd $srcdir && pwd`" != "`pwd`"; then
918 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
919 # is not polluted with repeated "-I."
920 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
921 # test to see if srcdir already configured
922 if test -f $srcdir/config.status; then
923 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
924 fi
925 fi
926
927 # test whether we have cygpath
928 if test -z "$CYGPATH_W"; then
929 if (cygpath --version) >/dev/null 2>/dev/null; then
930 CYGPATH_W='cygpath -w'
931 else
932 CYGPATH_W=echo
933 fi
934 fi
935 AC_SUBST([CYGPATH_W])
936
937 # Define the identity of the package.
938 dnl Distinguish between old-style and new-style calls.
939 m4_ifval([$2],
940 [AC_DIAGNOSE([obsolete],
941 [$0: two- and three-arguments forms are deprecated.])
942 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
943 AC_SUBST([PACKAGE], [$1])dnl
944 AC_SUBST([VERSION], [$2])],
945 [_AM_SET_OPTIONS([$1])dnl
946 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
947 m4_if(
948 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
949 [ok:ok],,
950 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
951 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
952 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
953
954 _AM_IF_OPTION([no-define],,
955 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
956 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
957
958 # Some tools Automake needs.
959 AC_REQUIRE([AM_SANITY_CHECK])dnl
960 AC_REQUIRE([AC_ARG_PROGRAM])dnl
961 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
962 AM_MISSING_PROG([AUTOCONF], [autoconf])
963 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
964 AM_MISSING_PROG([AUTOHEADER], [autoheader])
965 AM_MISSING_PROG([MAKEINFO], [makeinfo])
966 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
967 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
968 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
969 # For better backward compatibility. To be removed once Automake 1.9.x
970 # dies out for good. For more background, see:
971 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
972 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
973 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
974 # We need awk for the "check" target. The system "awk" is bad on
975 # some platforms.
976 AC_REQUIRE([AC_PROG_AWK])dnl
977 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
978 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
979 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
980 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
981 [_AM_PROG_TAR([v7])])])
982 _AM_IF_OPTION([no-dependencies],,
983 [AC_PROVIDE_IFELSE([AC_PROG_CC],
984 [_AM_DEPENDENCIES([CC])],
985 [m4_define([AC_PROG_CC],
986 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
987 AC_PROVIDE_IFELSE([AC_PROG_CXX],
988 [_AM_DEPENDENCIES([CXX])],
989 [m4_define([AC_PROG_CXX],
990 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
991 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
992 [_AM_DEPENDENCIES([OBJC])],
993 [m4_define([AC_PROG_OBJC],
994 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
995 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
996 [_AM_DEPENDENCIES([OBJCXX])],
997 [m4_define([AC_PROG_OBJCXX],
998 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
999 ])
1000 AC_REQUIRE([AM_SILENT_RULES])dnl
1001 dnl The testsuite driver may need to know about EXEEXT, so add the
1002 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1003 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1004 AC_CONFIG_COMMANDS_PRE(dnl
1005 [m4_provide_if([_AM_COMPILER_EXEEXT],
1006 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1007 ])
1008
1009 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1010 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1011 dnl mangled by Autoconf and run in a shell conditional statement.
1012 m4_define([_AC_COMPILER_EXEEXT],
1013 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1014
1015
1016 # When config.status generates a header, we must update the stamp-h file.
1017 # This file resides in the same directory as the config header
1018 # that is generated. The stamp files are numbered to have different names.
1019
1020 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1021 # loop where config.status creates the headers, so we can generate
1022 # our stamp files there.
1023 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1024 [# Compute $1's index in $config_headers.
1025 _am_arg=$1
1026 _am_stamp_count=1
1027 for _am_header in $config_headers :; do
1028 case $_am_header in
1029 $_am_arg | $_am_arg:* )
1030 break ;;
1031 * )
1032 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1033 esac
1034 done
1035 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1036
1037 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
1038 #
1039 # This file is free software; the Free Software Foundation
1040 # gives unlimited permission to copy and/or distribute it,
1041 # with or without modifications, as long as this notice is preserved.
1042
1043 # AM_PROG_INSTALL_SH
1044 # ------------------
1045 # Define $install_sh.
1046 AC_DEFUN([AM_PROG_INSTALL_SH],
1047 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1048 if test x"${install_sh}" != xset; then
1049 case $am_aux_dir in
1050 *\ * | *\ *)
1051 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1052 *)
1053 install_sh="\${SHELL} $am_aux_dir/install-sh"
1054 esac
1055 fi
1056 AC_SUBST([install_sh])])
1057
1058 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
1059 #
1060 # This file is free software; the Free Software Foundation
1061 # gives unlimited permission to copy and/or distribute it,
1062 # with or without modifications, as long as this notice is preserved.
1063
1064 # Check whether the underlying file-system supports filenames
1065 # with a leading dot. For instance MS-DOS doesn't.
1066 AC_DEFUN([AM_SET_LEADING_DOT],
1067 [rm -rf .tst 2>/dev/null
1068 mkdir .tst 2>/dev/null
1069 if test -d .tst; then
1070 am__leading_dot=.
1071 else
1072 am__leading_dot=_
1073 fi
1074 rmdir .tst 2>/dev/null
1075 AC_SUBST([am__leading_dot])])
1076
1077 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1078 # From Jim Meyering
1079
1080 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
1081 #
1082 # This file is free software; the Free Software Foundation
1083 # gives unlimited permission to copy and/or distribute it,
1084 # with or without modifications, as long as this notice is preserved.
1085
1086 # AM_MAINTAINER_MODE([DEFAULT-MODE])
1087 # ----------------------------------
1088 # Control maintainer-specific portions of Makefiles.
1089 # Default is to disable them, unless 'enable' is passed literally.
1090 # For symmetry, 'disable' may be passed as well. Anyway, the user
1091 # can override the default with the --enable/--disable switch.
1092 AC_DEFUN([AM_MAINTAINER_MODE],
1093 [m4_case(m4_default([$1], [disable]),
1094 [enable], [m4_define([am_maintainer_other], [disable])],
1095 [disable], [m4_define([am_maintainer_other], [enable])],
1096 [m4_define([am_maintainer_other], [enable])
1097 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1098 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1099 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1100 AC_ARG_ENABLE([maintainer-mode],
1101 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
1102 am_maintainer_other[ make rules and dependencies not useful
1103 (and sometimes confusing) to the casual installer])],
1104 [USE_MAINTAINER_MODE=$enableval],
1105 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1106 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1107 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1108 MAINT=$MAINTAINER_MODE_TRUE
1109 AC_SUBST([MAINT])dnl
1110 ]
1111 )
1112
1113 # Check to see how 'make' treats includes. -*- Autoconf -*-
1114
1115 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
1116 #
1117 # This file is free software; the Free Software Foundation
1118 # gives unlimited permission to copy and/or distribute it,
1119 # with or without modifications, as long as this notice is preserved.
1120
1121 # AM_MAKE_INCLUDE()
1122 # -----------------
1123 # Check to see how make treats includes.
1124 AC_DEFUN([AM_MAKE_INCLUDE],
1125 [am_make=${MAKE-make}
1126 cat > confinc << 'END'
1127 am__doit:
1128 @echo this is the am__doit target
1129 .PHONY: am__doit
1130 END
1131 # If we don't find an include directive, just comment out the code.
1132 AC_MSG_CHECKING([for style of include used by $am_make])
1133 am__include="#"
1134 am__quote=
1135 _am_result=none
1136 # First try GNU make style include.
1137 echo "include confinc" > confmf
1138 # Ignore all kinds of additional output from 'make'.
1139 case `$am_make -s -f confmf 2> /dev/null` in #(
1140 *the\ am__doit\ target*)
1141 am__include=include
1142 am__quote=
1143 _am_result=GNU
1144 ;;
1145 esac
1146 # Now try BSD make style include.
1147 if test "$am__include" = "#"; then
1148 echo '.include "confinc"' > confmf
1149 case `$am_make -s -f confmf 2> /dev/null` in #(
1150 *the\ am__doit\ target*)
1151 am__include=.include
1152 am__quote="\""
1153 _am_result=BSD
1154 ;;
1155 esac
1156 fi
1157 AC_SUBST([am__include])
1158 AC_SUBST([am__quote])
1159 AC_MSG_RESULT([$_am_result])
1160 rm -f confinc confmf
1161 ])
1162
1163 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1164
1165 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
1166 #
1167 # This file is free software; the Free Software Foundation
1168 # gives unlimited permission to copy and/or distribute it,
1169 # with or without modifications, as long as this notice is preserved.
1170
1171 # AM_MISSING_PROG(NAME, PROGRAM)
1172 # ------------------------------
1173 AC_DEFUN([AM_MISSING_PROG],
1174 [AC_REQUIRE([AM_MISSING_HAS_RUN])
1175 $1=${$1-"${am_missing_run}$2"}
1176 AC_SUBST($1)])
1177
1178 # AM_MISSING_HAS_RUN
1179 # ------------------
1180 # Define MISSING if not defined so far and test if it is modern enough.
1181 # If it is, set am_missing_run to use it, otherwise, to nothing.
1182 AC_DEFUN([AM_MISSING_HAS_RUN],
1183 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1184 AC_REQUIRE_AUX_FILE([missing])dnl
1185 if test x"${MISSING+set}" != xset; then
1186 case $am_aux_dir in
1187 *\ * | *\ *)
1188 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1189 *)
1190 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1191 esac
1192 fi
1193 # Use eval to expand $SHELL
1194 if eval "$MISSING --is-lightweight"; then
1195 am_missing_run="$MISSING "
1196 else
1197 am_missing_run=
1198 AC_MSG_WARN(['missing' script is too old or missing])
1199 fi
1200 ])
1201
1202 # Helper functions for option handling. -*- Autoconf -*-
1203
1204 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
1205 #
1206 # This file is free software; the Free Software Foundation
1207 # gives unlimited permission to copy and/or distribute it,
1208 # with or without modifications, as long as this notice is preserved.
1209
1210 # _AM_MANGLE_OPTION(NAME)
1211 # -----------------------
1212 AC_DEFUN([_AM_MANGLE_OPTION],
1213 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1214
1215 # _AM_SET_OPTION(NAME)
1216 # --------------------
1217 # Set option NAME. Presently that only means defining a flag for this option.
1218 AC_DEFUN([_AM_SET_OPTION],
1219 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1220
1221 # _AM_SET_OPTIONS(OPTIONS)
1222 # ------------------------
1223 # OPTIONS is a space-separated list of Automake options.
1224 AC_DEFUN([_AM_SET_OPTIONS],
1225 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1226
1227 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1228 # -------------------------------------------
1229 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1230 AC_DEFUN([_AM_IF_OPTION],
1231 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1232
1233 # Check to make sure that the build environment is sane. -*- Autoconf -*-
1234
1235 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
1236 #
1237 # This file is free software; the Free Software Foundation
1238 # gives unlimited permission to copy and/or distribute it,
1239 # with or without modifications, as long as this notice is preserved.
1240
1241 # AM_SANITY_CHECK
1242 # ---------------
1243 AC_DEFUN([AM_SANITY_CHECK],
1244 [AC_MSG_CHECKING([whether build environment is sane])
1245 # Reject unsafe characters in $srcdir or the absolute working directory
1246 # name. Accept space and tab only in the latter.
1247 am_lf='
1248 '
1249 case `pwd` in
1250 *[[\\\"\#\$\&\'\`$am_lf]]*)
1251 AC_MSG_ERROR([unsafe absolute working directory name]);;
1252 esac
1253 case $srcdir in
1254 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1255 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1256 esac
1257
1258 # Do 'set' in a subshell so we don't clobber the current shell's
1259 # arguments. Must try -L first in case configure is actually a
1260 # symlink; some systems play weird games with the mod time of symlinks
1261 # (eg FreeBSD returns the mod time of the symlink's containing
1262 # directory).
1263 if (
1264 am_has_slept=no
1265 for am_try in 1 2; do
1266 echo "timestamp, slept: $am_has_slept" > conftest.file
1267 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1268 if test "$[*]" = "X"; then
1269 # -L didn't work.
1270 set X `ls -t "$srcdir/configure" conftest.file`
1271 fi
1272 if test "$[*]" != "X $srcdir/configure conftest.file" \
1273 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1274
1275 # If neither matched, then we have a broken ls. This can happen
1276 # if, for instance, CONFIG_SHELL is bash and it inherits a
1277 # broken ls alias from the environment. This has actually
1278 # happened. Such a system could not be considered "sane".
1279 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1280 alias in your environment])
1281 fi
1282 if test "$[2]" = conftest.file || test $am_try -eq 2; then
1283 break
1284 fi
1285 # Just in case.
1286 sleep 1
1287 am_has_slept=yes
1288 done
1289 test "$[2]" = conftest.file
1290 )
1291 then
1292 # Ok.
1293 :
1294 else
1295 AC_MSG_ERROR([newly created file is older than distributed files!
1296 Check your system clock])
1297 fi
1298 AC_MSG_RESULT([yes])
1299 # If we didn't sleep, we still need to ensure time stamps of config.status and
1300 # generated files are strictly newer.
1301 am_sleep_pid=
1302 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1303 ( sleep 1 ) &
1304 am_sleep_pid=$!
1305 fi
1306 AC_CONFIG_COMMANDS_PRE(
1307 [AC_MSG_CHECKING([that generated files are newer than configure])
1308 if test -n "$am_sleep_pid"; then
1309 # Hide warnings about reused PIDs.
1310 wait $am_sleep_pid 2>/dev/null
1311 fi
1312 AC_MSG_RESULT([done])])
1313 rm -f conftest.file
1314 ])
1315
1316 # Copyright (C) 2009-2013 Free Software Foundation, Inc.
1317 #
1318 # This file is free software; the Free Software Foundation
1319 # gives unlimited permission to copy and/or distribute it,
1320 # with or without modifications, as long as this notice is preserved.
1321
1322 # AM_SILENT_RULES([DEFAULT])
1323 # --------------------------
1324 # Enable less verbose build rules; with the default set to DEFAULT
1325 # ("yes" being less verbose, "no" or empty being verbose).
1326 AC_DEFUN([AM_SILENT_RULES],
1327 [AC_ARG_ENABLE([silent-rules], [dnl
1328 AS_HELP_STRING(
1329 [--enable-silent-rules],
1330 [less verbose build output (undo: "make V=1")])
1331 AS_HELP_STRING(
1332 [--disable-silent-rules],
1333 [verbose build output (undo: "make V=0")])dnl
1334 ])
1335 case $enable_silent_rules in @%:@ (((
1336 yes) AM_DEFAULT_VERBOSITY=0;;
1337 no) AM_DEFAULT_VERBOSITY=1;;
1338 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1339 esac
1340 dnl
1341 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1342 dnl do not support nested variable expansions.
1343 dnl See automake bug#9928 and bug#10237.
1344 am_make=${MAKE-make}
1345 AC_CACHE_CHECK([whether $am_make supports nested variables],
1346 [am_cv_make_support_nested_variables],
1347 [if AS_ECHO([['TRUE=$(BAR$(V))
1348 BAR0=false
1349 BAR1=true
1350 V=1
1351 am__doit:
1352 @$(TRUE)
1353 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1354 am_cv_make_support_nested_variables=yes
1355 else
1356 am_cv_make_support_nested_variables=no
1357 fi])
1358 if test $am_cv_make_support_nested_variables = yes; then
1359 dnl Using '$V' instead of '$(V)' breaks IRIX make.
1360 AM_V='$(V)'
1361 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1362 else
1363 AM_V=$AM_DEFAULT_VERBOSITY
1364 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1365 fi
1366 AC_SUBST([AM_V])dnl
1367 AM_SUBST_NOTMAKE([AM_V])dnl
1368 AC_SUBST([AM_DEFAULT_V])dnl
1369 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1370 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1371 AM_BACKSLASH='\'
1372 AC_SUBST([AM_BACKSLASH])dnl
1373 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1374 ])
1375
1376 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
1377 #
1378 # This file is free software; the Free Software Foundation
1379 # gives unlimited permission to copy and/or distribute it,
1380 # with or without modifications, as long as this notice is preserved.
1381
1382 # AM_PROG_INSTALL_STRIP
1383 # ---------------------
1384 # One issue with vendor 'install' (even GNU) is that you can't
1385 # specify the program used to strip binaries. This is especially
1386 # annoying in cross-compiling environments, where the build's strip
1387 # is unlikely to handle the host's binaries.
1388 # Fortunately install-sh will honor a STRIPPROG variable, so we
1389 # always use install-sh in "make install-strip", and initialize
1390 # STRIPPROG with the value of the STRIP variable (set by the user).
1391 AC_DEFUN([AM_PROG_INSTALL_STRIP],
1392 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1393 # Installed binaries are usually stripped using 'strip' when the user
1394 # run "make install-strip". However 'strip' might not be the right
1395 # tool to use in cross-compilation environments, therefore Automake
1396 # will honor the 'STRIP' environment variable to overrule this program.
1397 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1398 if test "$cross_compiling" != no; then
1399 AC_CHECK_TOOL([STRIP], [strip], :)
1400 fi
1401 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1402 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1403
1404 # Copyright (C) 2006-2013 Free Software Foundation, Inc.
1405 #
1406 # This file is free software; the Free Software Foundation
1407 # gives unlimited permission to copy and/or distribute it,
1408 # with or without modifications, as long as this notice is preserved.
1409
1410 # _AM_SUBST_NOTMAKE(VARIABLE)
1411 # ---------------------------
1412 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1413 # This macro is traced by Automake.
1414 AC_DEFUN([_AM_SUBST_NOTMAKE])
1415
1416 # AM_SUBST_NOTMAKE(VARIABLE)
1417 # --------------------------
1418 # Public sister of _AM_SUBST_NOTMAKE.
1419 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1420
1421 # Check how to create a tarball. -*- Autoconf -*-
1422
1423 # Copyright (C) 2004-2013 Free Software Foundation, Inc.
1424 #
1425 # This file is free software; the Free Software Foundation
1426 # gives unlimited permission to copy and/or distribute it,
1427 # with or without modifications, as long as this notice is preserved.
1428
1429 # _AM_PROG_TAR(FORMAT)
1430 # --------------------
1431 # Check how to create a tarball in format FORMAT.
1432 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
1433 #
1434 # Substitute a variable $(am__tar) that is a command
1435 # writing to stdout a FORMAT-tarball containing the directory
1436 # $tardir.
1437 # tardir=directory && $(am__tar) > result.tar
1438 #
1439 # Substitute a variable $(am__untar) that extract such
1440 # a tarball read from stdin.
1441 # $(am__untar) < result.tar
1442 #
1443 AC_DEFUN([_AM_PROG_TAR],
1444 [# Always define AMTAR for backward compatibility. Yes, it's still used
1445 # in the wild :-( We should find a proper way to deprecate it ...
1446 AC_SUBST([AMTAR], ['$${TAR-tar}'])
1447
1448 # We'll loop over all known methods to create a tar archive until one works.
1449 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1450
1451 m4_if([$1], [v7],
1452 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1453
1454 [m4_case([$1],
1455 [ustar],
1456 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1457 # There is notably a 21 bits limit for the UID and the GID. In fact,
1458 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1459 # and bug#13588).
1460 am_max_uid=2097151 # 2^21 - 1
1461 am_max_gid=$am_max_uid
1462 # The $UID and $GID variables are not portable, so we need to resort
1463 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1464 # below are definitely unexpected, so allow the users to see them
1465 # (that is, avoid stderr redirection).
1466 am_uid=`id -u || echo unknown`
1467 am_gid=`id -g || echo unknown`
1468 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1469 if test $am_uid -le $am_max_uid; then
1470 AC_MSG_RESULT([yes])
1471 else
1472 AC_MSG_RESULT([no])
1473 _am_tools=none
1474 fi
1475 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1476 if test $am_gid -le $am_max_gid; then
1477 AC_MSG_RESULT([yes])
1478 else
1479 AC_MSG_RESULT([no])
1480 _am_tools=none
1481 fi],
1482
1483 [pax],
1484 [],
1485
1486 [m4_fatal([Unknown tar format])])
1487
1488 AC_MSG_CHECKING([how to create a $1 tar archive])
1489
1490 # Go ahead even if we have the value already cached. We do so because we
1491 # need to set the values for the 'am__tar' and 'am__untar' variables.
1492 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1493
1494 for _am_tool in $_am_tools; do
1495 case $_am_tool in
1496 gnutar)
1497 for _am_tar in tar gnutar gtar; do
1498 AM_RUN_LOG([$_am_tar --version]) && break
1499 done
1500 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1501 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1502 am__untar="$_am_tar -xf -"
1503 ;;
1504 plaintar)
1505 # Must skip GNU tar: if it does not support --format= it doesn't create
1506 # ustar tarball either.
1507 (tar --version) >/dev/null 2>&1 && continue
1508 am__tar='tar chf - "$$tardir"'
1509 am__tar_='tar chf - "$tardir"'
1510 am__untar='tar xf -'
1511 ;;
1512 pax)
1513 am__tar='pax -L -x $1 -w "$$tardir"'
1514 am__tar_='pax -L -x $1 -w "$tardir"'
1515 am__untar='pax -r'
1516 ;;
1517 cpio)
1518 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1519 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1520 am__untar='cpio -i -H $1 -d'
1521 ;;
1522 none)
1523 am__tar=false
1524 am__tar_=false
1525 am__untar=false
1526 ;;
1527 esac
1528
1529 # If the value was cached, stop now. We just wanted to have am__tar
1530 # and am__untar set.
1531 test -n "${am_cv_prog_tar_$1}" && break
1532
1533 # tar/untar a dummy directory, and stop if the command works.
1534 rm -rf conftest.dir
1535 mkdir conftest.dir
1536 echo GrepMe > conftest.dir/file
1537 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1538 rm -rf conftest.dir
1539 if test -s conftest.tar; then
1540 AM_RUN_LOG([$am__untar <conftest.tar])
1541 AM_RUN_LOG([cat conftest.dir/file])
1542 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1543 fi
1544 done
1545 rm -rf conftest.dir
1546
1547 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1548 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1549
1550 AC_SUBST([am__tar])
1551 AC_SUBST([am__untar])
1552 ]) # _AM_PROG_TAR
1553
1554 m4_include([m4/libtool.m4])
1555 m4_include([m4/ltoptions.m4])
1556 m4_include([m4/ltsugar.m4])
1557 m4_include([m4/ltversion.m4])
1558 m4_include([m4/lt~obsolete.m4])
+0
-1558
config.guess less more
0 #! /bin/sh
1 # Attempt to guess a canonical system name.
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-06-10'
5
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #
19 # As a special exception to the GNU General Public License, if you
20 # distribute this file as part of a program that contains a
21 # configuration script generated by Autoconf, you may include it under
22 # the same distribution terms that you use for the rest of that
23 # program. This Exception is an additional permission under section 7
24 # of the GNU General Public License, version 3 ("GPLv3").
25 #
26 # Originally written by Per Bothner.
27 #
28 # You can get the latest version of this script from:
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
30 #
31 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
32
33
34 me=`echo "$0" | sed -e 's,.*/,,'`
35
36 usage="\
37 Usage: $0 [OPTION]
38
39 Output the configuration name of the system \`$me' is run on.
40
41 Operation modes:
42 -h, --help print this help, then exit
43 -t, --time-stamp print date of last modification, then exit
44 -v, --version print version number, then exit
45
46 Report bugs and patches to <config-patches@gnu.org>."
47
48 version="\
49 GNU config.guess ($timestamp)
50
51 Originally written by Per Bothner.
52 Copyright 1992-2013 Free Software Foundation, Inc.
53
54 This is free software; see the source for copying conditions. There is NO
55 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
56
57 help="
58 Try \`$me --help' for more information."
59
60 # Parse command line
61 while test $# -gt 0 ; do
62 case $1 in
63 --time-stamp | --time* | -t )
64 echo "$timestamp" ; exit ;;
65 --version | -v )
66 echo "$version" ; exit ;;
67 --help | --h* | -h )
68 echo "$usage"; exit ;;
69 -- ) # Stop option processing
70 shift; break ;;
71 - ) # Use stdin as input.
72 break ;;
73 -* )
74 echo "$me: invalid option $1$help" >&2
75 exit 1 ;;
76 * )
77 break ;;
78 esac
79 done
80
81 if test $# != 0; then
82 echo "$me: too many arguments$help" >&2
83 exit 1
84 fi
85
86 trap 'exit 1' 1 2 15
87
88 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
89 # compiler to aid in system detection is discouraged as it requires
90 # temporary files to be created and, as you can see below, it is a
91 # headache to deal with in a portable fashion.
92
93 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
94 # use `HOST_CC' if defined, but it is deprecated.
95
96 # Portable tmp directory creation inspired by the Autoconf team.
97
98 set_cc_for_build='
99 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
100 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
101 : ${TMPDIR=/tmp} ;
102 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
103 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
104 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
105 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
106 dummy=$tmp/dummy ;
107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > $dummy.c ;
110 for c in cc gcc c89 c99 ; do
111 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
112 CC_FOR_BUILD="$c"; break ;
113 fi ;
114 done ;
115 if test x"$CC_FOR_BUILD" = x ; then
116 CC_FOR_BUILD=no_compiler_found ;
117 fi
118 ;;
119 ,,*) CC_FOR_BUILD=$CC ;;
120 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
121 esac ; set_cc_for_build= ;'
122
123 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
124 # (ghazi@noc.rutgers.edu 1994-08-24)
125 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
126 PATH=$PATH:/.attbin ; export PATH
127 fi
128
129 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
130 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133
134 case "${UNAME_SYSTEM}" in
135 Linux|GNU|GNU/*)
136 # If the system lacks a compiler, then just pick glibc.
137 # We could probably try harder.
138 LIBC=gnu
139
140 eval $set_cc_for_build
141 cat <<-EOF > $dummy.c
142 #include <features.h>
143 #if defined(__UCLIBC__)
144 LIBC=uclibc
145 #elif defined(__dietlibc__)
146 LIBC=dietlibc
147 #else
148 LIBC=gnu
149 #endif
150 EOF
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
152 ;;
153 esac
154
155 # Note: order is significant - the case branches are not exclusive.
156
157 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
158 *:NetBSD:*:*)
159 # NetBSD (nbsd) targets should (where applicable) match one or
160 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
161 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
162 # switched to ELF, *-*-netbsd* would select the old
163 # object file format. This provides both forward
164 # compatibility and a consistent mechanism for selecting the
165 # object file format.
166 #
167 # Note: NetBSD doesn't particularly care about the vendor
168 # portion of the name. We always set it to "unknown".
169 sysctl="sysctl -n hw.machine_arch"
170 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
171 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
172 case "${UNAME_MACHINE_ARCH}" in
173 armeb) machine=armeb-unknown ;;
174 arm*) machine=arm-unknown ;;
175 sh3el) machine=shl-unknown ;;
176 sh3eb) machine=sh-unknown ;;
177 sh5el) machine=sh5le-unknown ;;
178 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
179 esac
180 # The Operating System including object format, if it has switched
181 # to ELF recently, or will in the future.
182 case "${UNAME_MACHINE_ARCH}" in
183 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
184 eval $set_cc_for_build
185 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
186 | grep -q __ELF__
187 then
188 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
189 # Return netbsd for either. FIX?
190 os=netbsd
191 else
192 os=netbsdelf
193 fi
194 ;;
195 *)
196 os=netbsd
197 ;;
198 esac
199 # The OS release
200 # Debian GNU/NetBSD machines have a different userland, and
201 # thus, need a distinct triplet. However, they do not need
202 # kernel version information, so it can be replaced with a
203 # suitable tag, in the style of linux-gnu.
204 case "${UNAME_VERSION}" in
205 Debian*)
206 release='-gnu'
207 ;;
208 *)
209 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
210 ;;
211 esac
212 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
213 # contains redundant information, the shorter form:
214 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
215 echo "${machine}-${os}${release}"
216 exit ;;
217 *:Bitrig:*:*)
218 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
219 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
220 exit ;;
221 *:OpenBSD:*:*)
222 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
223 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
224 exit ;;
225 *:ekkoBSD:*:*)
226 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
227 exit ;;
228 *:SolidBSD:*:*)
229 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
230 exit ;;
231 macppc:MirBSD:*:*)
232 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
233 exit ;;
234 *:MirBSD:*:*)
235 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
236 exit ;;
237 alpha:OSF1:*:*)
238 case $UNAME_RELEASE in
239 *4.0)
240 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
241 ;;
242 *5.*)
243 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
244 ;;
245 esac
246 # According to Compaq, /usr/sbin/psrinfo has been available on
247 # OSF/1 and Tru64 systems produced since 1995. I hope that
248 # covers most systems running today. This code pipes the CPU
249 # types through head -n 1, so we only detect the type of CPU 0.
250 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
251 case "$ALPHA_CPU_TYPE" in
252 "EV4 (21064)")
253 UNAME_MACHINE="alpha" ;;
254 "EV4.5 (21064)")
255 UNAME_MACHINE="alpha" ;;
256 "LCA4 (21066/21068)")
257 UNAME_MACHINE="alpha" ;;
258 "EV5 (21164)")
259 UNAME_MACHINE="alphaev5" ;;
260 "EV5.6 (21164A)")
261 UNAME_MACHINE="alphaev56" ;;
262 "EV5.6 (21164PC)")
263 UNAME_MACHINE="alphapca56" ;;
264 "EV5.7 (21164PC)")
265 UNAME_MACHINE="alphapca57" ;;
266 "EV6 (21264)")
267 UNAME_MACHINE="alphaev6" ;;
268 "EV6.7 (21264A)")
269 UNAME_MACHINE="alphaev67" ;;
270 "EV6.8CB (21264C)")
271 UNAME_MACHINE="alphaev68" ;;
272 "EV6.8AL (21264B)")
273 UNAME_MACHINE="alphaev68" ;;
274 "EV6.8CX (21264D)")
275 UNAME_MACHINE="alphaev68" ;;
276 "EV6.9A (21264/EV69A)")
277 UNAME_MACHINE="alphaev69" ;;
278 "EV7 (21364)")
279 UNAME_MACHINE="alphaev7" ;;
280 "EV7.9 (21364A)")
281 UNAME_MACHINE="alphaev79" ;;
282 esac
283 # A Pn.n version is a patched version.
284 # A Vn.n version is a released version.
285 # A Tn.n version is a released field test version.
286 # A Xn.n version is an unreleased experimental baselevel.
287 # 1.2 uses "1.2" for uname -r.
288 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
289 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
290 exitcode=$?
291 trap '' 0
292 exit $exitcode ;;
293 Alpha\ *:Windows_NT*:*)
294 # How do we know it's Interix rather than the generic POSIX subsystem?
295 # Should we change UNAME_MACHINE based on the output of uname instead
296 # of the specific Alpha model?
297 echo alpha-pc-interix
298 exit ;;
299 21064:Windows_NT:50:3)
300 echo alpha-dec-winnt3.5
301 exit ;;
302 Amiga*:UNIX_System_V:4.0:*)
303 echo m68k-unknown-sysv4
304 exit ;;
305 *:[Aa]miga[Oo][Ss]:*:*)
306 echo ${UNAME_MACHINE}-unknown-amigaos
307 exit ;;
308 *:[Mm]orph[Oo][Ss]:*:*)
309 echo ${UNAME_MACHINE}-unknown-morphos
310 exit ;;
311 *:OS/390:*:*)
312 echo i370-ibm-openedition
313 exit ;;
314 *:z/VM:*:*)
315 echo s390-ibm-zvmoe
316 exit ;;
317 *:OS400:*:*)
318 echo powerpc-ibm-os400
319 exit ;;
320 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
321 echo arm-acorn-riscix${UNAME_RELEASE}
322 exit ;;
323 arm*:riscos:*:*|arm*:RISCOS:*:*)
324 echo arm-unknown-riscos
325 exit ;;
326 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
327 echo hppa1.1-hitachi-hiuxmpp
328 exit ;;
329 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
330 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
331 if test "`(/bin/universe) 2>/dev/null`" = att ; then
332 echo pyramid-pyramid-sysv3
333 else
334 echo pyramid-pyramid-bsd
335 fi
336 exit ;;
337 NILE*:*:*:dcosx)
338 echo pyramid-pyramid-svr4
339 exit ;;
340 DRS?6000:unix:4.0:6*)
341 echo sparc-icl-nx6
342 exit ;;
343 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
344 case `/usr/bin/uname -p` in
345 sparc) echo sparc-icl-nx7; exit ;;
346 esac ;;
347 s390x:SunOS:*:*)
348 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
349 exit ;;
350 sun4H:SunOS:5.*:*)
351 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
352 exit ;;
353 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
354 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
355 exit ;;
356 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
357 echo i386-pc-auroraux${UNAME_RELEASE}
358 exit ;;
359 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
360 eval $set_cc_for_build
361 SUN_ARCH="i386"
362 # If there is a compiler, see if it is configured for 64-bit objects.
363 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
364 # This test works for both compilers.
365 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
366 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
367 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
368 grep IS_64BIT_ARCH >/dev/null
369 then
370 SUN_ARCH="x86_64"
371 fi
372 fi
373 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
374 exit ;;
375 sun4*:SunOS:6*:*)
376 # According to config.sub, this is the proper way to canonicalize
377 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
378 # it's likely to be more like Solaris than SunOS4.
379 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
380 exit ;;
381 sun4*:SunOS:*:*)
382 case "`/usr/bin/arch -k`" in
383 Series*|S4*)
384 UNAME_RELEASE=`uname -v`
385 ;;
386 esac
387 # Japanese Language versions have a version number like `4.1.3-JL'.
388 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
389 exit ;;
390 sun3*:SunOS:*:*)
391 echo m68k-sun-sunos${UNAME_RELEASE}
392 exit ;;
393 sun*:*:4.2BSD:*)
394 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
395 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
396 case "`/bin/arch`" in
397 sun3)
398 echo m68k-sun-sunos${UNAME_RELEASE}
399 ;;
400 sun4)
401 echo sparc-sun-sunos${UNAME_RELEASE}
402 ;;
403 esac
404 exit ;;
405 aushp:SunOS:*:*)
406 echo sparc-auspex-sunos${UNAME_RELEASE}
407 exit ;;
408 # The situation for MiNT is a little confusing. The machine name
409 # can be virtually everything (everything which is not
410 # "atarist" or "atariste" at least should have a processor
411 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
412 # to the lowercase version "mint" (or "freemint"). Finally
413 # the system name "TOS" denotes a system which is actually not
414 # MiNT. But MiNT is downward compatible to TOS, so this should
415 # be no problem.
416 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
417 echo m68k-atari-mint${UNAME_RELEASE}
418 exit ;;
419 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
420 echo m68k-atari-mint${UNAME_RELEASE}
421 exit ;;
422 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
423 echo m68k-atari-mint${UNAME_RELEASE}
424 exit ;;
425 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
426 echo m68k-milan-mint${UNAME_RELEASE}
427 exit ;;
428 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
429 echo m68k-hades-mint${UNAME_RELEASE}
430 exit ;;
431 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
432 echo m68k-unknown-mint${UNAME_RELEASE}
433 exit ;;
434 m68k:machten:*:*)
435 echo m68k-apple-machten${UNAME_RELEASE}
436 exit ;;
437 powerpc:machten:*:*)
438 echo powerpc-apple-machten${UNAME_RELEASE}
439 exit ;;
440 RISC*:Mach:*:*)
441 echo mips-dec-mach_bsd4.3
442 exit ;;
443 RISC*:ULTRIX:*:*)
444 echo mips-dec-ultrix${UNAME_RELEASE}
445 exit ;;
446 VAX*:ULTRIX*:*:*)
447 echo vax-dec-ultrix${UNAME_RELEASE}
448 exit ;;
449 2020:CLIX:*:* | 2430:CLIX:*:*)
450 echo clipper-intergraph-clix${UNAME_RELEASE}
451 exit ;;
452 mips:*:*:UMIPS | mips:*:*:RISCos)
453 eval $set_cc_for_build
454 sed 's/^ //' << EOF >$dummy.c
455 #ifdef __cplusplus
456 #include <stdio.h> /* for printf() prototype */
457 int main (int argc, char *argv[]) {
458 #else
459 int main (argc, argv) int argc; char *argv[]; {
460 #endif
461 #if defined (host_mips) && defined (MIPSEB)
462 #if defined (SYSTYPE_SYSV)
463 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
464 #endif
465 #if defined (SYSTYPE_SVR4)
466 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
467 #endif
468 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
469 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
470 #endif
471 #endif
472 exit (-1);
473 }
474 EOF
475 $CC_FOR_BUILD -o $dummy $dummy.c &&
476 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
477 SYSTEM_NAME=`$dummy $dummyarg` &&
478 { echo "$SYSTEM_NAME"; exit; }
479 echo mips-mips-riscos${UNAME_RELEASE}
480 exit ;;
481 Motorola:PowerMAX_OS:*:*)
482 echo powerpc-motorola-powermax
483 exit ;;
484 Motorola:*:4.3:PL8-*)
485 echo powerpc-harris-powermax
486 exit ;;
487 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
488