Changeset 23279
- Timestamp:
- 06/18/07 10:39:59 (18 months ago)
- Location:
- trunk/launchd
- Files:
-
- 2 removed
- 6 modified
-
Makefile.in (modified) (19 diffs)
-
aclocal.m4 (modified) (24 diffs)
-
configure (modified) (18 diffs)
-
configure.ac (modified) (1 diff)
-
src/Makefile.am (modified) (2 diffs)
-
src/Makefile.in (modified) (74 diffs)
-
src/service (deleted)
-
src/service.8 (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/launchd/Makefile.in
r22844 r23279 1 # Makefile.in generated by automake 1. 9.6from Makefile.am.1 # Makefile.in generated by automake 1.10 from Makefile.am. 2 2 # @configure_input@ 3 3 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5 # 2003, 2004, 2005 Free Software Foundation, Inc.5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 6 # This Makefile.in is free software; the Free Software Foundation 7 7 # gives unlimited permission to copy and/or distribute it, … … 14 14 15 15 @SET_MAKE@ 16 srcdir = @srcdir@17 top_srcdir = @top_srcdir@18 16 VPATH = @srcdir@ 19 17 pkgdatadir = $(datadir)/@PACKAGE@ 20 18 pkglibdir = $(libdir)/@PACKAGE@ 21 19 pkgincludedir = $(includedir)/@PACKAGE@ 22 top_builddir = .23 20 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 24 INSTALL = @INSTALL@25 21 install_sh_DATA = $(install_sh) -c -m 644 26 22 install_sh_PROGRAM = $(install_sh) -c … … 44 40 $(ACLOCAL_M4) 45 41 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 46 configure.lineno config ure.status.lineno42 configure.lineno config.status.lineno 47 43 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 48 44 CONFIG_HEADER = $(top_builddir)/src/config.h … … 52 48 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 53 49 html-recursive info-recursive install-data-recursive \ 54 install-exec-recursive install-info-recursive \ 55 install-recursive installcheck-recursive installdirs-recursive \ 56 pdf-recursive ps-recursive uninstall-info-recursive \ 57 uninstall-recursive 50 install-dvi-recursive install-exec-recursive \ 51 install-html-recursive install-info-recursive \ 52 install-pdf-recursive install-ps-recursive install-recursive \ 53 installcheck-recursive installdirs-recursive pdf-recursive \ 54 ps-recursive uninstall-recursive 55 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 56 distclean-recursive maintainer-clean-recursive 58 57 ETAGS = etags 59 58 CTAGS = ctags … … 72 71 ACLOCAL = @ACLOCAL@ 73 72 ALLOCA = @ALLOCA@ 74 AMDEP_FALSE = @AMDEP_FALSE@75 AMDEP_TRUE = @AMDEP_TRUE@76 73 AMTAR = @AMTAR@ 77 74 AUTOCONF = @AUTOCONF@ … … 93 90 EXEEXT = @EXEEXT@ 94 91 GREP = @GREP@ 92 INSTALL = @INSTALL@ 95 93 INSTALL_DATA = @INSTALL_DATA@ 96 94 INSTALL_PROGRAM = @INSTALL_PROGRAM@ … … 100 98 LIBOBJS = @LIBOBJS@ 101 99 LIBS = @LIBS@ 102 LIBS_ONLY_FALSE = @LIBS_ONLY_FALSE@103 LIBS_ONLY_TRUE = @LIBS_ONLY_TRUE@104 100 LTLIBOBJS = @LTLIBOBJS@ 105 101 MAKEINFO = @MAKEINFO@ 102 MKDIR_P = @MKDIR_P@ 106 103 OBJEXT = @OBJEXT@ 107 104 PACKAGE = @PACKAGE@ … … 117 114 STRIP = @STRIP@ 118 115 VERSION = @VERSION@ 116 abs_builddir = @abs_builddir@ 117 abs_srcdir = @abs_srcdir@ 118 abs_top_builddir = @abs_top_builddir@ 119 abs_top_srcdir = @abs_top_srcdir@ 119 120 ac_ct_CC = @ac_ct_CC@ 120 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@121 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@122 121 am__include = @am__include@ 123 122 am__leading_dot = @am__leading_dot@ … … 127 126 bindir = @bindir@ 128 127 build_alias = @build_alias@ 128 builddir = @builddir@ 129 129 datadir = @datadir@ 130 130 datarootdir = @datarootdir@ … … 150 150 sbindir = @sbindir@ 151 151 sharedstatedir = @sharedstatedir@ 152 srcdir = @srcdir@ 152 153 sysconfdir = @sysconfdir@ 153 154 target_alias = @target_alias@ 155 top_builddir = @top_builddir@ 156 top_srcdir = @top_srcdir@ 154 157 SUBDIRS = src 155 158 all: all-recursive … … 189 192 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 190 193 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 191 uninstall-info-am:192 194 193 195 # This directory's subdirectories are mostly independent; you can cd … … 222 224 fi; test -z "$$fail" 223 225 224 mostlyclean-recursive clean-recursive distclean-recursive \ 225 maintainer-clean-recursive: 226 $(RECURSIVE_CLEAN_TARGETS): 226 227 @failcom='exit 1'; \ 227 228 for f in x $$MAKEFLAGS; do \ … … 325 326 distdir: $(DISTFILES) 326 327 $(am__remove_distdir) 327 mkdir $(distdir) 328 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 329 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ 330 list='$(DISTFILES)'; for file in $$list; do \ 331 case $$file in \ 332 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ 333 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ 334 esac; \ 328 test -d $(distdir) || mkdir $(distdir) 329 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 330 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 331 list='$(DISTFILES)'; \ 332 dist_files=`for file in $$list; do echo $$file; done | \ 333 sed -e "s|^$$srcdirstrip/||;t" \ 334 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 335 case $$dist_files in \ 336 */*) $(MKDIR_P) `echo "$$dist_files" | \ 337 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 338 sort -u` ;; \ 339 esac; \ 340 for file in $$dist_files; do \ 335 341 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 336 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \337 if test "$$dir" != "$$file" && test "$$dir" != "."; then \338 dir="/$$dir"; \339 $(mkdir_p) "$(distdir)$$dir"; \340 else \341 dir=''; \342 fi; \343 342 if test -d $$d/$$file; then \ 343 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 344 344 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 345 345 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ … … 355 355 if test "$$subdir" = .; then :; else \ 356 356 test -d "$(distdir)/$$subdir" \ 357 || $( mkdir_p) "$(distdir)/$$subdir" \357 || $(MKDIR_P) "$(distdir)/$$subdir" \ 358 358 || exit 1; \ 359 359 distdir=`$(am__cd) $(distdir) && pwd`; \ … … 363 363 top_distdir="$$top_distdir" \ 364 364 distdir="$$distdir/$$subdir" \ 365 am__remove_distdir=: \ 366 am__skip_length_check=: \ 365 367 distdir) \ 366 368 || exit 1; \ … … 370 372 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 371 373 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 372 ! -type d ! -perm -444 -exec $( SHELL) $(install_sh) -c -m a+r {} {} \; \374 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 373 375 || chmod -R a+r $(distdir) 374 376 dist-gzip: distdir … … 445 447 @(echo "$(distdir) archives ready for distribution: "; \ 446 448 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 447 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'449 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 448 450 distuninstallcheck: 449 451 @cd $(distuninstallcheck_dir) \ … … 514 516 install-data-am: 515 517 518 install-dvi: install-dvi-recursive 519 516 520 install-exec-am: 517 521 522 install-html: install-html-recursive 523 518 524 install-info: install-info-recursive 519 525 520 526 install-man: 527 528 install-pdf: install-pdf-recursive 529 530 install-ps: install-ps-recursive 521 531 522 532 installcheck-am: … … 540 550 ps-am: 541 551 542 uninstall-am: uninstall-info-am 543 544 uninstall-info: uninstall-info-recursive 545 546 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ 547 check-am clean clean-generic clean-recursive ctags \ 548 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ 549 dist-tarZ dist-zip distcheck distclean distclean-generic \ 550 distclean-recursive distclean-tags distcleancheck distdir \ 552 uninstall-am: 553 554 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ 555 install-strip 556 557 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 558 all all-am am--refresh check check-am clean clean-generic \ 559 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ 560 dist-shar dist-tarZ dist-zip distcheck distclean \ 561 distclean-generic distclean-tags distcleancheck distdir \ 551 562 distuninstallcheck dvi dvi-am html html-am info info-am \ 552 install install-am install-data install-data-am install-exec \ 553 install-exec-am install-info install-info-am install-man \ 563 install install-am install-data install-data-am install-dvi \ 564 install-dvi-am install-exec install-exec-am install-html \ 565 install-html-am install-info install-info-am install-man \ 566 install-pdf install-pdf-am install-ps install-ps-am \ 554 567 install-strip installcheck installcheck-am installdirs \ 555 568 installdirs-am maintainer-clean maintainer-clean-generic \ 556 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 557 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ 558 uninstall uninstall-am uninstall-info-am 569 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ 570 tags-recursive uninstall uninstall-am 559 571 560 572 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
trunk/launchd/aclocal.m4
r22844 r23279 1 # generated automatically by aclocal 1. 9.6-*- Autoconf -*-1 # generated automatically by aclocal 1.10 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005 Free Software Foundation, Inc.4 # 2005, 2006 Free Software Foundation, Inc. 5 5 # This file is free software; the Free Software Foundation 6 6 # gives unlimited permission to copy and/or distribute it, … … 12 12 # PARTICULAR PURPOSE. 13 13 14 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. 14 m4_if(m4_PACKAGE_VERSION, [2.61],, 15 [m4_fatal([this file was generated for autoconf 2.61. 16 You have another version of autoconf. If you want to use that, 17 you should regenerate the build system entirely.], [63])]) 18 19 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. 15 20 # 16 21 # This file is free software; the Free Software Foundation … … 22 27 # Automake X.Y traces this macro to ensure aclocal.m4 has been 23 28 # generated from the m4 files accompanying Automake X.Y. 24 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) 29 # (This private macro should not be called outside this file.) 30 AC_DEFUN([AM_AUTOMAKE_VERSION], 31 [am__api_version='1.10' 32 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 33 dnl require some minimum version. Point them to the right macro. 34 m4_if([$1], [1.10], [], 35 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 36 ]) 37 38 # _AM_AUTOCONF_VERSION(VERSION) 39 # ----------------------------- 40 # aclocal traces this macro to find the Autoconf version. 41 # This is a private macro too. Using m4_define simplifies 42 # the logic in aclocal, which can simply ignore this definition. 43 m4_define([_AM_AUTOCONF_VERSION], []) 25 44 26 45 # AM_SET_CURRENT_AUTOMAKE_VERSION 27 46 # ------------------------------- 28 # Call AM_AUTOMAKE_VERSION so itcan be traced.47 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 29 48 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 30 49 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 31 [AM_AUTOMAKE_VERSION([1.9.6])]) 50 [AM_AUTOMAKE_VERSION([1.10])dnl 51 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) 32 52 33 53 # AM_AUX_DIR_EXPAND -*- Autoconf -*- … … 86 106 # AM_CONDITIONAL -*- Autoconf -*- 87 107 88 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 108 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 89 109 # Free Software Foundation, Inc. 90 110 # … … 93 113 # with or without modifications, as long as this notice is preserved. 94 114 95 # serial 7115 # serial 8 96 116 97 117 # AM_CONDITIONAL(NAME, SHELL-CONDITION) … … 102 122 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 103 123 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 104 AC_SUBST([$1_TRUE]) 105 AC_SUBST([$1_FALSE]) 124 AC_SUBST([$1_TRUE])dnl 125 AC_SUBST([$1_FALSE])dnl 126 _AM_SUBST_NOTMAKE([$1_TRUE])dnl 127 _AM_SUBST_NOTMAKE([$1_FALSE])dnl 106 128 if $2; then 107 129 $1_TRUE= … … 117 139 fi])]) 118 140 119 120 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 141 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 121 142 # Free Software Foundation, Inc. 122 143 # … … 125 146 # with or without modifications, as long as this notice is preserved. 126 147 127 # serial 8148 # serial 9 128 149 129 150 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be … … 153 174 [$1], CXX, [depcc="$CXX" am_compiler_list=], 154 175 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 176 [$1], UPC, [depcc="$UPC" am_compiler_list=], 155 177 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 156 178 [depcc="$$1" am_compiler_list=]) … … 218 240 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 219 241 >/dev/null 2>conftest.err && 242 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 220 243 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 221 244 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && … … 270 293 fi 271 294 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 272 AC_SUBST([AMDEPBACKSLASH]) 295 AC_SUBST([AMDEPBACKSLASH])dnl 296 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 273 297 ]) 274 298 … … 295 319 # Grep'ing the first line is not enough: some people post-process 296 320 # each Makefile.in and add a new line on top of each file to say so. 297 # So let's grep whole file. 298 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 321 # Grep'ing the whole file is not good either: AIX grep has a line 322 # limit of 2048, but all sed's we know have understand at least 4000. 323 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 299 324 dirpart=`AS_DIRNAME("$mf")` 300 325 else … … 355 380 # Do all the work for Automake. -*- Autoconf -*- 356 381 357 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005358 # Free Software Foundation, Inc.382 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 383 # 2005, 2006 Free Software Foundation, Inc. 359 384 # 360 385 # This file is free software; the Free Software Foundation … … 379 404 # release and drop the old call support. 380 405 AC_DEFUN([AM_INIT_AUTOMAKE], 381 [AC_PREREQ([2. 58])dnl406 [AC_PREREQ([2.60])dnl 382 407 dnl Autoconf wants to disallow AM_ names. We explicitly allow 383 408 dnl the ones we care about. … … 385 410 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 386 411 AC_REQUIRE([AC_PROG_INSTALL])dnl 387 # test to see if srcdir already configured 388 if test "`cd $srcdir && pwd`" != "`pwd`" && 389 test -f $srcdir/config.status; then 390 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 412 if test "`cd $srcdir && pwd`" != "`pwd`"; then 413 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 414 # is not polluted with repeated "-I." 415 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 416 # test to see if srcdir already configured 417 if test -f $srcdir/config.status; then 418 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 419 fi 391 420 fi 392 421 … … 408 437 AC_SUBST([VERSION], [$2])], 409 438 [_AM_SET_OPTIONS([$1])dnl 439 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 440 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, 441 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 410 442 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 411 443 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl … … 443 475 [define([AC_PROG_CXX], 444 476 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 477 AC_PROVIDE_IFELSE([AC_PROG_OBJC], 478 [_AM_DEPENDENCIES(OBJC)], 479 [define([AC_PROG_OBJC], 480 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 445 481 ]) 446 482 ]) … … 478 514 AC_DEFUN([AM_PROG_INSTALL_SH], 479 515 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 480 install_sh=${install_sh-" $am_aux_dir/install-sh"}516 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 481 517 AC_SUBST(install_sh)]) 482 518 … … 554 590 ]) 555 591 592 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 593 # Free Software Foundation, Inc. 594 # 595 # This file is free software; the Free Software Foundation 596 # gives unlimited permission to copy and/or distribute it, 597 # with or without modifications, as long as this notice is preserved. 598 599 # serial 5 600 601 # AM_PROG_CC_C_O 602 # -------------- 603 # Like AC_PROG_CC_C_O, but changed for automake. 604 AC_DEFUN([AM_PROG_CC_C_O], 605 [AC_REQUIRE([AC_PROG_CC_C_O])dnl 606 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 607 AC_REQUIRE_AUX_FILE([compile])dnl 608 # FIXME: we rely on the cache variable name because 609 # there is no other way. 610 set dummy $CC 611 ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` 612 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then 613 # Losing compiler, so override with the script. 614 # FIXME: It is wrong to rewrite CC. 615 # But if we don't then we get into trouble of one sort or another. 616 # A longer-term fix would be to have automake use am__CC in this case, 617 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 618 CC="$am_aux_dir/compile $CC" 619 fi 620 dnl Make sure AC_PROG_CC is never called again, or it will override our 621 dnl setting of CC. 622 m4_define([AC_PROG_CC], 623 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) 624 ]) 625 556 626 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 557 627 558 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 200 5628 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 559 629 # Free Software Foundation, Inc. 560 630 # … … 563 633 # with or without modifications, as long as this notice is preserved. 564 634 565 # serial 4635 # serial 5 566 636 567 637 # AM_MISSING_PROG(NAME, PROGRAM) … … 579 649 AC_DEFUN([AM_MISSING_HAS_RUN], 580 650 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 651 AC_REQUIRE_AUX_FILE([missing])dnl 581 652 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 582 653 # Use eval to expand $SHELL … … 589 660 ]) 590 661 591 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.662 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 592 663 # 593 664 # This file is free software; the Free Software Foundation … … 597 668 # AM_PROG_MKDIR_P 598 669 # --------------- 599 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 600 # 601 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 602 # created by `make install' are always world readable, even if the 603 # installer happens to have an overly restrictive umask (e.g. 077). 604 # This was a mistake. There are at least two reasons why we must not 605 # use `-m 0755': 606 # - it causes special bits like SGID to be ignored, 607 # - it may be too restrictive (some setups expect 775 directories). 608 # 609 # Do not use -m 0755 and let people choose whatever they expect by 610 # setting umask. 611 # 612 # We cannot accept any implementation of `mkdir' that recognizes `-p'. 613 # Some implementations (such as Solaris 8's) are not thread-safe: if a 614 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' 615 # concurrently, both version can detect that a/ is missing, but only 616 # one can create it and the other will error out. Consequently we 617 # restrict ourselves to GNU make (using the --version option ensures 618 # this.) 670 # Check for `mkdir -p'. 619 671 AC_DEFUN([AM_PROG_MKDIR_P], 620 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 621 # We used to keeping the `.' as first argument, in order to 622 # allow $(mkdir_p) to be used without argument. As in 623 # $(mkdir_p) $(somedir) 624 # where $(somedir) is conditionally defined. However this is wrong 625 # for two reasons: 626 # 1. if the package is installed by a user who cannot write `.' 627 # make install will fail, 628 # 2. the above comment should most certainly read 629 # $(mkdir_p) $(DESTDIR)$(somedir) 630 # so it does not work when $(somedir) is undefined and 631 # $(DESTDIR) is not. 632 # To support the latter case, we have to write 633 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 634 # so the `.' trick is pointless. 635 mkdir_p='mkdir -p --' 636 else 637 # On NextStep and OpenStep, the `mkdir' command does not 638 # recognize any option. It will interpret all options as 639 # directories to create, and then abort because `.' already 640 # exists. 641 for d in ./-p ./--version; 642 do 643 test -d $d && rmdir $d 644 done 645 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 646 if test -f "$ac_aux_dir/mkinstalldirs"; then 647 mkdir_p='$(mkinstalldirs)' 648 else 649 mkdir_p='$(install_sh) -d' 650 fi 651 fi 652 AC_SUBST([mkdir_p])]) 672 [AC_PREREQ([2.60])dnl 673 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 674 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, 675 dnl while keeping a definition of mkdir_p for backward compatibility. 676 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. 677 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of 678 dnl Makefile.ins that do not define MKDIR_P, so we do our own 679 dnl adjustment using top_builddir (which is defined more often than 680 dnl MKDIR_P). 681 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl 682 case $mkdir_p in 683 [[\\/$]]* | ?:[[\\/]]*) ;; 684 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 685 esac 686 ]) 653 687 654 688 # Helper functions for option handling. -*- Autoconf -*- … … 762 796 AC_CHECK_TOOL([STRIP], [strip], :) 763 797 fi 764 INSTALL_STRIP_PROGRAM="\$ {SHELL} \$(install_sh) -c -s"798 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 765 799 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 800 801 # Copyright (C) 2006 Free Software Foundation, Inc. 802 # 803 # This file is free software; the Free Software Foundation 804 # gives unlimited permission to copy and/or distribute it, 805 # with or without modifications, as long as this notice is preserved. 806 807 # _AM_SUBST_NOTMAKE(VARIABLE) 808 # --------------------------- 809 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. 810 # This macro is traced by Automake. 811 AC_DEFUN([_AM_SUBST_NOTMAKE]) 766 812 767 813 # Check how to create a tarball. -*- Autoconf -*- -
trunk/launchd/configure
r22977 r23279 658 658 INSTALL_SCRIPT 659 659 INSTALL_DATA 660 am__isrc 660 661 CYGPATH_W 661 662 PACKAGE … … 1734 1735 1735 1736 1736 am__api_version="1.9" 1737 am__api_version='1.10' 1738 1737 1739 ac_aux_dir= 1738 1740 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do … … 1917 1919 fi 1918 1920 1919 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1920 # We used to keeping the `.' as first argument, in order to 1921 # allow $(mkdir_p) to be used without argument. As in 1922 # $(mkdir_p) $(somedir) 1923 # where $(somedir) is conditionally defined. However this is wrong 1924 # for two reasons: 1925 # 1. if the package is installed by a user who cannot write `.' 1926 # make install will fail, 1927 # 2. the above comment should most certainly read 1928 # $(mkdir_p) $(DESTDIR)$(somedir) 1929 # so it does not work when $(somedir) is undefined and 1930 # $(DESTDIR) is not. 1931 # To support the latter case, we have to write 1932 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1933 # so the `.' trick is pointless. 1934

