./PaxHeaders.22674/ui-auto-1.2.100000644000000000000000000000013213223161312012771 xustar0030 mtime=1514988234.957867356 30 atime=1514988235.037865556 30 ctime=1514988234.957867356 ui-auto-1.2.10/0000755000175000017500000000000013223161312013772 5ustar00absurdabsurd00000000000000ui-auto-1.2.10/PaxHeaders.22674/aclocal.m40000644000000000000000000000013113223161307014554 xustar0030 mtime=1514988231.281950008 29 atime=1514988231.37794785 30 ctime=1514988234.933867896 ui-auto-1.2.10/aclocal.m40000644000175000017500000012241613223161307015644 0ustar00absurdabsurd00000000000000# generated automatically by aclocal 1.15.1 -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([src/m4/ui-auto.m4]) m4_include([src/m4/ui-common.m4]) m4_include([src/m4/ui-distdir-cruft.m4]) ui-auto-1.2.10/PaxHeaders.22674/configure0000644000000000000000000000013113223161307014620 xustar0030 mtime=1514988231.593942994 29 atime=1514988231.92193562 30 ctime=1514988234.925868075 ui-auto-1.2.10/configure0000755000175000017500000050210013223161307015703 0ustar00absurdabsurd00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for ui-auto 1.2.10. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ui-auto' PACKAGE_TARNAME='ui-auto' PACKAGE_VERSION='1.2.10' PACKAGE_STRING='ui-auto 1.2.10' PACKAGE_BUGREPORT='' PACKAGE_URL='' ac_unique_file="src/tools/ui-auto-release" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE ac_ct_CXX CXXFLAGS CXX PROG_XSLTPROG am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC SO_VERSION AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='UI_AUTO_AM' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CXX CXXFLAGS CCC' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures ui-auto 1.2.10 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/ui-auto] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of ui-auto 1.2.10:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CXX C++ compiler command CXXFLAGS C++ compiler flags Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF ui-auto configure 1.2.10 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_cxx_try_compile LINENO # ---------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_cxx_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ui-auto $as_me 1.2.10, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.15' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='ui-auto' VERSION='1.2.10' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 $as_echo_n "checking how to create a pax tar archive... " >&6; } # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_pax-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do { echo "$as_me:$LINENO: $_am_tar --version" >&5 ($_am_tar --version) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && break done am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x pax -w "$$tardir"' am__tar_='pax -L -x pax -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H pax -L' am__tar_='find "$tardir" -print | cpio -o -H pax -L' am__untar='cpio -i -H pax -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_pax}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } rm -rf conftest.dir if test -s conftest.tar; then { echo "$as_me:$LINENO: $am__untar &5 ($am__untar &5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 (cat conftest.dir/file) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } grep GrepMe conftest.dir/file >/dev/null 2>&1 && break fi done rm -rf conftest.dir if ${am_cv_prog_tar_pax+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_prog_tar_pax=$_am_tool fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 $as_echo "$am_cv_prog_tar_pax" >&6; } # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi if test -z "${PACKAGE_VERSION}"; then as_fn_error $? "Cant continue: PACKAGE_VERSION missing." "$LINENO" 5 fi SO_VERSION= TOOLDIR= if test -z "${TOOLDIR}"; then TOOLDIR="src/tools" fi INCDIR= if test -z "${INCDIR}"; then INCDIR="src/${PACKAGE_NAME}" fi UI_AUTO_AM="ui-auto.am" rm -v -f "${UI_AUTO_AM}" echo -n " # These are the generic ui-auto rules rules (add these to your Makefile.am appropriately to *-local targets). .PHONY: ui-auto-all ui-auto-clean ui-auto-dist ui-auto-distclean ui-auto-install-data ui-auto-install-exec ui-auto-uninstall ui-auto-am-clean: rm -f "${UI_AUTO_AM}" .PHONY: ui-auto-am-clean # Set dependencies for generic rules ui-auto-distclean: ui-auto-am-clean " >>"ui-auto.am" S_NAME="${PACKAGE_NAME}-version" S_PATH="${TOOLDIR}/${S_NAME}" V_MAJOR=`echo ${PACKAGE_VERSION} | cut -d'.' -f1` V_MINOR=`echo ${PACKAGE_VERSION} | cut -d'.' -f2` V_PATCH=`echo ${PACKAGE_VERSION} | cut -d'.' -f3` mkdir -p `dirname "${S_PATH}"` cat <"${S_PATH}" #!/bin/sh -e echo "UI_PACKAGE=\"${PACKAGE_NAME}\"" echo "UI_VERSION=\"${PACKAGE_VERSION}\"" echo "UI_VERSION_MAJOR=\"${V_MAJOR}\"" echo "UI_VERSION_MINOR=\"${V_MINOR}\"" echo "UI_VERSION_PATCH=\"${V_PATCH}\"" EOF if test -n "${SO_VERSION}"; then LV_IF=`echo ${SO_VERSION} | cut -d':' -f1` LV_REV=`echo ${SO_VERSION} | cut -d':' -f2` LV_AGE=`echo ${SO_VERSION} | cut -d':' -f3` LV_MAJOR=$[LV_IF - LV_AGE] LV_MINOR=${LV_AGE} LV_PATCH=${LV_REV} SO_VERSION_SYS="${LV_MAJOR}.${LV_MINOR}.${LV_PATCH}" cat <>"${S_PATH}" echo "UI_SO_VERSION=\"${SO_VERSION_SYS}\"" echo "UI_SO_VERSION_MAJOR=\"${LV_MAJOR}\"" echo "UI_SO_VERSION_MINOR=\"${LV_MINOR}\"" echo "UI_SO_VERSION_PATCH=\"${LV_PATCH}\"" EOF fi chmod +x "${S_PATH}" S_NAME_CAP=`echo "${S_NAME}" | tr "[:lower:]" "[:upper:]"` cat <"${S_PATH}.1" .TH ${S_NAME_CAP} "1" .SH NAME ${S_NAME} \- Print parsable version information for development package ${PACKAGE_NAME}. .SH SYNOPSIS .PP .B ${S_NAME} .SH DESCRIPTION .PP Prints version information for installed development package ${PACKAGE_NAME} in a parsable way. This is intended to be used by automatic version checks of build systems. .SH AUTHOR EOF if test -n "${SOURCE_DATE_EPOCH}"; then \ echo "Produced automatically by ui-auto for ${PACKAGE_NAME} on `date --utc --rfc-822 --date="@${SOURCE_DATE_EPOCH}"`." >>${S_PATH}.1 else \ echo "Produced automatically by ui-auto for ${PACKAGE_NAME} on `date --rfc-822`." >>${S_PATH}.1 fi echo -n " ui-version-script-install: install -d -m755 \"\$(DESTDIR)\$(bindir)\" install -m755 \"${S_PATH}\" \"\$(DESTDIR)\$(bindir)\" install -d -m755 \"\$(DESTDIR)\$(mandir)/man1\" install -m644 \"${S_PATH}.1\" \"\$(DESTDIR)\$(mandir)/man1\" ui-version-script-uninstall: rm -f \"\$(DESTDIR)\$(bindir)/${S_NAME}\" \"\$(DESTDIR)\$(mandir)/man1/${S_NAME}.1\" ui-version-script-clean: rm -f "${S_PATH}" "${S_PATH}.1" .PHONY: ui-version-script-install ui-version-script-uninstall ui-version-script-clean # Set dependencies for generic rules ui-auto-distclean: ui-version-script-clean ui-auto-install-exec: ui-version-script-install ui-auto-uninstall: ui-version-script-uninstall " >>"ui-auto.am" if test -n "${SO_VERSION}"; then I_NAME="version.h" I_PATH="${INCDIR}/${I_NAME}" HEADER_NAME=`echo "${PACKAGE_NAME}" | tr - _ | tr a-z A-Z` mkdir -p `dirname "${I_PATH}"` cat <"${I_PATH}" #ifndef ${HEADER_NAME}_VERSION_H #define ${HEADER_NAME}_VERSION_H /** @{ @brief ui-auto'mated version macros. */ #define ${HEADER_NAME}_VERSION "${PACKAGE_VERSION}" #define ${HEADER_NAME}_VERSION_MAJOR ${V_MAJOR} #define ${HEADER_NAME}_VERSION_MINOR ${V_MINOR} #define ${HEADER_NAME}_VERSION_PATCH ${V_PATCH} /** @} */ /** @{ @brief ui-auto'mated library version support. */ #define ${HEADER_NAME}_LIBVERSION "${SO_VERSION_SYS}" #define ${HEADER_NAME}_LIBVERSION_MAJOR ${LV_MAJOR} #define ${HEADER_NAME}_LIBVERSION_MINOR ${LV_MINOR} #define ${HEADER_NAME}_LIBVERSION_PATCH ${LV_PATCH} /** @} */ #endif EOF echo -n " ui-version-header-install: install -d -m755 \"\$(DESTDIR)\$(incdir)\" install -m644 \"${I_PATH}\" \"\$(DESTDIR)\$(incdir)\" ui-version-header-uninstall: rm -f \"\$(DESTDIR)\$(incdir)/${I_NAME}\" ui-version-header-clean: rm -f "${I_PATH}" .PHONY: ui-version-header-install ui-version-header-uninstall ui-version-header-clean # Set dependencies for generic rules ui-auto-distclean: ui-version-header-clean ui-auto-install-exec: ui-version-header-install ui-auto-uninstall: ui-version-header-uninstall " >>"ui-auto.am" fi echo -n " ui-distdir-cruft: test ! -z \$(distdir) rm -rf \`find \$(distdir) -type d -name "CVS" -o -name ".svn" -o -name ".git"\` rm -f \`find \$(distdir) -type f -name ".cvsignore" -or -name CVSDUMMY -or -name '*~' -or -name '#*#' -or -name '.#*'\` .PHONY: ui-distdir-cruft # Set dependencies for generic rules ui-auto-dist: ui-distdir-cruft " >>"ui-auto.am" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi # Extract the first word of "xsltproc", so it can be a program name with args. set dummy xsltproc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PROG_XSLTPROG+:} false; then : $as_echo_n "(cached) " >&6 else case $PROG_XSLTPROG in [\\/]* | ?:[\\/]*) ac_cv_path_PROG_XSLTPROG="$PROG_XSLTPROG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PROG_XSLTPROG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PROG_XSLTPROG=$ac_cv_path_PROG_XSLTPROG if test -n "$PROG_XSLTPROG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_XSLTPROG" >&5 $as_echo "$PROG_XSLTPROG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 $as_echo "$CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX fi fi fi fi # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes else CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : else ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CXX" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CXX_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi if test "x$GXX" = "xyes"; then if ${CXX} --version | grep "2\.9[]0123456789[]\..*"; then as_fn_error $? "We cannot use g++-2.9*; pls use at least g++-3.0." "$LINENO" 5 fi fi ac_config_files="$ac_config_files Makefile src/Makefile src/m4/Makefile src/cmake/Makefile src/tools/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' :mline /\\$/{ N s,\\\n,, b mline } t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by ui-auto $as_me 1.2.10, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Configuration commands: $config_commands Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ ui-auto config.status 1.2.10 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/m4/Makefile") CONFIG_FILES="$CONFIG_FILES src/m4/Makefile" ;; "src/cmake/Makefile") CONFIG_FILES="$CONFIG_FILES src/cmake/Makefile" ;; "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then if $AWK 'BEGIN { getline <"/dev/null" }' /dev/null; then ac_cs_awk_getline=: ac_cs_awk_pipe_init= ac_cs_awk_read_file=' while ((getline aline < (F[key])) > 0) print(aline) close(F[key])' ac_cs_awk_pipe_fini= else ac_cs_awk_getline=false ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\"" ac_cs_awk_read_file=' print "|#_!!_#|" print "cat " F[key] " &&" '$ac_cs_awk_pipe_init # The final `:' finishes the AND list. ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' fi ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF # Create commands to substitute file output variables. { echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' && echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && echo "_ACAWK" && echo "_ACEOF" } >conf$$files.sh && . ./conf$$files.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 rm -f conf$$files.sh { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" \$ac_cs_awk_pipe_init } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } if (nfields == 3 && !substed) { key = field[2] if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) { \$ac_cs_awk_read_file next } } print line } \$ac_cs_awk_pipe_fini _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | if $ac_cs_awk_getline; then $AWK -f "$ac_tmp/subs.awk" else $AWK -f "$ac_tmp/subs.awk" | $SHELL fi \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi ui-auto-1.2.10/PaxHeaders.22674/COPYING0000644000000000000000000000007411267111361013756 xustar0030 atime=1514905242.982042297 30 ctime=1514988234.941867715 ui-auto-1.2.10/COPYING0000644000175000017500000004310311267111361015033 0ustar00absurdabsurd00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. ui-auto-1.2.10/PaxHeaders.22674/Makefile.am0000644000000000000000000000013212747214451014762 xustar0030 mtime=1469913385.283152592 30 atime=1514905242.982042297 30 ctime=1514988234.921868166 ui-auto-1.2.10/Makefile.am0000644000175000017500000000077112747214451016050 0ustar00absurdabsurd00000000000000AUTOMAKE_OPTIONS = 1.10 ACLOCAL_AMFLAGS = -I src/m4 SUBDIRS = src EXTRA_DIST = .gitignore .ui-auto.conf .user.ui-auto.conf .ui-auto-release-multi.conf INTRODUCTION docdir = $(datadir)/doc/$(PACKAGE) doc_DATA = README INTRODUCTION NEWS AUTHORS ChangeLog COPYING @UI_AUTO_AM@ all-local: ui-auto-all clean-local: ui-auto-clean distclean-local: ui-auto-distclean install-data-local: ui-auto-install-data install-exec-local: ui-auto-install-exec uninstall-local: ui-auto-uninstall dist-hook: ui-auto-dist ui-auto-1.2.10/PaxHeaders.22674/INTRODUCTION0000644000000000000000000000007412471405200014563 xustar0030 atime=1514905242.982042297 30 ctime=1514988234.957867356 ui-auto-1.2.10/INTRODUCTION0000644000175000017500000000305212471405200015637 0ustar00absurdabsurd00000000000000============ Introduction ============ In essence, "ui-auto"'s goal is to phase out redundancies when maintaining projects using autotools (autoconf+automake+libtool), as well as generally help doing administrative tasks around administrating and developing software packages. Specifically, ui-auto is => a) an m4 macro archive. => b) a set of shell tools, mainly: - ui-auto-release : Releasing, automatic snasphots, uploading etc. - ui-auto-env, ui-auto-update: Inter-dependency helper for developing w/ ui-auto projects. a) What an ui-auto enabled project looks like on the autotool side A typical configure.ac looks like --- AC_INIT([myproject], [1.1.32]) UI_INIT([src/myproject/Main.cpp]) ... UI_DOXYGEN UI_DISTDIR_CRUFT --- , and a typical top level Makefile.am looks like --- AUTOMAKE_OPTIONS = 1.9 ACLOCAL_AMFLAGS = SUBDIRS = src doc docdir = $(datadir)/doc/$(PACKAGE) doc_DATA = README NEWS AUTHORS ChangeLog COPYING EXTRA_DIST=.ui-auto.conf incdir = $(includedir)/$(PACKAGE) @UI_AUTO_AM@ all-local: ui-auto-all clean-local: ui-auto-clean distclean-local: ui-auto-distclean install-data-local: ui-auto-install-data install-exec-local: ui-auto-install-exec uninstall-local: ui-auto-uninstall dist-hook: ui-auto-dist ---- TODO some explanation about how the ui-* m4 macros work. b) How tools help maintain a project (releases, snaphots, upload, etc) To use the ui-auto tools, a per-project configuration .ui-auto.conf should be placed in the top level of the project. TODO b) How tools help when developing a project (builds) TODO ui-auto-1.2.10/PaxHeaders.22674/README0000644000000000000000000000007412471405200013577 xustar0030 atime=1514905242.982042297 30 ctime=1514988234.949867535 ui-auto-1.2.10/README0000644000175000017500000001734012471405200014660 0ustar00absurdabsurd00000000000000====================================================================== Abstract ====================================================================== ui-auto is a set of shell tools to manage software project development. 1. Release automation First of all, there is support for automation of software release around the 'ui-auto-release' tool; it currently (Oct 2009) supports the build systems autotools and cmake and the version control systems cvs, svn and git. Its basic goal is to automate the reoccurring administrative duties around software releases (like NEWS/ChangeLog files, VC tagging, uploading, ...). It also has a non-interactive mode that makes it suitable for automated snaphot builds from cron, and a special Debian mode to automate Debian package builds. Tools: ui-auto-release, ui-auto-ubs, ui-auto-uvc, ui-auto-release-multi 2. Development help Secondly, there is also a set of tools to help develop from VC checkouts (simply via environment variables). This is useful if you develop on several projects at the same time having inter-dependencies. Tools: ui-auto-env, ui-auto-shell, ui-auto-update 3. cmake and autotools library There is small library for autotools (m4 macros) and cmake (tests) to avoid redundancies per project for ui-auto project. Using any of these is totally optional, though. ====================================================================== NEWS ====================================================================== === Updating from 1.0.x->1.2.x NEWS === No changes (1) are needed to update projects using 1.0.x; you will need to amend your project config if you want to use the new Debian support, however. (1) If you use autotools, the UI_INIT macro and have "long" filenames in your project: Note that "tar-ustar filename-length-max=155" is no longer hardcoded default as automake option; instead, you now set automake options yourself using arg 5 of UI_INIT: I recommend just using tar-pax nowadays: 'UI_INIT([src/foo/main.c],,,,[tar-pax])'. === Updating from 0.1.3 === Tools: - Command syntax changes fo all tools (ui-auto-*). See -h on any tool. User configuration: - Migrate ~/.ui-auto-env.* into ~/.ui-auto.conf (see User Nutshell). ui-auto enabled projects: - Only use the snippets in Developer Nutshell for configure.ac/Makefile.am; remove everything else that looks ui-autoish. - Generic check macro for other ui-auto projects is now "UI_CHECK"; also handles library packages. - Replace: - UI_CLEAN_DISTDIR_CRUFT -> UI_DISTDIR_CRUFT. - UI_LIB_CHECK_VERSION -> UI_CHECK. - Remove all efforts for producing "version.h", "version.c" or "$PACKAGE-version" script; this is all handled automatically now. ====================================================================== Introduction ====================================================================== You might learn more in the (yet [Feb 2007] unfinished) introduction (i.e., file INTRODUCTION). This file only contains some "quickstart style" starters without much explanations. ====================== Nutshell: Installation ====================== This does not apply if you are using ui-auto via your distribution or a standard local install. However, if you intend to use ui-auto itself the "ui-auto" way -- i.e., directly from the version control directory: a) Get (a version of) the ui-auto source tree [2006-Oct: svn://svn.schlund.de/ssr/trunk/ui-auto]. b) Configure your ~/.ui-auto.conf for ui-auto (see User Nutshell below); name it "ui_auto". c) Taint your shell to use that very ui-auto source tree: eval `/src/tools/ui-auto-env ui_auto` If you are not working with different versions frequently, you might want to automate that in, e.g., ~/.profile. =========================================== User Nutshell: Use ui-auto enabled projects =========================================== a) Add a file "~/.ui-auto.conf", and add the project(s) you want to use with ui-auto. Use the proivided '.user.ui-auto.conf' sample file as template, and adapt to your needs. b1) Taint your shell: eval `ui-auto-env project1` : Environment ready to use project1. eval `ui-auto-env -d project1`: Environment ready to use project1 and all its dependencies. b2) Or (easier): Create new dedicated shells: ui-auto-shell ui-auto-env project1: Shell ready to use project1. ui-auto-shell -d project1` : Shell ready to use project1 and all its dependencies. c) ui-auto-strap -c && ./configure && make d) b) and c) can also be automated in a separate shell using the "ui-auto-update" tool; see ui-auto-update -h. =================================================== Developer Nutshell: Manage ui-auto enabled projects =================================================== 1. Add file ".ui-auto.conf" to top level; see 'ui-auto-release -p|-P' for all options, their defaults and descriptions. 2. configure.ac: - Add macro UI_INIT after AC_INIT. - Add any number of additional UI_* macros later if needed. 3. Makefile.am: Add this snippet -- @UI_AUTO_AM@ all-local: ui-auto-all clean-local: ui-auto-clean distclean-local: ui-auto-distclean install-data-local: ui-auto-install-data install-exec-local: ui-auto-install-exec uninstall-local: ui-auto-uninstall dist-hook: ui-auto-dist --- This should give you full support for all UI_* macros called from configure.ac. =================================================== Release Nutshell: Manage releases via ui-auto-release =================================================== [moved for ui-utilcpp README 2008-JAN-08; may need some updates, but is basically correct.] Package Versioning Scheme ------------------------- ui-auto-release automates the release prodedure in this package. ChangeLog can be produced automatically from VC logs. VERSION="MAJOR.MINOR.DATE" (1.0.* and smaller) VERSION="MAJOR.MINOR.PATCH" (1.1.0 and greater) MAJOR: Substantial changes. MINOR: Odd numbers development versions, even numbers "stable" versions. Each time we postulate some release "stable", this number is increased by one (from odd to even), CVS is tagged, then increased again by one (from even to odd). Changes (and subsequent Patchlevel releases) to that stable version might be done later in a seperate branch (if needed). DATE : Date in the form YYYYMMDD. Patchlevel releases. PATCH: Patchlevel version. The initial development branch should be 0.1. The initial stable branch should be 1.0 (rather than 0.2). From now on, the first number should now only change for really substantial changes. So, release versions should develop like this (DATE is always computed automatically): Release comes from 0.1.* initial development branch. 1.0.* initial stable branch. 1.1.* development branch. 1.2.* stable branch. 1.3.* development branch. ... Library Versioning Scheme ------------------------- This package uses "libtool" to create all libraries, and adopts the "Libtool Versioning System" for shared libraries. Please see in libtool's documentation. Main library versions and package versions relate to each other this away: Name Package Version Library Main Version 1st unstable branch 0.1.* 0 1st stable branch 1.0.* 1 2nd unstable branch 1.1.* 2 2nd stable branch 1.2.* 3 ... This way, odd library main versions denote stable versions; this is simple and effective. As little drawback, we are not able to reflect interface incompatible changes _inside_ an unstable branch by means of so-library versioning. So if you do not relink, odd things might happen -- but hey, it's unstable ;). At the same time, we are not able to reflect interface incompatible changes _inside_ a stable branch -- but this is a feature, as the interface _must_ not change thusly in a stable branch. ui-auto-1.2.10/PaxHeaders.22674/.ui-auto-release-multi.conf0000644000000000000000000000007411261404742020003 xustar0030 atime=1514905242.982042297 30 ctime=1514988234.957867356 ui-auto-1.2.10/.ui-auto-release-multi.conf0000644000175000017500000000070611261404742021062 0ustar00absurdabsurd00000000000000# Example ui-auto-release-multi configuration file. # We will change to that directory to do our work. RUN_DIR="${HOME}/.ui-auto-release-multi" # Add "PROJECT.conf" file here for each project you want to run. PROJECTS_DIR="${HOME}/.ui-auto-release-multi.d # You may add "global" environment here. The variables listed below # are those which are expclicitely set by ui-auto-release-multi to # defaults. export CXXFLAGS="-g -O0" export CFLAGS="-g -O0" ui-auto-1.2.10/PaxHeaders.22674/compile0000644000000000000000000000007413157351331014301 xustar0030 atime=1514912491.701591536 30 ctime=1514988234.949867535 ui-auto-1.2.10/compile0000755000175000017500000001624513157351331015370 0ustar00absurdabsurd00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: ui-auto-1.2.10/PaxHeaders.22674/.ui-auto.conf0000644000000000000000000000007412523661253015241 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.953867445 ui-auto-1.2.10/.ui-auto.conf0000644000175000017500000000431112523661253016314 0ustar00absurdabsurd00000000000000# Configuration for the ui-auto-enabled project "ui-auto". # Note: To start out your own project, run 'ui-auto-release -P' # to get an initial ~/.ui-auto.conf file with all defaults and # complete documentation. #---------------------------------------------------------------------- # [ui-auto-release configuration] #---------------------------------------------------------------------- # VC locations (sourceforge) # Note: Preliminary; this syntax does not really work with ui-auto tools yet... ui_release_vc_loc="ssh://spabsurd@ui-auto.git.sourceforge.net/gitroot/ui-auto/ui-auto" ui_release_vc_loc_tags="ssh://spabsurd@ui-auto.git.sourceforge.net/gitroot/ui-auto/ui-auto" ui_release_vc_loc_branches="ssh://spabsurd@ui-auto.git.sourceforge.net/gitroot/ui-auto/ui-auto" # Where we up- and download tarballs (sourceforge) ui_release_upload_loc="spabsurd,ui-auto@frs.sourceforge.net:/home/frs/project/u/ui/" ui_release_download_loc="http://sourceforge.net/projects/ui-auto/files/" ui_release_download_loc_append_package=false # We want our Changelog and NEWS automatically handled on release. ui_release_autochangelog=true ui_release_autonews=true # We want an email to be sent on releases here. ui_release_notify="ui-auto-devel@lists.sourceforge.net,gerhard.dittes@1und1.de" #---------------------------------------------------------------------- # [ui-auto-release Debian configuration] #---------------------------------------------------------------------- . template.deb_git+mbd-1.0 "git+ssh://absurd@git.debian.org/git/collab-maint/ui-auto.git" "hellfield" "ab" "sid" "stretch jessie wheezy squeeze trusty saucy raring quantal vivid" # This mini-buildd uses "~" before rolling release names, so we need to override the defaults ui_release_deb_revapx_stable="~ab~SID+1" ui_release_deb_revapx_stable_snapshot="~ab~SID+0" ui_release_deb_revapx_unstable="~ab~SID+0" ui_release_deb_revapx_unstable_snapshot="~ab~SID+0" #---------------------------------------------------------------------- # [ui-auto-env|shell|update configuration ] # ---------------------------------------------------------------------- # For ui-auto-env and friends, we only need program and m4 paths ui_env_program_paths="src/tools" ui_env_m4_macro_paths="src/m4" ui-auto-1.2.10/PaxHeaders.22674/missing0000644000000000000000000000007313157351331014321 xustar0029 atime=1514912491.70559144 30 ctime=1514988234.953867445 ui-auto-1.2.10/missing0000755000175000017500000001533013157351331015403 0ustar00absurdabsurd00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: ui-auto-1.2.10/PaxHeaders.22674/NEWS0000644000000000000000000000013213223161225013413 xustar0030 mtime=1514988181.879112333 30 atime=1514988181.935111008 30 ctime=1514988234.945867626 ui-auto-1.2.10/NEWS0000644000175000017500000010762713223161225014511 0ustar00absurdabsurd00000000000000Summaries of important changes how ui-auto is used or behaves. See ChangeLog for more details. Downloads: o Generic: http://sourceforge.net/projects/ui-auto/files/ o Current: http://sourceforge.net/projects/ui-auto/files//stable/ui-auto-1.2.10.tar.gz ================================================================ ui-auto-1.2.10 (stable) (Wed, 03 Jan 2018 15:02:59 +0100): Patched stable release. Changes since 1.2.9: Stephan Sürken (4): * [1c87238] ui-auto-release: Fix dput check to allow variant from dput-ng. * [b88c43d] template.deb_*: Update: stretch release && buster. * [b656b47] Warn about frowned-upon remote signing workflow (rsign and debrsign options). * [d520464] configure.ac: Prepare 1.2.10. ---------------------------------------------------------------- ui-auto-1.2.9 (stable) (Mon, 01 Aug 2016 11:40:21 +0000): Patched stable release. Changes since 1.2.8: Stephan Sürken (2): * [a617d88] ui-auto-release[-multi]: Fix/provide consistent 'user home' value for auto-generated man pages. * [fe94999] configure.ac: Prepare 1.2.9. ---------------------------------------------------------------- ui-auto-1.2.8 (stable) (Sat, 30 Jul 2016 22:00:39 +0000): Patched stable release. Changes since 1.2.7: Stephan Sürken (11): * [269ebad] Makefile.am(reproducible builds): Bugfix: Always use our in-project m4 macros. * [1104112] src/tools/ui-auto-shell: Add extra support for better usage output via -h|H. * [0d27e29] src/tools/Makefile.am: Don't ignore failures on automatic man page generation any more. * [44d1921] ui-auto.m4(reproducible builds): Fix comparison: Must use "test", not square brackets in m4 macros. * [a03ecbf] ui-auto-release (reproducible builds): Apply Chris' snapshot version patch here too, as -- alas -- this ends up in the man page as well. * [7441d98] configure.ac: Prepare 1.2.8. * [6000966] src/tools/Makefile.am: Fix for distcheck (we now need basename of $<). ---------------------------------------------------------------- ui-auto-1.2.7 (stable) (Mon, 25 Jul 2016 11:46:22 +0000): Patched stable release. Changes since 1.2.6: Stephan Sürken (2): * [6a2f8b8] build system: Support SOURCE_DATE_EPOCH (reproducable builds) (thx to Chris Lamb). * [69f12bd] configure.ac: Prepare 1.2.7. ---------------------------------------------------------------- ui-auto-1.2.6 (stable) (Mon, 25 Apr 2016 16:01:46 +0000): Patched stable release. Changes since 1.2.5: Stephan Sürken (2): * [fc9f7b3] ui-auto-uvc: Fix svn detection for subversion >= 1.7. * [2c06fc4] configure.ac: Prepare 1.2.6. ---------------------------------------------------------------- ui-auto-1.2.5 (stable) (Mon, 29 Jun 2015 15:04:18 +0000): Patched stable release. Properly support released Debian jessie and new testing stretch in hardcoded templates. Changes since 1.2.4: Stephan Sürken (2): * [ab2381d] template.deb_*: Update jessie version to stable/80, and add stretch. * [8547298] configure.ac: Prepare 1.2.5. ---------------------------------------------------------------- ui-auto-1.2.4 (stable) (Sun, 10 May 2015 14:43:09 +0000): Patched stable release. Changes since 1.2.3: Stephan Sürken (3): * [53825df] template.deb_git+mbd-1.0: Make work with git-buildpackage >= 0.6.24 (sid/stretch: uses "gbp target" only). * [b1e6924] .ui-auto.conf: Update to be able to build snapshots on hellfield. * [9d8de5c] configure.ac: Prepare release 1.2.4. ---------------------------------------------------------------- ui-auto-1.2.3 (stable) (Wed, 26 Nov 2014 14:14:28 +0000): Patched stable release. Changes since 1.2.2: Stephan Sürken (2): * [a12c11e] ui-doxygen.m4: Only install known target dirs (fixes distcheck errors with newer doxygen) * [f50624d] configure.ac: Prepare release 1.2.3. ---------------------------------------------------------------- ui-auto-1.2.2 (stable) (Mon, 18 Aug 2014 17:45:50 +0200): Patched stable release. Changes since 1.2.1: Stephan Sürken (11): * [cff655f] ui-auto-uvc[svn]: news: Fix: Don't use fmt option '--goal' (seems this is a new one...). (Fixes svn autonews on older systems) * [51b2f44] .ui-auto.conf: Add alternate mbd target. * [4c34c4c] ui-auto-uvc: news, 'filter_nice': Grml: Workaround bash segfault (<= wheezy only). * [2fde331] ui-auto-release: NEWS file: Use RFC-2822 date format (was: UTC, possibly localized). * [3881971] ui-auto-release: autonews: When release date string parsing fails, fall back to file modification date (instead of failing). * [460fab9] ui-auto-release: Add support for a custom local signing command. * [eac97bb] Add script 'ui-auto-rsign' aka "debrsign for upstream" * [007b496] ui-auto-release: Support (optional) release remote signing. * [213e65d] ui-auto-uvc[svn]: news: filter_nice: Harden header regex. * [68f6b84] ui-auto-release: autonews/svn: Use actual revision from remote tag URL. * [0e97570] configure.ac: Prepare 1.2.2. ---------------------------------------------------------------- ui-auto-1.2.1 (stable) (Tue Aug 12 19:47:53 UTC 2014): Patched stable release. Mostly polishing some rough edges around autonews. Changes since 1.2.0: Stephan Sürken (7): * [14a3ff3] ui-auto-release: autonews: Add the "since tag" to the "Changes" header. * [1399807] ui-auto-release: autonews: Print error/info text to NEWS when command fails. * [0deb7df] ui-auto-release: autonews: Skip "UNRELEASED" sections for the automated "since tag". * [5207849] ui-auto-release: Auto-restore original NEWS and ChangeLog in snapshot mode. * [e413097] ui-auto-uvc[svn]: Improve 'news', getting pretty close to what git shortlog does. * [47b6c3f] build system: Remove bashism checker (we _use_ bash nearly for all, and it was not functional anyway...) * [94850ac] configure.ac: Prepare 1.2.1. ---------------------------------------------------------------- ui-auto-1.2.0 (stable) (Sun Jul 20 10:13:22 UTC 2014): Initial stable release. This is a compatible continuation of the 1.1.x "stable by force" series of releases, and 1.2.x being the new and most likely last maintenance branch for ui-auto. Note that "ui-auto 2.0" has been renamed to "con-dev", and new development/features will go there. As con-dev is not quite ready yet, 1.2.0 also got some new features over 1.1.18 to improve things for the most usual svn/git practices to make life easier in the meantime. Most importantly, it does now fully (with ui-auto's non-distributed paradigma though) support git workflows (Upstream + Debian via gbp), and the automated NEWS via VC is now actually implemented. Changes: Stephan Sürken (22): * [0fc3397] ui-auto-release: Add option 'ui_release_download_loc_append_package', to cope with download location as SourceForge's. * [7b20ada] ui-auto-uvc: git news: Update to better format. * [f994acb] .ui-auto.conf: Fix SourceForge download location (via new config option). * [7c0e547] ui-auto-release: Actually implememt 'autonews from vc', and add an automated release 'type' text * [6b79bbd] ui-auto-release: auto changelog: Indicate that the file 'ChangeLog' was updated in the commit message. * [3920631] .ui-auto.conf: Remove manual_dist flag; this will become 1.2.x with the next release. * [3997365] .ui-auto.conf: Some comment updates. * [ec7774e] ui-auto-uvc: git commit|tag|branch: Always also push to origin. * [091546a] ui-auto-uvc: git checkout: Create same-name local branches for all (other) remote branches * [5d7baa7] ui-auto-release: Auto NEWS: Show command for editing beforehand and further improvments. * [b6528b7] ui-auto-release: notify email subject: use '[ui-auto] ' instead of 'ui-auto: '. * [a7ea368] ui-auto-release: Snapshot sequence: Also run autonews and autochangelog. * [abbda28] Add 'deb_git+mbd-1.0' template. * [6eeb56e] .ui-auto.conf: Connect to Debian packaging on alioth. * [bf4ed9e] ui-auto-release: dpkg-bp: Always sign with extra tool, and support remote signing. * [4501812] Makefile.am: Add .gitignore to dist. * [cd8ad0e] ui-auto-uvc: [svn] Add command "news". * [a94399f] ui-auto-release: Add workaround to make auto-news "sort of work" with svn. * [4bea588] ui-auto-release: [Debian] Add extra error handling when no appropriate changes is found. * [e91e0a3] ui-auto-release: [Debian] Sanity check that we actually have checked out a matching package VC * [e65c8fc] ui-auto-release: [Debian] Snapshots: Use VC-only (aka shorter) Debian revision when upstream already is a snapshot. * [4a0061e] configure.ac: Prepare 1.2.0. ---------------------------------------------------------------- ui-auto-1.1.18 (stable) (Mon May 5 17:15:51 UTC 2014): The "Dead Cow Revisited" 1.1.x maintenance release. This release only adds a config template suitable for mini-buildd 1.0.x archives. ---------------------------------------------------------------- ui-auto-1.1.17 (stable) (Wed Nov 27 19:09:47 UTC 2013): The "Kuhsack" 1.1.x maintenance release. Note: The being-developed 'ui-auto 2.0' will be named 'con-dev'. Stephan Sürken (5): * [2f66c1a] .ui-auto.conf: Drop support for etch and lenny. * [d35e8dc] src/tools/ui-auto-uvc: Add check_installation for "local". * [357e4eb] .gitignore: Update. * [3dedbc1] .ui-auto.conf: Omit Debian configuration (won't work with git). * [b1a0a96] configure.ac: Prepare 1.1.17. ---------------------------------------------------------------- ui-auto-1.1.16 (stable) (Tue Mar 15 15:25:33 UTC 2011): Debian "wheezy" maintenance release: Stephan Sürken (1): src/tools/template.deb_svn+mbd: Add support for wheezy. ---------------------------------------------------------------- ui-auto-1.1.15 (stable) (Mon Feb 7 18:14:07 UTC 2011): "Doh" maintenance release: Stephan Sürken (1): src/tools/ui-auto-release: svn-bp: Also fix/auto-override 'buildArea' for non-standard layouts. (cherry picked from commit dcc10b5d14a419b964c3651d75b6da3a8f8a6f79) ---------------------------------------------------------------- ui-auto-1.1.14 (stable) (Mon Feb 7 13:55:01 UTC 2011): Maintenance release: Stephan Sürken (60): src/tools/ui-auto-release: svn-bp: Always override 'origDir' so this is always correct independent of layout. ---------------------------------------------------------------- ui-auto-1.1.13 (stable) (Tue Jan 18 15:40:48 UTC 2011): Maintenance release: Stephan Sürken (56): src/m4/ui-doxygen.m4: Bugfix: Create destination directory if it does not exist. (cherry picked from commit 939092832edd3cc8ddf0203732cef982ee20e6fc) ---------------------------------------------------------------- ui-auto-1.1.12 (stable) (Wed Dec 22 12:46:37 UTC 2010): Maintenance release: * Add support for squeeze for template.deb_svn+mbd. ---------------------------------------------------------------- ui-auto-1.1.11 (stable) (Thu Dec 9 15:31:12 UTC 2010): New stable point release with only one change for apache2 support: * src/m4/ui-with-apxs2.m4: Add UI_WITH_APXS2 m4 macro for autotools. ---------------------------------------------------------------- ui-auto-1.1.10 (stable) (Wed Nov 17 13:19:42 UTC 2010): This is now the de-facto intermediate stable for ui-auto 1.0.x projects, branched at a still compatible point in 2.0 development. Bugfixes will go to 1.1.x branch. See Changelog for changes since 1.1.9. ---------------------------------------------------------------- ui-auto-1.1.9 (unstable) (Thu Jun 4 09:01:44 UTC 2009): Features/Changes: * ui-auto-release: - Make dput options configutable per user. - Retry with changed options on dput failures. - '-S': Now given without separator, and used for Debian revision snapshots, too. - User interface improvements. - Make automatic mode interactively selectable after overview page. - Make snapshot separator configurable; means you can now select your versioning policy: '.': Set new version before you release. '~': Set new upcoming version _after_ you release. - For convenience, start shipping templates for common Debian configurations; initial template is "deb_svn+mbd". * ui-auto-uvc: - Omit '.' separator for vc version string (svn123 rather than svn.123). - Implement "local/path". Fixes: * ui-auto-uvc: - Forgot to migrate vc "local" for new vc loc scheme. - Add "local" to list of supported vcs. - Make "local" default if no other supported vc is found. - "local/checkout": Protect against copying "/." on empty given src. * ui-auto-release: - debian_package: Re-read package version after optional manual version changes. - debian only mode: - Enable stable/unstable switch via -T. - Version magic: Honor all (three) possible use cases. - "Unreleased" use case: Protect sed to only replace in first line. - '-f': Protect default name to be search in PATH (.ui-auto.conf->./.ui-auto.conf). ---------------------------------------------------------------- ui-auto-1.1.8 (unstable) (Wed May 20 09:20:36 UTC 2009): === Changes from 1.1.7 === Features/Changes: * libopt: On error, output failing command line for better debugging. * autotools/m4: doxygen: On --disable-ui-doxygen, output a notification file for each possible target (def html latex man rtf xml) instead of just a top level README; this helps installers as they can expect the same files/dirs in both situations. * ui-auto-release: - Add "Debian only mode" support to be able to use sequent 'debian_package' for native Debian packages (or where we do not control upstream). - Sequent 'debian_package': Re-use top-level sections marked as UNRELEASED, and add even more magic around the automated changes. - Add common ui_commit function; for any commits, this - adds affirmation. - adds diff view. - adds re-edit options. - always skips on snapshot mode. * ui-auto-uvc: Add command "diff". === Proposed 1.0.x->1.2.x NEWS === This new main release focuses on support for the "cmake" build system and major updates to ui-auto-release. The latter includes support for clean vc strapping before release, more flexible via "sequence" support, automated Debian release, non-interactive runs and project config "check+doc+print" support. Version control: Added support for meta VC "local" and "git" (experimental). No changes (1) are needed to update projects using 1.0.x; you will need to amend your project config if you want to use the new Debian support, however. Notes: (1) If you use autotools, the UI_INIT macro and have "long" filenames in your project: Note that "tar-ustar filename-length-max=155" is no longer hardcoded default as automake option; instead, you now set automake options yourself using arg 5 of UI_INIT: I recommend just using tar-pax nowadays: 'UI_INIT([src/foo/main.c],,,,[tar-pax])'. ---------------------------------------------------------------- ui-auto-1.1.7 (unstable) (Thu Apr 9 09:10:00 UTC 2009): === Proposed 1.0.x->1.2.x NEWS === This new main release focuses on support for the "cmake" build system and major updates to ui-auto-release. The latter includes support for clean vc strapping before release, more flexible via "sequence" support, automated Debian release, non-interactive runs and project config "check+doc+print" support. Version control: Added support for meta VC "local" and "git" (experimental). No changes (1) are needed to update projects using 1.0.x; you will need to amend your project config if you want to use the new Debian support, however. Notes: (1) If you use autotools, the UI_INIT macro and have "long" filenames in your project: Note that "tar-ustar filename-length-max=155" is no longer hardcoded default as automake option; instead, you now set automake options yourself using arg 5 of UI_INIT: I recommend just using tar-pax nowadays: 'UI_INIT([src/foo/main.c],,,,[tar-pax])'. === Changes from 1.1.6 === Features/Changes: * Add cmake macro support; macros will be installed to /usr/share/ui-auto/cmake. Initial entry is FindApache1.3.cmake. * ui-auto-uvc: - Skip "preprocess" part which was needed for (older) svn implementations only; effectively fixes running "svn up" unwanted. - New command "add". - Add path (-P) support. * ui-auto-ubs: cmake strap now initially supports the clean ("c"|"C") options. * ui-auto-release: - Sequent bs_strap now also runs clean with strap; this may be needed in "local checkout mode" to get clean build env. - '-f': Convenience: Enhanced code so you may use checkout mode from outside the project and w/o giving "-C svn/URL" explicitly using "-f x/project/.ui-auto.conf -c". - Better error handling on sequent failure. - Add "ui_release_deb_orig_commit" (diversed) config option; you may automate Debian orig tarball checkin with that. - Sequent "fail-over" in interactive mode. - Add new wrapper tool "ui-auto-release-multi" to simplify configuration of multiple, automatic runs. - Caveat fix: On VC path autodetection (-c), actually compute the vcpath from the VC working directory (via ui-auto-uvc -P) instead of using configuration from .ui-auto.conf (think about releasing a patch release from a fresh branch). - Sequent status support, and always print sequence results on exit. - Sequent doc support (i.e., show doc and ask before any sequence). New option -I to see doc. - Add a non-action mode, option "-n". Fixes: * -ubs and -uvc: checkinstallation: Generalize installation checks, and effectively add error message to stderr on error. * -uvc: svn: dont run "svn up" when getting version. Instead, use svnversion and also chake for existence of that tool. * Non-snapshot release: Don't open EDITOR for autonews in automatic mode. * -f: When config file is given on command line, also run checks for that file (not .ui-auto.conf). * -ubs: distcheck/cmake: Add missing package build. * Auto upstream changes: Fix folding/prefix handling; recommended line length is now 64 chars. * Check/exit on root user later so informational actions like -h -p -P are avaiable for root. ---------------------------------------------------------------------- ui-auto-1.1.6 (unstable) (Wed Mar 11 09:21:49 UTC 2009): === Proposed 1.0.x->1.2.x NEWS === This new main release focuses on support for the "cmake" build system and major updates to ui-auto-release. The latter includes support for clean vc strapping before release, more flexible via "sequence" support, automated Debian release, non-interactive runs and project config "check+doc+print" support. Version control: Added support for meta VC "local" and "git" (experimental). No changes (1) are needed to update projects using 1.0.x; you will need to amend your project config if you want to use the new Debian support, however. Notes: (1) If you use autotools, the UI_INIT macro and have "long" filenames in your project: Note that "tar-ustar filename-length-max=155" is no longer hardcoded default as automake option; instead, you now set automake options yourself using arg 5 of UI_INIT: I recommend just using tar-pax nowadays: 'UI_INIT([src/foo/main.c],,,,[tar-pax])'. === Changes from 1.1.5 (unstable) === Features/Changes: * New tool "ui-auto-ubs" (Universal Build System) analogous to *-uvc. This will fully encapsulate the build system so all tools will just work for all build systems supported. - Obsoleted/removed: "ui-auto-strap". Use "ui-auto-ubs" now. - For cmake, 'dist' is no longer done in an extra dir per default (does no fit for ui-auto-ubs). Use 'c' or '-C local/`pwd`' as replacement. * VC: Add experimental support for "git". * VC: Add experimental support for meta-vc "local". * release: Add check: Build system installation. * release: Add upstream changes to Debian changelog (when autonews=true). * Introduce "sequence" support; may be tainted via -Q option. This obsoletes the -O (omit) option and the -U (manual upload) option, and offers generic finegrained control over what to do if needed. * New -R option: Remove local files (tarball*, deborig*, debbuilds). * New -f /-F options: Manually set project and user config file locations. * -S: This now sets the whole version appendix; means you are able to create rc snapshots w/o timestamp version like so 'ui-auto-release -S ~rc1'. Fixes: * Error handling fix: Default answers change to "N" for: tarball overwrite, upload overwrite, continue on upload error, continue on notify error, continue on debbuild error, ignore local change in checkout mode. ---------------------------------------------------------------------- ui-auto-1.1.5 (unstable) (Fri Feb 27 15:05:13 UTC 2009): *** This unstable release *** Features/Changes: * m4: UI_INIT: Add option to configure automake per project; drop default "tar-ustar filename-length-max=155" to none (you may add this to your project to get exactly the same behaviour). * Add new user pref: 'ui_auto_userpref_tmpdir' for systems where /tmp is just not big enough. * Add '-K' = keep temporary option; useful for debugging. Fixes: * Update ourselves to use "tar-pax". * Ignore GNU extension warnings in src/tools (we want to use them). * Fix error output for user=root warning. * Fix error handling when no BS found; clean up basic "no-project dir" errors. * Add error message when dbuild fails. * Fix removal of temporary Debian checkout. * Fix onExit functions for subshells. *** Proposed 1.0.x->1.2.x NEWS *** This new main release focuses on support for the "cmake" build system and major updates to ui-auto-release. The latter includes support for clean vc strapping before release, automated Debian release, non-interactive runs and project config "check+doc+print" support. No changes (1) are needed to update projects using 1.0.x; you will need to amend your project config if you want to use the new Debian support, however. Notes: (1) If you use autotools, the UI_INIT macro and have "long" filenames in your project: Note that "tar-ustar filename-length-max=155" is no longer hardcoded default as automake option; instead, you now set automake options yourself using arg 5 of UI_INIT: I recommend just using tar-pax nowadays: 'UI_INIT([src/foo/main.c],,,,[tar-pax])'. ---------------------------------------------------------------------- ui-auto-1.1.4 (unstable) (Tue Feb 17 12:07:03 UTC 2009): Initial unstable release with (mainly) major updates to ui-auto-release: vc strap support, debian support, non-interactive support, config check+doc+print support. * src/tools/Makefile.am: Bugfix: Only remove produced manpages, not all. * ui-auto-uvc: - Add new option -V: Create version suitable for snapshots. - Internal cleanup to we can better integrate new vcs. * ui-auto-release: - Support for automatic Debian releases (directly following the project's release). - Snaphots are no longer produced in an extra procedure; you rather taint releasing now for snaphots. Option "-r" hence obsolete and removed. - Tarballs are now generated in "..". - Redo interactive input handling, and add a -A (non-interactive) switch. - Add support to manually chose distributions (stable/unstable). Skip -U (manual tarball upload). - VC Bootstrap support (see -c and -C options). - Skip meta dist "snapshot"; instead we have stable and unstable snapshots - Make Debian package building configurable for stable/unstable + snapshot. - Notify/upload: Skip when config not set. * Docs: - Add example user conf file. - Many updates in ~.ui-auto.conf. * Add user preferences in ~/.ui-auto.conf: - nosign: Always skip gpg signing. - dbuild_options: Always use these buildpackage options. * .ui-auto.conf project configuration updates: - Put all items and their docs into ui-auto-release. Use 'ui-auto-release -p' now to get an example conf+docs. - Add the notion of default values; again, use 'ui-auto-release -p' to see them. - Re-nice and update our ui-auto's .ui-auto.conf as project example. - Add the notion of manadtory config options, and add an automated check. ---------------------------------------------------------------------- ui-auto-1.1.2 (unstable) (Wed Jan 7 16:57:20 UTC 2009): * ui-libopt.sh: Install to pkgdatadir ("/usr/share/ui-auto"), not bin; add new include recommendations, update all internal ui-*. * ui-auto.conf: Remove obsoleted src/example from path. * Add automatically produced man pages for all ui-auto-* tools. * Fix: Make AUTHORS non-empty (add me for now). * Fix: ui-auto-shell: Assure -env is in same dir. ---------------------------------------------------------------------- ui-auto-1.1.1 (unstable) (Mon Dec 15 17:55:38 UTC 2008): * Fix: Install man page to man1. ---------------------------------------------------------------------- ui-auto-1.1.0 (unstable) (Mon Dec 15 17:36:33 UTC 2008): Initial unstable 1.1.x release. * Support cmake build system. * Bugfix: Version comparison code in UI_CHECK. * Produce a man page for the PACKAGE-version script. * cruft: Add ".git" directories to cruft. * ui-auto-shell: If set, use shell given in env $SHELL. ---------------------------------------------------------------------- ui-auto-1.0.0 (stable) (Wed Jun 18 14:05:53 UTC 2008): Initial stable release; no changes to alpha/10. ---------------------------------------------------------------------- ui-auto-0.1.109 (unstable) (Wed Apr 23 16:33:59 UTC 2008): This is the tenths alpha version for ui-auto 0.2 (stable). * ui-auto-shell: Don't always run with "-p" (change to projects wd). ---------------------------------------------------------------------- ui-auto-0.1.108 (unstable) (Thu Feb 14 13:27:27 UTC 2008): This is the ninths alpha version for ui-auto 0.2 (stable). * ui-auto-release: Fix typo on branch tagging on release (version tag was used). * ui-auto-release: (svn only) Fix typo on version tagging when releasing from a branch (trunk was used). ---------------------------------------------------------------------- ui-auto-0.1.107 (unstable) (Tue Jan 29 14:11:34 UTC 2008): This is the eighths alpha version for ui-auto 0.2 (stable). * ui-auto-sp2ui: Some smaller ennhancements: - Show note that you might need to update ignore settings. * README: Add hints form ui-utilcpp's README about former SPRelease here. * ui-auto-env: Add option "-p" to automatically change to the project's working directory. * Add new utility tool: ui-auto-shell (like ui-auto-env, but runs a new tainted shell). * ui-auto-release: Explain arg for -U in usage help. * Makefile.am: Depend on automake 1.10 (else , -I for aclocal doesn't not work). ---------------------------------------------------------------------- ui-auto-0.1.106 (unstable) (Thu Jan 3 16:02:11 UTC 2008): This is the seventh alpha version for ui-auto 0.2 (stable). This is a fix and cleanup release after initial conversion to ui. * ui-auto-sp2ui: Bugfix: Accidentially converted itself when updating ourselves to ui; changes reversed, usable again. * ui-auto-uvc: For vc "svn", on "tag", try to "mkdir" the directory where to put the copy. Practically, this means you do not need to create directories tags/my-project or branches/my-project manually before using ui-auto-release -r. * ui-auto-uvc: Enhancement: Reniced error handling, not showing usage help on non-usage-failures (e.g., when check_sync fails). * ui-auto-release: Add "-N" expert option to extract NEWS snippets. ---------------------------------------------------------------------- ui-auto-0.1.105 (unstable) (Wed Dec 19 17:37:22 UTC 2007): This is the sixth alpha version for sp-auto 0.2 (stable). Initial ui-auto release, completely replacing former sp-auto. sp-auto and ui-auto can be used in parallel -- i.e., no one is forced to update. As there won't be any more sp-auto releases, it is highly recommended though, and it should be fairly simple using the provided ui-auto-sp2ui tool. * Complete conversion from "sp" to "ui" prefix (programs, macros, functions, configuration files, variables, project name). * Add tool ui-auto-sp2ui; this can be used to auto-update a former sp-auto enabled project to ui-auto. ---------------------------------------------------------------------- sp-auto-0.1.104 (unstable) (Fri Apr 27 13:35:12 UTC 2007): This is the fifth alpha version for sp-auto 0.2 (stable). * Remove local "svn2cl" tool, which is now included in "subversion-tools". ---------------------------------------------------------------------- sp-auto-0.1.103 (unstable) (Mon Mar 12 13:31:02 UTC 2007): This is the fourth alpha version for sp-auto 0.2 (stable). * Initial etch based release -- i.e., automake 1.10, autoconf 2.61. * sp-auto-env: Some convenience fixes: - don't set var if duplicate (fixes cosmetic errors like multiple ::: in PATH). - ACLOCAL: rm space after -I (might lead to errors). - duplicate identification for env var items hardened. - Fix: when calling ourselves (with -d), use ${0} to make this work in a "strap" situation. * doc: README updates. * doc: Add a short (yet unfinished) introduction (file INTRODUCTION). * sp-libopt.sh: Add sp_opt_set to arbitrarily set options if needed. * sp-libopt.sh: Add "imply" feature to easily group options together. * sp-auto-update: Add -a (-c -u) and -A (-d -c -u) group options for convenience. See "sp-auto-update -h". * m4/doxygen: Don't check for doxygen tools if --disable-sp-doxyen is given. ---------------------------------------------------------------------- sp-auto-0.1.102 (unstable) (Tue Nov 21 14:24:43 UTC 2006): This is the third alpha version for sp-auto 0.2 (stable). * sp-auto-uvc: Add "-S" option to arbitrarily set VCS. * sp-libopt.sh: Add "sp_opt_givenPos()" function. * sp-auto-uvc: Add "checkout" command. ---------------------------------------------------------------------- sp-auto-0.1.101 (unstable) (Wed Nov 8 10:12:03 UTC 2006): This is the second alpha version for sp-auto 0.2 (stable). Bugfix release only. * PACKAGE-version and version.h automatic targets: Create inst. directories also, if not existent. ---------------------------------------------------------------------- sp-auto-0.1.100 (unstable) (Fri Nov 3 12:29:23 UTC 2006): This is the first alpha version for sp-auto 0.2 (stable). A lot of things have changed in both, the tools (for those who use or develop in sp-auto enabled projects) and the autotools/m4 support (for those actually maintaining an sp-auto enabled project). Please see the top level README on how to update from <= 0.1.3 (for both user groups). Changes in a nutshell: * Tools now all use "getopt" options. Try -h on any tool. * All tools have been reworked and many quirks/oddities been removed. * All m4 macros have been reworked, so a bunch of redundancies and oddities may be removed from projects. * Separate support for versioning systems (sp-auto-uvc). More details (i.e., more as usual) in the ChangeLog; for convenience, here is the main checkin's changelog (reading the README may suffice though): * Adding initial version of sp-auto-update tool. * src/tools: Add sp-libopt.sh (getopts posix shell library). [ removing src/sh, mv sh/sp-opt.sh->tools/sp-libopt.sh ]. * src/tools: Add optional "non-POSIX" test when checkbashisms (devscripts.deb) is available. * src/tools: Many bashisms fixed; sp-auto-release stays "bash" for now. * src/tools: Using sp-libopt.sh in all tools. This means usage changes for all tools except for default usage. Use "-h" on any tool for usage. * User visible changes in sp-libopt.sh: - Add handing for default values (options and positionals). - Remove imho superflous support for per-function options. * src/tools: Added sp-auto-uvc tool ("unified" version control commands). * src/tools: sp-auto-release: Patched up to use sp-auto-uvc. * src/tools: sp-auto-env && sp-auto-update: - Removing seemingly confusing magic for id ("." if not arg, else DIR or MULTINAME); instead, you must now give an id as configured in - New per user config file "~/.sp-auto.conf". This obsoletes all "MULTINAME" config files "~/.sp-auto-env.NAME". You can find an example in the README. - "sp-auto-env PROJECT" now creates the env for PROJECT (was: its dependencies only); using the - "-d"-Option on sp-auto-env|update _adds_ all dependencies [the latter two changes are imho fixing some non-intuitiveness of the tools]; use "-D" for the old behaviour. - "sp-auto-update" has added ability to store configure options per project(~/.sp-auto.conf) and an option to update project's working directories from VCSes. I.e., it's now actually usabable, and "sp-auto-update -d -u my_project" can now used to actually update "everything". * src/m4: o sp-doxygen.m4: - Change behaviour to be build on std build process, not dist. - Use simple stamp file "sp-doxygen" to guard build (was: phony target). - This also adds new global vars SP_ALL, SP_CLEAN. o sp-lib.m4 rm. o Added/new/changed macros: SP_INIT,SP_CHECK (...). o Use one file (sp-auto.am) for added automake targets. o Principally use a bunch of well defined PHONY targets (sp-auto-all sp-auto-clean sp-auto-dist sp-auto-distclean sp-auto-install-data sp-auto-install-exec sp-auto-uninstall) to handle sp-auto-automatic Makefile.am adds. o Produce PACKAGE-version script automagically (pls rm redundant code in projects). o Produce version.h include (for libraries) automagically (pls rm redundant code in projects). * Add svn2cl tool from subversion contrib (until it distributed w/ subversion-tools directly). * README: Cleanup: any old stuff removed or updated, add "update from 0.1.3" section. * New SP_PROG_CXX, ruling out some non-working c++ compilers (currently g++-2.9*). ---------------------------------------------------------------------- sp-auto-0.1.3 (unstable) (Thu Nov 10 13:43:50 UTC 2005): * sp-auto-env: ouput variables only if they have a non-empty value * sp-auto-env: added sp_env_m4_macro_paths variable support for sp-auto.conf. Use it if your project has m4 macros to export. The mechanism behind it also eliminates the need for a manually updated file /usr/share/aclocal/dirlist. * m4: added macro for apache module autoconf magic ---------------------------------------------------------------------- sp-auto-0.1.2 (unstable) (Tue Nov 8 09:52:03 UTC 2005): Intermediate unstable updates/bugfixing release. * sp-auto-release: Compat for "grep" w/o max-count option (woody). * sp-auto-release: Fix parsing for m4 quotation. * sh: Adding initial "sp-opt.sh": Convenience tools around POSIX "getopts". * Added new "examples" directory. * Added new "sh" directory for (POSIX) shell support. * m4: Added --disable-sp-doxygen option * sp-auto-release: upload: Fixing sigfile location. ---------------------------------------------------------------------- sp-auto-0.1.1 (unstable) (Fri Jun 17 15:14:14 UTC 2005): * m4: Fixing m4 todo "using actual atomake targets like dist-hook, etc)"; this just does not work (if you use more that one such macro). Using dedicated autoconf vars now (see sp-auto.m4). Makefile.am's need to be updated. * sp-auto-release: "getnews" facility and hilarious improvements for the "autonews" feature. * m4: Fixing missing sp-libxslt.m4 from m4 installation, and some smaller fixes for sp-doxygen/sp-*cruft. ---------------------------------------------------------------------- sp-auto-0.1.0 (unstable) (Mon Jun 13 14:06:03 UTC 2005): This is the initial sp-auto release. The only available documentation is currently in the README file. Status is that it is ready to replace the old setup, with many improvements. It should mature while being actually used, until the 0.2.x branch should be used by the "public". ---------------------------------------------------------------------- ui-auto-1.2.10/PaxHeaders.22674/AUTHORS0000644000000000000000000000007411261404742013775 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.937867805 ui-auto-1.2.10/AUTHORS0000644000175000017500000000005211261404742015046 0ustar00absurdabsurd00000000000000Stephan Sürken ui-auto-1.2.10/PaxHeaders.22674/install-sh0000644000000000000000000000007313157351331014726 xustar0029 atime=1514912491.70559144 30 ctime=1514988234.949867535 ui-auto-1.2.10/install-sh0000755000175000017500000003546313157351331016021 0ustar00absurdabsurd00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2014-09-12.12; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) # $RANDOM is not portable (e.g. dash); use it when possible to # lower collision chance tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 # As "mkdir -p" follows symlinks and we work in /tmp possibly; so # create the $tmpdir first (and fail if unsuccessful) to make sure # that nobody tries to guess the $tmpdir name. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: ui-auto-1.2.10/PaxHeaders.22674/configure.ac0000644000000000000000000000013113223160015015175 xustar0029 mtime=1514987533.27846152 30 atime=1514987533.330460289 30 ctime=1514988234.933867896 ui-auto-1.2.10/configure.ac0000644000175000017500000000046313223160015016262 0ustar00absurdabsurd00000000000000AC_INIT([ui-auto], [1.2.10]) UI_INIT([src/tools/ui-auto-release],,,,[tar-pax]) UI_DISTDIR_CRUFT AC_PROG_CC dnl checkbashism: devscripts.deb AC_PATH_PROG(PROG_XSLTPROG, xsltproc) UI_PROG_CXX AC_CONFIG_FILES([ Makefile src/Makefile src/m4/Makefile src/cmake/Makefile src/tools/Makefile ]) AC_OUTPUT ui-auto-1.2.10/PaxHeaders.22674/Makefile.in0000644000000000000000000000012613223161307014765 xustar0029 mtime=1514988231.85393715 27 atime=1514988233.105909 30 ctime=1514988234.937867805 ui-auto-1.2.10/Makefile.in0000644000175000017500000006437613223161307016063 0ustar00absurdabsurd00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/src/m4/ui-auto.m4 \ $(top_srcdir)/src/m4/ui-common.m4 \ $(top_srcdir)/src/m4/ui-distdir-cruft.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(docdir)" DATA = $(doc_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in AUTHORS COPYING ChangeLog \ INSTALL NEWS README compile install-sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PROG_XSLTPROG = @PROG_XSLTPROG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SO_VERSION = @SO_VERSION@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = $(datadir)/doc/$(PACKAGE) dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = 1.10 ACLOCAL_AMFLAGS = -I src/m4 SUBDIRS = src EXTRA_DIST = .gitignore .ui-auto.conf .user.ui-auto.conf .ui-auto-release-multi.conf INTRODUCTION doc_DATA = README INTRODUCTION NEWS AUTHORS ChangeLog COPYING all: all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) all-local installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(docdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-local \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-docDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-exec-local install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-docDATA uninstall-local .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ am--refresh check check-am clean clean-cscope clean-generic \ clean-local cscope cscopelist-am ctags ctags-am dist dist-all \ dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-local distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am \ install-data-local install-docDATA install-dvi install-dvi-am \ install-exec install-exec-am install-exec-local install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ tags-am uninstall uninstall-am uninstall-docDATA \ uninstall-local .PRECIOUS: Makefile @UI_AUTO_AM@ all-local: ui-auto-all clean-local: ui-auto-clean distclean-local: ui-auto-distclean install-data-local: ui-auto-install-data install-exec-local: ui-auto-install-exec uninstall-local: ui-auto-uninstall dist-hook: ui-auto-dist # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ui-auto-1.2.10/PaxHeaders.22674/.gitignore0000644000000000000000000000007412471405200014707 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.953867445 ui-auto-1.2.10/.gitignore0000644000175000017500000000064012471405200015763 0ustar00absurdabsurd00000000000000Makefile Makefile.in /INSTALL /aclocal.m4 /autom4te.cache/ /config.log /config.status /configure /install-sh /missing /compile /ui-auto.am /src/tools/ui-auto-version /src/tools/ui-auto-version.1 /src/tools/ui-auto-env.1 /src/tools/ui-auto-release-multi.1 /src/tools/ui-auto-release.1 /src/tools/ui-auto-shell.1 /src/tools/ui-auto-sp2ui.1 /src/tools/ui-auto-ubs.1 /src/tools/ui-auto-update.1 /src/tools/ui-auto-uvc.1 ui-auto-1.2.10/PaxHeaders.22674/src0000644000000000000000000000013213223161313013424 xustar0030 mtime=1514988235.009866186 30 atime=1514988235.037865556 30 ctime=1514988235.009866186 ui-auto-1.2.10/src/0000755000175000017500000000000013223161313014562 5ustar00absurdabsurd00000000000000ui-auto-1.2.10/src/PaxHeaders.22674/m40000644000000000000000000000013213223161312013743 xustar0030 mtime=1514988234.993866547 30 atime=1514988235.037865556 30 ctime=1514988234.993866547 ui-auto-1.2.10/src/m4/0000755000175000017500000000000013223161312015101 5ustar00absurdabsurd00000000000000ui-auto-1.2.10/src/m4/PaxHeaders.22674/ui-apache-module.m40000644000000000000000000000007412471405200017407 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.993866547 ui-auto-1.2.10/src/m4/ui-apache-module.m40000644000175000017500000000222312471405200020462 0ustar00absurdabsurd00000000000000AC_DEFUN([UI_APACHE_MODULE], [ AC_ARG_VAR([APXS], [path to apache extension tool used]) AC_ARG_WITH( [apxs], [AS_HELP_STRING([--with-apxs], [path to apache extension tool used.])], [ echo -n "checking for apxs... " if test ! -x "$with_apxs" then echo "no ($with_apxs is not executable)" else echo "$with_apxs" APXS="$with_apxs" fi ], [AC_PATH_PROG([APXS], [apxs])] ) if test "x$APXS" = "x" then AC_MSG_ERROR([The apache extension tool (apxs) was not found in your PATH. You might want to specify the correct path using the `--with-apxs' switch.]) fi dnl Flags to compile the object file as apxs would UI_APACHE_MODULE_CFLAGS="`$APXS -q CFLAGS` `$APXS -q CFLAGS_SHLIB` -I`$APXS -q INCLUDEDIR`" AC_SUBST([UI_APACHE_MODULE_CFLAGS]) dnl Flags to build the library as apxs would UI_APACHE_MODULE_LDFLAGS="`$APXS -q LDFLAGS_SHLIB`" UI_APACHE_MODULE_LIBS="`$APXS -q LIBS_SHLIB`" AC_SUBST([UI_APACHE_MODULE_LDFLAGS] [UI_APACHE_MODULE_LIBS]) dnl Set libdir only if nothing was specified by the user if test "$prefix" = "NONE" && test "$exec_prefix" = "NONE" && test $libdir = '${exec_prefix}/lib' then libdir="`$APXS -q LIBEXECDIR`" fi ]) ui-auto-1.2.10/src/m4/PaxHeaders.22674/ui-auto.m40000644000000000000000000000013212747214477015672 xustar0030 mtime=1469913407.426552611 30 atime=1514905243.014041576 30 ctime=1514988234.925868075 ui-auto-1.2.10/src/m4/ui-auto.m40000644000175000017500000001753212747214477016763 0ustar00absurdabsurd00000000000000dnl Initialize an ui-auto project dnl dnl Usage: dnl UI_INIT(SOURCE_FILE, [SO_VERSION=], [TOOLDIR=src/tools], [INCDIR=src/PACKAGE], [AUTOMAKE_OPTS=]) dnl dnl SOURCE_FILE (mandatory) See AC_CONFIG_SRCDIR. dnl SO_VERSION (optional) Give SO version (libtool style: e.g. 2:4:0) if needed. dnl TOOLDIR (sane default) UI-automagic script PACKAGE-version will be created in that directory. dnl INCDIR (sane default) UI-automagic header version.h will be created in that directory. dnl AUTOMAKE_OPTS (optional) Options to AM_INIT_AUTOMAKE. dnl AC_DEFUN([UI_INIT], [ dnl dnl Generic autoconf/automake stuff dnl AC_PREREQ(2.58) AC_CONFIG_SRCDIR($1) AM_INIT_AUTOMAKE($5) dnl dnl Basic initializations dnl if test -z "${PACKAGE_VERSION}"; then AC_MSG_ERROR([[Cant continue: PACKAGE_VERSION missing.]]) fi SO_VERSION=$2 AC_SUBST(SO_VERSION) TOOLDIR=$3 if test -z "${TOOLDIR}"; then TOOLDIR="src/tools" fi INCDIR=$4 if test -z "${INCDIR}"; then INCDIR="src/${PACKAGE_NAME}" fi dnl dnl Initialize ui-auto.am dnl UI_AUTO_AM="ui-auto.am" rm -v -f "${UI_AUTO_AM}" AC_SUBST_FILE(UI_AUTO_AM) UI_ADD_AM([ # These are the generic ui-auto rules rules (add these to your Makefile.am appropriately to *-local targets). .PHONY: ui-auto-all ui-auto-clean ui-auto-dist ui-auto-distclean ui-auto-install-data ui-auto-install-exec ui-auto-uninstall ui-auto-am-clean: rm -f "${UI_AUTO_AM}" .PHONY: ui-auto-am-clean # Set dependencies for generic rules ui-auto-distclean: ui-auto-am-clean ]) dnl dnl PACKAGE-version script (mandatory) dnl S_NAME="${PACKAGE_NAME}-version" S_PATH="${TOOLDIR}/${S_NAME}" V_MAJOR=`echo ${PACKAGE_VERSION} | cut -d'.' -f1` V_MINOR=`echo ${PACKAGE_VERSION} | cut -d'.' -f2` V_PATCH=`echo ${PACKAGE_VERSION} | cut -d'.' -f3` mkdir -p `dirname "${S_PATH}"` cat <"${S_PATH}" #!/bin/sh -e echo "UI_PACKAGE=\"${PACKAGE_NAME}\"" echo "UI_VERSION=\"${PACKAGE_VERSION}\"" echo "UI_VERSION_MAJOR=\"${V_MAJOR}\"" echo "UI_VERSION_MINOR=\"${V_MINOR}\"" echo "UI_VERSION_PATCH=\"${V_PATCH}\"" EOF if test -n "${SO_VERSION}"; then LV_IF=`echo ${SO_VERSION} | cut -d':' -f1` LV_REV=`echo ${SO_VERSION} | cut -d':' -f2` LV_AGE=`echo ${SO_VERSION} | cut -d':' -f3` LV_MAJOR=$[[LV_IF - LV_AGE]] LV_MINOR=${LV_AGE} LV_PATCH=${LV_REV} SO_VERSION_SYS="${LV_MAJOR}.${LV_MINOR}.${LV_PATCH}" cat <>"${S_PATH}" echo "UI_SO_VERSION=\"${SO_VERSION_SYS}\"" echo "UI_SO_VERSION_MAJOR=\"${LV_MAJOR}\"" echo "UI_SO_VERSION_MINOR=\"${LV_MINOR}\"" echo "UI_SO_VERSION_PATCH=\"${LV_PATCH}\"" EOF fi chmod +x "${S_PATH}" dnl Man page for version script S_NAME_CAP=`echo "${S_NAME}" | tr "[[:lower:]]" "[[:upper:]]"` cat <"${S_PATH}.1" .TH ${S_NAME_CAP} "1" .SH NAME ${S_NAME} \- Print parsable version information for development package ${PACKAGE_NAME}. .SH SYNOPSIS .PP .B ${S_NAME} .SH DESCRIPTION .PP Prints version information for installed development package ${PACKAGE_NAME} in a parsable way. This is intended to be used by automatic version checks of build systems. .SH AUTHOR EOF if test -n "${SOURCE_DATE_EPOCH}"; then \ echo "Produced automatically by ui-auto for ${PACKAGE_NAME} on `date --utc --rfc-822 --date="@${SOURCE_DATE_EPOCH}"`." >>${S_PATH}.1 else \ echo "Produced automatically by ui-auto for ${PACKAGE_NAME} on `date --rfc-822`." >>${S_PATH}.1 fi dnl Automake rules for installation && distclean UI_ADD_AM([ ui-version-script-install: install -d -m755 \"\$(DESTDIR)\$(bindir)\" install -m755 \"${S_PATH}\" \"\$(DESTDIR)\$(bindir)\" install -d -m755 \"\$(DESTDIR)\$(mandir)/man1\" install -m644 \"${S_PATH}.1\" \"\$(DESTDIR)\$(mandir)/man1\" ui-version-script-uninstall: rm -f \"\$(DESTDIR)\$(bindir)/${S_NAME}\" \"\$(DESTDIR)\$(mandir)/man1/${S_NAME}.1\" ui-version-script-clean: rm -f "${S_PATH}" "${S_PATH}.1" .PHONY: ui-version-script-install ui-version-script-uninstall ui-version-script-clean # Set dependencies for generic rules ui-auto-distclean: ui-version-script-clean ui-auto-install-exec: ui-version-script-install ui-auto-uninstall: ui-version-script-uninstall ]) dnl dnl version.h include (only when lib) dnl if test -n "${SO_VERSION}"; then I_NAME="version.h" I_PATH="${INCDIR}/${I_NAME}" HEADER_NAME=`echo "${PACKAGE_NAME}" | tr - _ | tr [a-z] [A-Z]` mkdir -p `dirname "${I_PATH}"` cat <"${I_PATH}" #ifndef ${HEADER_NAME}_VERSION_H #define ${HEADER_NAME}_VERSION_H /** @{ @brief ui-auto'mated version macros. */ #define ${HEADER_NAME}_VERSION "${PACKAGE_VERSION}" #define ${HEADER_NAME}_VERSION_MAJOR ${V_MAJOR} #define ${HEADER_NAME}_VERSION_MINOR ${V_MINOR} #define ${HEADER_NAME}_VERSION_PATCH ${V_PATCH} /** @} */ /** @{ @brief ui-auto'mated library version support. */ #define ${HEADER_NAME}_LIBVERSION "${SO_VERSION_SYS}" #define ${HEADER_NAME}_LIBVERSION_MAJOR ${LV_MAJOR} #define ${HEADER_NAME}_LIBVERSION_MINOR ${LV_MINOR} #define ${HEADER_NAME}_LIBVERSION_PATCH ${LV_PATCH} /** @} */ #endif EOF dnl Automake rules for installation && distclean UI_ADD_AM([ ui-version-header-install: install -d -m755 \"\$(DESTDIR)\$(incdir)\" install -m644 \"${I_PATH}\" \"\$(DESTDIR)\$(incdir)\" ui-version-header-uninstall: rm -f \"\$(DESTDIR)\$(incdir)/${I_NAME}\" ui-version-header-clean: rm -f "${I_PATH}" .PHONY: ui-version-header-install ui-version-header-uninstall ui-version-header-clean # Set dependencies for generic rules ui-auto-distclean: ui-version-header-clean ui-auto-install-exec: ui-version-header-install ui-auto-uninstall: ui-version-header-uninstall ]) fi ]) dnl Check for ui-auto enabled project. dnl dnl Usage: dnl UI_CHECK(key, package, MAJOR,MINOR,PATCH, LMAJOR,LMINOR,LPATCH) dnl dnl key unique key for this test dnl package package name (script name searched for is PACKAGE-version) dnl MAJOR (optional) required major version number of library dnl MINOR (optional) required minor version number of library dnl PATCH (optional) required patchlevel of library dnl LMAJOR (optional) required major version number of library interface dnl LMINOR (optional) required minor version number of library interface dnl LPATCH (optional) required patchlevel of library interface dnl dnl All version numbers default to 0 if not specified. dnl AC_DEFUN([UI_CHECK], [ ifelse($3, , MAJOR=0, MAJOR=$3) ifelse($4, , MINOR=0, MINOR=$4) ifelse($5, , PATCH=0, PATCH=$5) ifelse($6, , LMAJOR=0, LMAJOR=$6) ifelse($7, , LMINOR=0, LMINOR=$7) ifelse($8, , LPATCH=0, LPATCH=$8) dnl Check and evaluate version script AC_PATH_PROG([$1], [$2-version]) test x"$[$1]" = x && AC_MSG_ERROR([$2-version not found in PATH]) dnl Reset variables UI_PACKAGE="" UI_VERSION="" UI_VERSION_MAJOR="" UI_VERSION_MINOR="" UI_VERSION_PATCH="" UI_SO_VERSION="" UI_SO_VERSION_MAJOR="" UI_SO_VERSION_MINOR="" UI_SO_VERSION_PATCH="" dnl Set variables from PACKAGE-version script eval `[$2-version]` dnl Sanity check test x"${UI_PACKAGE}" = x[$2] || AC_MSG_ERROR([$2-version found in PATH seems corrupt; from old unstable ui-auto version? ]) dnl Check package version AC_MSG_CHECKING([package $2, version ${MAJOR}.${MINOR}.${PATCH} or later]) for TYPE in MAJOR MINOR PATCH; do INSTALLED_VERSION="UI_VERSION_${TYPE}" NEEDED_VERSION="${TYPE}" if test ${!INSTALLED_VERSION} -lt ${!NEEDED_VERSION}; then AC_MSG_ERROR([${UI_VERSION} is too old.]) elif test ${!INSTALLED_VERSION} -gt ${!NEEDED_VERSION}; then break fi done AC_MSG_RESULT([yes (version ${UI_VERSION})]) dnl Check library version if test -n "${UI_SO_VERSION}"; then AC_MSG_CHECKING([library from ${UI_PACKAGE}, version ${LMAJOR}.${LMINOR}.${LPATCH} or later]) for TYPE in MAJOR MINOR PATCH; do INSTALLED_VERSION="UI_SO_VERSION_${TYPE}" NEEDED_VERSION="L${TYPE}" if test ${!INSTALLED_VERSION} -lt ${!NEEDED_VERSION}; then AC_MSG_ERROR([${UI_SO_VERSION} is too old.]) elif test ${!INSTALLED_VERSION} -gt ${!NEEDED_VERSION}; then break fi done AC_MSG_RESULT([yes (lib version ${UI_SO_VERSION})]) fi ]) ui-auto-1.2.10/src/m4/PaxHeaders.22674/ui-common.m40000644000000000000000000000013212747200731016176 xustar0030 mtime=1469907417.161125572 30 atime=1514905243.014041576 30 ctime=1514988234.929867985 ui-auto-1.2.10/src/m4/ui-common.m40000644000175000017500000000253312747200731017262 0ustar00absurdabsurd00000000000000dnl UI common autotools helper macros dnl UI_MSG_MISSING(VALUE, WHAT [,"warn"]) dnl dnl If VALUE is empty or "no, exit with error message that suport dnl for WHAT is missing, or continue with a warning if "warn" is given. AC_DEFUN([UI_MSG_MISSING], [ if test x"[$1]" = "x" -o x"[$1]" = "xno"; then if test x"[$3]" = "xwarn"; then AC_MSG_WARN([Missing support for: $2.]) else AC_MSG_ERROR([Missing support for: $2.]) fi fi ]) dnl Simplified and enhanced version of AC_PATH_PROG dnl dnl UI_PATH_PROG(VARIABLE, PROG-TO-CHECK-FOR [, "warn"]) dnl dnl Check for program with AC_PATH_PROG. If program is not found, exit with dnl error unless "warn" option is given. dnl AC_DEFUN([UI_PATH_PROG], [ AC_PATH_PROG([$1], [$2]) UI_MSG_MISSING([$$1], [Program $2], [$3]) ]) dnl Echo to file dnl dnl UI_PRINT_FILE(FILENAME, TEXT) AC_DEFUN([UI_PRINT_FILE], [ echo -n "$2" >"$1" ]) dnl Add automake source dnl dnl UI_ADD_AM(makefile code) AC_DEFUN([UI_ADD_AM], [ echo -n "$1" >>"ui-auto.am" ]) dnl ui-auto check for C++ compilers dnl dnl Calls AC_PROG_CXX, and then checks for some compilers/versions we must not use. dnl dnl UI_ADD_AM(makefile code) AC_DEFUN([UI_PROG_CXX], [ AC_PROG_CXX if test "x$GXX" = "xyes"; then if ${CXX} --version | grep "2\.9[[]0123456789[]]\..*"; then AC_MSG_ERROR([We cannot use g++-2.9*; pls use at least g++-3.0.]) fi fi ]) ui-auto-1.2.10/src/m4/PaxHeaders.22674/Makefile.am0000644000000000000000000000007412471405200016062 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.989866636 ui-auto-1.2.10/src/m4/Makefile.am0000644000175000017500000000031512471405200017135 0ustar00absurdabsurd00000000000000m4scripts=ui-common.m4 ui-auto.m4 ui-doxygen.m4 ui-distdir-cruft.m4 ui-libxslt.m4 ui-apache-module.m4 ui-with-apxs2.m4 EXTRA_DIST = $(m4scripts) m4datadir = $(datadir)/aclocal m4data_DATA = $(m4scripts) ui-auto-1.2.10/src/m4/PaxHeaders.22674/ui-doxygen.m40000644000000000000000000000007412471405200016360 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.989866636 ui-auto-1.2.10/src/m4/ui-doxygen.m40000644000175000017500000000237212471405200017440 0ustar00absurdabsurd00000000000000AC_DEFUN([UI_DOXYGEN], [ AC_ARG_ENABLE(ui-doxygen,[ --disable-ui-doxygen Disable generation of doxygen documentation.], [ UI_DOXYGEN_ENABLED="${enableval}" ]) UI_DOXYGEN_TARGETS='def html latex man rtf xml' if test "$UI_DOXYGEN_ENABLED" = "no"; then UI_DOXYGEN_MAKE="mkdir autodoc && for d in ${UI_DOXYGEN_TARGETS}; do echo 'Doxygen documentation was disabled by configure option.' >autodoc/\$\${d}; done" else UI_PATH_PROG(DOXYGEN, doxygen) UI_PATH_PROG(PERL, perl) UI_DOXYGEN_MAKE='$(DOXYGEN) Doxyfile' fi UI_ADD_AM([ ui-doxygen: rm -rf autodoc && ${UI_DOXYGEN_MAKE} touch ui-doxygen ui-doxygen-clean: rm -rf autodoc ui-doxygen ui-doxygen-install: ui-doxygen install -d \$(DESTDIR)\$(docdir) && \ chmod -R u=rwx,g=rx,o=rx \$(DESTDIR)\$(docdir) && \ for d in ${UI_DOXYGEN_TARGETS}; do \ cp -a autodoc/\$\${d} \$(DESTDIR)\$(docdir) 2>/dev/null || true ; \ done ui-doxygen-uninstall: for d in ${UI_DOXYGEN_TARGETS}; do \ chmod -R u+wx \$(DESTDIR)\$(docdir)/\$\${d} 2>/dev/null || true ; \ rm -rf \$(DESTDIR)\$(docdir)/\$\${d}; \ done .PHONY: ui-doxygen-clean ui-doxygen-install ui-doxygen-uninstall ui-auto-all: ui-doxygen ui-auto-clean: ui-doxygen-clean ui-auto-install-data: ui-doxygen-install ui-auto-uninstall: ui-doxygen-uninstall ]) ]) ui-auto-1.2.10/src/m4/PaxHeaders.22674/ui-libxslt.m40000644000000000000000000000007412471405200016364 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.989866636 ui-auto-1.2.10/src/m4/ui-libxslt.m40000644000175000017500000000236412471405200017445 0ustar00absurdabsurd00000000000000dnl AM_PATH_XSLT(MINIMUM-VERSION) dnl dnl Simple test for libxslt1 with min version. Defines XSLT_CFLAGS and XSLT_LIBS. dnl AC_DEFUN([AM_PATH_XSLT], [ AC_PATH_PROG(XSLT_CONFIG, xslt-config, no) if test "x$XSLT_CONFIG" = "xno"; then AC_MSG_ERROR(["xslt-config not found, libxslt1 development package missing"]) fi xslt_version_major=`${XSLT_CONFIG} --version | cut -d. -f1` xslt_version_minor=`${XSLT_CONFIG} --version | cut -d. -f2` xslt_version_patch=`${XSLT_CONFIG} --version | cut -d. -f3` AC_MSG_CHECKING(for libxslt - version >= $1) xslt_requiredversion_major=`echo -n $1 | cut -d. -f1` xslt_requiredversion_minor=`echo -n $1 | cut -d. -f2` xslt_requiredversion_patch=`echo -n $1 | cut -d. -f3` if ! test ${xslt_version_major} -ge ${xslt_requiredversion_major} -a ${xslt_version_minor} -ge ${xslt_requiredversion_minor} -a ${xslt_version_patch} -ge ${xslt_requiredversion_patch}; then AC_MSG_ERROR(["We need at least version ${xslt_requiredversion_major}.${xslt_requiredversion_minor}.${xslt_requiredversion_patch} of libxslt1"]) fi XSLT_LIBS=`${XSLT_CONFIG} --libs` XSLT_CFLAGS=`${XSLT_CONFIG} --cflags` AC_SUBST(XSLT_LIBS) AC_SUBST(XSLT_CFLAGS) AC_MSG_RESULT(yes (version $xslt_version_major.$xslt_version_minor.$xslt_version_patch)) ]) ui-auto-1.2.10/src/m4/PaxHeaders.22674/ui-distdir-cruft.m40000644000000000000000000000007412471405200017466 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.929867985 ui-auto-1.2.10/src/m4/ui-distdir-cruft.m40000644000175000017500000000101512471405200020537 0ustar00absurdabsurd00000000000000# Clean distribution dir from "well-known" cruft. # # Usage configure.ac: UI_DISTDIR_CRUFT # Usage Makefile.am : dist-hook: ui-auto-dist AC_DEFUN([UI_DISTDIR_CRUFT], [ UI_ADD_AM([ ui-distdir-cruft: test ! -z \$(distdir) rm -rf \`find \$(distdir) -type d -name "CVS" -o -name ".svn" -o -name ".git"\` rm -f \`find \$(distdir) -type f -name ".cvsignore" -or -name CVSDUMMY -or -name '*~' -or -name '#*#' -or -name '.#*'\` .PHONY: ui-distdir-cruft # Set dependencies for generic rules ui-auto-dist: ui-distdir-cruft ]) ]) ui-auto-1.2.10/src/m4/PaxHeaders.22674/Makefile.in0000644000000000000000000000013013223161307016067 xustar0029 mtime=1514988231.88993634 29 atime=1514988233.12990846 30 ctime=1514988234.989866636 ui-auto-1.2.10/src/m4/Makefile.in0000644000175000017500000003242213223161307017155 0ustar00absurdabsurd00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/src/m4/ui-auto.m4 \ $(top_srcdir)/src/m4/ui-common.m4 \ $(top_srcdir)/src/m4/ui-distdir-cruft.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(m4datadir)" DATA = $(m4data_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PROG_XSLTPROG = @PROG_XSLTPROG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SO_VERSION = @SO_VERSION@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ m4scripts = ui-common.m4 ui-auto.m4 ui-doxygen.m4 ui-distdir-cruft.m4 ui-libxslt.m4 ui-apache-module.m4 ui-with-apxs2.m4 EXTRA_DIST = $(m4scripts) m4datadir = $(datadir)/aclocal m4data_DATA = $(m4scripts) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/m4/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/m4/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-m4dataDATA: $(m4data_DATA) @$(NORMAL_INSTALL) @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(m4datadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(m4datadir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(m4datadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(m4datadir)" || exit $$?; \ done uninstall-m4dataDATA: @$(NORMAL_UNINSTALL) @list='$(m4data_DATA)'; test -n "$(m4datadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(m4datadir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(m4datadir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-m4dataDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-m4dataDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-m4dataDATA install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags-am uninstall uninstall-am \ uninstall-m4dataDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ui-auto-1.2.10/src/m4/PaxHeaders.22674/ui-with-apxs2.m40000644000000000000000000000007412471405200016711 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.993866547 ui-auto-1.2.10/src/m4/ui-with-apxs2.m40000644000175000017500000000373212471405200017772 0ustar00absurdabsurd00000000000000# =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_with_apxs.html # =========================================================================== # # SYNOPSIS # # UI_WITH_APXS2([value-if-not-found], [path]) # # DESCRIPTION # # Locates an installed apxs binary, placing the result in the precious # variable $APXS. Accepts a preset $APXS, then --with-apxs, and failing # that searches for apxs in the given path (which defaults to the system # path). If apxs is found, $APXS is set to the full path of the binary; # otherwise it is set to VALUE-IF-NOT-FOUND, which defaults to apxs. # # Example: # # UI_WITH_APXS2(missing) # # LICENSE # # Copyright (c) 2008 Dustin J. Mitchell # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. # # Copyright (c) 2010 Stephan Sürken # # Renamed to UI_WITH_APXS2 and updated for apache2, where the # tool is usually named apxs2. #serial 10 AC_DEFUN([UI_WITH_APXS2], [ AC_ARG_VAR([APXS]) dnl unless APXS was supplied to us (as a precious variable) if test -z "$APXS" then AC_MSG_CHECKING(for --with-apxs) AC_ARG_WITH(apxs, AS_HELP_STRING([--with-apxs=APXS], [absolute path name of apxs executable]), [ if test "$withval" != "yes" then APXS="$withval" AC_MSG_RESULT($withval) else AC_MSG_RESULT(no) fi ], [ AC_MSG_RESULT(no) ]) fi dnl if it's still not found, check the paths, or use the fallback if test -z "$APXS" then AC_PATH_PROGS([APXS], [apxs2 apxs], $1, $2) fi ]) ui-auto-1.2.10/src/PaxHeaders.22674/cmake0000644000000000000000000000013213223161313014504 xustar0030 mtime=1514988235.009866186 30 atime=1514988235.037865556 30 ctime=1514988235.009866186 ui-auto-1.2.10/src/cmake/0000755000175000017500000000000013223161313015642 5ustar00absurdabsurd00000000000000ui-auto-1.2.10/src/cmake/PaxHeaders.22674/Makefile.am0000644000000000000000000000007412471405200016622 xustar0030 atime=1514905243.014041576 30 ctime=1514988235.005866277 ui-auto-1.2.10/src/cmake/Makefile.am0000644000175000017500000000021112471405200017670 0ustar00absurdabsurd00000000000000cmakescripts=FindApache1.3.cmake EXTRA_DIST = $(cmakescripts) cmakedatadir = $(datadir)/ui-auto/cmake cmakedata_DATA = $(cmakescripts) ui-auto-1.2.10/src/cmake/PaxHeaders.22674/Makefile.in0000644000000000000000000000013013223161307016627 xustar0029 mtime=1514988231.87793661 29 atime=1514988233.14190819 30 ctime=1514988235.009866186 ui-auto-1.2.10/src/cmake/Makefile.in0000644000175000017500000003242013223161307017713 0ustar00absurdabsurd00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/cmake ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/src/m4/ui-auto.m4 \ $(top_srcdir)/src/m4/ui-common.m4 \ $(top_srcdir)/src/m4/ui-distdir-cruft.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(cmakedatadir)" DATA = $(cmakedata_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PROG_XSLTPROG = @PROG_XSLTPROG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SO_VERSION = @SO_VERSION@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ cmakescripts = FindApache1.3.cmake EXTRA_DIST = $(cmakescripts) cmakedatadir = $(datadir)/ui-auto/cmake cmakedata_DATA = $(cmakescripts) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/cmake/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/cmake/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-cmakedataDATA: $(cmakedata_DATA) @$(NORMAL_INSTALL) @list='$(cmakedata_DATA)'; test -n "$(cmakedatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(cmakedatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(cmakedatadir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cmakedatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(cmakedatadir)" || exit $$?; \ done uninstall-cmakedataDATA: @$(NORMAL_UNINSTALL) @list='$(cmakedata_DATA)'; test -n "$(cmakedatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(cmakedatadir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(cmakedatadir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-cmakedataDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-cmakedataDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-cmakedataDATA \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags-am uninstall uninstall-am \ uninstall-cmakedataDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ui-auto-1.2.10/src/cmake/PaxHeaders.22674/FindApache1.3.cmake0000644000000000000000000000007411261404742020002 xustar0030 atime=1514905243.014041576 30 ctime=1514988235.009866186 ui-auto-1.2.10/src/cmake/FindApache1.3.cmake0000644000175000017500000000143411261404742021060 0ustar00absurdabsurd00000000000000# - Find APACHE1_3 # Find the native APACHE1_3 includes and library # This module defines # APACHE1_3_INCLUDE_DIR, where to find apache-1.3/httpd.h, etc. # APACHE1_3, the libraries needed to use DB. # APACHE1_3, If false, do not try to use DB. find_path(APACHE1.3_INCLUDE_DIR NAMES apache-1.3/httpd.h) #find_library(APACHE1.3_LIBRARY foo) #if(APACHE1.3_INCLUDE_DIR AND APACHE1.3_LIBRARY) if(APACHE1.3_INCLUDE_DIR) SET(APACHE1.3_FOUND true) else() SET(APACHE1.3_FOUND false) endif() if(APACHE1.3_FOUND) if(NOT Apache1.3_FIND_QUIETLY) # message(STATUS "Found Apache1_3: ${APACHE1.3_LIBRARY}") message(STATUS "Found Apache1.3: ${APACHE1.3_INCLUDE_DIR}") endif() else() if(Apache1.3_FIND_REQUIRED) message(SEND_ERROR "Could not find Apache1.3") endif() endif() ui-auto-1.2.10/src/PaxHeaders.22674/Makefile.am0000644000000000000000000000007412471405200015542 xustar0030 atime=1514905243.014041576 30 ctime=1514988234.973866995 ui-auto-1.2.10/src/Makefile.am0000644000175000017500000000003112471405200016610 0ustar00absurdabsurd00000000000000SUBDIRS = m4 cmake tools ui-auto-1.2.10/src/PaxHeaders.22674/tools0000644000000000000000000000013213223161313014564 xustar0030 mtime=1514988235.033865646 30 atime=1514988235.037865556 30 ctime=1514988235.033865646 ui-auto-1.2.10/src/tools/0000755000175000017500000000000013223161313015722 5ustar00absurdabsurd00000000000000ui-auto-1.2.10/src/tools/PaxHeaders.22674/template.deb_svn+mbd0000644000000000000000000000013113222446652020566 xustar0029 mtime=1514818986.15467933 30 atime=1514986037.086032124 30 ctime=1514988235.029865737 ui-auto-1.2.10/src/tools/template.deb_svn+mbd0000644000175000017500000000475513222446652021663 0ustar00absurdabsurd00000000000000#---------------------------------------------------------------------- # [ui-auto-release Debian configuration: Template for svn+mini-buildd] #---------------------------------------------------------------------- # From mini-buildd, so we can do a little magic for the revapx __mbdBasedist2Version() { # Known base distributions local woody=30 local sarge=31 local etch=40 local lenny=50 local squeeze=60 local wheezy=70 local jessie=80 local stretch=90 local buster=BUSTER local sid=SID local version=${!1} if [ -z "${version}" ]; then echo "W: Template svn+mbd: Unknown base dist ${1}." >&2 fi echo -n "${version}" } __VCLOC="${1}" __MBDID="${2}" __BASEDIST="${3}" __BPDISTS="${4}" __REVAPX="~${__MBDID}$(__mbdBasedist2Version ${__BASEDIST})" for __d in ${__BPDISTS}; do __BPDISTS_S="${__d}-${__MBDID},${__BPDISTS_S}" __BPDISTS_U="${__d}-${__MBDID}-experimental,${__BPDISTS_U}" done # Usage check if [ -z "${__VCLOC}" -o -z "${__MBDID}" -o -z "${__BASEDIST}" ]; then echo "E: Wrong template args. Usage: . template.deb_svn+deb VCLOC MBDID BASEDIST [BPDISTS]" >&2 exit 1 fi # Debian dir: We use svn-buildpackage default layout. ui_release_deb_vc="svn" ui_release_deb_vc_loc="${__VCLOC}" ui_release_deb_orig_loc="tarballs" ui_release_deb_pkg_loc="build-area" # Common values for all Debian releases ([un]stable[snapshot]) ui_release_deb_vc_tag="trunk" ui_release_deb_dbuild="svn-buildpackage -rfakeroot -S" ui_release_deb_dput="mini-buildd-${__MBDID}" # Values for "unstable" ui_release_deb_dbuild_options_unstable="--svn-tag" ui_release_deb_dist_unstable="${__BASEDIST}-${__MBDID}-experimental" ui_release_deb_revapx_unstable="${__REVAPX}+0" [ -z "${__BPDISTS_U}" ] || ui_release_deb_clentries_unstable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_U}" # Don't tag for snapshots, and ignore the never-checked-in changes ui_release_deb_dbuild_options_unstable_snapshot="--svn-ignore" # Values for "stable" ui_release_deb_dbuild_options_stable="--svn-tag" ui_release_deb_dist_stable="${__BASEDIST}-${__MBDID}" ui_release_deb_revapx_stable="${__REVAPX}+1" [ -z "${__BPDISTS_S}" ] || ui_release_deb_clentries_stable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_S}" # Treat stable snapshots like unstable snapshots ui_release_deb_dbuild_options_stable_snapshot="--svn-ignore" ui_release_deb_dist_stable_snapshot="${__BASEDIST}-${__MBDID}-experimental" ui_release_deb_revapx_stable_snapshot="${__REVAPX}+0" [ -z "${__BPDISTS_U}" ] || ui_release_deb_clentries_stable_snapshot="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_U}" ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-shell0000644000000000000000000000013212747214477017300 xustar0030 mtime=1469913407.390553586 30 atime=1514905243.014041576 30 ctime=1514988235.025865826 ui-auto-1.2.10/src/tools/ui-auto-shell0000755000175000017500000000110212747214477020356 0ustar00absurdabsurd00000000000000#!/bin/sh -e # Extra support to produce more meaningful help with '-H' (hence for the man page). if [ "${1}" = "-H" -o "${1}" = "-h" ]; then printf "\nEnter a shell tainted via 'ui-auto-env -d'. Any arguments\nyou supply will be added to the 'ui-auto-env' call:\n\n" $(dirname ${0})/ui-auto-env ${1} exit 0 fi # Use configured shell, or /bin/sh as default. if [ -z "${SHELL}" ]; then SH_CMD="/bin/sh" else SH_CMD="${SHELL}" fi CMD="$(dirname ${0})/ui-auto-env -d $@" if ${CMD} && eval $(${CMD}) 2>/dev/null; then PS1="ui-auto-shell $@? " exec ${SH_CMD} else exit 1 fi ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-env0000644000000000000000000000007412471405200016742 xustar0030 atime=1514905243.014041576 30 ctime=1514988235.025865826 ui-auto-1.2.10/src/tools/ui-auto-env0000755000175000017500000000660412471405200020027 0ustar00absurdabsurd00000000000000#!/bin/bash -e SUPPORTED_EXPORTS="PATH LD_LIBRARY_PATH CFLAGS CXXFLAGS LDFLAGS ACLOCAL" SUPPORTED_SHELLS="posix" PATH="${PATH}:$(dirname $0):/usr/local/share/ui-auto:/usr/share/ui-auto" . ui-libopt.sh ui_opt_init "Produce shell code to taint the environment to use ui-auto enabled projects." ui_opt_add "d" "Also run for the project's dependencies." ui_opt_add "p" "Also set the path of the project as cwd." ui_opt_add "D" "Only run for the project's dependencies." ui_opt_add "I" "Information on a project's configuration in '~/.ui-auto.conf'." ui_opt_add "E:" "Exports to produce, given as space-separated list." "${SUPPORTED_EXPORTS}" "" "\ Supported='${SUPPORTED_EXPORTS}'." ui_opt_add "S:" "Shell syntax to use. Supported: ${SUPPORTED_SHELLS}." "posix" ui_opt_addPos "ID" "A project id as configured in '~/.ui-auto.conf'." ui_opt_parse "$@" checkCall() { for e in ${EXPORTS}; do local ok=false for s in ${SUPPORTED_EXPORTS}; do if test "${e}" = "${s}"; then ok=true break; fi done if ! ${ok}; then ui_opt_error "Unsupported export: ${e}" HELP fi done if test ! -e "${PROJECT_CONF}"; then ui_opt_error "${PROJECT_CONF} not found" fi } iset() { eval $1="\${2}" } addItem() { local var="${1}" local item="${2}" local sep=$(test -z "${!var}" -o -z "${item}" || echo -n "${3}") local append="${4}" local eregex="(^|[${sep}])${item}($|[${sep}])" if echo -n "${!var}" | egrep --quiet -e "${eregex}"; then echo "NOTE: \"${item}\" already included in $var, skipping." >&2 else if test "${append}" = "append"; then iset $var "${!var}${sep}${item}" else iset $var "${item}${sep}${!var}" fi fi } calcEnv() { for f in ${ui_env_library_paths}; do addItem LD_LIBRARY_PATH "${PROJECT_PATH}/${f}" ":" addItem LDFLAGS "-L${PROJECT_PATH}/${f}" " " done for f in ${ui_env_include_paths}; do addItem CFLAGS "-I${PROJECT_PATH}/${f}" " " addItem CXXFLAGS "-I${PROJECT_PATH}/${f}" " " done for f in ${ui_env_program_paths}; do addItem PATH "${PROJECT_PATH}/${f}" ":" done if test "${ui_env_m4_macro_paths}" -a "x$ACLOCAL" = "x"; then iset ACLOCAL "aclocal" fi for f in ${ui_env_m4_macro_paths}; do addItem ACLOCAL "-I${PROJECT_PATH}/${f}" " " append done } serialCall() { local list="${1}" tmp=$(mktemp /tmp/ui-auto-env.XXXXXX) trap "rm -f ${tmp}" EXIT for p in ${list}; do ${0} "${p}" >"${tmp}" eval $(cat ${tmp}) done cat "${tmp}" } # Processing starts here if ! . ~/.ui-auto.conf; then ui_opt_error " Syntax wrong (or no) ~/.ui-auto.conf file; please configure first" fi ID=$(ui_opt_getPos 0 | tr "-" "_") ID_LOC="${ID}_loc" if [ -z "${!ID_LOC}" ]; then echo -e "ID $ID not configured in ~/.ui-auto.conf.\n" >&2 exit 1 fi ID_DEPS="${ID}_deps" if ui_opt_given p; then echo "cd \"${!ID_LOC}\";" fi if ui_opt_given C; then # Check project only echo "Project : ${ID}" echo "Location : ${!ID_LOC}" echo "Dependencies: ${!ID_DEPS}" exit 0 elif ui_opt_given d; then serialCall "${!ID_DEPS} ${ID}" exit 0 elif ui_opt_given D; then serialCall "${!ID_DEPS}" exit 0 fi # Single run cd "${!ID_LOC}" PROJECT_PATH="$(pwd)" PROJECT_CONF="${PROJECT_PATH}/.ui-auto.conf" EXPORTS=$(ui_opt_get E) SHELL=$(ui_opt_get S) checkCall . "${PROJECT_CONF}" calcEnv for e in ${EXPORTS}; do case ${SHELL} in posix) if test "${!e}"; then echo "${e}=\"${!e}\"; export ${e};" fi ;; *) ui_opt_error "Unsupported shell: ${SHELL}" HELP esac done exit 0 ui-auto-1.2.10/src/tools/PaxHeaders.22674/Makefile.am0000644000000000000000000000013212747221066016711 xustar0030 mtime=1469915702.520326273 30 atime=1514905243.014041576 30 ctime=1514988235.021865916 ui-auto-1.2.10/src/tools/Makefile.am0000644000175000017500000000214012747221066017767 0ustar00absurdabsurd00000000000000AUTOMAKE_OPTIONS = -Wno-portability dist_pkgdata_DATA = ui-libopt.sh template.deb_svn+mbd template.deb_svn+mbd-1.0 template.deb_git+mbd-1.0 dist_bin_SCRIPTS = ui-auto-uvc ui-auto-ubs ui-auto-env ui-auto-shell ui-auto-update ui-auto-release ui-auto-release-multi ui-auto-sp2ui ui-auto-rsign man_MANS = ui-auto-uvc.1 ui-auto-ubs.1 ui-auto-env.1 ui-auto-shell.1 ui-auto-update.1 ui-auto-release.1 ui-auto-release-multi.1 ui-auto-sp2ui.1 %.1: name_cap = $(shell echo "$<" | tr "[[:lower:]]" "[[:upper:]]") %.1: % Makefile @echo ".TH $(name_cap) \"1\"" >$@ @echo ".SH NAME" >>$@ @echo "$< \- a tool from the ui-auto tool box." >>$@ @echo ".SH DESCRIPTION" >>$@ @echo "Documentation is fully in the usage output via \"$< -H\"." >>$@ @echo "This is just a copy for convenience:" >>$@ @$(srcdir)/$(shell basename $<) -H >>$@ @echo ".SH AUTHOR" >>$@ if [ -n "$$SOURCE_DATE_EPOCH" ]; then \ echo "Produced automatically by ui-auto on `date --utc --rfc-822 --date="@$$SOURCE_DATE_EPOCH"`." >>$@; \ else \ echo "Produced automatically by ui-auto on `date --rfc-822`." >>$@; \ fi clean-local: rm -v -f $(man_MANS) ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-release0000644000000000000000000000013213223147214017571 xustar0030 mtime=1514983052.504893916 30 atime=1514983052.552892786 30 ctime=1514988235.029865737 ui-auto-1.2.10/src/tools/ui-auto-release0000755000175000017500000014574313223147214020673 0ustar00absurdabsurd00000000000000#!/bin/bash -e # Includes PATH="${PATH}:$(dirname "${0}"):/usr/local/share/ui-auto:/usr/share/ui-auto" . ui-libopt.sh # # Tools # # Helper tool: Copy file and print code to restore _ui_restore_file() { local orig="$(pwd)/${1}" local copy=$(mktemp -t ui-auto-release-XXXXXXXX) || exit 9 cp -a "${orig}" "${copy}" echo "mv \"${copy}\" \"${orig}\"" } boolSet() { [ "true" = "$1" ] } # Recommended line length is 64 (see below, upstream changes in Debian changelog). ui_sep0() { echo "----------------------------------------------------------------" } ui_sep1() { echo "================================================================" } ui_pprint() { local prefix="${1}" while read; do echo -e "${prefix}${REPLY}" done } ui_warn() { echo -e "${1}" | ui_pprint "W: " >&2 } # Extra warning function for the frowned-upon rsign workflow. ui_warn_rsign() # { if [ -n "${!1}" ]; then ui_warn "\n${1}=${!1} (in ~/.ui-auto.conf).\n\n\ WARNING: It's DISCOURAGED to use this remote signing workflow, as it\n\ requires the usually untrusted (build) machine to have access to the\n\ trusted signing machine. It's more secure to connect from the\n\ trusted machine only.\n\ See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855320, debsign(1)\n" fi } ui_err() { echo -e "${1}" | ui_pprint "E: " >&2 } ui_ask() { local question="${1}" local default="${2}" local fatal="${3}" # Default default is "yes" if [ -z "${default}" ]; then default="Y" fi # Get answer local answer if ui_opt_given A; then answer=${default} else read -p "=>${fatal} QUESTION: ${1} (y/n) [${default}]? " answer if [ -z "${answer}" ]; then answer=${default} fi fi [ "${answer}" = "y" -o "${answer}" = "Y" ] } ui_read() { local v="${1}" # Variable to set local i="${2}" # Info local d="${3}" # Default value # If empty, set default if [ -z "${!v}" ]; then eval "${v}=\"${d}\"" fi if ui_opt_given A; then return 0 else local value read -p "=> INPUT: ${i} [${!v}]? " value # If non-empty, set given value if [ -n "${value}" ]; then eval "${v}=\"${value}\"" fi fi } ui_commit() { # May be "add" or "diff" local pre=${1} local message=${2} local file=${3} # In snapshot mode, we never check in if ui_opt_given s; then echo "Snapshot mode: Skipping commit of \"${file}\"." return 0 fi while true; do # This will either prepare the new file for addition ("add"), or show the changes to commit ("diff") ui_sep0 wd_info ui_sep0 ui-auto-uvc ${pre} "${file}" || true if ui_ask "Commit \"${file}\" (say 'n' to open the file in ${EDITOR})"; then ui-auto-uvc -m"${message}" commit "${file}" return 0 else ${EDITOR} "${file}" || true fi done return 1 } # onExit functions; when using this, you should protect arguments # using \", for example # onExitAdd rm -v \"${ONEXITFILE}\" onExitAdd() { # singleton for poor guys if [ -z "${ONEXITFILE}" ]; then ONEXITFILE=$(mktemp -t "ui-auto-release-onexit-XXXXXXXX") if ui_opt_given K; then onExitAdd echo \"Temporary kept: ${ONEXITFILE}\" else onExitAdd rm -f \"${ONEXITFILE}\" fi fi echo "${@}" >>"${ONEXITFILE}" } onExit() { # Eval all lines in reverse [ -z "${ONEXITFILE}" ] || tac "${ONEXITFILE}" | ( while read; do eval "${REPLY}"; done ) } trap "onExit" EXIT # Wrapper around mktemp: Uses eval, so we do not have to use a # subshell which would not allow us to call onExit* funcs, or # hard-exit the program. # # Adds error handling, handles "-K" option and the user-configured # tmpdir. # # Synopsis in functions: # local tmp # ui_mktemp "tmp" [-d] [DIR] ui_mktemp() { local var="${1}" local arg="${2}" if [ -n "${3}" ]; then local tmpDir="${3}" else local tmpDir="${ui_auto_userpref_tmpdir}" fi local temp if temp=$(mktemp ${arg} ${tmpDir}/ui-auto-release-temp-XXXXXXXX); then if ui_opt_given K; then onExitAdd echo \"Temporary kept: ${temp}\" else onExitAdd rm -rf \"${temp}\" fi # Set variable; may be global or local eval "${var}=\"${temp}\"" return 0 fi ui_err "Fatal: Temporary creation error in '${tmpDir}'.\nPlease check system and/or 'ui_auto_userpref_tmpdir' setting in '~/.ui-auto.conf'." exit 5 } # # Sequence handling # SEQUENCE_ALL=(+vccheck +autonews +autochangelog +bs_prep +release_hook -bs_dist +bs_distcheck +tags +upload +notify +debian_tarball -debian_package) SEQUENCE=(${SEQUENCE_ALL[@]}) SEQUENCE_SNAPSHOT="-vccheck -tags -notify" SEQUENCE_DEBIAN="+debian_package" updateSequence() { local items="${1}" local item for item in ${items}; do local i local found=false for ((i=0; i < ${#SEQUENCE[*]}; ++i)); do if [ "${item:1}" = "${SEQUENCE[$i]:1}" -o "${item:1}" = "ALL" ]; then SEQUENCE[$i]="${item:0:1}${SEQUENCE[$i]:1}" found=true [ "${item:1}" = "ALL" ] || break fi done if ! ${found}; then ui_opt_error "No such sequence item: ${item}" exit 5 fi done } printSequence() { local printStatus="${1}" for s in ${SEQUENCE[@]}; do if [ "${s:0:1}" = "+" ]; then echo -n "${s:1}" if [ "${printStatus}" = "status" ]; then local status="sequent_${s:1}_status" echo -n "(${!status})" fi echo -n " " fi done } printSequenceResults() { echo ui_sep1 echo "Sequence results: $(printSequence status)" ui_sep1 } # # Configuration tools # CONF_CTER=0 conf_add() { CONF_NAME[${CONF_CTER}]="${1}" CONF_TYPE[${CONF_CTER}]="${2}" CONF_MODE[${CONF_CTER}]="${3}" CONF_SHORT[${CONF_CTER}]="${4}" CONF_DEFAULT[${CONF_CTER}]="${5}" CONF_LONG[${CONF_CTER}]="${6}" CONF_CTER=$((CONF_CTER+1)) } conf_print_item() { local i="${1}" local quiet="${2}" if [ "${CONF_NAME[$i]}" = "header" ]; then ${quiet} || echo -e "$(ui_sep0)\n [${CONF_TYPE[$i]}]\n\n${CONF_MODE[$i]}\n$(ui_sep0)" | ui_pprint "# " else ${quiet} || echo "# ${CONF_NAME[$i]}(${CONF_MODE[$i]},${CONF_TYPE[$i]}): ${CONF_SHORT[$i]}" if [ -n "${CONF_LONG[$i]}" ]; then ${quiet} || echo -e "\n${CONF_LONG[$i]}" | ui_pprint "# " fi echo "${CONF_NAME[$i]}=\"${CONF_DEFAULT[$i]}\"" fi ${quiet} || echo } conf_print() { for ((i=0; i < ${CONF_CTER}; ++i)) do conf_print_item ${i} ${1} done } conf_find() { local i for ((i=0; i < ${CONF_CTER}; ++i)) do local n="${CONF_NAME[$i]}" if [ "${n}" = "${1}" ]; then return 0 elif [[ "${1}" =~ "_deb_" ]]; then # For _deb_ vars, cope for dist diversifications. local d for d in stable unstable; do if [ "${n}_${d}" = "${1}" -o "${n}_${d}_snapshot" = "${1}" ]; then return 0 fi done fi done return 1 } # Check that all mandatory config items are configured conf_check() { local f="${1}" local res=0 local i for ((i=0; i < ${CONF_CTER}; ++i)) do if [ "${CONF_NAME[$i]}" != "header" ]; then local m=${CONF_MODE[$i]:0:1} local d=${CONF_MODE[$i]:2} if [ "${m}" = "m" ]; then # Ignore if we are in Debian Only Mode, and the variable is non-deb if boolSet "${ui_release_debianonly}" && ! [[ "${CONF_NAME[$i]}" =~ "_deb_" ]]; then continue; elif [ -n "${d}" ]; then # Mandatory at: Either "m@-d" or "m@ui_auto_release_vc_loc" if [ "-" = "${d:0:1}" ]; then # "-d": Mandatory if option set; ignore if not given if ! ui_opt_given "${d:1:1}"; then continue; fi else # "var": Mandatory if option var set; ignore if empty if [ -z "${!d}" ]; then continue; fi fi fi # Ok, this var seems to be mandatory now local n="${CONF_NAME[$i]}" if [ -z "${!n}" ]; then ui_err "Mandatory (${CONF_MODE[$i]}) config '${n}' not configured." res=1 fi fi fi done # Check that configured variables are actually known local v for v in $(grep -e "^[^#][^[:space:]]\+=" ${f} | cut -d= -f1); do if ! conf_find "${v}"; then ui_err "Unknown variable in \"${f}\": '${v}'. Typo error?" res=1 fi done return ${res} } # # Status check # status_check() { local errs=0 conf_check "$(ui_opt_get f)" # Forbid version *.0.* if [ ${package_version_major} -eq 0 -a ${package_version_minor} -eq 0 ] 2>/dev/null; then ui_err "Versions 0.0.* are forbidden; start projects with 0.1.0 (unstable)." return 1 fi # VC ui-auto-uvc check_installation # BS boolSet "${ui_release_debianonly}" || ui-auto-ubs check_installation # Debian tests if ui_opt_given d; then ui_check_installed "debchange --version --force-distribution" ui_check_installed "dput --help" fi } # Info about current wd wd_info() { echo "WD=$(pwd)" echo "VC=$(ui-auto-uvc -s)/$(ui-auto-uvc path)" } # # Config info # config_info_vc() { cat <"${news_pure}" if has_option header; then sed -n "1,$((topRelease-1))p" "${file}" fi else cat "${file}" >"${news_pure}" fi # Compute start/end of requested release local start=$(($(grep --line-number "${regex}" "${news_pure}" | head -n1 | cut -d: -f1))) if [ ${start} -lt 1 ]; then # Not found if has_option invert; then cat "${news_pure}" else ui_err "No release for ${regex}." return 1 fi else local tmp ui_mktemp tmp sed "1,$((start))d" "${news_pure}" >"${tmp}" local length=$(($(grep --line-number "^${package}-" ${tmp} | head -n1 | cut -d: -f1)-1)) if [ ${length} -eq -1 ]; then # no next release -- use file length length=$(($(cat "${tmp}" | wc -l))) fi local end=$((start+length)) if has_option invert; then sed "${start},${end}d" "${news_pure}" else sed -n "${start},${end}p" "${news_pure}" fi fi } sequent_autonews_info() { cat <"${new_news}" Summaries of important changes how ${package} is used or behaves. See ChangeLog for more details. Downloads: o Generic: $(config_download_loc) o Current: $(config_download_loc)/${package_dist}/${package_tarball} $(ui_sep1) EOF # New release line local release_line="${package}-${package_version} (${package_dist}) ($(date --rfc-2822)):" local existing_news=$(do_getnews NEWS "${package_version}") if [ -n "${existing_news}" ]; then local existing_head=$(echo "${existing_news}" | head -n1) if ! echo "${existing_head}" | grep --quiet --ignore-case "unreleased"; then ui_warn "Already released?\nRe-editing existing NEWS section w/o UNRELEASED tag: ${existing_head}." ui_warn "Please double-check your package version ${package_version} and NEWS file before continuing." ui_ask "Continue (will re-edit ${existing_head})" fi echo "${existing_news}" | sed "s/^${package}-.*/${release_line}/" >>"${new_news}" else # Auto NEWS # If in snapshot mode, auto-restore NEWS on exit if ui_opt_given s; then local news_restore=$(_ui_restore_file NEWS) || exit 9 onExitAdd "${news_restore}" fi # Ponder release type local human_readable_release_type="Unknown" if [ "${package_version_tag}" = "none" ]; then human_readable_release_type="Snapshot" elif [ "${package_branch_tag}" != "none" -o ${package_version_patch} -eq 0 ]; then human_readable_release_type="Initial" else human_readable_release_type="Patched" fi # Ponder last released values from current NEWS local last_release_version="" local last_release_date="" local last_release_date_ymd="" while read; do last_release_date="$(printf "%s" "${REPLY}" | cut -d'(' -f3 | cut -d')' -f1)" if [ "${last_release_date^^}" != "UNRELEASED" ]; then last_release_version="$(printf "%s" "${REPLY}" | cut -d' ' -f1 | rev | cut -d'-' -f1 | rev)" if ! last_release_date_ymd="$(date --date="${last_release_date}" +%Y%m%d)"; then ui_warn "Date string parsing failed. Falling back to NEWS file modification time (usually incorrect)." last_release_date_ymd="$(date --reference="NEWS" +%Y%m%d)" fi break fi last_release_version="" done < <(grep "^${package}-.\+ (.\+) (.\+)" "NEWS") printf "I: Last release info: %s/%s/%s" "${last_release_version}" "${last_release_date}" "${last_release_date_ymd}" # Ponder command for Changes local since_tag="NO_AUTOMATIC_SINCE_TAG_FOUND" if [ -n "${last_release_version}" ]; then since_tag="$(printf "${package_cap}_${last_release_version}" | tr "." "_")" if [ "$(ui-auto-uvc -s)" = "svn" ]; then # Extrawurscht for SVN; does not really work with tags, so we need the revision from the remote TAG URL since_tag=$(svn info "${ui_release_vc_loc_tags}/${since_tag}" | grep "^Last Changed Rev:" | cut -d":" -f2- | tr -d "[:space:]") fi local auto_news_cmd="ui-auto-uvc news ${since_tag}" else local auto_news_cmd="printf PLEASE_ADD_CHANGES_HERE" fi printf "\n" printf "N: CREATING automated 'Changes' section from VC changes ('first-line summary')\n" printf "N: The default is merely guessed from the NEWS file.\n" printf "N: Should work fine though for standard cases, but you can FIX it if needed now.\n" printf "N: We will just continue if this fails (but you need to deal with its output, fixing the file by editing manually).\n" ui_read auto_news_cmd "Command to get NEWS-like Changes from VC" cat <>"${new_news}" ${release_line} ${human_readable_release_type} ${package_dist} release. Changes since ${last_release_version}: $(${auto_news_cmd} || printf "AUTONEWS COMMAND '%s' FAILED.\n\nPLEASE_FIX_OR_ADD_CHANGES_MANUALLY_HERE" "${auto_news_cmd}") $(ui_sep0) EOF fi do_getnews NEWS "${package_version}" invert >>"${new_news}" cat "${new_news}" >NEWS ui_commit diff "${package_ci_msg}: News for ${package_version}." "NEWS" } sequent_autochangelog_info() { cat <ChangeLog ui_commit diff "${package_ci_msg}: ChangeLog updated from version control." "ChangeLog" } do_check_old_tarball() { local tarball="${1}" if [ -e "${tarball}" ]; then ui_warn "Already released?\nFound: ${tarball}." ui_ask "Continue (will remove tarball)" "N" rm -v -f "${tarball}" fi } sequent_bs_prep_info() { cat < "~" local version="${current_version}~${snaprev}" else # New cl section; must be greater than the former release => "." local version="${current_version}.${snaprev}" fi else seemsBackport() { [[ ! "${current_dist}" =~ "~" ]] && [[ "${ui_release_deb_revapx}" =~ "~" ]] } # Release: On unreleased, we just use the current version, else inc first if [ "${current_dist}" = "UNRELEASED" ] || seemsBackport; then local version="${current_version}" else local version=$(incDebianVersion "${current_version}") fi fi else # STANDARD MODE: We always have a new upstream version local message="New upstream ${package_version} (${package_dist})" if ui_opt_given s; then # Snapshot: We can use the short Debian revision, as upstream snaphot version already sorts fine local version="${package_version}-${snaprev_short}" else # Release: We have a new upstream, so default is just 1. local version="${package_version}-1" fi # Import orig tarball if configured if [ -n "${ui_release_deb_dbuild_import}" ]; then ${ui_release_deb_dbuild_import//%o/${package_tarball_deb_abs}} fi fi version="${version}${ui_release_deb_revapx}" local debchange_arg="--newversion ${version}" if [ "${current_dist}" = "UNRELEASED" ]; then # Re-use not-yet releases section; unfortunately we cannot # change version of existing section via debchange sed --in-place "0,/${current_version}/s//${version}/" debian/changelog debchange_arg="--append" message="${message}: Reusing UNRELEASED section formerly versioned ${current_version}" fi local autoname="Automated changes by $(basename $0)" # Start or update top level section DEBFULLNAME="${autoname}" \ debchange --force-bad-version --force-distribution \ --distribution="${ui_release_deb_dist}" \ ${debchange_arg} "${message}" # On autonews, add upstream NEWS if boolSet "${ui_release_autonews}"; then # Some ridiculous cosmetic care about the format in Debian changelogs: # - debchange splits incoming messages at 68 chars # - we can't tell debchange that we want "one entry", so we want # to prefix all entries with "UP: " (4 chars) to mark upstream # changes. # I.e., we need to fold at 68-4=64 chars; hence, this is also # the recommended line length for NEWS files. do_getnews "${package_dir}/NEWS" | head --lines=-1 | fold --width=64 | ui_pprint "UP: " | ( while read; do DEBFULLNAME="${autoname}" debchange --append "${REPLY}" done ) fi # Add all project-configured changelog entries echo -e "${ui_release_deb_clentries}" | ( while read; do DEBFULLNAME="${autoname}" debchange --append "${REPLY}" done ) # Append as normal user; this will also change the finalize # line back to the actual user so wen can sign etc. debchange --append "ui-auto-release run by $(id -u -n)@$(hostname -f)." # When not in auto-mode, open editor, so the actual user may do changes manually if ! ui_opt_given A; then debchange --append fi # Checkin change when not in snapshot mode ui_commit diff "${package_ci_msg}: Auto Debian package changes." debian/changelog # Re-read changelog's top-level version in case it was changed manually version=$(dpkg-parsechangelog | grep "^Version" | cut -d" " -f2-) echo "Running \"${package_deb_buildpackage}\" in \"$(pwd)\"..." ${package_deb_buildpackage} # Build success. Find .changes file, and set find changes (find as we cannot know what arch the upload is) local changes=$(find ${package_dir_deb}/${ui_release_deb_pkg_loc} -type f -name "${package_deb}_${version}_*.changes") if [ -z "${changes}" ]; then ui_err "Fatal: buildpackage run ok, but no changes found in ${package_dir_deb}/${ui_release_deb_pkg_loc}" exit 1 fi local chbase=$(basename "${changes}") echo "Debian package built: ${chbase}." # Try hard to actually sign the changes file if ! ${ui_auto_userpref_debsign} "${changes}"; then ui_warn_rsign ui_auto_userpref_debrsign if [ -n "${ui_auto_userpref_debrsign}" ]; then ${ui_auto_userpref_debrsign} "${changes}" || true fi fi # Local files built: Handle local removal mode now if ui_opt_given R; then # Uhh -- ugly but should work local files="${chbase} $(basename "${chbase}" changes)upload $(grep --max-count=1 "^Files:" -A100 ${changes} | grep "^ .\+" | rev | cut -d" " -f1 | rev)" for f in ${files}; do onExitAdd rm -v -f \"${package_dir_deb}/${ui_release_deb_pkg_loc}/${f}\" done fi # Handle upload via dput if ui_ask "Upload Debian package \"${chbase}\" to \"${ui_release_deb_dput}\" (${ui_release_deb_dist})"; then while ! dput ${ui_auto_userpref_dput_options} "${ui_release_deb_dput}" "${changes}"; do ui_warn "dput failed (see above). You may change dput options and destination now and retry.\n\\ Use user configuration ~/.ui-auto.conf, option 'ui_auto_userpref_dput_options' to configure permanently." if ui_opt_given A; then # Automatic mode: error return 1 else # Interactive: Retry ui_read ui_auto_userpref_dput_options "dput options (use 'S' to skip uploading)" [ "${ui_auto_userpref_dput_options}" != "S" ] || break ui_read ui_release_deb_dput "dput destination" fi done fi } autoDetectBootstrapVC() { # subshell so we don't change anything ( # Cd to the directory of the conffile, so we can compute the vc # system if s.th. like -f x/y/xy.conf was used outside project dir # (ui-auto-uvc -s) cd $(dirname "$(ui_opt_get f)") echo -n "$(ui-auto-uvc -s)/$(ui-auto-uvc path)" ) 2>/dev/null } # Check if the given conffile is in the current directory. conffile_is_local() { [ "$(readlink --canonicalize "$(pwd)")" = "$(readlink --canonicalize "$(dirname "$(ui_opt_get f)")")" ] } do_vc_bootstrap() { # Long function ;(, but the only use is to compute whether we need # to check for VC sync before bootstrapping. needVcCheck() { local vcs="${1}" # Don't check on -C (explicit checkout), or on "local" vc if ui_opt_given C || [ "${vcs}" == "local" ]; then return 1 else # Don't check if we are in a different dir than the config file (i.e., outside the project dir). if ! conffile_is_local; then return 1 fi fi # Per default, do check return 0 } local vcs=$(echo "${1}" | cut -d/ -f1) local vcpath=$(echo "${1}" | cut -d/ -f2-) local vcCheck="${2}" # Ask about uncommitted changes before strapping (but not for # "local" vc system or if we strap explicitly (-C)). if needVcCheck "${vcs}" && ! ui-auto-uvc check_sync; then ui_ask "Checkout mode(${vcs}): Above local changes will not be in release. Ignore" "N" fi # Create and work in temporary directory local buildDir ui_mktemp buildDir -d cd "${buildDir}" echo "VC bootstrapping [${vcs}] ${vcpath} in ${buildDir}..." # Create checkout and work there ui-auto-uvc -S "${vcs}" checkout "${vcpath}" "checkout" cd checkout ui_sep0 } # Parse/set _deb_ vars that are subject to diversification by appending "stable|unstable[_snapshot]" parse_deb_vars() { for n in vc_tag orig_commit dbuild dbuild_options dbuild_import dist revapx clentries dput; do # Set default local v="ui_release_deb_${n}" local value="${!v}" # Set dist config if configured v="${v}_${package_dist}" [ -z "${!v}" ] || value="${!v}" # Set dist snapshot config if needed/configured if ui_opt_given s; then v="${v}_snapshot" [ -z "${!v}" ] || value="${!v}" fi # Overwrite global eval "ui_release_deb_${n}=\"${value}\"" done } # Info on a sequent sequentInfo() { ui_sep1 ( wd_info && echo && sequent_${1}_info 2>/dev/null ) | ui_pprint "Sequent ${1}: " } # Run a sequent sequentRun() { ui_sep1 echo "=> Sequent \"${sequent}\":" ui_sep1 sequent_${1} } # Ponder global variables ponder_package_globals() { package_vc="$(ui-auto-uvc -s)" if [ "function" = "$(type -t ui_release_hook)" ]; then package_hook="true" else package_hook="false" fi # Actually parse package name and major/minor/patch versions eval $(ui-auto-ubs parse) # Snapshot mode: Patch package version if ui_opt_given s; then if ui_opt_given c; then TMP_SNAP="$(ui_opt_get S)$(ui-auto-uvc version)" else TMP_SNAP="$(ui_opt_get S)$(hostname)" fi # Patch build system, and re-read vars BS_RESTORE=$(ui-auto-ubs patch "${package_version}${ui_release_snapsep}${TMP_SNAP}") || exit 9 onExitAdd ${BS_RESTORE} eval $(ui-auto-ubs parse) fi # Set package's dist package_dist="" if boolSet "${ui_release_manualdist}"; then package_dist=$(ui_opt_get T) else # Sanity check only if ui_opt_given T; then ui_err "Auto dist mode: You can't use -T here.\nIf you really want to switch your project\ to manual mode,\nadd 'ui_release_manualdist=true' to .ui-auto.conf." exit 9 fi # Standard convention: EVEN(MINOR) == stable. if [ $((package_version_minor % 2)) -eq 0 ]; then package_dist="stable" else package_dist="unstable" fi fi dist_ok "${package_dist}" # Set package's tags/branches to add on release package_branch_tag="none" package_version_tag="none" if ! ui_opt_given s; then package_version_tag=$(echo ${package_cap}_${package_version} | tr "." "_") if [ "${package_dist}" = "stable" -a ${package_version_patch} -eq 0 ]; then # Seems to be an initial stable release like '0.2.0': Automatically add a stable branch package_branch_tag="${package_cap}_${package_version_major}_${package_version_minor}_PATCHES" fi fi # Global package tarball vars package_dir=$(pwd) package_tarball="${package}-${package_version}.tar.gz" package_tarball_abs=$(readlink --canonicalize-missing "${STOREDIR}/${package_tarball}") } # Ponder global Debian variables ponder_debian_globals() { # package_dist used used for Debian mode too; let's try to set it if unset yet (debian only mode) if [ -z "${package_dist}" ]; then package_dist=$(ui_opt_get T) dist_ok "${package_dist}" fi # Debian package name; default is package name if [ -n "${ui_release_deb_name}" ]; then package_deb="${ui_release_deb_name}" else package_deb="${package}" fi # Set package_dir_deb if boolSet "${ui_release_debianonly}"; then # In Debian-only mode, we must be called from DST, and the debdir is always .. package_dir_deb=$(readlink --canonicalize-missing "..") echo "I: Debian only mode: Setting debdir to parent: ${package_dir_deb}" else USER_PROJECT_DEBDIR=$(echo "${package}" | tr "-" "_")_debdir if [ -n "${!USER_PROJECT_DEBDIR}" ]; then # Per project user-configured debdir package_dir_deb="${!USER_PROJECT_DEBDIR}" elif [ -n "${ui_auto_userpref_debdir}" ]; then # Global user-configured debdir package_dir_deb="${ui_auto_userpref_debdir}/${package_deb}" else # Nothing configured! Use default. package_dir_deb="${STOREDIR}/ui-auto-release-debian/${package_deb}" fi fi package_dir_deb_abs=$(readlink --canonicalize-missing "${package_dir_deb}") package_tarball_deb="${package_deb}_${package_version}.orig.tar.gz" package_tarball_deb_abs="${package_dir_deb_abs}/${ui_release_deb_orig_loc}/${package_tarball_deb}" # Debian per-dist vars with defaults parse_deb_vars package_deb_buildpackage="${ui_release_deb_dbuild} -sa -us -uc ${ui_auto_userpref_dbuild_options} ${ui_release_deb_dbuild_options} $(ui_opt_get D)" # Auto-override options per buildtool used case "${package_deb_buildpackage}" in *svn-buildpackage*) package_deb_buildpackage="${package_deb_buildpackage} \ --svn-override=origDir=$(dirname "${package_tarball_deb_abs}"),buildArea=${package_dir_deb_abs}/${ui_release_deb_pkg_loc}" echo "[svn-bp] origDir option overridden: ${package_deb_buildpackage}" ;; esac } # # Start processing # # Release configuration conf_add header "ui-auto-release configuration" "\ Needed if you want to use ui-auto-release. Note: You can also add a 'release hook' function (for very special requirements) here; for autotools, this is called between ./configure and distcheck. Example: function ui_release_hook() { echo 'Release hook stub (doing nothing).' }" conf_add ui_release_debianonly bool o "Debian only mode" "false" "\ Set this to true if your .ui-auto.conf is for Debian package building only. In a nutshell, this flag makes it possible to use the sequent 'debian_package' to automatically produce packages for Debian native packages [1] or Debian packages you maintain but not controlling upstream [2]. Never use this flag in a 'real upstream' software package. You may skip all configuration but the Debian configuration below. For use case [1], you can just add a '.ui-auto.conf' in the top level source tree like in an ordinary project. For use case [2], it's recommended to maintain the '.ui-auto.conf' under debian/ to avoid any possible conflicts with upstream." conf_add ui_release_vc_loc string m "Version control system location (for syntax, see vcpath docs in 'ui-auto-uvc -H')" conf_add ui_release_vc_loc_tags string m "Version control system tags location (for syntax, see vcpath docs in 'ui-auto-uvc -H')" conf_add ui_release_vc_loc_branches string m "Version control system branches location (for syntax, see vcpath docs in 'ui-auto-uvc -H')" conf_add ui_release_upload_loc string o "Scp location where to upload." "" "\ If not set, upload is skipped with a warning. Example: 'tarballs@my.tarballs.org:public_html'" conf_add ui_release_download_loc string m@ui_release_upload_loc "Download location." "" "\ A URL base (i.e. w/o 'PROJECT/stable|unstable') from where to download tarballs. This will be used for notifications to create convenience download URLs. Example: 'http://my.tarballs.org/~tarballs'" conf_add ui_release_download_loc_append_package bool o "Append package name to download location (disable for SF)." "true" conf_add ui_release_manualdist bool o "Manually set distribution type (stable,unstable) on release." "false" "\ Setting this flag means you have to use the type each time you release using the -T options, and you won't get automatic branches after initial stable releases. Per default, ui-auto-release uses the MAJOR.MINOR.PATCH with MINOR even=stable and MINOR odd=unstable convention to automate this. If you don't like this, enable manualdist." conf_add ui_release_snapsep string o "Snapshot separator." "." "\ In snapshot mode, this string goes between the current project's version and the snapshot appendix. Practically, to get versioning for snapshots right, you have these two options, implicating on your policy on when to set the project's version: '.': Set new version before you release. '~': Set new upcoming version _after_ you release." conf_add ui_release_autochangelog bool o "Auto-generated ChangeLog from VC on release." "false" conf_add ui_release_autonews string o "Automatically handle NEWS sections, and edit NEWS on release." "false" conf_add ui_release_notify string o "EMail addresses to notify on releases (comma-separated)." " " "\ When empty, EMail notify is skipped; when set, mails are sent to all (comma separated) email addresses given. In interactive mode you also may give more addresses on the command line. If you want to send notifies, but give addresses manually each time, set this to one space (' ')." # Debian configuration conf_add header "ui-auto-release Debian configuration" "\ Needed only if you want ui-auto-release to automatically deal with Debian packages on project releases. Killer feature is to be able to automatically produce 'upstream snapshot Debian packages' in one go, even unattended in a nightly cron job." conf_add ui_release_deb_name string o "Name of Debian (source) package" "" "\ Set this only in case the Debian (source) package name differs from the (upstream) project name." conf_add ui_release_deb_orig_loc string o "Directory to put auto-generated Debian tarballs." "" "\ Relative to the Debian directory (see user specific ~/.ui-auto.conf on how to configure this, default would be '../ui-auto-release-debian/PACKAGE'). If this is set to non-empty (use '.' for top level), a 'Debian orig' tarball will be put there in each release run (even without -d). Usually, this is just 'tarballs'." conf_add ui_release_deb_pkg_loc string m@-d "Where Debian packages live after building." "build-area" "\ Relative to the hardcoded Debian directory (see above)." conf_add ui_release_deb_vc string m@-d "Version control system used for Debian packaging." "svn" "\ See 'ui-uvc -h' for supported systems. This is needed as we have to boostrap the Debian packaging from VC." conf_add ui_release_deb_vc_loc string m@-d "Version control system location (vc specific)" # Debian configuration: Dist diversifications conf_add header "ui-auto-release Debian configuration: Distribution diversification" "\ Each of the following variables may be given as NAME : DEFAULT. NAME_unstable : For unstable; falls back to DEFAULT. NAME_unstable_snapshot: For unstable snapshots; falls back to unstable, then DEFAULT. NAME_stable : For stable; falls back to DEFAULT. NAME_stable_snapshot : For stable snapshots; falls back to stable, then DEFAULT. We explain the DEFAULTs only here; meaning is the same." conf_add ui_release_deb_vc_tag string m@-d "VC tag to use." "" "\ Example for svn-*: 'trunk'" conf_add ui_release_deb_orig_commit string o "Whether to check-in orig tarballs via VC." "false" "\ With some setups, orig tarballs are checked into VC for convenience; you may automate this with release by enabling this. NOTE: You must have a proper layout with VC support for the tarball directory beforehand, else this will fail!" conf_add ui_release_deb_dbuild_import string o "Command to import new upstream tarball." "" "\ Set this only if you need to import new upstreams to version control with your *-buildpackage tool or setup (for svn-*, 'mergeWithUpstream' mode is recommended which obsoletes this). If you add this, %o will be replaced with the new orig tarball. Example for svn: 'svn-upgrade %o'" conf_add ui_release_deb_dbuild string m@-d "Command to build the Debian package" "" "\ Example for svn-*: 'svn-buildpackage -rfakeroot -S'" conf_add ui_release_deb_dbuild_options string o "Additional *-buildpackage options." conf_add ui_release_deb_dist string m@-d "Distribution to use (Debian changelog)." conf_add ui_release_deb_revapx string o "Revision appendix (Debian changelog)" "" "\ Will be appended to the Debian revision generated automagically from the Debian VC." conf_add ui_release_deb_clentries string o "Pre-configured changelog entries (use \n to seperate them)." "" "\ Only use this if you have special needs." conf_add ui_release_deb_dput string m@-d "Upload target for dput" # ui-auto-env configuration conf_add header "ui-auto-env|shell|update configuration" "\ Needed only if you want support to develop directly from version control working directories with several inter-dependent projects." conf_add ui_env_library_paths string o "Library paths (were .so/.a files live)" "" "\ Example: 'src/mylib/.libs src/extralib/.libs'" conf_add ui_env_include_paths string o "Include paths (root dirs so that the include synaptic work)" "" "\ Example: 'src'" conf_add ui_env_program_paths string o "Program paths (were executables live)" conf_add ui_env_m4_macro_paths string o "Paths to m4 macros the project wants to export" # Options ui_opt_init "Release an 'ui-auto-enabled' project." \ "Notes: Unless in manual checkout mode (-C), always run from the package's top-level source tree. Unless in automatic mode (-A), ui-auto-release prints status information and prompts you before doing anything. All modes may be combined arbitrarily. See '-P' for configuration documentation." ui_opt_add "c" "Checkout mode: Work in a temporary fresh VC checkout (not wd)." ui_opt_add "C:" "Checkout mode with explicit VC information; syntax 'VCS/VCPATH'." "" "c" "\ - Please see 'ui-auto-uvc --help' an explanation on available VCSes and VCPATH syntax. - Use 'local/'pwd'' (pwd in backticks) explicitly to just get a copy of your current project wd to work in." \ "expert" ui_opt_add "s" "Snapshot mode: Do a snapshot release." "" "" "\ - Auto-generates snapshot versions. - Omit vc checkins. - Omit sequents: ${SEQUENCE_SNAPSHOT}." ui_opt_add "S:" "Snapshot mode with manual version appendix." "snapshot$(date -u -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d%H%M%S)" "s" "\ - Example: '~rc1' when your version is already bumped to the upcoming stable." \ "expert" ui_opt_add "d" "Debian mode: Do a subsequent Debian package release." "" "" "\ - Taints sequence: ${SEQUENCE_DEBIAN}." ui_opt_add "D:" "Debian mode with extra options for the *-buildpackage run." " " "d" "" "expert" ui_opt_add "Q:" "SeQuence tainting: Manually add (+) or remove (-) sequents." "" "" "\ Meta sequent 'ALL' may be used to affect all sequents. Available sequents: ${SEQUENCE_ALL[*]}" \ "expert" ui_opt_add "A" "Automatic (non-interactive) mode: Assume defaults for all questions." "" "" "" "expert" ui_opt_add "T:" "Manually set the distribution type: Either 'stable' or 'unstable'." "" "" "" "expert" ui_opt_add "f:" "Project config file location." "./.ui-auto.conf" "" "" "expert" ui_opt_add "F:" "User config file location." "$(ui_reproducible_builds_home)/.ui-auto.conf" "" "" "expert" ui_opt_add "n" "No action mode: Don't actually run sequents, just show what we would do." "" "" "" "expert" ui_opt_add "R" "Remove local release files on exit." "" "" "" "expert" ui_opt_add "K" "Keep temporary files and directories." "" "" "" "expert" ui_opt_add "p" "Print sample project configuration with default values." "" "" "" "expert" ui_opt_add "P" "Like -p, but verbosely (i.e., with documentation)." "" "" "" "expert" ui_opt_add "I" "Print all sequent docs." "" "" "" "expert" ui_opt_parse "$@" # Extra actions if ui_opt_given p; then conf_print true exit 0 elif ui_opt_given P; then conf_print false exit 0 elif ui_opt_given I; then for s in ${SEQUENCE_ALL[@]}; do sequentInfo "${s:1}" done exit 0 fi # Sanity check on root user if [ "$(id -u)" = "0" ]; then ui_opt_error "You are root, go away" fi # Set user global configuration defaults ui_auto_userpref_tmpdir="/tmp" ui_auto_userpref_nosign=false ui_auto_userpref_sign="gpg --sign --detach --armor --output=%s %t" ui_auto_userpref_rsign="" ui_auto_userpref_dbuild_options="" ui_auto_userpref_debdir="" ui_auto_userpref_debsign="debsign" ui_auto_userpref_debrsign="" # Read user configuration (if exists). [ ! -e "$(ui_opt_get F)" ] || . "$(ui_opt_get F)" ui_warn_rsign ui_auto_userpref_rsign ui_warn_rsign ui_auto_userpref_debrsign # VC bootstrap first if needed STOREDIR=$(pwd)/.. if ui_opt_given c; then # STOREDIR: On excplit checkout (-C) or when the given conffile is not in wd, store to current directory. if ui_opt_given C || ! conffile_is_local; then STOREDIR=$(pwd) fi # Strap explicitly, or automatically if ui_opt_given C; then do_vc_bootstrap "$(ui_opt_get C)" else do_vc_bootstrap "$(autoDetectBootstrapVC)" fi fi # Set project default values eval $(conf_print true) # Read given project configuration (must exist). set +e if ! . "$(ui_opt_get f)"; then ui_err "Error reading project config. Possible causes:" ui_err "* You are not in a project directory." ui_err "* You have no config file yet: Check '-p|-P' for templates." ui_err "* You used checkout mode (-c), but your config is not in VC? Check in, or [expert] use '-f \$(pwd)/$(ui_opt_get f)'." exit 100 fi set -e # Implicitly set "-d" (Debian Mode) on Debian Only Mode if boolSet "${ui_release_debianonly}"; then ui_opt_set d "true" fi # For EDITOR, fall back to VISUAL, the vi. if [ "${EDITOR}" = "" ]; then if [ "${VISUAL}" = "" ]; then EDITOR="vi" else EDITOR="${VISUAL}" fi fi # Set VISUAL to EDITOR to force our preference for EDITOR VISUAL=${EDITOR} # Ponder global variables boolSet "${ui_release_debianonly}" || ponder_package_globals ponder_debian_globals # Checkin message package_ci_msg="[ui-auto-release run by $(id -n -u)@$(hostname -f)]" # # Compute actual sequence for this run # # Options -s, -d ! ui_opt_given s || updateSequence "${SEQUENCE_SNAPSHOT}" ! ui_opt_given d || updateSequence "${SEQUENCE_DEBIAN}" # Config news, changelog boolSet "${ui_release_autonews}" || updateSequence "-autonews" boolSet "${ui_release_autochangelog}" || updateSequence "-autochangelog" ${package_hook} || updateSequence "-release_hook" [ -n "${ui_release_upload_loc}" ] || updateSequence "-upload" [ -n "${ui_release_notify}" ] || updateSequence "-notify" [ -n "${ui_release_deb_orig_loc}" ] || updateSequence "-debian_tarball" # Debian only mode is special, only run debian_package ! boolSet "${ui_release_debianonly}" || updateSequence "-ALL +debian_package" # Last, with option to overwrite: Option -Q ! ui_opt_given Q || updateSequence "$(ui_opt_get Q | tr ',' ' ')" # Status check status_check # Overview config_info_overview # Show sequence, and ask about how to go on ui_read CONTINUE "A=Continue in automatic mode, c|C=Continue?" "C" case ${CONTINUE} in c|C) ;; A) echo "Setting automatic mode..." ui_opt_set A "true" ;; *) exit 0 ;; esac # Always print sequence results onExitAdd printSequenceResults # Run sequence for sequent in $(printSequence); do sequentInfo "${sequent}" if ui_ask "Run sequent \"${sequent}\""; then while true; do # Run all sequents in a subshell; this means nothing will (and # can!) taint other sequents by setting global vars. Also, using # "-e", this means error handling is enabled in the subshell, but # we can test the result of the subshell ("if sequentRun; ..." will # DISABLE "-e" error handling). # For bash 4.0, we need workarounds with set -+e set +e ( set -e if ui_opt_given n; then echo "No action mode: Would run sequent \"${sequent}\"" else sequentRun "${sequent}" fi ) RET=$? set -e if [ ${RET} -eq 0 ]; then # Success, continue with next sequent eval "sequent_${sequent}_status=ok" break else # Failure; lets see what we can do ui_sep0 ui_err "Sequent \"${sequent}\" failed. Please try to fix errors above." # Always fail in auto-mode, else ask if ui_opt_given A; then ANSWER="C" else read -p "=> Sequent \"${sequent}\": (R)etry, (I)gnore or (C)ancel? [R] " ANSWER fi ANSWER=$(echo "${ANSWER}" | tr "[ric]" "[RIC]") case ${ANSWER} in C) eval "sequent_${sequent}_status=ERR" ui_err "Sequence \"$(printSequence)\"\nfailed at sequent \"${sequent}\"." exit 3 ;; I) eval "sequent_${sequent}_status=ERR-IGN" ui_warn "Ignoring failed sequent \"${sequent}\"." break ;; esac fi done else # Skip, continue with next sequent ui_warn "Skipping sequent \"${sequent}\"." eval "sequent_${sequent}_status=SKIP" fi done exit 0 ui-auto-1.2.10/src/tools/PaxHeaders.22674/template.deb_git+mbd-1.00000644000000000000000000000013213222446706021040 xustar0030 mtime=1514819014.030379833 30 atime=1514982133.930694293 30 ctime=1514988235.033865646 ui-auto-1.2.10/src/tools/template.deb_git+mbd-1.00000644000175000017500000000540613222446706022126 0ustar00absurdabsurd00000000000000#---------------------------------------------------------------------- # [ui-auto-release Debian configuration: Template for git+mini-buildd] #---------------------------------------------------------------------- # From mini-buildd, so we can do a little magic for the revapx __mbdBasedist2Version() { # Known base distributions local woody=30 local sarge=31 local etch=40 local lenny=50 local squeeze=60 local wheezy=70 local jessie=80 local stretch=90 local buster=BUSTER local sid=SID local version=${!1} if [ -z "${version}" ]; then echo "W: Template git+mbd: Unknown base dist ${1}." >&2 fi echo -n "${version}" } __VCLOC="${1}" __MBDID="${2}" __REPOID="${3}" __BASEDIST="${4}" __BPDISTS="${5}" __REVAPX="~${__REPOID}$(__mbdBasedist2Version ${__BASEDIST})" for __d in ${__BPDISTS}; do __BPDISTS_S="${__d}-${__REPOID}-unstable,${__BPDISTS_S}" __BPDISTS_S_SNAP="${__d}-${__REPOID}-snapshot,${__BPDISTS_S_SNAP}" __BPDISTS_U="${__d}-${__REPOID}-experimental,${__BPDISTS_U}" done # Usage check if [ -z "${__VCLOC}" -o -z "${__REPOID}" -o -z "${__BASEDIST}" ]; then echo "E: Wrong template args. Usage: . template.deb_git+deb+mbd-1.0 VCLOC MBDID REPOID BASEDIST [BPDISTS]" >&2 exit 1 fi # Debian dir: We use git-buildpackage default behaviour. __GBP_BASE="gbp " gbp --version >/dev/null 2>&1 || __GBP_BASE="git-" ui_release_deb_vc="git" ui_release_deb_vc_loc="${__VCLOC}" ui_release_deb_orig_loc="." ui_release_deb_pkg_loc="." ui_release_deb_dbuild_import="${__GBP_BASE}import-orig --no-interactive %o" # Common values for all Debian releases ([un]stable[snapshot]) ui_release_deb_vc_tag="master" ui_release_deb_dbuild="${__GBP_BASE}buildpackage -rfakeroot -S" ui_release_deb_dput="mini-buildd-${__MBDID}" # Values for "unstable" ui_release_deb_dbuild_options_unstable="--git-tag" ui_release_deb_dist_unstable="${__BASEDIST}-${__REPOID}-experimental" ui_release_deb_revapx_unstable="${__REVAPX}+0" [ -z "${__BPDISTS_U}" ] || ui_release_deb_clentries_unstable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_U}" # Don't tag for snapshots, and ignore the never-checked-in changes ui_release_deb_dbuild_options_unstable_snapshot="--git-ignore-new" # Values for "stable" ui_release_deb_dbuild_options_stable="--git-tag" ui_release_deb_dist_stable="${__BASEDIST}-${__REPOID}-unstable" ui_release_deb_revapx_stable="${__REVAPX}+1" [ -z "${__BPDISTS_S}" ] || ui_release_deb_clentries_stable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_S}" # Treat stable snapshots like unstable snapshots ui_release_deb_dbuild_options_stable_snapshot="--git-ignore-new" ui_release_deb_dist_stable_snapshot="${__BASEDIST}-${__REPOID}-snapshot" ui_release_deb_revapx_stable_snapshot="${__REVAPX}+0" [ -z "${__BPDISTS_S_SNAP}" ] || ui_release_deb_clentries_stable_snapshot="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_S_SNAP}" ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-update0000644000000000000000000000007412471405200017434 xustar0030 atime=1514905243.014041576 30 ctime=1514988235.025865826 ui-auto-1.2.10/src/tools/ui-auto-update0000755000175000017500000000344012471405200020514 0ustar00absurdabsurd00000000000000#!/bin/bash -e PATH="${PATH}:$(dirname $0):/usr/local/share/ui-auto:/usr/share/ui-auto" . ui-libopt.sh ui_opt_init "Update ui-auto enabled projects." ui_opt_add "d" "Also run for the project's dependencies." ui_opt_add "D" "Only run for the project's dependencies." ui_opt_add "c" "Also clean project(s)." ui_opt_add "u" "Also update vc working directories." ui_opt_add "t" "Test: Also run the 'check' target." ui_opt_add "T" "Test: Also run the 'distcheck' target." ui_opt_add "a" "'All project updates' shortcut." "" "c u" ui_opt_add "A" "'All project updates w/ dependencies' shortcut." "" "d c u" ui_opt_addPos ID "A project id as configured in '~/.ui-auto.conf'." ui_opt_parse "$@" serialCall() { local list="${1}" # Handle down all options but dependency handling local opts=$(ui_opt_assemble "c u t T") for p in ${1}; do ui-auto-update ${opts} "${p}" done } # Processing starts here if ! . ~/.ui-auto.conf; then ui_opt_error " Wrong syntax in (or no) '~/.ui-auto.conf' file; please configure first" fi ID=$(ui_opt_getPos 0 | tr "-" "_") ID_LOC="${ID}_loc" if [ -z "${!ID_LOC}" ]; then echo -e "ID $ID not configured in ~/.ui-auto.conf.\n" >&2 exit 1 fi ID_DEPS="${ID}_deps" ID_CONF="${ID}_conf" if ui_opt_given d; then serialCall "${!ID_DEPS} ${ID}" exit 0 elif ui_opt_given D; then serialCall "${!ID_DEPS}" exit 0 fi # Start processing echo "=> Updating: ${ID}" cd "${!ID_LOC}" # Set environment for all dependencies eval $(ui-auto-env -D "${ID}") # Update && clean options if ui_opt_given c; then ui-auto-ubs strap C fi if ui_opt_given u; then ui-auto-uvc update fi # Standard ui-auto-ubs strap ui-auto-ubs configure "${!ID_CONF}" ui-auto-ubs build # Tests if ui_opt_given t; then ui-auto-ubs check fi if ui_opt_given T; then ui-auto-ubs distcheck fi echo "=> Updated: ${ID}" exit 0 ui-auto-1.2.10/src/tools/PaxHeaders.22674/template.deb_svn+mbd-1.00000644000000000000000000000013113222446537021064 xustar0030 mtime=1514818911.951564836 29 atime=1514986037.09003203 30 ctime=1514988235.033865646 ui-auto-1.2.10/src/tools/template.deb_svn+mbd-1.00000644000175000017500000000515713222446537022156 0ustar00absurdabsurd00000000000000#---------------------------------------------------------------------- # [ui-auto-release Debian configuration: Template for svn+mini-buildd] #---------------------------------------------------------------------- # From mini-buildd, so we can do a little magic for the revapx __mbdBasedist2Version() { # Known base distributions local woody=30 local sarge=31 local etch=40 local lenny=50 local squeeze=60 local wheezy=70 local jessie=80 local stretch=90 local buster=BUSTER local sid=SID local version=${!1} if [ -z "${version}" ]; then echo "W: Template svn+mbd: Unknown base dist ${1}." >&2 fi echo -n "${version}" } __VCLOC="${1}" __MBDID="${2}" __REPOID="${3}" __BASEDIST="${4}" __BPDISTS="${5}" __REVAPX="~${__REPOID}$(__mbdBasedist2Version ${__BASEDIST})" for __d in ${__BPDISTS}; do __BPDISTS_S="${__d}-${__REPOID}-unstable,${__BPDISTS_S}" __BPDISTS_S_SNAP="${__d}-${__REPOID}-snapshot,${__BPDISTS_S_SNAP}" __BPDISTS_U="${__d}-${__REPOID}-experimental,${__BPDISTS_U}" done # Usage check if [ -z "${__VCLOC}" -o -z "${__REPOID}" -o -z "${__BASEDIST}" ]; then echo "E: Wrong template args. Usage: . template.deb_svn+deb+mbd-1.0 VCLOC MBDID REPOID BASEDIST [BPDISTS]" >&2 exit 1 fi # Debian dir: We use svn-buildpackage default layout. ui_release_deb_vc="svn" ui_release_deb_vc_loc="${__VCLOC}" ui_release_deb_orig_loc="tarballs" ui_release_deb_pkg_loc="build-area" # Common values for all Debian releases ([un]stable[snapshot]) ui_release_deb_vc_tag="trunk" ui_release_deb_dbuild="svn-buildpackage -rfakeroot -S" ui_release_deb_dput="mini-buildd-${__MBDID}" # Values for "unstable" ui_release_deb_dbuild_options_unstable="--svn-tag" ui_release_deb_dist_unstable="${__BASEDIST}-${__REPOID}-experimental" ui_release_deb_revapx_unstable="${__REVAPX}+0" [ -z "${__BPDISTS_U}" ] || ui_release_deb_clentries_unstable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_U}" # Don't tag for snapshots, and ignore the never-checked-in changes ui_release_deb_dbuild_options_unstable_snapshot="--svn-ignore" # Values for "stable" ui_release_deb_dbuild_options_stable="--svn-tag" ui_release_deb_dist_stable="${__BASEDIST}-${__REPOID}-unstable" ui_release_deb_revapx_stable="${__REVAPX}+1" [ -z "${__BPDISTS_S}" ] || ui_release_deb_clentries_stable="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_S}" # Treat stable snapshots like unstable snapshots ui_release_deb_dbuild_options_stable_snapshot="--svn-ignore" ui_release_deb_dist_stable_snapshot="${__BASEDIST}-${__REPOID}-snapshot" ui_release_deb_revapx_stable_snapshot="${__REVAPX}+0" [ -z "${__BPDISTS_S_SNAP}" ] || ui_release_deb_clentries_stable_snapshot="MINI_BUILDD: AUTO_BACKPORTS: ${__BPDISTS_S_SNAP}" ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-ubs0000644000000000000000000000007412471405200016743 xustar0030 atime=1514905243.014041576 30 ctime=1514988235.025865826 ui-auto-1.2.10/src/tools/ui-auto-ubs0000755000175000017500000001475312471405200020034 0ustar00absurdabsurd00000000000000#!/bin/bash -e BS_SUPPORTED="autotools cmake" BS_CONFFILE_autotools="configure.ac" BS_CONFFILE_cmake="CMakeLists.txt" autoDetectBS() { local bs for bs in ${BS_SUPPORTED}; do local conffile="BS_CONFFILE_${bs}" if [ -e "${!conffile}" ]; then echo -n "${bs}" return 0 fi done return 1 } # Options PATH="${PATH}:$(dirname $0):/usr/local/share/ui-auto:/usr/share/ui-auto" . ui-libopt.sh ui_opt_init "Unified build system tool for ui-auto tasks." "\ This tool autodetects the used build system and unifies a selection of common tasks needed by ui-auto tools." ui_opt_add "s" "Only print the autodetected build system id." ui_opt_add "S:" "Set Build System id arbitrarily. Supported: ${BS_SUPPORTED}." "$(autoDetectBS)" ui_opt_addPos CMD "UBS command." "" "\ * check_installation : Check whether the build system tools are installed. * strap [c|C] : Strap the build system; c=clean, C=only clean. * configure [OPTIONS]: Configure the build system. Example: $ ui-auto-ubs configure '--with-foo --disable-bar' * build : Build. * check : Run checks/tests. * dist : Make a distribution. * distcheck : Make a distribution with checks. * parse : Parse package name and version. * patch VERSION : Patch package version." ui_opt_addPos OPT "Option for UBS command." ui_opt_parse "$@" # # Common Tools # tagalize() { echo "${1}" | tr [:lower:] [:upper:] | tr - _ } cmd_parse_print() { local package="${1}" local version="${2}" cat </dev/null || true # Delete these files if they are symlinks for f in ui-auto missing install-sh mkinstalldirs config.guess config.sub depcomp ltmain.sh; do if [ -L "${f}" ]; then rm -f -v "${f}" fi done # Always delete these files rm -f -v *~ configure config.h.in config.h stamp-h.in stamp-h1 config.cache config.log config.status aclocal.m4 libtool rm -r -f -v autom4te.cache echo "Cleaned: $(pwd)" } strap() { if autoreconf --force --install --symlink; then echo "Strapped: $(pwd)" fi } # Get optional option local o=$(! ui_opt_givenPos 1 || ui_opt_getPos 1) # Run clean if called with c or C (clean) [ "${o}" != "C" -a "${o}" != "c" ] || clean # Return now if called with C (only clean) [ "${o}" != "C" ] || return 0 # Strap strap } autotools_cmd_configure() { ./configure $(! ui_opt_givenPos 1 || ui_opt_getPos 1) } autotools_cmd_build() { make } autotools_cmd_check() { make check } autotools_cmd_dist() { make dist } autotools_cmd_distcheck() { make distcheck } autotools_cmd_parse() { local package=$(grep ^AC_INIT ${BS_CONFFILE} | sed -e 's/[^(]*([[ ]*//' -e 's/[] ,].*//') local version=$(grep ^AC_INIT ${BS_CONFFILE} | sed -e 's/[^,]*,[[ ]*//' -e 's/[] ,)].*//') cmd_parse_print "${package}" "${version}" } autotools_cmd_patch() { local v=$(ui_opt_getPos 1) cmd_patch_backup # Use cmd_parse_print here to get all varaibles we need; all generated vars MUST be local before. local package package_cap package_version package_version_major package_version_minor package_version_patch # Get $package eval $(autotools_cmd_parse) sed -i "s/AC_INIT\(.*\)/AC_INIT\([${package}]\,\ [${v}]\)/" "${BS_CONFFILE}" } # # CMAKE # cmake_cmd_check_installation() { ui_check_installed "cmake --version" } cmake_cmd_strap() { clean() { # run clean if available make clean 2>/dev/null || true # Always delete these files rm -f -v CMakeCache.txt rm -r -f -v CMakeFiles/ echo "Cleaned: $(pwd)" } strap() { # No strap for cmake return 0 } # See autotools local o=$(! ui_opt_givenPos 1 || ui_opt_getPos 1) [ "${o}" != "C" -a "${o}" != "c" ] || clean [ "${o}" != "C" ] || return 0 strap } cmake_cmd_configure() { cmake . } cmake_cmd_build() { make } cmake_cmd_check() { # When defined, use target test (CTest). if make -n test >/dev/null 2>&1; then make test fi } cmake_cmd_dist() { make package_source } cmake_cmd_distcheck() { cmake_cmd_build cmake_cmd_check cmake_cmd_dist } cmake_cmd_parse() { local package=$(grep -i ^PROJECT ${BS_CONFFILE} | sed -r -e 's/.*\(\s*([^ )]+).*/\1/' | tr [:upper:] [:lower:] | tr _ -) local package_cap=$(tagalize ${package}) # @todo Below not nice, and will only work if you dont use extra spaces. local major=$(grep -i "^SET(${package_cap}_VERSION_MAJOR" ${BS_CONFFILE} | cut -d " " -f 2 | cut -d ')' -f 1) local minor=$(grep -i "^SET(${package_cap}_VERSION_MINOR" ${BS_CONFFILE} | cut -d " " -f 2 | cut -d ')' -f 1) local patch=$(grep -i "^SET(${package_cap}_VERSION_PATCH" ${BS_CONFFILE} | cut -d " " -f 2 | cut -d ')' -f 1) cmd_parse_print "${package}" "${major}.${minor}.${patch}" } # Helper tool: Copy conffile and create code to restore cmd_patch_backup() { local copy copy=$(mktemp -t ui-auto-ubs-XXXXXXXX) || exit 9 local orig="$(pwd)/${BS_CONFFILE}" cp -a "${orig}" "${copy}" echo "mv \"${copy}\" \"${orig}\"" } # Patch the build system's version (for snapshot generation). cmake_cmd_patch() { local v=$(ui_opt_getPos 1) cmd_patch_backup # Use cmd_parse_print here to get all varaibles we need; all generated vars MUST be local before. local package package_cap package_version package_version_major package_version_minor package_version_patch # Get $package_cap eval $(cmake_cmd_parse) # Parse major/minor/patch eval $(cmd_parse_print "${package}" "${v}") # Patch it sed -i \ -e "s/^SET(${package_cap}_VERSION_MAJOR.*)/SET(${package_cap}_VERSION_MAJOR ${package_version_major})/i" \ -e "s/^SET(${package_cap}_VERSION_MINOR.*)/SET(${package_cap}_VERSION_MINOR ${package_version_minor})/i" \ -e "s/^SET(${package_cap}_VERSION_PATCH.*)/SET(${package_cap}_VERSION_PATCH ${package_version_patch})/i" \ "${BS_CONFFILE}" } # # Start processing # # Set build system to use BS=$(ui_opt_get S) if [ -z "${BS}" ]; then ui_opt_error "Are you in a project directory? No supported build system found" fi BS_CONFFILE_="BS_CONFFILE_${BS}" BS_CONFFILE=${!BS_CONFFILE_} # Handle special options if ui_opt_given s; then # Print build system id only echo -n "${BS}" exit 0 fi # Command processing ${BS}_cmd_$(ui_opt_getPos 0) exit 0 ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-rsign0000644000000000000000000000013213223142561017273 xustar0030 mtime=1514980721.345416593 30 atime=1514980721.393415303 30 ctime=1514988235.029865737 ui-auto-1.2.10/src/tools/ui-auto-rsign0000755000175000017500000000231213223142561020355 0ustar00absurdabsurd00000000000000#!/bin/bash -e cat <&2 WARNING: It's DISCOURAGED to use this remote signing workflow, as it requires the usually untrusted (build) machine to have access to the trusted signing machine. It's more secure to connect from the trusted machine only. See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855320, debsign(1) EOF # Usage trap "printf '%s\n' 'Usage: ui-auto-rsign [USER@]REMOTEHOST TARBALL SIGNFILE [EXTRA_GPG_OPTIONS]'" ERR # Parse options RHOST="${1}" TARBALL_ABS="${2}" TARBALL="$(basename "${TARBALL_ABS}")" SIGNFILE_ABS="${3}" SIGNFILE="$(basename "${SIGNFILE_ABS}")" shift 3 EXTRA_GPG_OPTIONS="${@}" # Check options [ -n "${RHOST}" ] [ -n "${TARBALL}" ] [ -n "${SIGNFILE}" ] # Never auto-overwrite on remote ui_auto_rsign_check_rfile() { if ssh "${RHOST}" test -e "${1}"; then printf "W: Remote file ${RHOST}:${TARBALL} exists!\n" >&2 ssh "${RHOST}" rm -i "${1}" fi } ui_auto_rsign_check_rfile "${TARBALL}" ui_auto_rsign_check_rfile "${SIGNFILE}" # Ok. lets do it scp "${TARBALL_ABS}" ${RHOST}: ssh -t "${RHOST}" gpg --sign --detach --armor ${EXTRA_GPG_OPTIONS} --output="${SIGNFILE}" "${TARBALL}" scp "${RHOST}:${SIGNFILE}" "${SIGNFILE_ABS}" ssh "${RHOST}" rm "${TARBALL}" "${SIGNFILE}" ui-auto-1.2.10/src/tools/PaxHeaders.22674/Makefile.in0000644000000000000000000000013113223161307016710 xustar0029 mtime=1514988231.90193607 30 atime=1514988233.153907921 30 ctime=1514988235.033865646 ui-auto-1.2.10/src/tools/Makefile.in0000644000175000017500000004331413223161307017777 0ustar00absurdabsurd00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src/tools ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/src/m4/ui-auto.m4 \ $(top_srcdir)/src/m4/ui-common.m4 \ $(top_srcdir)/src/m4/ui-distdir-cruft.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(dist_bin_SCRIPTS) \ $(dist_pkgdata_DATA) $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" \ "$(DESTDIR)$(pkgdatadir)" SCRIPTS = $(dist_bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) DATA = $(dist_pkgdata_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PROG_XSLTPROG = @PROG_XSLTPROG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SO_VERSION = @SO_VERSION@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = -Wno-portability dist_pkgdata_DATA = ui-libopt.sh template.deb_svn+mbd template.deb_svn+mbd-1.0 template.deb_git+mbd-1.0 dist_bin_SCRIPTS = ui-auto-uvc ui-auto-ubs ui-auto-env ui-auto-shell ui-auto-update ui-auto-release ui-auto-release-multi ui-auto-sp2ui ui-auto-rsign man_MANS = ui-auto-uvc.1 ui-auto-ubs.1 ui-auto-env.1 ui-auto-shell.1 ui-auto-update.1 ui-auto-release.1 ui-auto-release-multi.1 ui-auto-sp2ui.1 all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/tools/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/tools/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-dist_binSCRIPTS: $(dist_bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-dist_binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-dist_pkgdataDATA: $(dist_pkgdata_DATA) @$(NORMAL_INSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ done uninstall-dist_pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgdatadir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dist_pkgdataDATA install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-dist_binSCRIPTS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-dist_binSCRIPTS uninstall-dist_pkgdataDATA \ uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-local \ cscopelist-am ctags-am distclean distclean-generic distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dist_binSCRIPTS \ install-dist_pkgdataDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \ uninstall-am uninstall-dist_binSCRIPTS \ uninstall-dist_pkgdataDATA uninstall-man uninstall-man1 .PRECIOUS: Makefile %.1: name_cap = $(shell echo "$<" | tr "[[:lower:]]" "[[:upper:]]") %.1: % Makefile @echo ".TH $(name_cap) \"1\"" >$@ @echo ".SH NAME" >>$@ @echo "$< \- a tool from the ui-auto tool box." >>$@ @echo ".SH DESCRIPTION" >>$@ @echo "Documentation is fully in the usage output via \"$< -H\"." >>$@ @echo "This is just a copy for convenience:" >>$@ @$(srcdir)/$(shell basename $<) -H >>$@ @echo ".SH AUTHOR" >>$@ if [ -n "$$SOURCE_DATE_EPOCH" ]; then \ echo "Produced automatically by ui-auto on `date --utc --rfc-822 --date="@$$SOURCE_DATE_EPOCH"`." >>$@; \ else \ echo "Produced automatically by ui-auto on `date --rfc-822`." >>$@; \ fi clean-local: rm -v -f $(man_MANS) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-release-multi0000644000000000000000000000013112747623376020742 xustar0029 mtime=1470047998.42266551 30 atime=1514905243.014041576 30 ctime=1514988235.029865737 ui-auto-1.2.10/src/tools/ui-auto-release-multi0000755000175000017500000000501712747623376022032 0ustar00absurdabsurd00000000000000#!/bin/bash -e # Includes PATH="${PATH}:$(dirname $0):/usr/local/share/ui-auto:/usr/share/ui-auto" . ui-libopt.sh # Options ui_opt_init "Wrapper around ui-auto-release to run for multiple projects." "\ Setup cook book: (1) On initial setup, run once to get the config dir: ui-auto-release-multi -n -s dontcare. (2) Add a suite: mkdir CONFFDIR/mysuite.d (3) Add a project: touch CONFFDIR/mysuite.d/10_myproject.conf (4) Run once again using -n: ui-auto-release-multi -n -s mysuite The last step will show you what we are actually doing, and what config files are sourced. In each sourced file, you may set the special variables UAR_ARGS_ALL and UAR_ARGS -- both will be used as arguments for the ui-auto-release call. Use UAR_ARGS_ALL in global or per-suite config file, and set UAR_ARGS to special project valuse in project config files. Continue configuring your suite and check by running with -n until satisfied." ui_opt_add "c:" "Config directory." "$(ui_reproducible_builds_home)/.ui-auto-release-multi" ui_opt_add "s:" "Select series to run." ui_opt_add "n" "Don't actually run ui-auto-release, just show what we would do." ui_opt_parse "$@" setDefault() { [ -n "${!1}" ] || eval "export ${1}=\"${2}\"" } source_conf() { local conf="${1}" if [ -e "${conf}" ]; then echo "Sourcing conf: \"${conf}\"" . "${conf}" else echo "Skipping conf: \"${conf}\"" fi } SUITEDIR="$(ui_opt_get c)/$(ui_opt_get s).d" setDefault CFLAGS "-g -O0 -Wall" setDefault CXXFLAGS "-g -O0 -Wall" # Create and enter rundir mkdir -p -v "$(ui_opt_get c)/rundir" cd "$(ui_opt_get c)/rundir" # Source global and suite conf source_conf "$(ui_opt_get c)/conf" source_conf "${SUITEDIR}/conf" # Run projects in suite FAILED=() OK=() for f in $(find "${SUITEDIR}/" -name "*.conf" | sort); do PJ="$(basename "${f}" .conf)" echo "----------------------------------------------------------------" echo "Running $(basename "${SUITEDIR}")(${PJ}):" echo "----------------------------------------------------------------" # Subshell -- don't taint any variables here ( # Source project conf source_conf "${f}" # Run ui-auto-release CMD="ui-auto-release ${UAR_ARGS_ALL} ${UAR_ARGS}" echo "Running: \"${CMD}\"" ui_opt_given n || ${CMD} ) if [ $? -ne 0 ]; then FAILED[${#FAILED[@]}]="${PJ}" else OK[${#OK[@]}]="${PJ}" fi done echo "================================================================" echo "OK: ${#OK[*]} project(s): ${OK[*]}" >&2 if [ ${#FAILED[@]} -ne 0 ]; then echo "*FAILED*: ${#FAILED[*]} project(s): ${FAILED[*]}" >&2 exit 1 fi exit 0 ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-uvc0000644000000000000000000000007412705117344016760 xustar0030 atime=1514905243.014041576 30 ctime=1514988235.025865826 ui-auto-1.2.10/src/tools/ui-auto-uvc0000755000175000017500000002514212705117344020043 0ustar00absurdabsurd00000000000000#!/bin/bash -e VCS_SUPPORTED="cvs svn git local" autoDetectVCS() { if [ -d "CVS" ]; then echo -n "cvs" elif svn info >/dev/null 2>&1; then echo -n "svn" elif [ -d ".git" ]; then echo -n "git" else echo -n "local" fi } COMMANDS="check_installation path version update check_sync diff add commit tag branch changelog news checkout" # Options PATH="${PATH}:$(dirname $0):/usr/local/share/ui-auto:/usr/share/ui-auto" . ui-libopt.sh ui_opt_init "Unified version control tool for ui-auto tasks." \ "This tool autodetects the used versioning control system and unifies a selection of common tasks needed by ui-auto tools. This is not a full featured version control tool. VC paths have the common syntax 'LOCATION/TAG' (i.e., TAG is after the last literal '/' and must not contain '/' itself). This string is interpeted differently for the different VC systems: LOCAL(meta): 'LOCALPATH': Will just 'cp -a' locally. Example: '/home/user/src/myproject/'. CVS: 'CVSROOT;MODULE/TAG': TAG is an CVS tag. Empty or TAG=HEAD is the same. ';' is separator and must not be used elsewhere. Example: 'cvs.myhost.org:/my/repo/path/repo;myproject/MYPROJECT_1_2_3'. SVN: 'SVNURL/TAG': TAG just adds to the svn path (a svnpath alone is unique). Example: 'svn://svn.myhost.org/my/repo/path/tags/myproject/MYPROJECT_1_2_3' GIT: 'GITURL/TAG': TAG is a git branch. If empty, we stay on repo's default branch. Example: 'ssh://git.myhost.org/my/git/path/myprojec.git/MYPROJECT_1_2_3'" ui_opt_add "s" "Only print the autodetected vc system id." ui_opt_add "S:" "Set VC System id arbitrarily. Supported: ${VCS_SUPPORTED}." "$(autoDetectVCS)" ui_opt_add "m:" "Message for this action." "ui-auto-uvc: No user message." "" \ "Note that it depends on the used UVC command and the VC used how and if this is used." ui_opt_addPos CMD "UVC command: ${COMMANDS}." "" "\ * check_installation : Check whether version control tools are installed. * path : Print current working directory's VC path. * version : Print a VC version string (suitable for snapshots). * update : Update working directory w/ server. * check_sync : Check that working directory has no uncommited changes and is up-to-date w/ server (where applicable). * diff FILE : Display diff for file. * add FILES : Add files to version control. * commit FILES : Check-in FILES (-m may be used). * tag NAME [DEST] : Tag repository using NAME (use DEST for VCSes that copy for tags). * branch NAME [DEST] : Branch repository using NAME (use DEST for VCSes that copy for branches). * changelog : Generate ChangeLog from the VCSes logs. * news SINCE : Generate NEWS text (first line of VC checkins). * checkout VCPATH DIR : Checkout a from VC path to DIR (you need to explicitly set VCS via -S). See above for the syntax of VCPATH." ui_opt_addPos OPT1 "Option 1 for command." ui_opt_addPos OPT2 "Option 2 for command." ui_opt_parse "$@" # Check whether command exists (error exit), and is defined for the VC we use vcHas() { local c="${1}" local k for k in ${COMMANDS}; do if [ "${k}" = "${c}" ] && [ "$(type -t ${VCS}_cmd_${1})" = "function" ]; then return 0 fi done ui_opt_error "Unknown command: ${c}" } checkOpts() { local n for n in ${1}; do ui_opt_getPos ${n} >/dev/null done } # # CVS # cvs_cmd_check_installation() { ui_check_installed "cvs --version" ui_check_installed "/usr/bin/cvs2cl --version" warnonly } cvs_cmd_version() { # Just use a timestamp for CVS echo "${VCS}$(date --utc +%Y%m%d%H%M%S)" } cvs_cmd_path() { local cvsroot=$(cat CVS/Root) local module=$(cat CVS/Repository) # Tag: We must strip first char local tag=$(cat CVS/Tag 2>/dev/null) tag=${tag:1} echo "${cvsroot};${module}/${tag}" } cvs_cmd_update() { cvs update } cvs_cmd_check_sync() { if cvs -n update 2>&1 | grep "^[ARMCUP] "; then ui_opt_error "${VCS} not in sync with server; please resolve above discrepancies" QUIET fi } cvs_cmd_diff() { checkOpts "1" cvs diff $(ui_opt_getPos 1) } cvs_cmd_add() { checkOpts "1" cvs add $(ui_opt_getPos 1) } cvs_cmd_commit() { checkOpts "1" cvs commit -m"$(ui_opt_get m)" $(ui_opt_getPos 1) } cvs_cmd_tag() { checkOpts "1" cvs tag $(ui_opt_getPos 1) } cvs_cmd_branch() { checkOpts "1" cvs tag -b $(ui_opt_getPos 1) } cvs_cmd_changelog() { ui_run_alt "/usr/bin/cvs2cl" "cvs log" } # SYNTAX: 'CVSROOT;CVSMODULE/TAG" cvs_cmd_checkout() { checkOpts "1 2" local vcpath=$(ui_opt_getPos 1) local dir=$(ui_opt_getPos 2) # Parse root, module and tag local root=$(echo "${vcpath}" | cut -d";" -f1) local rest=$(echo "${vcpath}" | cut -d";" -f2- | rev) local module=$(echo "${rest}" | cut -d"/" -f2- | rev) local tag=$(echo "${rest}" | cut -d"/" -f1 | rev) local tagoption="" [ -z "${tag}" ] || tagoption="-r ${tag}" cvs -d "${root}" checkout -d "${dir}" ${tagoption} "${module}" } # # SVN # svn_cmd_check_installation() { ui_check_installed "svn --version" ui_check_installed "/usr/bin/svn2cl --version" warnonly } svn_cmd_version() { echo "svn$(svnversion)" } svn_cmd_path() { local url=$(svn info . | grep -i "^URL:" | cut -d" " -f2-) # We don't care about /TAG, it just adds to the path anyway for svn echo "${url}" } svn_cmd_update() { svn update } svn_cmd_check_sync() { local svn_stat=$(svn status --show-updates --quiet | grep --invert-match "^Status " || true) if [ -n "${svn_stat}" ]; then echo "${svn_stat}" ui_opt_error "${VCS} not in sync with server; please resolve above discrepancies" QUIET fi } svn_cmd_diff() { checkOpts "1" svn diff $(ui_opt_getPos 1) } svn_cmd_add() { checkOpts "1" svn add $(ui_opt_getPos 1) } svn_cmd_commit() { checkOpts "1" svn commit -m"$(ui_opt_get m)" $(ui_opt_getPos 1) } svn_cmd_tag() { checkOpts "1 2" local tag="$(ui_opt_getPos 1)" local dest="$(ui_opt_getPos 2)" svn copy --parents -m"$(ui_opt_get m)" "$(ui-auto-uvc path)" "${dest}/${tag}" } svn_cmd_branch() { svn_cmd_tag } svn_cmd_changelog() { ui_run_alt "/usr/bin/svn2cl" "svn log" } # svn does not support shortlog, or decent custom formatting of # the logs. # 'filter_nice' is a (ugly) parse-hack that tries to get very # close to what got shortlog does. svn_cmd_news() { filter_ugly() { sed 's/^-\+/ * SVN commit/' } filter_nice() { local -A logs logsNo # Skip initial "----" line read # Read line by line while read; do local header="${REPLY}" local first_line="" while read; do if printf "%s" "${REPLY}" | grep --quiet '^--------------------[-]*$'; then break; elif [ -z "${first_line}" ]; then first_line="${REPLY}" fi done local revision=$(cut --delimiter='|' -f1 <<< "${header}" | tr --delete '[:space:]') local user=$(cut --delimiter='|' -f2 <<< "${header}" | tr --delete '[:space:]') logs[${user}]+="$(printf " * [%s] %s\\\n" "${revision}" "${first_line}" | fmt --width=64)" # Note: Setting from empty strings sets no to 0 # Note: Using 'declare -i logsNo[${user}]' directly instead works for sid/jessie, but <=wheezy bash segfaults big time (glibc vs eglibc?) local -i no="${logsNo[${user}]}" no+=1 logsNo[${user}]="${no}" done local user for user in "${!logs[@]}"; do printf "%s (%s):\n" "${user}" "${logsNo[${user}]}" printf "%b\n" "${logs[${user}]}" done } checkOpts "1" svn log --revision "$(ui_opt_getPos 1):HEAD" | filter_nice } # SYNTAX: SVNURL/TAG svn_cmd_checkout() { checkOpts "1 2" local vcpath=$(ui_opt_getPos 1) local dir=$(ui_opt_getPos 2) svn checkout "${vcpath}" "${dir}" } # # GIT # # Get the branch we are currently on gitGetCurrentBranch() { git branch | grep "^\*" | cut -d ' ' -f2- } git_cmd_check_installation() { ui_check_installed "git --version" ui_check_installed "/usr/share/gnulib/build-aux/gitlog-to-changelog --version" warnonly } git_cmd_version() { git show --pretty="${VCS}%h" ${2} | head -1 } git_cmd_path() { echo "$(git config remote.origin.url)/$(gitGetCurrentBranch)" } git_cmd_update() { git pull } git_cmd_check_sync() { # Check for local changes or extra files local lchanges=$(git ls-files --exclude-standard --modified --others) if [ -n "${lchanges}" ]; then echo "${lchanges}" >&2 ui_opt_error "${VCS} repo has local modifications or untracked files" QUIET fi # Check for uncommited changes in staging area if ! git diff --exit-code --cached; then ui_opt_error "You have uncommited changes in staging; please commit first." QUIET fi # Check if corresponding remote tip equals our tip git fetch local branch=$(gitGetCurrentBranch) if ! git diff --exit-code origin/${branch}; then ui_opt_error "Your local branch ${branch} differs from origin/${branch}" QUIET fi } git_cmd_diff() { checkOpts "1" git diff $(ui_opt_getPos 1) } git_cmd_add() { checkOpts "1" git add $(ui_opt_getPos 1) } git_cmd_commit() { checkOpts "1" git commit -m"$(ui_opt_get m)" $(ui_opt_getPos 1) && git push origin HEAD } git_cmd_tag() { checkOpts "1" local tag=$(ui_opt_getPos 1) git tag "${tag}" && git push origin "${tag}" } git_cmd_branch() { checkOpts "1" local branch=$(ui_opt_getPos 1) git branch "${branch}" && git push origin "${branch}" } git_cmd_changelog() { ui_run_alt "/usr/share/gnulib/build-aux/gitlog-to-changelog" "git log --pretty --numstat --summary" } git_cmd_news() { checkOpts "1" git shortlog -w64,2,4 --format="* [%h] %s" "$(ui_opt_getPos 1)..HEAD" } # SYNTAX: REMOTEURL/BRANCH git_cmd_checkout() { checkOpts "1 2" local vcpath=$(ui_opt_getPos 1) local dir=$(ui_opt_getPos 2) # Parse root, module and tag local remote=$(echo "${vcpath}" | rev | cut -d"/" -f2- | rev) local branch=$(echo "${vcpath}" | rev | cut -d"/" -f1 | rev) git clone --branch="${branch}" "${remote}" "${dir}" # Create same-name local branches for all (other) remote branches # Some tools (like gbp) actually need this to work properly ( cd "${dir}" local b for b in $(git branch -r | grep --invert-match --regexp=HEAD --regexp=${branch}); do git branch --track "${b##*/}" "${b}" done ) } # # LOCAL (meta VC) # local_cmd_check_installation() { return 0 } local_cmd_version() { date --utc +%Y%m%d%H%M%S } local_cmd_path() { pwd } local_cmd_checkout() { checkOpts "1 2" local src=$(ui_opt_getPos 1) local dest=$(ui_opt_getPos 2) if [ -z "${src}" ]; then ui_opt_error "Empty source directory" QUIET fi cp -a "${src}/." "${dest}" } # # Start processing # # Set VC system to use VCS=$(ui_opt_get S) # Handle special options if ui_opt_given s; then # Print vc system id only echo -n "${VCS}" exit 0 fi # Run the given command CMD=$(ui_opt_getPos 0) if vcHas ${CMD}; then ${VCS}_cmd_${CMD} else echo "W: VC(${VCS}): \"${CMD}\": Not implemented (skipping)." >&2 fi exit 0 ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-libopt.sh0000644000000000000000000000013212747624025017117 xustar0030 mtime=1470048277.014613589 30 atime=1514905243.014041576 30 ctime=1514988235.029865737 ui-auto-1.2.10/src/tools/ui-libopt.sh0000644000175000017500000001562312747624025020207 0ustar00absurdabsurd00000000000000# UI POSIX shell options library # Note: This currently needs "bash" as shell, so it's not that "POSIX"ish after all # Recommended way to source this in your shell scripts: ### PATH="${PATH}:/usr/local/share/ui-auto:/usr/share/ui-auto" ### . ui-libopt.sh # For documentation of function parameters, refer to the local # variables at the very beginning of each implementation. # For debug output on error only UI_OPT_CMDLINE="$(basename "${0}") ${@}" ui_opt_init() { local desc="${1}" local doc="${2}" UI_OPT_SYNTAX="" UI_OPT_NAME=$(basename "${0}") UI_OPT_DESC="${desc}" UI_OPT_DOC="${doc}" UI_OPT_POSITIONAL=0 } ui_opt_add() { local id="${1}" local desc="${2}" local default="${3}" local implies="${4}" local doc="${5}" local expert="${6}" local idLetter="${id:0:1}" case ${idLetter} in h|H) ui_opt_error "ui-libopt.sh usage: Options -h and -H are reserved (fix your sript)";; esac local syntax="-${idLetter}$(if [ "${id:1:1}" = ":" ]; then echo -n " arg"; fi)" UI_OPT_SYNTAX="${UI_OPT_SYNTAX}${id}" eval "UI_OPT_DESC_${idLetter}=\"${desc}\"" eval "UI_OPT_DEFAULT_${idLetter}=\"${default}\"" eval "UI_OPT_SYNTAX_${idLetter}=\"${syntax}\"" eval "UI_OPT_IMPLIES_${idLetter}=\"${implies}\"" eval "UI_OPT_DOC_${idLetter}=\"${doc}\"" eval "UI_OPT_EXPERT_${idLetter}=\"${expert}\"" } ui_opt_addPos() { local id="${1}" local desc="${2}" local default="${3}" local doc="${4}" eval "UI_OPT_ID_POSITIONAL_${UI_OPT_POSITIONAL}=\"${id}\"" eval "UI_OPT_DESC_POSITIONAL_${UI_OPT_POSITIONAL}=\"${desc}\"" eval "UI_OPT_DEFAULT_POSITIONAL_${UI_OPT_POSITIONAL}=\"${default}\"" eval "UI_OPT_DOC_POSITIONAL_${UI_OPT_POSITIONAL}=\"${doc}\"" UI_OPT_POSITIONAL="$((UI_OPT_POSITIONAL+1))" } ui_opt_parse() { local OPTIND=1 OPTARG OPTERR=1 o # Options while getopts "hH${UI_OPT_SYNTAX}" o; do if [ "${o}" = "?" ]; then ui_opt_help >&2 exit 1 elif [ "${o}" = "h" ]; then ui_opt_help exit 0 elif [ "${o}" = "H" ]; then ui_opt_help long exit 0 fi eval "UI_OPT_${o}=\"${OPTARG}\"" local impliesVar="UI_OPT_IMPLIES_${o}" for implied in ${!impliesVar}; do if ! ui_opt_given ${implied}; then ui_opt_set ${implied} fi done done # Positionals for ((i=0; i <= $((${#}-OPTIND)); ++i)) do local j=$((i+OPTIND)) UI_OPT_positional[${i}]="${!j}" done } # Show usage ui_opt_usage() { echo -n "Usage: ${UI_OPT_NAME} [-h|-H]" for ((i=0; i < ${#UI_OPT_SYNTAX}; ++i)); do local o="${UI_OPT_SYNTAX:${i}:1}" if [ "${o}" != ":" ]; then local syntax="UI_OPT_SYNTAX_${o}" local expert="UI_OPT_EXPERT_${o}" if [ "${!expert}" != "expert" -o "${1}" = "long" ]; then echo -n " ${!syntax}" fi fi done for ((i=0; i < $((UI_OPT_POSITIONAL)); ++i)); do local id="UI_OPT_ID_POSITIONAL_${i}" echo -n " ${!id}" done echo } # Show help ui_opt_help() { [ -z "${UI_OPT_DESC}" ] || echo -e "${UI_OPT_DESC}\n" [ -z "${UI_OPT_DOC}" -o "${1}" != "long" ] || echo -e "${UI_OPT_DOC}\n" | sed -e 's/.*/ &/' ui_opt_usage "${1}" echo -e "\n -h|-H : Get usage help; short (-h) or complete (-H)." if [ ${#UI_OPT_SYNTAX} -gt 0 ]; then echo -e "\nOptions:" for ((i=0; i < ${#UI_OPT_SYNTAX}; ++i)); do local o="${UI_OPT_SYNTAX:${i}:1}" if [ "${o}" != ":" ]; then local expert="UI_OPT_EXPERT_${o}" if [ "${!expert}" != "expert" -o "${1}" = "long" ]; then local syntax="UI_OPT_SYNTAX_${o}" local desc="UI_OPT_DESC_${o}" local default="UI_OPT_DEFAULT_${o}" local implies="UI_OPT_IMPLIES_${o}" local doc="UI_OPT_DOC_${o}" local def="" [ -z "${!default}" ] || def=" ['${!default}']" local imp="" [ -z "${!implies}" ] || imp=" (implies ${!implies})" local exp="" [ -z "${!expert}" ] || exp=" {${!expert}}" printf " %-6s: %s%s%s%s\n" "${!syntax}" "${!desc}" "${def}" "${imp}" "${exp}" [ -z "${!doc}" -o "${1}" != "long" ] || echo "${!doc}" | sed -e 's/.*/ &/' fi fi done fi if [ ${UI_OPT_POSITIONAL} -gt 0 ]; then echo -e "\nPositionals:" for ((i=0; i < $((UI_OPT_POSITIONAL)); ++i)); do local id="UI_OPT_ID_POSITIONAL_${i}" local desc="UI_OPT_DESC_POSITIONAL_${i}" local default="UI_OPT_DEFAULT_POSITIONAL_${i}" local doc="UI_OPT_DOC_POSITIONAL_${i}" printf " %-6s: %s\n" "${!id}" "${!desc}" [ -z "${!default}" ] || echo -e " Default='${!default}'." [ -z "${!doc}" -o "${1}" != "long" ] || echo "${!doc}" | sed -e 's/.*/ &/' done fi } # Check whether an option is given ui_opt_given() { local varName="UI_OPT_${1}" [ -n "${!varName+set}" ] } # Get option value from char identifier. Returns 1 if the option is # not given and there is no default, 0 on success. ui_opt_get() { local varName="UI_OPT_${1}" local defaultName="UI_OPT_DEFAULT_${1}" if [ "${!varName+set}" ]; then echo -n "${!varName}" elif [ "${!defaultName}" ]; then echo -n "${!defaultName}" else ui_opt_error "Option ${1} not given, and has no default" fi } # Set option value from char identifier. You may use this if some # option indirectly sets another one, for example. ui_opt_set() { local varName="UI_OPT_${1}" local varValue="${2}" eval "${varName}=\"${varValue}\"" } # Check whether a positional argument is given ui_opt_givenPos() { local index="${1}" [ $((index)) -lt ${#UI_OPT_positional[*]} ] } # Get non-option options from index. Other behaviour like ui_opt_get. ui_opt_getPos() { local index="${1}" local defaultName="UI_OPT_DEFAULT_POSITIONAL_${index}" if [ $((index)) -lt ${#UI_OPT_positional[*]} ]; then echo -n "${UI_OPT_positional[${index}]}" elif [ "${!defaultName}" ]; then echo -n "${!defaultName}" else local idName="UI_OPT_ID_POSITIONAL_${index}" ui_opt_error "Positional arg ${!idName} not given, and has no default" fi } # Little helper to (re-)assmeble option line as given ui_opt_assemble() { for o in ${1}; do if ui_opt_given ${o}; then echo -n "-${o} $(ui_opt_get $o) " fi done } ui_opt_error() { echo -e "E: ${1}.\nE: Failing command line: ${UI_OPT_CMDLINE}\n" >&2 case "${2}" in HELP) ui_opt_help >&2 ;; QUIET) true ;; *) ui_opt_usage >&2 echo -e "\nUse '-h|-H' for full usage help." >&2 esac exit 9 } # # Some non-opt common tools (too few yet to create another lib) # ui_check_installed() { local chk="${1}" local wrn="${2}" local cmd=$(basename $(echo "${chk}" | cut -d" " -f1)) if ! ${chk} >/dev/null 2>&1; then local msg="${cmd} not installed, or needs an updated version. Failed test: \"${chk}\"" if [ "${wrn}" = "warnonly" ]; then echo "W: ${msg}." >&2 else ui_opt_error "${msg}" fi fi } ui_run_alt() { if [ -x ${1} ]; then ${1} else echo "W: Preferred tool \"${1}\" not found, running alternate \"${2}\"" ${2} fi } # [reproducible builds, man page fix]: # - At build time, we need to use consistent HOME string (as we use -H to produce man pages). # - At runtime, we must use the actual HOME ui_reproducible_builds_home() { if [ -n "${SOURCE_DATE_EPOCH}" ]; then printf "%s" "" else printf "%s" "${HOME}" fi } ui-auto-1.2.10/src/tools/PaxHeaders.22674/ui-auto-sp2ui0000644000000000000000000000007412471405200017214 xustar0030 atime=1514905243.014041576 30 ctime=1514988235.029865737 ui-auto-1.2.10/src/tools/ui-auto-sp2ui0000755000175000017500000000455412471405200020303 0ustar00absurdabsurd00000000000000#!/bin/bash -e PATH="${PATH}:$(dirname $0):/usr/local/share/ui-auto:/usr/share/ui-auto" . ui-libopt.sh ui_opt_init "Interactively update a sp-auto enabled project to ui-auto." "\ Just run this from your project's top level (i.e., where old .sp-auto.conf is located)." ui_opt_parse "$@" replace() { local f="$1" local s="$2" local d="$3" local f_tmp="$f.ui-auto-sp2ui.tmp" cp "${f}" "${f_tmp}" sed "s/${s}/${d}/g" "${f_tmp}" >"${f}" rm "${f_tmp}" } if ! test -f .sp-auto.conf; then echo "Not top level of an old sp-auto project: No .sp-auto.conf. Exiting." >&2 exit 1 fi echo "Old sp-auto enabled project tree found." read -p "RETURN to update project (changes only local files), C-c to cancel." ui-auto-uvc check_sync echo "Updating .sp-auto.conf to .ui-auto.conf..." mv -v .sp-auto.conf .ui-auto.conf for f in $(find . -type f ! -wholename "*/.svn/*" ! -wholename "*/CVS/*" ! -name "*~" ! -name "ChangeLog" ! -name "NEWS"); do echo "Updating ${f}..." replace "$f" "sp-auto" "ui-auto" replace "$f" "sp_opt" "ui_opt" replace "$f" "sp_env" "ui_env" replace "$f" "sp_release" "ui_release" replace "$f" "sp-libopt.sh" "ui-libopt.sh" replace "$f" "SP_" "UI_" replace "$f" "sp-doxygen" "ui-doxygen" replace "$f" "sp-version" "ui-version" replace "$f" "sp-distdir" "ui-distdir" done echo echo "=> Project updated; remaining TODOS for you:" echo echo "* Verify all changed files via VCS. You should only see sp->ui naming conversions for ui-auto related strings." echo "* Run \"ui-auto-strap && ./configure && make distcheck\" to test changes." echo "* VC: Remove obsolete file .sp-auto.conf, add new file new file .ui-auto.conf." echo "* VC: You may need to fix up 'ignore settings'." if [ -e "${HOME}/.sp-auto.conf" -a ! -e "${HOME}/.ui-auto.conf" ]; then echo echo "NOTE: The following is NOT related to the project, just a convenience update for your local user configuration." echo "I also note that you have a per-user ~/.sp-auto.conf, but no ~/.ui-auto.conf." echo "You can just have both files in parallel as long as you need to use both, sp-auto and ui-auto." read -p "Create a skeleton ~/.ui-auto.conf based on ~/.sp-auto.conf (y/N)?" answer if [ "${answer}" = "y" ]; then sed -e "s/sp_auto/ui_auto/g" -e "s/sp-auto/ui-auto/g" ${HOME}/.sp-auto.conf >${HOME}/.ui-auto.conf echo "${HOME}/.ui-auto.conf created. This file NEEDS manual inspection, though." fi fi exit 0 ui-auto-1.2.10/src/PaxHeaders.22674/Makefile.in0000644000000000000000000000013013223161307015547 xustar0029 mtime=1514988231.86593688 29 atime=1514988233.11790873 30 ctime=1514988234.973866995 ui-auto-1.2.10/src/Makefile.in0000644000175000017500000004222313223161307016635 0ustar00absurdabsurd00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/src/m4/ui-auto.m4 \ $(top_srcdir)/src/m4/ui-common.m4 \ $(top_srcdir)/src/m4/ui-distdir-cruft.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EXEEXT = @EXEEXT@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PROG_XSLTPROG = @PROG_XSLTPROG@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SO_VERSION = @SO_VERSION@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = m4 cmake tools all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic cscopelist-am ctags ctags-am \ distclean distclean-generic distclean-tags distdir dvi dvi-am \ html html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: ui-auto-1.2.10/PaxHeaders.22674/INSTALL0000644000000000000000000000007413157351331013757 xustar0030 atime=1514912491.713591249 30 ctime=1514988234.945867626 ui-auto-1.2.10/INSTALL0000644000175000017500000003661413157351331015045 0ustar00absurdabsurd00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell command './configure && make && make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the 'README' file for instructions specific to this package. Some packages provide this 'INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The 'configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a 'Makefile' in each directory of the package. It may also create one or more '.h' files containing system-dependent definitions. Finally, it creates a shell script 'config.status' that you can run in the future to recreate the current configuration, and a file 'config.log' containing compiler output (useful mainly for debugging 'configure'). It can also use an optional file (typically called 'config.cache' and enabled with '--cache-file=config.cache' or simply '-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how 'configure' could check whether to do them, and mail diffs or instructions to the address given in the 'README' so they can be considered for the next release. If you are using the cache, and at some point 'config.cache' contains results you don't want to keep, you may remove or edit it. The file 'configure.ac' (or 'configure.in') is used to create 'configure' by a program called 'autoconf'. You need 'configure.ac' if you want to change it or regenerate 'configure' using a newer version of 'autoconf'. The simplest way to compile this package is: 1. 'cd' to the directory containing the package's source code and type './configure' to configure the package for your system. Running 'configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type 'make' to compile the package. 3. Optionally, type 'make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type 'make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the 'make install' phase executed with root privileges. 5. Optionally, type 'make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior 'make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing 'make clean'. To also remove the files that 'configure' created (so you can compile the package for a different kind of computer), type 'make distclean'. There is also a 'make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type 'make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide 'make distcheck', which can by used by developers to test that all other targets like 'make install' and 'make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the 'configure' script does not know about. Run './configure --help' for details on some of the pertinent environment variables. You can give 'configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU 'make'. 'cd' to the directory where you want the object files and executables to go and run the 'configure' script. 'configure' automatically checks for the source code in the directory that 'configure' is in and in '..'. This is known as a "VPATH" build. With a non-GNU 'make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use 'make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple '-arch' options to the compiler but only a single '-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the 'lipo' tool if you have problems. Installation Names ================== By default, 'make install' installs the package's commands under '/usr/local/bin', include files under '/usr/local/include', etc. You can specify an installation prefix other than '/usr/local' by giving 'configure' the option '--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option '--exec-prefix=PREFIX' to 'configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like '--bindir=DIR' to specify different values for particular kinds of files. Run 'configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of '${prefix}', so that specifying just '--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to 'configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the 'make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, 'make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of '${prefix}'. Any directories that were specified during 'configure', but not in terms of '${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the 'DESTDIR' variable. For example, 'make install DESTDIR=/alternate/directory' will prepend '/alternate/directory' before all installation names. The approach of 'DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of '${prefix}' at 'configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving 'configure' the option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'. Some packages pay attention to '--enable-FEATURE' options to 'configure', where FEATURE indicates an optional part of the package. They may also pay attention to '--with-PACKAGE' options, where PACKAGE is something like 'gnu-as' or 'x' (for the X Window System). The 'README' should mention any '--enable-' and '--with-' options that the package recognizes. For packages that use the X Window System, 'configure' can usually find the X include and library files automatically, but if it doesn't, you can use the 'configure' options '--x-includes=DIR' and '--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of 'make' will be. For these packages, running './configure --enable-silent-rules' sets the default to minimal output, which can be overridden with 'make V=1'; while running './configure --disable-silent-rules' sets the default to verbose, which can be overridden with 'make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. HP-UX 'make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as 'configure' are involved. Use GNU 'make' instead. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its '' header file. The option '-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put '/usr/ucb' early in your 'PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in '/usr/bin'. So, if you need '/usr/ucb' in your 'PATH', put it _after_ '/usr/bin'. On Haiku, software installed for all users goes in '/boot/common', not '/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features 'configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, 'configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the '--build=TYPE' option. TYPE can either be a short name for the system type, such as 'sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file 'config.sub' for the possible values of each field. If 'config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option '--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with '--host=TYPE'. Sharing Defaults ================ If you want to set default values for 'configure' scripts to share, you can create a site shell script called 'config.site' that gives default values for variables like 'CC', 'cache_file', and 'prefix'. 'configure' looks for 'PREFIX/share/config.site' if it exists, then 'PREFIX/etc/config.site' if it exists. Or, you can set the 'CONFIG_SITE' environment variable to the location of the site script. A warning: not all 'configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to 'configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the 'configure' command line, using 'VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified 'gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an Autoconf limitation. Until the limitation is lifted, you can use this workaround: CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash 'configure' Invocation ====================== 'configure' recognizes the following options to control how it operates. '--help' '-h' Print a summary of all of the options to 'configure', and exit. '--help=short' '--help=recursive' Print a summary of the options unique to this package's 'configure', and exit. The 'short' variant lists options used only in the top level, while the 'recursive' variant lists options also present in any nested packages. '--version' '-V' Print the version of Autoconf used to generate the 'configure' script, and exit. '--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally 'config.cache'. FILE defaults to '/dev/null' to disable caching. '--config-cache' '-C' Alias for '--cache-file=config.cache'. '--quiet' '--silent' '-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to '/dev/null' (any error messages will still be shown). '--srcdir=DIR' Look for the package's source code in directory DIR. Usually 'configure' can determine that directory automatically. '--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. '--no-create' '-n' Run the configure checks, but stop before creating any output files. 'configure' also accepts some other, not widely useful, options. Run 'configure --help' for more details. ui-auto-1.2.10/PaxHeaders.22674/ChangeLog0000644000000000000000000000013213223161264014471 xustar0030 mtime=1514988212.826380221 30 atime=1514988212.874379086 30 ctime=1514988234.941867715 ui-auto-1.2.10/ChangeLog0000644000175000017500000021775713223161264015575 0ustar00absurdabsurd000000000000002018-01-03 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.10. configure.ac: Prepare 1.2.10. 2018-01-03 Stephan Sürken Warn about frowned-upon remote signing workflow (rsign and debrsign options). - example user conf: Warn in the docs, and comment the remote signing settings. - ui-auto-release: Warn at startup, and when remote signing is actually tried. - ui-auto-rsign: Warning when called. Except the quiet verbose warnings, the old behaviour is not changed. 2018-01-01 Stephan Sürken template.deb_*: Update: stretch release && buster. ui-auto-release: Fix dput check to allow variant from dput-ng. 2016-08-01 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.9. configure.ac: Prepare 1.2.9. ui-auto-release[-multi]: Fix/provide consistent 'user home' value for auto-generated man pages. 2016-07-31 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.8. Revert "[ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control." This reverts commit 61f518830fc310cc985bdc830594d14e5e467930. 2016-07-30 Stephan Sürken Revert "[ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.8." This reverts commit dff4cf5b7418ebf1c2572644a1de25e3134b52c5. src/tools/Makefile.am: Fix for distcheck (we now need basename of $<). [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.8. configure.ac: Prepare 1.2.8. 2016-07-30 Stephan Sürken ui-auto-release (reproducible builds): Apply Chris' snapshot version patch here too, as -- alas -- this ends up in the man page as well. Seems a bit clumsy to put that code there, but it seems the only easy fix. Should not bother anyone as long as no one sets SOURCE_DATE_EPOCH manually in their environment. That dynamic snasphot version should not end up in the man page in the 1st place, but that would be a hard change and won't come for legacy ui-auto. 2016-07-30 Stephan Sürken ui-auto.m4(reproducible builds): Fix comparison: Must use "test", not square brackets in m4 macros. src/tools/Makefile.am: Don't ignore failures on automatic man page generation any more. src/tools/ui-auto-shell: Add extra support for better usage output via -h|H. Makefile.am(reproducible builds): Bugfix: Always use our in-project m4 macros. Previously, it would just use the m4 macros from ui-auto already installed in the system (confusing!), and not be strapable if ui-auto is not installed on the system (bug!). 2016-07-25 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.7. configure.ac: Prepare 1.2.7. 2016-07-25 Stephan Sürken build system: Support SOURCE_DATE_EPOCH (reproducable builds) (thx to Chris Lamb). https://reproducible-builds.org/specs/source-date-epoch/ See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832180. All changes from there "as is" except the unnecessary one in ui-auto-release. 2016-04-25 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.6. configure.ac: Prepare 1.2.6. ui-auto-uvc: Fix svn detection for subversion >= 1.7. 2015-06-29 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.5. configure.ac: Prepare 1.2.5. template.deb_*: Update jessie version to stable/80, and add stretch. 2015-05-10 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.4. configure.ac: Prepare release 1.2.4. .ui-auto.conf: Update to be able to build snapshots on hellfield. template.deb_git+mbd-1.0: Make work with git-buildpackage >= 0.6.24 (sid/stretch: uses "gbp target" only). 2014-11-26 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.3. configure.ac: Prepare release 1.2.3. 2014-11-26 Stephan Sürken ui-doxygen.m4: Only install known target dirs (fixes distcheck errors with newer doxygen) Previously, s.th. like '/*' was used, just to copy any created dir. Newer doxygen versions also put a sqlite db in there, which then also would be installed (first bug). Then 'distcheck' would complain that this is sqlite db is not removed (second bug), as the uninstall already only removed the defined target dirs. Thanks to Marc Laue for the patch. 2014-08-18 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.2. configure.ac: Prepare 1.2.2. ui-auto-release: autonews/svn: Use actual revision from remote tag URL. ui-auto-uvc[svn]: news: filter_nice: Harden header regex. ui-auto-release: Support (optional) release remote signing. 2014-08-17 Stephan Sürken Add script 'ui-auto-rsign' aka "debrsign for upstream" 2014-08-13 Stephan Sürken ui-auto-release: Add support for a custom local signing command. ui-auto-release: autonews: When release date string parsing fails, fall back to file modification date (instead of failing). ui-auto-release: NEWS file: Use RFC-2822 date format (was: UTC, possibly localized). This ensures the date is never localized, and may be parsed if need be. ui-auto-uvc: news, 'filter_nice': Grml: Workaround bash segfault (<= wheezy only). .ui-auto.conf: Add alternate mbd target. ui-auto-uvc[svn]: news: Fix: Don't use fmt option '--goal' (seems this is a new one...). (Fixes svn autonews on older systems) 2014-08-12 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.1. configure.ac: Prepare 1.2.1. build system: Remove bashism checker (we _use_ bash nearly for all, and it was not functional anyway...) ui-auto-uvc[svn]: Improve 'news', getting pretty close to what git shortlog does. 2014-07-30 Stephan Sürken ui-auto-release: Auto-restore original NEWS and ChangeLog in snapshot mode. ui-auto-release: autonews: Skip "UNRELEASED" sections for the automated "since tag". ui-auto-release: autonews: Print error/info text to NEWS when command fails. ui-auto-release: autonews: Add the "since tag" to the "Changes" header. 2014-07-20 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: ChangeLog updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.2.0. configure.ac: Prepare 1.2.0. 2014-07-18 Stephan Sürken ui-auto-release: [Debian] Snapshots: Use VC-only (aka shorter) Debian revision when upstream already is a snapshot. 2014-07-17 Stephan Sürken ui-auto-release: [Debian] Sanity check that we actually have checked out a matching package VC ui-auto-release: [Debian] Add extra error handling when no appropriate changes is found. ui-auto-release: Add workaround to make auto-news "sort of work" with svn. ui-auto-uvc: [svn] Add command "news". svn does not support shortlog, or decent custom formatting of the logs. So we just use standard log here, and replace "---" lines as they collide with NEWS format Hopefully better than nothing... 2014-07-16 Stephan Sürken Makefile.am: Add .gitignore to dist. ui-auto-release: dpkg-bp: Always sign with extra tool, and support remote signing. .ui-auto.conf: Connect to Debian packaging on alioth. Add 'deb_git+mbd-1.0' template. ui-auto-release: Snapshot sequence: Also run autonews and autochangelog. 2014-07-15 Stephan Sürken ui-auto-release: notify email subject: use '[ui-auto] ' instead of 'ui-auto: '. ui-auto-release: Auto NEWS: Show command for editing beforehand and further improvments. ui-auto-uvc: git checkout: Create same-name local branches for all (other) remote branches Some tools (like gbp) actually need this to work properly. 2014-07-15 Stephan Sürken ui-auto-uvc: git commit|tag|branch: Always also push to origin. ui-auto can not really cope with distributed VCs, so only mimicking a non-distributed VC suites us. con-dev will do better eventually. 2014-07-11 Stephan Sürken .ui-auto.conf: Some comment updates. .ui-auto.conf: Remove manual_dist flag; this will become 1.2.x with the next release. ui-auto-release: auto changelog: Indicate that the file 'ChangeLog' was updated in the commit message. "Updated from version control" on itself is not really self-explaining... 2014-07-11 Stephan Sürken ui-auto-release: Actually implememt 'autonews from vc', and add an automated release 'type' text Instead of doing it 'correctly' pondering the VC and tags, this uses the NEWS file to check for the last version, and guesses the tag-to-be (only con-dev will at some point do it correctly ;). Also added is an automated text indicating if this is a snapshot, patch, or branch release, based on whether we do tags. 2014-07-11 Stephan Sürken .ui-auto.conf: Fix SourceForge download location (via new config option). 2014-07-10 Stephan Sürken ui-auto-uvc: git news: Update to better format. ui-auto-release: Add option 'ui_release_download_loc_append_package', to cope with download location as SourceForge's. 2014-05-05 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.18. configure.ac: Prepare 1.1.18 Add template for mini-buildd 1.0.x. 2013-11-27 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.17. configure.ac: Prepare 1.1.17. .ui-auto.conf: Omit Debian configuration (won't work with git). .gitignore: Update. 2011-06-29 Stephan Sürken src/tools/ui-auto-uvc: Add check_installation for "local". 2011-03-15 Stephan Sürken .ui-auto.conf: Drop support for etch and lenny. [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.16. configure.ac: Prepare release 1.1.16. src/tools/template.deb_svn+mbd: Add support for wheezy. 2011-02-07 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.15. configure.ac: Prepare 1.1.15. src/tools/ui-auto-release: svn-bp: Also fix/auto-override 'buildArea' for non-standard layouts. (cherry picked from commit dcc10b5d14a419b964c3651d75b6da3a8f8a6f79) [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.14. configure.ac: Prepare Release 1.1.14. 2011-02-07 Stephan Sürken src/tools/ui-auto-release: svn-bp: Always override 'origDir' so this is always correct independent of layout. This adds an automatic 'option override' feature for known Debian b-p tools; all known options of the known tools that can be set automatically for that ui-auto run should be set here. Currently this overrides origDir for svn-bp -- this might be incorrect for non-standard directory layouts. (cherry picked from commit e6b841be909368445602a72bf0880455ca1c3a42) 2011-01-18 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.13. configure.ac: Prepare 1.1.13. src/m4/ui-doxygen.m4: Bugfix: Create destination directory if it does not exist. (cherry picked from commit 939092832edd3cc8ddf0203732cef982ee20e6fc) 2010-12-22 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.12. Maintenance Release 1.1.12: Add support for squeeze for template.deb_svn+mbd. 2010-12-09 Stephan Sürken .ui-auto.conf: Auto-backport for squeeze, too. [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.11. .ui-auto.conf: Add gerhard on ui-auto 1 stable release. configure.ac: Prepare 1.1.11. src/m4/ui-with-apxs2.m4: Add UI_WITH_APXS2 m4 macro for autotools. (cherry picked from commit 952101360dcdf916c8027e0ca47612544b43956b) 2010-11-17 Stephan Sürken [ui-auto-release run by absurd@weslok.olx.intra]: Updated from version control. [ui-auto-release run by absurd@weslok.olx.intra]: News for 1.1.10. .ui-auto.conf: Add manualdist, so we can call 1.1.x stable. Prepare 1.1.10 release on new 1.1.x compat branch. This should be used now for old style 1.0* projects. 2010-07-26 Stephan Sürken ui-auto-release: Fix wrong name for internal function: ui_check_installed(). 2009-11-05 Stephan Sürken ui-auto-release: Fix sequent error handling for bash 4.0 In bash 4.0, subshell failures trigger error exit of the shell when runing in error-on-exot (-e) mode; bash <=3.2 this was an exception. I.e. set -e ( false ) RET=$? echo RET=$RET would echo the return value for bash <=3.2, but for 4.0, the script just stops at false. This fixes the error handling code for sqequents to work with both variants. 2009-11-02 Stephan Sürken Fix: Uncommited staging check done right tools: Renice error output for givben contexts ui-auto-uvc: (git) Also check for staged uncomiited files; othe cleanups. 2009-10-30 Stephan Sürken ui-auto-uvc: git/check_sync: Also check remote sync, and other fixes ui-auto-uvc: Convert -V, -P args to normal commands path, version. ui-auto-uvc|ubs: More consistent command naming (seperate via _) ui-aut-ucv: Don't echo command on normal call; just warn if not implemneted 2009-10-28 Stephan Sürken Warning and error handling cleanups and improvements. ui-auto-uvc: Several cleanup and fixes; declaring git support non-experimental ui-auto-uvc: Simnplify git checkout call 2009-10-27 Stephan Sürken git: Fis ignore settings for auto-produced tool man pages. ui-auto-release: Improve documentation wording. ui-auto-ubs: We only need one optional positional argument ui-libopt.sh: Add notion of "expert" options to clean up usage help Expert options will only be shown with the new long help (-H). This way the standard usage help (-h) can concentrate on the really important options, confusing users less. ui-libopt.sh: Add generic -h ("terse help") -H ("verbose help") options Basically, -h is now a short help, and -H a long help; the API has changed somewhat to support the notion of "documentation", which is shown for long help only. Also, many changes in readability of the usage help, and all tools are updated to support this. 2009-10-26 Stephan Sürken ui-auto-uvc: Bugfix: Informational output should go to stderr ui-auto-uvc: "tag" and "branch" command: Only DEST arg (was: FROM TO) We dont need the "FROM" argument, we always tag the current working directory state. This also fixes tagging from "." when using svn (which strangely omits logs from the tag copy without prior svn update); the "from" path for svn is now selected automatically and always with a absolute server URL via "ui-auto-uvc -P". ui-auto-release: Renice branches and tag commit messages, add version ui-auto-release: Nicer wording for changelog commit ui-auto-release: Add package version in commit message for NEWS 2009-10-19 Stephan Sürken ui-auto config: Update to SourceForge: VC, tarball location and announce mail Add excplicit COPYING file (GPL-2) Add .gitignore file README: Cosmetic abstract wording change Merge branch 'master' of ssh://ui-auto.git.sourceforge.net/gitroot/ui-auto/ui-auto Update README; rewrite abstract and properly integrate TODO part Still some outdated information here; keep abstract stuff up-to-date at least. sequent upload: Don't scp with "-p" This did not make much sense before, as we did not control the locally created permissions of what was scpied over anyway, and it breaks the sf setup (unless you invent another useless dir level, that is). So we just remove this. 2009-10-02 Stephan Sürken Add two custom ui-auto configs (fritz and ab) These are not of much use for others, but still the best place to keep them. 2009-08-06 Stephan Sürken * ui-auto-uvc: - git_update: Detect git-svn, and rebase from remote svn instead of pulling. 2009-06-18 Stephan Sürken typo fix. cosmetics we should not set any commit flag here. we always need --svn-ignore on snapshots as we never check in. - For convenience, start shipping templates for common Debian configurations; initial template is "deb_svn+mbd". - Update our conf with that template. clean up Debian config. clean up Debian config. snapshots should always go to -experimental 2009-06-04 Stephan Sürken [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. add some doc updates. prep 1.1.9 don't allow userprefs in project conf, rather add special handling fro debian only mode. 2009-06-03 Stephan Sürken allow userpref in project's .ui-auto.conf's (testing). Fix dput retry for autoamtic mode (endless loop) 2009-05-29 Stephan Sürken add wd info to checkin code. typo fix: wrong variable. debian version magic: let's guess whether this seems a backport. fix: checkOpts should not output anything. yet another load of cosmetic changes. code cleanup. - Make automatic mode interactively selectable after overview page. 2009-05-28 Stephan Sürken - Make snapshot separator configurable; means you can now select your versioning policy: '.': Set new version before you release. '~': Set new upcoming version _after_ you release. imp only show notify when needed. typos and doc fixes: Finishes - Remove redundancies && make the interactive interface even more clear. typo fix. implement local_path. config_info_tarball: only show relevant information. add VC path as status line for any sequent info. fix order. canonicalize absolute tarball names. finally, replace redundnat code by new config_info funcs in sequent info funcs. seperate func: config_info_vc renoce release flags output. seperate status_check and overview. seperate func: config_info_tarball more cosmetics. seperate func: config_info_debian another bucket full of more cosmetics. a bucket full of more cosmetics. more cosmetics. more cosmetics. more cosmetics. more cosmetics. NOHELP is Obstsalat. renice error output. obsolete NOHELP ui_opt_error: Don't print help by default, just usage. adapt error output style. add doc for LOCAL vc. - "local/checkout": Protect against copying "/." on empty given src. reniced error handling when config not found. - '-f': Protect default name to be search in PATH (.ui-auto.conf->./.ui-auto.conf). - '-S': Now given without separator, and used for Debian revision snapshots, too. -S: only the apdx, without separator. snapshot w/o "." snapshot w/o "." upate version code. 2009-05-27 Stephan Sürken - "Unreleased" use case: Protect sed to only replace in first line. - version pondering: Honor all (three) possible use cases. mv proposed 1.2 news to README. * ui-auto-uvc: Omit '.' separator for vc version string (svn123 rather than svn.123). 2009-05-26 Stephan Sürken typo comsetics. doc cosmetics. cosmetcs: use short prefix for error/warn: E:/W: * ui-auto-release: - Make dput options configutable per user. - Retry with changed options on dput failures. 2009-05-25 Stephan Sürken updates for auto-backport mode. 2009-05-23 Stephan Sürken - debian only mode: Enable stable/unstable switch via -T. - debian_package: Re-read package version after optional manual version changes. * ui-auto-uvc: - Forgot to migrate vc "local" for new vc loc scheme. - Add "local" to list of supported vcs. - Make "local" default if no other supported vc is found. 2009-05-20 Stephan Sürken [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. prep 1.1.8 prep 1.1.8 2009-05-06 Stephan Sürken fix status for debian-only mode fix dependency for orig_loc for debian only mode. - Add common ui_commit function; for any commits, this - adds affirmation. - adds diff view. - adds re-edit options. - always skips on snapshot mode. mv comment. always show diff/add. cosmetics. cosmetics. kfix: add diff to list of known commands. add docs. NEVER checkin in snapshot mode incorporate edit option into ui_commit. add doc. do all commits via ui_commit. add ui_commit helper func. * ui-auto-uvc: Add command "diff". put current rel NEWS up. 2009-04-30 Stephan Sürken code cleanup code cleanup code cleanup code cleanup code cleanup code cleanup code cleanup code cleanup simplify code. simplify code. add "debsnap" and timestamp in snapshot mode. Fix section onwner. comsmetics7docs. obsolete - Sequent 'debian_package': Re-use top-level sections marked as UNRELEASED, and add even more magic around the automated changes. replace some "grep" calls by bash internal regex. code cleanup 2009-04-29 Stephan Sürken use --force-bad-version: according to man, this should be used to allow lower versions. fix: implicitely set Debian Mode (-d) for Debian-Only projects. 2009-04-27 Stephan Sürken * ui-auto-release: Add "Debian only mode" support to be able to use sequent 'debian_package' for native Debian packages or where we do not control upstream. fix message in debina only mode. dont print package stats in debian only mode. sequent debian_package: Update for debian only mode. simplify code. sanitize DEBREV to local var. adapt sequence handling for debian only mode. remove obsolete/wrong debian_package check. update conf_check for debian only mode typo fix. typo fix. improve docs - "debianonly" is not a Debian variable - fix check() to pass on debianonly. mv functions to functions area. use functions for package and debian global variable pondering. add debian only mode debian variable. 2009-04-24 Stephan Sürken Quote failig command line output. Hint to -p|-P when no .ui-auto.conf found. 2009-04-22 Stephan Sürken add print_item func. 2009-04-20 Stephan Sürken * autotools/m4: doxygen: On --disable-ui-doxygen, output a notification file for each possible target (def html latex man rtf xml) instead of just a top level README; this helps installers as they can expect the same files/dirs in both situations. doxygen/m4: use a tagets variable. 2009-04-09 Stephan Sürken * libopt: On error, output failing command line for better debugging. sequent documenttation improvements. new skel for 1.1.8; trim the proposed stable news to 64 chars. [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. prep 1.1.7. cosmetics. 2009-04-08 Stephan Sürken some more code cleanups. cosmetic: Replace all backticks by $() syntax. all remianing sequents: Auto-disable in SEQUENCE rather than silently exit in sequent. release_hook: Auto-disable in SEQUENCE rather than silently exit in sequent. autonews and autochangelog: Auto-disable in SEQUENCE rather than silently exit in sequent. rather use a new var sequent_all that a redundant complete list. - Add a non-action mode, option "-n". rework all sequent infos, and remove some now-obsolete questions. New option -I to see doc. fix back from test checkin. use differnet naming scheme runt run/info. add initial docs for all sequents. cosmetics. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. add doc for sequent autonews. * Check/exit on root user later so informational actions like -h -p -P are avaiable for root. hint to vcpath docs in ui-auto-uvc. - Sequent doc support (i.e., show doc and ask before any sequence). [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. mv status from sequence - it is not a sequent, and must run. ask for any sequence. cosmetics. status support. cosmetic fix typo: C depends on c, and default is "". 2009-04-07 Stephan Sürken - update to new scheme from ui-auto-uvc: debian checkout. - update to new scheme from ui-auto-uvc. - Caveat fix: On VC path autodetection (-c), actually compute the vcpath from the VC working directory (via ui-auto-uvc -P) instead of using configuration from .ui-auto.conf (think about releasing a patch release from a fresh branch). opt-protect branch command. opt-protect tag command. opt-protect commit command. opt-protect add commnad. add option check for checkout command. update checkout to use the new VCPATH. rename -L to -P, re-implement correctly and document it. * ui-auto-uvc: Add location (-L) support. 2009-04-06 Stephan Sürken dont remove verbosely. Fix variable names to UAR_ARGS and UI_ARGS_ALL. Add quick start documentation. cosmetics. proetct sequent. checked. dont remove onexit file if -K is set. fix: patch: protect file names in mv commnad. this really has now use. renoce temp names protect most onExitAdd calls. re-design onExit to use a temporary file; this will always work without further ado for subshells (and effectively re-enables -R option for subshells) 2009-04-03 Stephan Sürken simplify: dont support prefix cmd. final fixyes. simplify; we dont need post hooks. cosmetics. obstsalat. update to more generic hook scheme. 2009-04-02 Stephan Sürken update to simpler -s -c -n args; update for working dir. add setDefault common func. many cosmetic fixes 2009-03-31 Stephan Sürken ignore settings, cosmetics. 2009-03-30 Stephan Sürken cosmetics. add -n option. - Add new wrapper tool "ui-auto-release-multi" to simplify configuration of multiple, automatic runs. 2009-03-27 Stephan Sürken cosmetics. finally fis errorhandling ;(. Removing sequent debian_upload. simplify code. Update/simplify sequents now that we have retry/ignore for any sequent. no ignore/retry for sequence status. - Sequent "fail-over" in interactive mode. 2009-03-20 Stephan Sürken - code cleanup - Fix: -f XYZ -c mode and STOREDIR. - enable orig auto-commit for stable non-snapshot release. - show orig auto-commit in sequent_status. cosmetics. * Auto upstream changes: Fix folding/prefix handling; recommended line length is now 64 chars. Update to the new recommended line length (64). Recommended line length is 64 (see below, upstream changes in Debian changelog). recalc/fix the width we need to fold (64, not 65), and add a long comment about that ;). 2009-03-19 Stephan Sürken some cleanup using $(), not backticks. name fix: sequence->sequent. 2009-03-18 Stephan Sürken use fold rather than fmt to tame upstream news. 2009-03-17 Stephan Sürken cosmetics. fix: handle extra actions -p/-P early. fix: error handling when orig commit fails. add "add" to syntac check func. * -ubs: distcheck/cmake: Add missing package build. - Add "ui_release_deb_orig_commit" (diversed) config option; you may automate Debian orig tarball checkin with that. format fixes. new command add for uvc. * -f: Convenience: Enhanced code so you may use checkout mode from outside the project and w/o giving "-C svn/URL" explicitly using "-f x/project/.ui-auto.conf -c". 2009-03-16 Stephan Sürken RUNDIR->STOREDIR, some code cleanups. * -f: When config file is given on command line, also run checks for that file (not .ui-auto.conf). fix removal. * -release: Sequent bs_strap now also runs clean with strap; this may be needed in "local checkout mode" to get clean build env. * -ubs: cmake strap now initially supports the "clean" option. * -uvc: Skip "preprocess" part which was needed for (older) svn implementations only; effectively fixes running "svn up" unwanted. cosmetics. * -uvc: svn: dont run "svn up" when getting version. Instead, use svnversion and also chake for existence of that tool. svn ignore update. * -ubs and -uvc: checkinstallation: Generalize installation checks, and effectively add error message to stderr on error. fix error handling ;). * -ubs: checkinstallation: Add error message to stderr on error. 2009-03-13 Stephan Sürken * Add cmake macro support; macros will be installed to /usr/share/ui-auto/cmake. Initial entry is FindApache1.3.cmake. 2009-03-11 Stephan Sürken * Non-snapshot release: Don't open EDITOR for autonews in automatic mode. * Nicer error handling on sequent failure. [ui-auto-release run by absurd@orlok.olx.intra]: Automatically updated from vc. [ui-auto-release run by absurd@orlok.olx.intra]: News update. prep 1.1.6; declare VC "local" non-experimental. 2009-03-10 Stephan Sürken - clean up news - remove extra code for "local copy" as we can do it now with meta-vc "local". - VC: Add experimental support for meta-vc "local". - some cosmetics. upstream changes: Only whe autonews is enabled. cosmetics. fix bug in git warning. add git to list of supporteed vcs. doc fixes. use checkinstalltions for uvc & ubs. reorder impl,, omit -c, add command checkinstallation. cvs_cmd_preprocess now obsolete. Omoit "-c" option. make impl. vc commands optional. reorder impl * VC: Add experimental support for "git". * Add upstream changes to Debian changelog. pretty-print the upstream NEWS. change ui_pprint to a pipe/filter; initial upstream changes support. * Add check: Build system installation. add bs installation check analogouzs to uvs; simplify uvc checks. remove ob. func: tagalize (ui-auto-ubs). fix read LINE to use $REPLY instead to get full input. fix: rather use "none" for explicit VC information when you want to copy. add comment for do_getnews args. 2009-03-06 Stephan Sürken renice help. Upodate NEWS. Cosmetics. * Error handling fix: Default answers change to "N" for: tarball overwrite, upload overwrite, continue on upload error, continue on notify error, continue on debbuild error, ignore local change in checkout mode. cosmetics. * Omit -U (manual upload) option. For non-snapshot tarballs, you can do it with sequences now. - Add meta sequent ALL. - Doc cleanup. -R fix: Also remove *.changes. 2009-03-05 Stephan Sürken clena up snasphot version patch code. fix: snapshots had double stamp. renice sequence handling. put handling of R option to correct sequents. Omit "Omit" -O: Do everything with sequents. remove now-obsolete -O options. complete sequence hadnling, added -Q option. initial sequence support. add upload_debian as sequence item; some changes needed. renames for upcoming sequences. Fox do_upload sequence item. simplify. new sequence item: vccheck. Cleanup: All sequence skipping due to project/user config should be in the sequence functins. * -S: This now sets the whole version appendix; means you are able to create rc snapshots w/o timestamp version like so 'ui-auto-release -S ~rc1'. 2009-03-04 Stephan Sürken code renicing. * New -f /-F options: Manually set project and user config file locations. fix upload file name for Debian. 2009-03-03 Stephan Sürken fix ignore settings. Update README. fix: add defaulkt for -O. fix: for -R: add Debian *.upload file. 2009-03-02 Stephan Sürken impl omit: upload_debian. impl omit: upload. impl omit: release_hook. impl omit: check. add -O option handling. update NEWS. * New -R option: Remove local traces (tarball*, deborig*, debbuilds). ui-auto-ubs done. * For cmake 'dist' is no longer done in an extra dir per default (does no fit for ui-auto-ubs). Use "ui-auto-release -c | -C copy" as replacement. upodate to ui-auto-ubs. not verbose for restore command. fix for restore command. update command patch: - compute $package automatically, remove opt - create backup, and print restoral code to stdout generalize release sequence using ui-auto-ubs. update to ui-auto-ubs. add optional options for configure. * Obsoleted/removed: "ui-auto-strap". Use "ui-auto-ubs" now. fix strapoptional options and docs. * New tool "ui-auto-ubs" (Universal Build System) analogous to *-uvc. This will fully encapsulate the build system so all tools will just work for all build systems supported. 2009-02-27 Stephan Sürken update: ui-auto-ubs. [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. final fixs to NEWS/README. Dump to 1.1.5, add initial proposed 1.2.x release NEWS. 2009-02-20 Stephan Sürken * Fix onExit functions for subshells. Better question for local changes in checkout mode. * Fix removal of temporary Debian checkout. final fix for mktemp && error handling. - renoice error hanflich for mktemp. -Use ui_mktemp for _all_ temps. 2009-02-19 Stephan Sürken Fix: Also keep Debian checkout if -K ist set. Fix: Dont use $package for mktemp, might not been defined here. 2009-02-18 Stephan Sürken rm wrong default for testing - Fix: when mktemp fails, also dont generate any cleanups. - Fix: User pref handling must be before vc strap. - Fix: Error handling when mktemp fails. * Add '-K' = keep temporary option; useful for debugging. * Add new user pref: 'ui_auto_userpref_tmpdir' for systems where /tmp is just not big enough. renoice docs, and add example for key id for debian signing. * Add error message when dbuild fails. 2009-02-17 Stephan Sürken * Fix error handling when no BS found; clean up basic "no-project dir" errors. * Fix error output for user=root warning. use etch for now to build debian packages. * Ignore GNU extension warnings in src/tools (we want to use them). * m4: UI_INIT: Add option to configure automake per project; drop default "tar-ustar filename-length-max=155" to none (you may add this to your project to get exactly the same behaviour). Update ourselves to use "tar-pax". * m4: UI_INIT: Make automake options configurable per project; patch up default options to "tar-ustar filename-length-max=255" (was 155 chars). [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. prep 1.1.4 (unstable). 2009-02-16 Stephan Sürken write mandataory dependency on error. typo orig_loc should be mandatory on -d. Documentation updates. harden grep, cosmetics. for doc (-P not -p). - doc improvements. - Set all defaults and variable dependenies correctly. add some more examples to docs. deb vc tag default is trunk. doc typos default for deb_orig_loc shpould be empty. - add quiet option for conf_print. - revive -p/-P (defaults/defauls+doc). - Actually set default values. add extra check for unkown variables in .ui-auto-conf (typos and such). cosmetics. conf check: Add "manadory at" feature. more doc fixes. default should be empty for deb_orig_loc. pimp documentation. add nte that we are checking status as this might take a while now... 2009-02-13 Stephan Sürken - Add the notion of manadtory config options, and add an automated check. skip notify if wished. * .ui-auto.conf project configuration updates: - Put all items and their docs into ui-auto-release. Use 'ui-auto-release -p' now to get an example conf+docs. - Add the notion of default values; again, use 'ui-auto-release -p' to see them. - Re-nice and update our ui-auto's .ui-auto.conf as project example. drop verbose config, drop -P. add initial config impl. make upload_loc optional. Cosmetics. debian check: for debchange, also check for the --force-distribution option; add version to Debian hint. add debian check: dput. cosmetics. add Debian check for debchange. streamline cvs2cl error message. checks: add svn2cl check. 2009-02-12 Stephan Sürken add Debian import support. dump NEWS to 1.1.4 (we cant release 1.1.3). fix: Only use hostname for -s ! -c snapshots (@ not allowed). fix: add forgotten dist param for normal do_upload call. - Skip meta dist "snapshot"; instead we have stable and unstable snapshots - Make Debian package building configurable for stable/unstable + snapshot. typo fixes. for -s ! -c, use USER@HOST appendix. for -s -c, also add vc version to snapshot version. skip dist snapshot: Just use stable/unstable. add Debian cl entries to status. more cosmetics. cosmetics. upate help. change -P to -S and slightly change semantics. cosmetic: Use [] for all tests, not test. fix: Use local dist here. add upload file + warning if already uploaded. fix -U by asking dist type. extra common check func dist_ok. re-add -U option ;(. simplify do_upload. Skip -U (manual tarball upload). add ui_err, and replace all remianing error output. typo fix. no need for option -B; we never want to set this manually. 2009-02-11 Stephan Sürken add tarball to upload warning ztext. add a ui_warn, drop ui_note, replace ui_note with warn & ask. this removes obsolete code and separates warnings (errors) to stderr. -C implies -c. fix: call onExit commands in reverse order (lifo). make tarball and deb package dir location dependent whether we are in project dir or not. ${HOME}/ui-auto-release-debian is the better default after all... - add nicer code to guess whether we are in project dir. - add VC warning on bootstrap. before bootstrapping, warn if there are local changes if we are in project dir. - fix package_tarball_abs and debdir default (revert to ../!) for checkout mode. - print local tarball location in status change boostrap option to -c / -C. add auto detection for -S param. fix/clean up code order. automate vc boost strapping via .ui-auto.conf add comments. reading config shpould be first we do. Change default for debian package dir to HOME/... so we dont get generated to /tmp with -S. - VC Bootstrap support (-S switch). 2009-02-06 Stephan Sürken add -S strap option docs. make debdir user configurable: Global, and per project. help: add note that this works for autoconf only. complete docs, and add per project debdir var. 2009-02-05 Stephan Sürken cosmetic: var order. 2009-01-28 Stephan Sürken revert temporyr modificaetions for dput and upload.l - Add support to manually chose distributions (stable/unstable). - update NEWS. switch back to unrelesased. remove some obsolete output alkways start debian revisions with 0 for snapshots. fix upo status for debian release and some type fixes. cosmetics add support to configure the Debian package name, if different. make vc tag configurable for each dist. clean up/simpliufy snapshot version. [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. cosmetics. svn: use --parents instead of pre-creating directory. [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. enable auto-debian for non-snasphots. [ui-auto-release run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release run by absurd@manwe.use.schlund.de]: News update. prep intermediate release. add a common seperator. do_debian: - fix name for debian revision appendix config value. - fix Debian revision creation for snapshot and stable/unstable. - add support to checkin changes for stable/unstable. more cleanuos and cosmetics. yet again, re-order and renice options. -S -N are obsolete imho. Removing. more doc changes. more detailed description of the snapshot mode. 2009-01-27 Stephan Sürken Fix up doc strings and some names. fix: Find changes file so it works for any arch upload. - dbuild_options: Always use these buildpackage options. * Add user preferences in ~/.ui-auto.conf: - nosign: Always skip gpg signing. parse user prefs, and enable the "nosign" option. mini-todo is obsoleted. * Docs: - Add example user conf file. Add user example conf to dist. add user example conf. only build debian package once. ask before auto-building debina package. - Use -d and -D: options for Debian package building. - add -B option and cleanup up build system handling. - clean up option names. chnage Debian autobuild option to D. document debian location. put all build system diversifications in functions, and in one place. - always produce debian tarball when location is configured. - Many cleanups. update news. 2009-01-26 Stephan Sürken rm obsoilete/broken message. Update all commands to functions and other nice cosmetics. cosmetic, doc fixes. Cleanup: Use functions: preprocessing. Cleanup: Use functions: check, version. use force-dist for debchange; cosmetics. update mini todo. - Redo interactive input handling, and add a -A (non-interactive) switch. add non-interactive option -Y, and read funcs. 2009-01-23 Stephan Sürken do_debian: Add more options. * ui-auto-uvc: Add new option -V: Create version suitable for snapshots. 2009-01-22 Stephan Sürken unneccessary quotes. cleanup: Put bs-related code togethter. much more nice cleanups. cosmetics. - many script cleanups. - Tarballs are now generated in "..". many script cleanups. do_snapshot now obsolete. Option "-r" hence obsolete and removed. better values for testing phase. * ui-auto-release: - Initial support for -d = Automatic Debian packages: - snapshot only, svn-buildpackage only. - Snaphots are no longer produced in an extra procedure; you rather taint releasing now for snaphots (old: "-s", new "-r -s"). 2009-01-21 Stephan Sürken renive ways to parse package name and version for different build systems. cosmetic: questions: Show what's default when just hitting enter. cosmetic: questions: Show what's default when just hitting enter. * ui-auto-release: Initial support for -d = Automatic Debian packages: - snapshot only, svn-buildpackage only. add -d options and debian package tarball variables. Improve commentary. cosmetics. 2009-01-20 Stephan Sürken * src/tools/Makefile.am: Bugfix: Only remove produced manpages, not all. 2009-01-07 Stephan Sürken [ui-auto-release (1.1.2) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (1.1.2) run by absurd@manwe.use.schlund.de]. release 112. * Fix: ui-auto-shell: Assure -env is in same dir. ui-libopt.sh should be installed with _DATA target, not _SCRIPT. * Fix: Make AUTHORS non-empty (add me for now). svn-ignore new created man pages. fix clean and check to -local targets. * Add automatically produced man pages for all ui-auto-* tools. * ui-auto.conf: Remove obsoleted src/example from path. cosmetic: fix ui-auto-shell -h output. * ui-libopt.sh: Install to pkgdatadir ("/usr/share/ui-auto"), not bin; add new include recommendations, update all internal ui-*. - sp->ui cosmetics. - add recomended source syntax for upcoming install change. warning should go to stderr. 2008-12-15 Stephan Sürken [ui-auto-release (1.1.1) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (1.1.1) run by absurd@manwe.use.schlund.de]. * Fix: Install man page to man1. [ui-auto-release (1.1.0) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (1.1.0) run by absurd@manwe.use.schlund.de]. Initial unstable 1.1.x release. * ui-auto-shell: If set, use shell given in env $SHELL. * cruft: Add ".git" directories to cruft. fix: install man page with perm 644, not 755. comment arg for echo. ignore new autogenerated man page. * Produce a man page for the PACKAGE-version script. 2008-10-02 Nico Siomos Fix for grepping project line in CMakeLists.txt 2008-09-19 Nico Siomos bug notification in readme file 2008-09-04 Stephan Sürken Be less verbose plese. be less verbose. add extra sanity check, some docs. - Fix in: move orig back. - be less verbose. Fix: we need to give tarball. add some doc. Redundancy removal, part VI: Merge do_tarball_* to do_tarball. Redundancy removal, part V: Add reniced do_tarball_release func to compare w/ *_snapshot. Redundancy removal, part IV: Use package_bs_conffile, completely clean up do_snapshot_version. Redundancy removal, part III: More generic way to compute the build system, and add package_bs_conffile variable to use throughout script. Redundancy removal, part II: Move code to clean up tainted snapshot files to do_snapshot_version. Redundancy removal, part I: add do_snapshot_tarball func. ignore case for sed. make package_source in build dir, and move tarball. rm obsolete debug. snapshot: Build in a temporary build directory for cmake. Allow small keywords in CMakelist.txt. 2008-09-02 Stephan Sürken add tarball support for cmake (release && snapshot). Add "not nice" note ;(. fix up snapshot support for cmake. Initial multiple build systems suppport; support cmake and autotools. 2008-06-20 Stephan Sürken * Bugfix: Version comparison code in UI_CHECK. 2008-06-19 Stephan Sürken Bump version to 1.1.0 (unstable). 2008-06-18 Stephan Sürken [ui-auto-release (1.0.0) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (1.0.0) run by absurd@manwe.use.schlund.de]. 1.0.0. 2008-04-23 Stephan Sürken [ui-auto-release (0.1.109) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.109) run by absurd@manwe.use.schlund.de]. prep 109. 2008-04-04 Stephan Sürken * ui-auto-shell: Don't always run with "-p" (change to projects wd). 2008-02-14 Stephan Sürken [ui-auto-release (0.1.108) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.108) run by absurd@manwe.use.schlund.de]. Fix: Use the new-style https:// svn urls. [ui-auto-release (0.1.108) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.108) run by absurd@manwe.use.schlund.de]. [ui-auto-release (0.1.108) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.108) run by absurd@manwe.use.schlund.de]. prep 108. * ui-auto-release: (svn only) Fix typo on version tagging when releasing from a branch (trunk was used). * ui-auto-release: Fix typo on branch tagging on release (version tag was used). 2008-01-29 Stephan Sürken [ui-auto-release (0.1.107) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.107) run by absurd@manwe.use.schlund.de]. [ui-auto-release (0.1.107) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.107) run by absurd@manwe.use.schlund.de]. [ui-auto-release (0.1.107) run by absurd@manwe.use.schlund.de]. prepare release 107. 2008-01-15 Stephan Sürken * Makefile.am: Depend on automake 1.10 (else , -I for aclocal doesn't not work). * ui-auto-release: Explain arg for -U in usage help. 2008-01-10 Stephan Sürken Always call env with -d. Always call env with -p. * ui-auto-env: Add option "-p" to automatically change to the project's working directory. * Add new utility tool: ui-auto-shell (like ui-auto-env, but runs a new tainted shell). 2008-01-08 Stephan Sürken * README: Add hints form ui-utilcpp's README about former SPRelease here. 2008-01-04 Stephan Sürken * ui-auto-sp2ui: Some smaller ennhancements: - Show note that you might need to update ignore settings. add new skeleton. 2008-01-03 Stephan Sürken [ui-auto-release (0.1.106) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.106) run by absurd@manwe.use.schlund.de]. bump version to 106. * ui-auto-release: Add "-N" expert option to extract NEWS snippets. * ui-auto-uvc: Enhancement: Reniced error handling, not showing usage help on non-usage-failures (e.g., when check_sync fails). Typo, it's ui now. * ui-auto-uvc: Enhancement: For vc "svn", on "tag", try to "mkdir" the directory where to put the copy. Practically, this means you do not need to create directories tags/my-project or branches/my-project manually before using ui-auto-release. * ui-auto-sp2ui: Accidentially converted itself when updating ourselves to ui; changes reversed, usable again. add new skeleton for 106. 2007-12-19 Stephan Sürken [ui-auto-release (0.1.105) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [ui-auto-release (0.1.105) run by absurd@manwe.use.schlund.de]. sp prefix for tarball repoitory is now obsolete. Prepare release 105. skeletion for the initial ui-auto release. sp->ui: Yet some more sp to ui name fix in docs. sp->ui: Yet some more sp to ui name fix in docs. sp->ui: Yet some more sp to ui name fix in docs. sp->ui: Yet some more sp to ui name fix. sp->ui: Fix and renice docs somewhat. sp->ui: Fix up examples (make more generic, remove sp-* strings). sp->ui: Fix up usage doc (was outdated even before). sp->ui: Fix ignore properties. sp->ui: Fix ignore properties. sp->ui: Changes from auto-updater ui-auto-sp2ui. sp-ui: We need these changes checked in 1st to run sp2ui. sp->ui: protect string test. sp->ui: add some extra magic for convenience: Create ~/.ui-auto.conf skeleton for user if needed. sp->ui: that should be all we need. Ready to update ourselves with it ;). sp->ui: replace var names for .ui-auto.conf. sp->ui: add sp2ui updater to scripts. sp->ui: .sp-auto.conf renaming; todo list support. sp->ui: Add VC sync check. sp->ui: Fix early as we need that for sp2ui tool. sp->ui: Initial skeleton for the sp2ui updater script. sp->ui: Renaming macro files. sp->ui: Renaming scripts. fix vc locations. 2007-11-13 Stephan Sürken Renaming project sp-auto following the new ui convention. 2007-04-27 Stephan Sürken [sp-auto-release (0.1.104) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.104) run by absurd@manwe.use.schlund.de]. * Remove local "svn2cl" tool, which is now included in "subversion-tools". * Preps for release 104. 2007-03-12 Stephan Sürken [sp-auto-release (0.1.103) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.103) run by absurd@manwe.use.schlund.de]. Prepare version 103. [sp-auto-release (0.1.103) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.103) run by absurd@manwe.use.schlund.de]. Prepare version 103. should read UNRELEASED. some cosmetics. 2007-03-09 Stephan Sürken Use .profile in README, not .bashrc (might harm you). sp-auto-env: - don't set var if duplicate (fixes cosmetic errors like multiple ::: in PATH). - ACLOCAL: rm space after -I (might lead to errors). - duplicate identification for env var items hardened. - Fix: Use reniced egrep pattern to identify duplicates in env vars. - Fix: ACLOCAL: rm space after -I which might irritate duplicat handling. 2007-03-02 Stephan Sürken * sp-auto-env: Fix: when calling ourselves (with -d), use ${0} to make this work in a "strap" situation. 2007-02-27 Stephan Sürken call macros for doxygen tools only if configured. call macros for doxygen tools only if configured. 2007-02-21 Stephan Sürken Adapt -a / -A options for sp-auto. 2007-02-07 Stephan Sürken reflect last changes. - Add INTRODUCTION file. - Add explicit doc install rules. Split INTRODUCTION from README + Updates. Update README Add not about how to read "parameter docs" for function && soke renicify. Remove obsoleted code. add group options -a/-A. add "imply support" for usage help. - add sp_opt_set: Set an option arbitrarily if nedded. - sp_opt_add/parse: Support for "implies" to easily group options into one. 2006-11-23 Stephan Sürken new skeleton. add initial introduction. 2006-11-21 Stephan Sürken [sp-auto-release (0.1.102) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.102) run by absurd@manwe.use.schlund.de]. Prepare 102. 2006-11-20 Stephan Sürken Fix: Use cvs/svn calls directly to checkout to explicite dir. 2006-11-17 Stephan Sürken * sp-auto-uvc: Add "checkout" command. * sp-auto-uvc: Add "checkout" command. * sp-libopt.sh: Add "sp_opt_givenPos()" function. * sp-auto-uvc: Add "-S" option to arbitrarily set VCS. 2006-11-08 Stephan Sürken [sp-auto-release (0.1.101) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.101) run by absurd@manwe.use.schlund.de]. preparing 101. 2006-11-06 Stephan Sürken * PACKAGE-version and version.h automatic targets: Create inst. directories also, if not existent. Add forgotten sp-auto.m4. 2006-11-03 Stephan Sürken [sp-auto-release (0.1.100) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.100) run by absurd@manwe.use.schlund.de]. Gixing check_sync command for svn. Last text fixes. ignoring sp-auto.am. Main changes for 0.2.* alpha version: * Adding initial version of sp-auto-update tool. * src/tools: Add sp-libopt.sh (getopts posix shell library). [ removing src/sh, mv sh/sp-opt.sh->tools/sp-libopt.sh ]. * src/tools: Add optional "non-POSIX" test when checkbashisms (devscripts.deb) is available. * src/tools: Many bashisms fixed; sp-auto-release stays "bash" for now. * src/tools: Using sp-libopt.sh in all tools. This means usage changes for all tools except for default usage. Use "-h" on any tool for usage. * User visible changes in sp-libopt.sh: - Add handing for default values (options and positionals). - Remove imho superflous support for per-function options. * src/tools: Added sp-auto-uvc tool ("unified" version control commands). * src/tools: sp-auto-release: Patched up to use sp-auto-uvc. * src/tools: sp-auto-env && sp-auto-update: - Removing seemingly confusing magic for id ("." if not arg, else DIR or MULTINAME); instead, you must now give an id as configured in - New per user config file "~/.sp-auto.conf". This obsoletes all "MULTINAME" config files "~/.sp-auto-env.NAME". You can find an example in the README. - "sp-auto-env PROJECT" now creates the env for PROJECT (was: its dependencies only); using the - "-d"-Option on sp-auto-env|update _adds_ all dependencies [the latter two changes are imho fixing some non-intuitiveness of the tools]; use "-D" for the old behaviour. - "sp-auto-update" has added ability to store configure options per project(~/.sp-auto.conf) and an option to update project's working directories from VCSes. I.e., it's now actually usabable, and "sp-auto-update -d -u my_project" can now used to actually update "everything". * src/m4: o sp-doxygen.m4: - Change behaviour to be build on std build process, not dist. - Use simple stamp file "sp-doxygen" to guard build (was: phony target). - This also adds new global vars SP_ALL, SP_CLEAN. o sp-lib.m4 rm. o Added/new/changed macros: SP_INIT,SP_CHECK (...). o Use one file (sp-auto.am) for added automake targets. o Principally use a bunch of well defined PHONY targets (sp-auto-all sp-auto-clean sp-auto-dist sp-auto-distclean sp-auto-install-data sp-auto-install-exec sp-auto-uninstall) to handle sp-auto-automatic Makefile.am adds. o Produce PACKAGE-version script automagically (pls rm redundant code in projects). o Produce version.h include (for libraries) automagically (pls rm redundant code in projects). * Add svn2cl tool from subversion contrib (until it distributed w/ subversion-tools directly). * README: Cleanup: any old stuff removed or updated, add "update from 0.1.3" section. * New SP_PROG_CXX, ruling out some non-working c++ compilers (currently g++-2.9*). 2006-01-24 Stephan Sürken Fix: did not catch rename. Adding initial version of sp-auto-update tool. Fix: No such option "-p". 2005-12-27 Markus Goetzl * Updated documentation 2005-11-15 Stephan Sürken svn fix: Seems we need an wd-update before any writing svn command ;(. 2005-11-10 Heiko Hund [sp-auto-release (0.1.3) run by heiko@hoth.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.3) run by heiko@hoth.use.schlund.de]. set version to 0.1.3 reworked output a bit, vars with no vals ain't displayed anymore made it only export non empty variables 2005-11-09 Heiko Hund removed -module flag from LDFLAGS since it doesn't work use AC_SUBST now for build flags 2005-11-08 Heiko Hund added support for package m4 macro directory Added m4 macro for apache module generation 2005-11-08 Stephan Sürken [sp-auto-release (0.1.2) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.2) run by absurd@manwe.use.schlund.de]. Preparing 0.1.2. News uodate. * sp-auto-release: Compat for "grep" w/o max-count option (woody). 2005-11-07 Heiko Hund * refined package name parsing again * refined package version parsing 2005-11-04 Heiko Hund Fixed package name parsing 2005-11-04 Stephan Sürken Fixing bool parameter evaluation. 2005-09-27 Stephan Sürken Removing hacky libtool version check (doesn't work for 1.5.2x versions...). 2005-08-02 Stephan Sürken Cosmetic usage fix. Integrate internal "-h" correctly. Don't add leading nl to help. - Fix for -h: Don't ouput help to stderr. - Some more cosmetic fixes. Using "h" (not "H") for hard coded help/usage option. New sp_apt_addNonOpt (replaces direct setting of vars) New sp_apt_add (replaces direct setting of vars) Renaming public functions: * sp_opt_init_global -> sp_opt_init * sp_opt_parse_global -> sp_opt_parse - Using sp_opt_init instead of setting vars directly. - Several cosmetic fixes. 2005-07-29 Stephan Sürken News update: sh, examples, sp-opt. Adding "sh" and "examples" to program paths for sp-auto-env. Adding working bootstrap function. removing sp_opt_bootstrap. Add installation support for new sh+examples directories. svn:ignore fixes. Ignoring sig files. Adding new sh subdirs under src. This adds initial sp-opt.sh Posix getopt shell library. Adding new sh and examples subdirs under src. Adding new sh and examples subdirs under src. Adding new sh and examples subdirs under src. 2005-07-26 Stephan Sürken Nicifying Doenload prefix for NEWS, add direct link to current tarball. Fixing sigfile location. Fixing sigfile location. Fix trailing whitespace. 2005-07-26 Heiko Hund Added --disable-sp-doxygen news Added --disable-sp-doxygen configure option 2005-07-05 Thorsten Zachmann Added auto messages for tags/branches (svn) Add support for auto messages for tag/brach creation (svn) ask if existing tarball should be deleted. 2005-06-29 Thorsten Zachmann o checking if svn/cvs binaries exists 2005-06-17 Stephan Sürken using package-version (not tarball) for notify line. [sp-auto-release (0.1.1) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.1) run by absurd@manwe.use.schlund.de]. - Fixing m4 todo: no longer using special automake targets in macros directly (fixes serious bug). - Updating todo. - Ignoring dist tarballs in repository. - Preparing 0.1.1 release. Removing permissions. That is not "distdir" ;(. - getnews: Fix for last news. - getnews: Add "header" option fucntionality. - getnews: Fix usage. - notify: Use "header" option for notify mail body. Update todo. Uhm. ;(. update todo list. - asking when edititing exist news: only wehen unreleased not given. - Using "head" fior tha question. - some cosmetics. Adding todo. Add intercative warning when re-editing existing news. Update. - Also check for .svn. - Add "all" dependency. Also fixning file permissions. Fixing missing sp-libxslt.m4 from m4 installation. Fixing missing sp-libxslt.m4 from m4 installation. Add news skeleton for 0.1.1. Re-enabling cvs sync status test. notify error should go to stderr. some nocer diagnostics for notify mail. - simplify & improve "getnews" - hilarious improvemnts for "autonews" - Using "getnews" for notify mail; skipping notify mail editing. 2005-06-16 Stephan Sürken Using new funky "getnews" action for autonews. Adding new funky "getnews" action. ass .sp-auto.conf to dist. 2005-06-15 Stephan Sürken variable renaming. Removing vc sync check from status display (irritating in case of slow vc server). 2005-06-13 Stephan Sürken fix notify address ;(. [sp-auto-release (0.1.0) run by absurd@manwe.use.schlund.de]. fix "-multi" notes. fix download url fix notify revert test changes. revert test changes. [sp-auto-release (0.1.0test6) run by absurd@manwe.use.schlund.de]. Dont fail completely whe gpg fails. [sp-auto-release (0.1.0test6) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.0test6) run by absurd@manwe.use.schlund.de]. last test release. - rm onExit debug. - use "package-XX.YY.ZZ (DIST)" notation for notify, status, NEWS. - rm "-release" from notify line. [sp-auto-release (0.1.0test5) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.1.0test5) run by absurd@manwe.use.schlund.de]. yet another... fix: rm directory, not file. [sp-auto-release (0.1.0test4) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.0test4) run by absurd@manwe.use.schlund.de]. on exit debug: non-interactive ;). yet anothe test release. - onExit system to secure traps (only one trap per instance). - Updating all "trap" calls. [sp-auto-release (0.1.0test3) run by absurd@manwe.use.schlund.de]. - another test release - fixing tag info text (cosmetic). - ficing mktemp pattern for mail. [sp-auto-release (0.1.0test2) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.0test2) run by absurd@manwe.use.schlund.de]. fix diff order. changes for another test release. release: - "upload" before "notify". - "notify": Use current news file for mail body, if exists. - "notify": securing mail body file removal via trap. autonews: - Using "current" file for current news only (for mail later). - using trap for all temp files. [sp-auto-release (0.1.0test1) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.1.0test1) run by absurd@manwe.use.schlund.de]. another test release. rm martin to test release mails. [sp-auto-release (0.1.0test0) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.0test0) run by absurd@manwe.use.schlund.de]. Adding vc sync status to status display. changes for one test releasing. undoing dome more tests. autonews: - Using mktemp for temp NEWS file. - Asking before checkin (showing diff), /w option to re-edit. [sp-auto-release (0.1.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.1.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.1.0) run by absurd@manwe.use.schlund.de]. revet changes of test release. [sp-auto-release (0.1.0) run by absurd@manwe.use.schlund.de]: Automatically updated from vc. [sp-auto-release (0.1.0) run by absurd@manwe.use.schlund.de]. - Improving sync_check error repoeritng. - svn sync_check: Fixing to include server changes. - No longer running "update" on wd - we just check. Reverting test change. Test ci. Prepare for initail release. 2005-06-10 Stephan Sürken - Removing .strap_dev compat -- this does not work. - Fixing multi: We need to eval all envirenments. - Fixing multi: We only need last output. Add libxslt check macro from sp-gxmlcpp. Add support for ".svn" subdirectory cruft. removing obssolet ")"s in status output. Fixing cvs2l program test. Diagnostics: Writing both versions on non-successful version checks. Fixing args numbers. Fix: add mkproject script. Removing sp-auto-env-multi; functionality is now bundeld in sp-auto-env, suing some magic. Add support for -h, --help. ucv: Add simple changelog support (svn log only). - uvc: Support for "update". - uvc: check -> check_sync: Check whether wd/server are in sync. - uvc: check_sync fix: Also check for U,P for cvs. - release: improved vc check (check for sync (again) before start tagging. - uvc: check: Removing obsolete check for cvs2cl. Update ignore. Update ignore. update ignores. 2005-06-09 Stephan Sürken - Add sp-auto (self) version test macro. - Fix missing EXTRA_DIST and install targets. Add sp-auto.m4 generation. Implementing local changes check for svn. 2005-06-08 Stephan Sürken - Rename vcs->vc - Add vc branches location. - Improved usage. - Remove some redundant code in uvc. - vc bracnh support. - invalid version 0.0.x status check. - Fix order: 1. status check, 2. status ouput (in success only) - branch tag support for *.EVEN.0 versions. - Rename vcs->vc - Add vc branches location. Start with 0.1.0. Fix upload usage help. you should not be here, garbage. Fixing autonews to being cool. Fixing autonews to being cool. [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. - release: upload after notify - upload: activate tmp file removal and actual scp upload. - upload: Dont fail if scp fails (hint to retry later) show_status -> status_check make snapshot simpler Fix upload loc. - Fixing/reimplemnting "upload". - do_upload for release + snapshot. - activate upload script target - usage fixes - many other fixes. - Removing unused "update" vcs target. - Removing imho obsolete "edit" vcs target. - Adding vcs locations. - Adding some checks for status. test change. 2005-06-07 Stephan Sürken One million of more finest fixes for "release". [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. [sp-auto-release (0.0.0) run by absurd@manwe.use.schlund.de]. One million af finest changes. Fixing processing order and someother cosmetics. Fix: sp-auto-upload is obsolete. Updated "do_snapshot" Updated "do_release" fixes in usage/settings. 2005-06-06 Stephan Sürken - generic vcs check - using sp_vcs instead of "cvs" everywhere. Abstracting changelog generation for vcs. - Cleaining up/define all (?) configurational options. - Many updates ;). Cleaining up/define all (?) configurational options. Adding old quickstart fro SPRelease. Removed. Functionality will be in sp-auto-release. 2005-06-02 Stephan Sürken Fix ignore properties. Fix ignore properties. -multi to allow user configurations. Adding most crucial Quickstarts. Adding compat for projects using old .strap_dev scheme. 2005-06-01 Stephan Sürken Initial sp-auto checkin (rework of releasing/dev tools formerly in sp-utilcpp). New project "sp-auto". ui-auto-1.2.10/PaxHeaders.22674/.user.ui-auto.conf0000644000000000000000000000013013223142506016200 xustar0028 mtime=1514980678.8065653 30 atime=1514980678.846564214 30 ctime=1514988234.953867445 ui-auto-1.2.10/.user.ui-auto.conf0000644000175000017500000001023213223142506017261 0ustar00absurdabsurd00000000000000# Example user configuration file. # # Put this file to ~/.ui-auto.conf, and adapt to your needs. #---------------------------------------------------------------------- # [ Global user configuration ] # # This section has some (very few) configuration options to be # configured for the user (i.e., for the development environment, not # the project). 'Global' for all projects you develop under this user. #---------------------------------------------------------------------- # Set temporary dir if needed. # # Per default, "/tmp" is used for temporary dirs/files, which is # usually quite sane. However, some systems might not hold enough # space in "/tmp" (especially for bigger projects) so you may adjust # this here if needed. ui_auto_userpref_tmpdir="${HOME}/var/tmp" # Release tarball signing # # Set this to true if you generally won't sign tarballs ui_auto_userpref_nosign=false # # Custom commmands for signing release tarballs. We try local # signing first; if that fails, remote signing is tried. # # %s: Will be replace by absolute signature file # %t: Will be replace by absolute tarball file # # Local signing # Default is "gpg --sign --detach --armor --output=%s %t" ui_auto_userpref_sign="gpg --sign --detach --armor --local-user=0123ABCD --output=%s %t" # # Remote signing # # WARNING: It's DISCOURAGED to use this remote signing workflow, as it # requires the usually untrusted (build) machine to have access to the # trusted signing machine. It's more secure to connect from the # trusted machine only. # See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855320, debsign(1) # # Default is "" # ui_auto_userpref_rsign="ui-auto-rsign [youruser@]yoursignhost %t %s --local-user=0123ABCD" # Debian package building: Aditional user options for *-buildpackage # # Usually, options for signing come in handy here. # # Example: '-us -uc': Disable signing for this user. # Example: '-k0123ABCD': Set signing user id. ui_auto_userpref_dbuild_options="" # Debian package uploading: Aditional user dput options # # Usually, you will set "-u" if you use unsigned package building (see above). ui_auto_userpref_dput_options="" # Global Debian directory; we use subdirectories named like the Debian package as debdirs. # # - You can also configure this on a per-package basis (see below). # - This is not used in Debian only mode. # # Default is ../ui-auto-release-debian. # Example: "/home/foo/src/svn-bar-deb" ui_auto_userpref_debdir="" # Tool or extra options to locally sign debian changes files. # # Default is "debsign" ui_auto_userpref_debsign="debsign -k123ABCDE" # Tool or extra options to remotely sign debian changes files. # # When empty, remote signing will not be tried. # # WARNING: It's DISCOURAGED to use this remote signing workflow, as it # requires the usually untrusted (build) machine to have access to the # trusted signing machine. It's more secure to connect from the # trusted machine only. # See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855320, debsign(1) # # Default is "" # ui_auto_userpref_debrsign="debrsign -k123ABCDE user@remote.sign.host" #---------------------------------------------------------------------- # [ Per project user configuration ] # # The string before the last "_" is the id (name) of the project, # which you can now use as argument to ui-auto-env|shell|update. Note # that you cannot use the hyphen in a variable name -- change it to # underscore. E.g. for project "ui-auto", one would usually use # "ui_auto". #---------------------------------------------------------------------- # => Example project lib-xy # # Project's local location: Needed for ui-auto-env|shell|update. lib_xy_loc="/home/foo/src/svn-bar/trunk/lib-xy" # Project's dependencies on other here-defined projects: Needed for ui-auto-env|shell|update. lib_xy_deps="" # Special configure options: Used by ui-auto-update and for autoconf projects only. lib_xy_conf="" # Debian directory for this project: This precedes any global options about the debdir. lib_xy_debdir="/home/foo/src/svn-bar-deb/lib-xy" # => Example project project-xy; depends on lib-xy # project_xy_loc="/home/foo/src/svn-bar/trunk/project-xy" project_xy_deps="libxy" project_xy_conf="--disable-ui-doxygen"