Merge lp:~noskcaj/ubuntu/vivid/xfce4-taskmanager/1.1.0 into lp:ubuntu/vivid/xfce4-taskmanager
- Vivid (15.04)
- 1.1.0
- Merge into vivid
Proposed by
Jackson Doak
on 2015-01-04
| Status: | Needs review |
|---|---|
| Proposed branch: | lp:~noskcaj/ubuntu/vivid/xfce4-taskmanager/1.1.0 |
| Merge into: | lp:ubuntu/vivid/xfce4-taskmanager |
| Diff against target: |
29852 lines (+11659/-8060) 81 files modified
.pc/01_configure-kfreebsd.patch/configure.ac (+0/-161) .pc/01_configure-kfreebsd.patch/src/task-manager-freebsd.c (+0/-243) .pc/applied-patches (+0/-1) INSTALL (+3/-3) Makefile.am (+2/-0) Makefile.in (+109/-128) NEWS (+19/-0) aclocal.m4 (+1302/-1445) compile (+1/-1) config.guess (+73/-104) config.h.in (+6/-0) config.sub (+39/-39) configure (+2281/-1101) configure.ac (+25/-12) debian/changelog (+7/-0) debian/control (+2/-1) debian/patches/series (+1/-1) depcomp (+203/-207) ltmain.sh (+25/-50) missing (+265/-150) mkinstalldirs (+162/-0) po/POTFILES.in (+2/-0) po/ar.po (+125/-138) po/ast.po (+267/-193) po/bg.po (+115/-113) po/cs.po (+156/-205) po/de.po (+111/-119) po/es.po (+130/-197) po/fr.po (+137/-133) po/he.po (+115/-121) po/hr.po (+113/-118) po/is.po (+89/-95) po/it.po (+83/-131) po/ja.po (+132/-205) po/ms.po (+345/-0) po/nb.po (+267/-187) po/nl.po (+121/-119) po/pl.po (+101/-107) po/pt.po (+165/-182) po/pt_BR.po (+164/-224) po/ru.po (+88/-95) po/sl.po (+15/-14) po/sr.po (+127/-147) po/sv.po (+76/-127) po/te.po (+51/-57) po/th.po (+353/-0) po/tr.po (+127/-187) po/uk.po (+114/-112) po/vi.po (+252/-177) po/zh_TW.po (+132/-187) src/Makefile.am (+18/-11) src/Makefile.in (+135/-148) src/exec-tool-button.c (+20/-3) src/main.c (+65/-13) src/process-monitor.c (+92/-139) src/process-monitor.h (+1/-2) src/process-statusbar.c (+49/-40) src/process-tree-model.c (+931/-0) src/process-tree-model.h (+31/-0) src/process-tree-view.c (+95/-19) src/process-tree-view.h (+2/-0) src/process-window-gtk3.ui (+225/-0) src/process-window-gtk3_ui.h (+108/-0) src/process-window.c (+133/-50) src/process-window.h (+2/-1) src/process-window.ui (+126/-40) src/process-window_ui.h (+91/-49) src/settings-dialog-gtk3.ui (+453/-0) src/settings-dialog-gtk3_ui.h (+217/-0) src/settings-dialog.c (+18/-1) src/settings-dialog.ui (+27/-14) src/settings-dialog_ui.h (+128/-121) src/settings-tool-button.c (+10/-9) src/settings.c (+10/-1) src/task-manager-bsd.c (+44/-16) src/task-manager-freebsd.c (+4/-3) src/task-manager-linux.c (+2/-2) src/task-manager-skel.c (+1/-1) src/task-manager-solaris.c (+1/-0) src/task-manager.c (+19/-39) src/task-manager.h (+3/-1) |
| To merge this branch: | bzr merge lp:~noskcaj/ubuntu/vivid/xfce4-taskmanager/1.1.0 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel Holbach | 2015-01-04 | Needs Fixing on 2015-01-06 | |
|
Review via email:
|
|||
Commit Message
Description of the Change
New upstream release.
To post a comment you must log in.
Unmerged revisions
- 11. By Jackson Doak on 2015-01-04
-
* New upstream release.
* Disable the kfreebsd patch, it needs refreshing, but we don't need it.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === removed directory '.pc/01_configure-kfreebsd.patch' |
| 2 | === removed file '.pc/01_configure-kfreebsd.patch/configure.ac' |
| 3 | --- .pc/01_configure-kfreebsd.patch/configure.ac 2014-01-09 09:12:50 +0000 |
| 4 | +++ .pc/01_configure-kfreebsd.patch/configure.ac 1970-01-01 00:00:00 +0000 |
| 5 | @@ -1,161 +0,0 @@ |
| 6 | -dnl |
| 7 | -dnl This file was autogenerated from "configure.ac.in". |
| 8 | -dnl Edit that file instead! |
| 9 | -dnl |
| 10 | - |
| 11 | -dnl |
| 12 | -dnl xfce4-taskmanager - A small taskmanager based on the Xfce 4 libraries. |
| 13 | -dnl |
| 14 | -dnl 2010 Mike Massonnet <mmassonnet@xfce.org> |
| 15 | -dnl 2005-2007 Johannes Zellner <webmaster@nebulon.de> |
| 16 | - |
| 17 | -dnl *************************** |
| 18 | -dnl *** Version information *** |
| 19 | -dnl *************************** |
| 20 | -m4_define([taskmanager_version_major], [1]) |
| 21 | -m4_define([taskmanager_version_minor], [0]) |
| 22 | -m4_define([taskmanager_version_micro], [1]) |
| 23 | -m4_define([taskmanager_version_build], [b8e8789]) |
| 24 | -m4_define([taskmanager_version_tag], []) |
| 25 | -m4_define([taskmanager_version], [taskmanager_version_major().taskmanager_version_minor().taskmanager_version_micro()ifelse(taskmanager_version_tag(), [git], [taskmanager_version_tag()-taskmanager_version_build()], [taskmanager_version_tag()])]) |
| 26 | - |
| 27 | -dnl *************************** |
| 28 | -dnl *** Initialize autoconf *** |
| 29 | -dnl *************************** |
| 30 | -AC_COPYRIGHT([Copyright (c) 2006-2008 |
| 31 | - The Xfce development team. All rights reserved.]) |
| 32 | -AC_INIT([Xfce4 Taskmanager], [taskmanager_version], [http://bugzilla.xfce.org/], [xfce4-taskmanager], |
| 33 | - [http://goodies.xfce.org/projects/applications/xfce4-taskmanager]) |
| 34 | -AC_PREREQ([2.50]) |
| 35 | -AC_CANONICAL_TARGET() |
| 36 | -AC_REVISION([taskmanager_version_build]) |
| 37 | - |
| 38 | -dnl *************************** |
| 39 | -dnl *** Initialize automake *** |
| 40 | -dnl *************************** |
| 41 | -AM_INIT_AUTOMAKE([1.8 no-dist-gzip dist-bzip2]) |
| 42 | -AM_CONFIG_HEADER([config.h]) |
| 43 | -AM_MAINTAINER_MODE() |
| 44 | -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
| 45 | - |
| 46 | -dnl ******************************** |
| 47 | -dnl *** Check for basic programs *** |
| 48 | -dnl ******************************** |
| 49 | -AC_PROG_CC() |
| 50 | -AM_PROG_CC_C_O() |
| 51 | -AC_PROG_LD() |
| 52 | -AC_PROG_INSTALL() |
| 53 | -AC_PROG_LIBTOOL() |
| 54 | -AC_PROG_INTLTOOL() |
| 55 | - |
| 56 | -dnl ************************************ |
| 57 | -dnl *** Checks for library functions *** |
| 58 | -dnl ************************************ |
| 59 | -AC_DISABLE_STATIC() |
| 60 | -AC_C_CONST() |
| 61 | - |
| 62 | -dnl ********************************** |
| 63 | -dnl *** Check for standard headers *** |
| 64 | -dnl ********************************** |
| 65 | -AC_HEADER_STDC() |
| 66 | -AC_CHECK_HEADERS([stdlib.h string.h]) |
| 67 | - |
| 68 | -dnl ****************************** |
| 69 | -dnl *** Check for i18n support *** |
| 70 | -dnl ****************************** |
| 71 | -XDT_I18N([ar ast be bg ca cs da de el en_AU en_GB es eu fi fr gl he hr hu id is it ja kk ko lt lv nb nl oc pa pl pt pt_BR ru si sk sl sq sr sv te tr ug uk ur ur_PK vi zh_CN zh_HK zh_TW ]) |
| 72 | - |
| 73 | -dnl *********************************** |
| 74 | -dnl *** Check for required packages *** |
| 75 | -dnl *********************************** |
| 76 | -XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.12.0]) |
| 77 | -XDT_CHECK_PACKAGE([CAIRO], [cairo], [1.5.0]) |
| 78 | - |
| 79 | -dnl *********************************** |
| 80 | -dnl *** Check for optional packages *** |
| 81 | -dnl *********************************** |
| 82 | -XDT_CHECK_OPTIONAL_PACKAGE([WNCK], [libwnck-1.0], [2.0], [wnck], [building with libwnck for window icons/names], [yes]) |
| 83 | -AM_CONDITIONAL([HAVE_WNCK], [test x"$WNCK_FOUND" = x"yes"]) |
| 84 | -XDT_CHECK_OPTIONAL_PACKAGE([GKSU], [libgksu2], [2.0], [gksu], [building with libgksu to run as root], [yes]) |
| 85 | -AM_CONDITIONAL([HAVE_GKSU], [test x"$GKSU_FOUND" = x"yes"]) |
| 86 | - |
| 87 | -dnl *********************************** |
| 88 | -dnl ********** Check for skel ********* |
| 89 | -dnl *********************************** |
| 90 | -AC_ARG_WITH([skel], |
| 91 | - AC_HELP_STRING([--with-skel], [build with task-manager-skel.c]), |
| 92 | - [ac_skel="$withval"], |
| 93 | - [ac_skel=no]) |
| 94 | - |
| 95 | -dnl *********************************** |
| 96 | -dnl ******* Check for OS family ******* |
| 97 | -dnl *********************************** |
| 98 | -if test x"$ac_skel" = x"yes"; then |
| 99 | - ac_os_implementation="skel" |
| 100 | -else |
| 101 | - case "$target_os" in |
| 102 | - freebsd*) |
| 103 | - ac_os_implementation="freebsd" |
| 104 | - AC_CHECK_LIB([kvm], [kvm_openfiles]) |
| 105 | - AC_CHECK_HEADERS([fcntl.h kvm.h paths.h pwd.h sys/param.h sys/proc.h \ |
| 106 | - sys/sysctl.h sys/types.h sys/user.h unistd.h]) |
| 107 | - ;; |
| 108 | - dragonfly*|netbsd*|openbsd*|darwin*) |
| 109 | - ac_os_implementation="bsd" |
| 110 | - AC_CHECK_HEADERS([err.h pwd.h stdlib.h string.h sys/param.h sys/sched.h \ |
| 111 | - sys/swap.h sys/sysctl.h sys/types.h unistd.h]) |
| 112 | - ;; |
| 113 | - solaris*) |
| 114 | - ac_os_implementation="solaris" |
| 115 | - AC_CHECK_LIB([kstat], [kstat_open]) |
| 116 | - AC_CHECK_HEADERS([fcntl.h kstat.h procfs.h pwd.h stdlib.h string.h \ |
| 117 | - sys/procfs.h sys/stat.h sys/swap.h sys/types.h]) |
| 118 | - ;; |
| 119 | - linux*) |
| 120 | - ac_os_implementation="linux" |
| 121 | - AC_CHECK_HEADERS([pwd.h signal.h stdio.h string.h sys/resource.h \ |
| 122 | - sys/stat.h sys/types.h unistd.h]) |
| 123 | - ;; |
| 124 | - *) |
| 125 | - AC_MSG_CHECKING([for OS implementation]) |
| 126 | - AC_MSG_ERROR([no OS implementation for $target_os is available]) |
| 127 | - ;; |
| 128 | - esac |
| 129 | -fi |
| 130 | -AC_MSG_CHECKING([for OS implementation]) |
| 131 | -AC_MSG_RESULT([$ac_os_implementation]) |
| 132 | - |
| 133 | -AM_CONDITIONAL([OS_FREEBSD], [test x"$ac_os_implementation" = x"freebsd"]) |
| 134 | -AM_CONDITIONAL([OS_BSD], [test x"$ac_os_implementation" = x"bsd"]) |
| 135 | -AM_CONDITIONAL([OS_SOLARIS], [test x"$ac_os_implementation" = x"solaris"]) |
| 136 | -AM_CONDITIONAL([OS_LINUX], [test x"$ac_os_implementation" = x"linux"]) |
| 137 | -AM_CONDITIONAL([OS_SKEL], [test x"$ac_os_implementation" = x"skel"]) |
| 138 | - |
| 139 | -dnl *********************************** |
| 140 | -dnl *** Check for debugging support *** |
| 141 | -dnl *********************************** |
| 142 | -XDT_FEATURE_DEBUG() |
| 143 | - |
| 144 | -dnl *************** |
| 145 | -dnl *** Outputs *** |
| 146 | -dnl *************** |
| 147 | -AC_OUTPUT([ |
| 148 | -Makefile |
| 149 | -src/Makefile |
| 150 | -po/Makefile.in |
| 151 | -]) |
| 152 | - |
| 153 | -dnl *************************** |
| 154 | -dnl *** Print configuration *** |
| 155 | -dnl *************************** |
| 156 | -echo |
| 157 | -echo "Build Configuration:" |
| 158 | -echo |
| 159 | -echo "* Gksu: ${GKSU_VERSION:-no}" |
| 160 | -echo "* Wnck: ${WNCK_VERSION:-no}" |
| 161 | -echo "* Cairo: ${CAIRO_VERSION}" |
| 162 | -echo "* GTK+: ${GTK_VERSION}" |
| 163 | -echo "* Target OS: $target_os ($ac_os_implementation)" |
| 164 | -echo "* Debug: $enable_debug" |
| 165 | -echo |
| 166 | - |
| 167 | |
| 168 | === removed directory '.pc/01_configure-kfreebsd.patch/src' |
| 169 | === removed file '.pc/01_configure-kfreebsd.patch/src/task-manager-freebsd.c' |
| 170 | --- .pc/01_configure-kfreebsd.patch/src/task-manager-freebsd.c 2013-10-09 22:47:11 +0000 |
| 171 | +++ .pc/01_configure-kfreebsd.patch/src/task-manager-freebsd.c 1970-01-01 00:00:00 +0000 |
| 172 | @@ -1,243 +0,0 @@ |
| 173 | -/* |
| 174 | - * Copyright (c) 2010 Mike Massonnet <mmassonnet@xfce.org> |
| 175 | - * Copyright (c) 2006 Oliver Lehmann <oliver@FreeBSD.org> |
| 176 | - * |
| 177 | - * This program is free software; you can redistribute it and/or modify |
| 178 | - * it under the terms of the GNU General Public License as published by |
| 179 | - * the Free Software Foundation; either version 2 of the License, or |
| 180 | - * (at your option) any later version. |
| 181 | - */ |
| 182 | - |
| 183 | -#include <kvm.h> |
| 184 | -#include <sys/types.h> |
| 185 | -#include <sys/param.h> |
| 186 | -#include <sys/sysctl.h> |
| 187 | -#include <sys/user.h> |
| 188 | -#include <sys/proc.h> |
| 189 | -#include <pwd.h> |
| 190 | -#include <fcntl.h> |
| 191 | -#include <paths.h> |
| 192 | -#include <unistd.h> |
| 193 | - |
| 194 | -#include <glib.h> |
| 195 | - |
| 196 | -#include "task-manager.h" |
| 197 | - |
| 198 | -gboolean |
| 199 | -get_memory_usage (guint64 *memory_total, guint64 *memory_free, guint64 *memory_cache, guint64 *memory_buffers, guint64 *swap_total, guint64 *swap_free) |
| 200 | -{ |
| 201 | - /* Get memory usage */ |
| 202 | - { |
| 203 | - gulong total = 0, free = 0, inactive = 0; |
| 204 | - size_t size; |
| 205 | - |
| 206 | - size = sizeof (gulong); |
| 207 | - sysctlbyname ("vm.stats.vm.v_page_count", &total, &size, NULL, 0); |
| 208 | - size = sizeof (gulong); |
| 209 | - sysctlbyname ("vm.stats.vm.v_free_count", &free, &size, NULL, 0); |
| 210 | - size = sizeof (gulong); |
| 211 | - sysctlbyname ("vm.stats.vm.v_inactive_count", &inactive, &size, NULL, 0); |
| 212 | - |
| 213 | - *memory_total = total * getpagesize (); |
| 214 | - *memory_free = free * getpagesize (); |
| 215 | - *memory_cache = inactive * getpagesize (); |
| 216 | - *memory_buffers = 0; |
| 217 | - } |
| 218 | - |
| 219 | - /* Get swap usage */ |
| 220 | - { |
| 221 | - kvm_t *kd; |
| 222 | - struct kvm_swap kswap; |
| 223 | - |
| 224 | - if ((kd = kvm_openfiles (_PATH_DEVNULL, _PATH_DEVNULL, NULL, O_RDONLY, NULL)) == NULL) |
| 225 | - return FALSE; |
| 226 | - |
| 227 | - kvm_getswapinfo (kd, &kswap, 1, 0); |
| 228 | - *swap_total = kswap.ksw_total * getpagesize (); |
| 229 | - *swap_free = (kswap.ksw_total - kswap.ksw_used) * getpagesize (); |
| 230 | - |
| 231 | - kvm_close (kd); |
| 232 | - } |
| 233 | - |
| 234 | - return TRUE; |
| 235 | -} |
| 236 | - |
| 237 | -gboolean |
| 238 | -get_cpu_usage (gushort *cpu_count, gfloat *cpu_user, gfloat *cpu_system) |
| 239 | -{ |
| 240 | - /* Get CPU count */ |
| 241 | - { |
| 242 | - size_t len = sizeof (*cpu_count); |
| 243 | - sysctlbyname ("hw.ncpu", cpu_count, &len, NULL, 0); |
| 244 | - } |
| 245 | - |
| 246 | - /* Get CPU usage */ |
| 247 | - { |
| 248 | - static gulong cp_user = 0, cp_system = 0, cp_total = 0; |
| 249 | - static gulong cp_user_old = 0, cp_system_old = 0, cp_total_old = 0; |
| 250 | - |
| 251 | - gulong cpu_state[CPUSTATES] = { 0 }; |
| 252 | - size_t len = sizeof (cpu_state); |
| 253 | - sysctlbyname ("kern.cp_time", &cpu_state, &len, NULL, 0); |
| 254 | - |
| 255 | - cp_user_old = cp_user; |
| 256 | - cp_system_old = cp_system; |
| 257 | - cp_total_old = cp_total; |
| 258 | - cp_user = cpu_state[CP_USER] + cpu_state[CP_NICE]; |
| 259 | - cp_system = cpu_state[CP_SYS] + cpu_state[CP_INTR]; |
| 260 | - cp_total = cpu_state[CP_IDLE] + cp_user + cp_system; |
| 261 | - |
| 262 | - *cpu_user = *cpu_system = 0.0; |
| 263 | - if (cp_total > cp_total_old) |
| 264 | - { |
| 265 | - *cpu_user = (cp_user - cp_user_old) * 100 / (gdouble)(cp_total - cp_total_old); |
| 266 | - *cpu_system = (cp_system - cp_system_old) * 100 / (gdouble)(cp_total - cp_total_old); |
| 267 | - } |
| 268 | - } |
| 269 | - |
| 270 | - return TRUE; |
| 271 | -} |
| 272 | - |
| 273 | -static gboolean |
| 274 | -get_task_details (kvm_t *kd, struct kinfo_proc *kp, Task *task) |
| 275 | -{ |
| 276 | - struct passwd *pw; |
| 277 | - char **argv; |
| 278 | - int i; |
| 279 | - |
| 280 | - task->pid = kp->ki_pid; |
| 281 | - task->ppid = kp->ki_ppid; |
| 282 | - task->cpu_user = 100 * ((double)kp->ki_pctcpu / FSCALE); |
| 283 | - task->cpu_system = 0; |
| 284 | - task->vsz = kp->ki_size; |
| 285 | - task->rss = kp->ki_rssize * getpagesize (); |
| 286 | - pw = getpwuid (kp->ki_uid); |
| 287 | - task->uid = kp->ki_uid; |
| 288 | - g_strlcpy (task->uid_name, (pw != NULL) ? pw->pw_name : "nobody", sizeof (task->uid_name)); |
| 289 | - task->prio = (gushort)kp->ki_nice; |
| 290 | - g_strlcpy (task->name, kp->ki_comm, 256); |
| 291 | - |
| 292 | - task->cmdline[0] = '\0'; |
| 293 | - if ((argv = kvm_getargv (kd, kp, 1024)) != NULL) |
| 294 | - { |
| 295 | - for (i = 0; argv[i] != NULL; i++) |
| 296 | - { |
| 297 | - g_strlcat (task->cmdline, argv[i], 1024); |
| 298 | - g_strlcat (task->cmdline, " ", 1024); |
| 299 | - } |
| 300 | - } |
| 301 | - else |
| 302 | - { |
| 303 | - g_strlcpy (task->cmdline, kp->ki_comm, 1024); |
| 304 | - } |
| 305 | - |
| 306 | - i = 0; |
| 307 | - switch (kp->ki_stat) |
| 308 | - { |
| 309 | - case SSTOP: |
| 310 | - task->state[i] = 'T'; |
| 311 | - break; |
| 312 | - |
| 313 | - case SSLEEP: |
| 314 | - if (kp->ki_tdflags & TDF_SINTR) |
| 315 | - task->state[i] = kp->ki_slptime >= MAXSLP ? 'I' : 'S'; |
| 316 | - else |
| 317 | - task->state[i] = 'D'; |
| 318 | - break; |
| 319 | - |
| 320 | - case SRUN: |
| 321 | - case SIDL: |
| 322 | - task->state[i] = 'R'; |
| 323 | - break; |
| 324 | - |
| 325 | - case SWAIT: |
| 326 | - task->state[i] = 'W'; |
| 327 | - break; |
| 328 | - |
| 329 | - case SLOCK: |
| 330 | - task->state[i] = 'L'; |
| 331 | - break; |
| 332 | - |
| 333 | - case SZOMB: |
| 334 | - task->state[i] = 'Z'; |
| 335 | - break; |
| 336 | - |
| 337 | - default: |
| 338 | - task->state[i] = '?'; |
| 339 | - } |
| 340 | - i++; |
| 341 | - if (!(kp->ki_sflag & PS_INMEM)) |
| 342 | - task->state[i++] = 'W'; |
| 343 | - if (kp->ki_nice < NZERO) |
| 344 | - task->state[i++] = '<'; |
| 345 | - else if (kp->ki_nice > NZERO) |
| 346 | - task->state[i++] = 'N'; |
| 347 | - if (kp->ki_flag & P_TRACED) |
| 348 | - task->state[i++] = 'X'; |
| 349 | - if (kp->ki_flag & P_WEXIT && kp->ki_stat != SZOMB) |
| 350 | - task->state[i++] = 'E'; |
| 351 | - if (kp->ki_flag & P_PPWAIT) |
| 352 | - task->state[i++] = 'V'; |
| 353 | - if ((kp->ki_flag & P_SYSTEM) || kp->ki_lock > 0) |
| 354 | - task->state[i++] = 'L'; |
| 355 | - if (kp->ki_kiflag & KI_SLEADER) |
| 356 | - task->state[i++] = 's'; |
| 357 | - if ((kp->ki_flag & P_CONTROLT) && kp->ki_pgid == kp->ki_tpgid) |
| 358 | - task->state[i++] = '+'; |
| 359 | - if (kp->ki_flag & P_JAILED) |
| 360 | - task->state[i++] = 'J'; |
| 361 | - task->state[i] = '\0'; |
| 362 | - |
| 363 | - return TRUE; |
| 364 | -} |
| 365 | - |
| 366 | -gboolean |
| 367 | -get_task_list (GArray *task_list) |
| 368 | -{ |
| 369 | - kvm_t *kd; |
| 370 | - struct kinfo_proc *kp; |
| 371 | - int cnt, i; |
| 372 | - Task task; |
| 373 | - |
| 374 | - if ((kd = kvm_openfiles (_PATH_DEVNULL, _PATH_DEVNULL, NULL, O_RDONLY, NULL)) == NULL) |
| 375 | - return FALSE; |
| 376 | - |
| 377 | - if ((kp = kvm_getprocs (kd, KERN_PROC_PROC, 0, &cnt)) == NULL) |
| 378 | - { |
| 379 | - kvm_close (kd); |
| 380 | - return FALSE; |
| 381 | - } |
| 382 | - |
| 383 | - for (i = 0; i < cnt; kp++, i++) |
| 384 | - { |
| 385 | - get_task_details (kd, kp, &task); |
| 386 | - g_array_append_val (task_list, task); |
| 387 | - } |
| 388 | - |
| 389 | - kvm_close (kd); |
| 390 | - |
| 391 | - return TRUE; |
| 392 | -} |
| 393 | - |
| 394 | -gboolean |
| 395 | -pid_is_sleeping (guint pid) |
| 396 | -{ |
| 397 | - kvm_t *kd; |
| 398 | - struct kinfo_proc *kp; |
| 399 | - gint cnt; |
| 400 | - gboolean ret; |
| 401 | - |
| 402 | - if ((kd = kvm_openfiles (_PATH_DEVNULL, _PATH_DEVNULL, NULL, O_RDONLY, NULL)) == NULL) |
| 403 | - return FALSE; |
| 404 | - |
| 405 | - if ((kp = kvm_getprocs (kd, KERN_PROC_PID, pid, &cnt)) == NULL) |
| 406 | - { |
| 407 | - kvm_close (kd); |
| 408 | - return FALSE; |
| 409 | - } |
| 410 | - |
| 411 | - ret = (kp->ki_stat == SSTOP); |
| 412 | - kvm_close (kd); |
| 413 | - |
| 414 | - return ret; |
| 415 | -} |
| 416 | |
| 417 | === removed file '.pc/applied-patches' |
| 418 | --- .pc/applied-patches 2013-08-18 13:20:13 +0000 |
| 419 | +++ .pc/applied-patches 1970-01-01 00:00:00 +0000 |
| 420 | @@ -1,1 +0,0 @@ |
| 421 | -01_configure-kfreebsd.patch |
| 422 | |
| 423 | === modified file 'INSTALL' |
| 424 | --- INSTALL 2014-01-09 09:12:50 +0000 |
| 425 | +++ INSTALL 2015-01-04 21:20:08 +0000 |
| 426 | @@ -1,7 +1,7 @@ |
| 427 | Installation Instructions |
| 428 | ************************* |
| 429 | |
| 430 | -Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, |
| 431 | +Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation, |
| 432 | Inc. |
| 433 | |
| 434 | Copying and distribution of this file, with or without modification, |
| 435 | @@ -12,8 +12,8 @@ |
| 436 | Basic Installation |
| 437 | ================== |
| 438 | |
| 439 | - Briefly, the shell command `./configure && make && make install' |
| 440 | -should configure, build, and install this package. The following |
| 441 | + Briefly, the shell commands `./configure; make; make install' should |
| 442 | +configure, build, and install this package. The following |
| 443 | more-detailed instructions are generic; see the `README' file for |
| 444 | instructions specific to this package. Some packages provide this |
| 445 | `INSTALL' file but do not implement all of the features documented |
| 446 | |
| 447 | === modified file 'Makefile.am' |
| 448 | --- Makefile.am 2010-06-19 12:21:53 +0000 |
| 449 | +++ Makefile.am 2015-01-04 21:20:08 +0000 |
| 450 | @@ -1,3 +1,5 @@ |
| 451 | +ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} |
| 452 | + |
| 453 | SUBDIRS = \ |
| 454 | po \ |
| 455 | src |
| 456 | |
| 457 | === modified file 'Makefile.in' |
| 458 | --- Makefile.in 2014-01-09 09:12:50 +0000 |
| 459 | +++ Makefile.in 2015-01-04 21:20:08 +0000 |
| 460 | @@ -1,7 +1,7 @@ |
| 461 | -# Makefile.in generated by automake 1.14.1 from Makefile.am. |
| 462 | +# Makefile.in generated by automake 1.12.6 from Makefile.am. |
| 463 | # @configure_input@ |
| 464 | |
| 465 | -# Copyright (C) 1994-2013 Free Software Foundation, Inc. |
| 466 | +# Copyright (C) 1994-2012 Free Software Foundation, Inc. |
| 467 | |
| 468 | # This Makefile.in is free software; the Free Software Foundation |
| 469 | # gives unlimited permission to copy and/or distribute it, |
| 470 | @@ -15,51 +15,23 @@ |
| 471 | @SET_MAKE@ |
| 472 | |
| 473 | VPATH = @srcdir@ |
| 474 | -am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' |
| 475 | -am__make_running_with_option = \ |
| 476 | - case $${target_option-} in \ |
| 477 | - ?) ;; \ |
| 478 | - *) echo "am__make_running_with_option: internal error: invalid" \ |
| 479 | - "target option '$${target_option-}' specified" >&2; \ |
| 480 | - exit 1;; \ |
| 481 | - esac; \ |
| 482 | - has_opt=no; \ |
| 483 | - sane_makeflags=$$MAKEFLAGS; \ |
| 484 | - if $(am__is_gnu_make); then \ |
| 485 | - sane_makeflags=$$MFLAGS; \ |
| 486 | - else \ |
| 487 | +am__make_dryrun = \ |
| 488 | + { \ |
| 489 | + am__dry=no; \ |
| 490 | case $$MAKEFLAGS in \ |
| 491 | *\\[\ \ ]*) \ |
| 492 | - bs=\\; \ |
| 493 | - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
| 494 | - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
| 495 | - esac; \ |
| 496 | - fi; \ |
| 497 | - skip_next=no; \ |
| 498 | - strip_trailopt () \ |
| 499 | - { \ |
| 500 | - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
| 501 | - }; \ |
| 502 | - for flg in $$sane_makeflags; do \ |
| 503 | - test $$skip_next = yes && { skip_next=no; continue; }; \ |
| 504 | - case $$flg in \ |
| 505 | - *=*|--*) continue;; \ |
| 506 | - -*I) strip_trailopt 'I'; skip_next=yes;; \ |
| 507 | - -*I?*) strip_trailopt 'I';; \ |
| 508 | - -*O) strip_trailopt 'O'; skip_next=yes;; \ |
| 509 | - -*O?*) strip_trailopt 'O';; \ |
| 510 | - -*l) strip_trailopt 'l'; skip_next=yes;; \ |
| 511 | - -*l?*) strip_trailopt 'l';; \ |
| 512 | - -[dEDm]) skip_next=yes;; \ |
| 513 | - -[JT]) skip_next=yes;; \ |
| 514 | - esac; \ |
| 515 | - case $$flg in \ |
| 516 | - *$$target_option*) has_opt=yes; break;; \ |
| 517 | - esac; \ |
| 518 | - done; \ |
| 519 | - test $$has_opt = yes |
| 520 | -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
| 521 | -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
| 522 | + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ |
| 523 | + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ |
| 524 | + *) \ |
| 525 | + for am__flg in $$MAKEFLAGS; do \ |
| 526 | + case $$am__flg in \ |
| 527 | + *=*|--*) ;; \ |
| 528 | + *n*) am__dry=yes; break;; \ |
| 529 | + esac; \ |
| 530 | + done;; \ |
| 531 | + esac; \ |
| 532 | + test $$am__dry = yes; \ |
| 533 | + } |
| 534 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 535 | pkgincludedir = $(includedir)/@PACKAGE@ |
| 536 | pkglibdir = $(libdir)/@PACKAGE@ |
| 537 | @@ -80,18 +52,18 @@ |
| 538 | host_triplet = @host@ |
| 539 | target_triplet = @target@ |
| 540 | subdir = . |
| 541 | -DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ |
| 542 | - $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
| 543 | - $(top_srcdir)/configure $(am__configure_deps) \ |
| 544 | - $(srcdir)/config.h.in COPYING THANKS compile config.guess \ |
| 545 | - config.sub install-sh missing ltmain.sh |
| 546 | +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ |
| 547 | + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ |
| 548 | + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ |
| 549 | + THANKS compile config.guess config.sub depcomp install-sh \ |
| 550 | + ltmain.sh missing mkinstalldirs |
| 551 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 552 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
| 553 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 554 | $(ACLOCAL_M4) |
| 555 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
| 556 | configure.lineno config.status.lineno |
| 557 | -mkinstalldirs = $(install_sh) -d |
| 558 | +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
| 559 | CONFIG_HEADER = config.h |
| 560 | CONFIG_CLEAN_FILES = |
| 561 | CONFIG_CLEAN_VPATH_FILES = |
| 562 | @@ -109,14 +81,13 @@ |
| 563 | am__v_at_1 = |
| 564 | SOURCES = |
| 565 | DIST_SOURCES = |
| 566 | -RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
| 567 | - ctags-recursive dvi-recursive html-recursive info-recursive \ |
| 568 | - install-data-recursive install-dvi-recursive \ |
| 569 | - install-exec-recursive install-html-recursive \ |
| 570 | - install-info-recursive install-pdf-recursive \ |
| 571 | - install-ps-recursive install-recursive installcheck-recursive \ |
| 572 | - installdirs-recursive pdf-recursive ps-recursive \ |
| 573 | - tags-recursive uninstall-recursive |
| 574 | +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
| 575 | + html-recursive info-recursive install-data-recursive \ |
| 576 | + install-dvi-recursive install-exec-recursive \ |
| 577 | + install-html-recursive install-info-recursive \ |
| 578 | + install-pdf-recursive install-ps-recursive install-recursive \ |
| 579 | + installcheck-recursive installdirs-recursive pdf-recursive \ |
| 580 | + ps-recursive uninstall-recursive |
| 581 | am__can_run_installinfo = \ |
| 582 | case $$AM_UPDATE_INFO_DIR in \ |
| 583 | n|no|NO) false;; \ |
| 584 | @@ -153,30 +124,9 @@ |
| 585 | DATA = $(desktop_DATA) |
| 586 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 587 | distclean-recursive maintainer-clean-recursive |
| 588 | -am__recursive_targets = \ |
| 589 | - $(RECURSIVE_TARGETS) \ |
| 590 | - $(RECURSIVE_CLEAN_TARGETS) \ |
| 591 | - $(am__extra_recursive_targets) |
| 592 | -AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
| 593 | +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ |
| 594 | + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ |
| 595 | cscope distdir dist dist-all distcheck |
| 596 | -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
| 597 | - $(LISP)config.h.in |
| 598 | -# Read a list of newline-separated strings from the standard input, |
| 599 | -# and print each of them once, without duplicates. Input order is |
| 600 | -# *not* preserved. |
| 601 | -am__uniquify_input = $(AWK) '\ |
| 602 | - BEGIN { nonempty = 0; } \ |
| 603 | - { items[$$0] = 1; nonempty = 1; } \ |
| 604 | - END { if (nonempty) { for (i in items) print i; }; } \ |
| 605 | -' |
| 606 | -# Make sure the list of sources is unique. This is necessary because, |
| 607 | -# e.g., the same source file might be shared among _SOURCES variables |
| 608 | -# for different programs/libraries. |
| 609 | -am__define_uniq_tagged_files = \ |
| 610 | - list='$(am__tagged_files)'; \ |
| 611 | - unique=`for i in $$list; do \ |
| 612 | - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 613 | - done | $(am__uniquify_input)` |
| 614 | ETAGS = etags |
| 615 | CTAGS = ctags |
| 616 | CSCOPE = cscope |
| 617 | @@ -264,6 +214,10 @@ |
| 618 | GMOFILES = @GMOFILES@ |
| 619 | GMSGFMT = @GMSGFMT@ |
| 620 | GREP = @GREP@ |
| 621 | +GTK3_CFLAGS = @GTK3_CFLAGS@ |
| 622 | +GTK3_LIBS = @GTK3_LIBS@ |
| 623 | +GTK3_REQUIRED_VERSION = @GTK3_REQUIRED_VERSION@ |
| 624 | +GTK3_VERSION = @GTK3_VERSION@ |
| 625 | GTK_CFLAGS = @GTK_CFLAGS@ |
| 626 | GTK_LIBS = @GTK_LIBS@ |
| 627 | GTK_REQUIRED_VERSION = @GTK_REQUIRED_VERSION@ |
| 628 | @@ -391,6 +345,7 @@ |
| 629 | top_build_prefix = @top_build_prefix@ |
| 630 | top_builddir = @top_builddir@ |
| 631 | top_srcdir = @top_srcdir@ |
| 632 | +ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} |
| 633 | SUBDIRS = \ |
| 634 | po \ |
| 635 | src |
| 636 | @@ -450,8 +405,8 @@ |
| 637 | $(am__aclocal_m4_deps): |
| 638 | |
| 639 | config.h: stamp-h1 |
| 640 | - @test -f $@ || rm -f stamp-h1 |
| 641 | - @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 |
| 642 | + @if test ! -f $@; then rm -f stamp-h1; else :; fi |
| 643 | + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi |
| 644 | |
| 645 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
| 646 | @rm -f stamp-h1 |
| 647 | @@ -500,13 +455,14 @@ |
| 648 | # (1) if the variable is set in 'config.status', edit 'config.status' |
| 649 | # (which will cause the Makefiles to be regenerated when you run 'make'); |
| 650 | # (2) otherwise, pass the desired values on the 'make' command line. |
| 651 | -$(am__recursive_targets): |
| 652 | - @fail=; \ |
| 653 | - if $(am__make_keepgoing); then \ |
| 654 | - failcom='fail=yes'; \ |
| 655 | - else \ |
| 656 | - failcom='exit 1'; \ |
| 657 | - fi; \ |
| 658 | +$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS): |
| 659 | + @fail= failcom='exit 1'; \ |
| 660 | + for f in x $$MAKEFLAGS; do \ |
| 661 | + case $$f in \ |
| 662 | + *=* | --[!k]*);; \ |
| 663 | + *k*) failcom='fail=yes';; \ |
| 664 | + esac; \ |
| 665 | + done; \ |
| 666 | dot_seen=no; \ |
| 667 | target=`echo $@ | sed s/-recursive//`; \ |
| 668 | case "$@" in \ |
| 669 | @@ -527,13 +483,31 @@ |
| 670 | if test "$$dot_seen" = "no"; then \ |
| 671 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
| 672 | fi; test -z "$$fail" |
| 673 | - |
| 674 | -ID: $(am__tagged_files) |
| 675 | - $(am__define_uniq_tagged_files); mkid -fID $$unique |
| 676 | -tags: tags-recursive |
| 677 | -TAGS: tags |
| 678 | - |
| 679 | -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 680 | +tags-recursive: |
| 681 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 682 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
| 683 | + done |
| 684 | +ctags-recursive: |
| 685 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 686 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
| 687 | + done |
| 688 | +cscopelist-recursive: |
| 689 | + list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 690 | + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \ |
| 691 | + done |
| 692 | + |
| 693 | +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
| 694 | + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
| 695 | + unique=`for i in $$list; do \ |
| 696 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 697 | + done | \ |
| 698 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 699 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 700 | + mkid -fID $$unique |
| 701 | +tags: TAGS |
| 702 | + |
| 703 | +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
| 704 | + $(TAGS_FILES) $(LISP) |
| 705 | set x; \ |
| 706 | here=`pwd`; \ |
| 707 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
| 708 | @@ -549,7 +523,12 @@ |
| 709 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
| 710 | fi; \ |
| 711 | done; \ |
| 712 | - $(am__define_uniq_tagged_files); \ |
| 713 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
| 714 | + unique=`for i in $$list; do \ |
| 715 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 716 | + done | \ |
| 717 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 718 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 719 | shift; \ |
| 720 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
| 721 | test -n "$$unique" || unique=$$empty_fix; \ |
| 722 | @@ -561,11 +540,15 @@ |
| 723 | $$unique; \ |
| 724 | fi; \ |
| 725 | fi |
| 726 | -ctags: ctags-recursive |
| 727 | - |
| 728 | -CTAGS: ctags |
| 729 | -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 730 | - $(am__define_uniq_tagged_files); \ |
| 731 | +ctags: CTAGS |
| 732 | +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ |
| 733 | + $(TAGS_FILES) $(LISP) |
| 734 | + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ |
| 735 | + unique=`for i in $$list; do \ |
| 736 | + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 737 | + done | \ |
| 738 | + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ |
| 739 | + END { if (nonempty) { for (i in files) print i; }; }'`; \ |
| 740 | test -z "$(CTAGS_ARGS)$$unique" \ |
| 741 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
| 742 | $$unique |
| 743 | @@ -574,16 +557,18 @@ |
| 744 | here=`$(am__cd) $(top_builddir) && pwd` \ |
| 745 | && $(am__cd) $(top_srcdir) \ |
| 746 | && gtags -i $(GTAGS_ARGS) "$$here" |
| 747 | + |
| 748 | cscope: cscope.files |
| 749 | test ! -s cscope.files \ |
| 750 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
| 751 | + |
| 752 | clean-cscope: |
| 753 | -rm -f cscope.files |
| 754 | -cscope.files: clean-cscope cscopelist |
| 755 | -cscopelist: cscopelist-recursive |
| 756 | - |
| 757 | -cscopelist-am: $(am__tagged_files) |
| 758 | - list='$(am__tagged_files)'; \ |
| 759 | + |
| 760 | +cscope.files: clean-cscope cscopelist-recursive cscopelist |
| 761 | + |
| 762 | +cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP) |
| 763 | + list='$(SOURCES) $(HEADERS) $(LISP)'; \ |
| 764 | case "$(srcdir)" in \ |
| 765 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
| 766 | *) sdir=$(subdir)/$(srcdir) ;; \ |
| 767 | @@ -680,16 +665,10 @@ |
| 768 | $(am__post_remove_distdir) |
| 769 | |
| 770 | dist-tarZ: distdir |
| 771 | - @echo WARNING: "Support for shar distribution archives is" \ |
| 772 | - "deprecated." >&2 |
| 773 | - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
| 774 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
| 775 | $(am__post_remove_distdir) |
| 776 | |
| 777 | dist-shar: distdir |
| 778 | - @echo WARNING: "Support for distribution archives compressed with" \ |
| 779 | - "legacy program 'compress' is deprecated." >&2 |
| 780 | - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
| 781 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
| 782 | $(am__post_remove_distdir) |
| 783 | |
| 784 | @@ -731,10 +710,9 @@ |
| 785 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
| 786 | && am__cwd=`pwd` \ |
| 787 | && $(am__cd) $(distdir)/_build \ |
| 788 | - && ../configure \ |
| 789 | + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
| 790 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
| 791 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
| 792 | - --srcdir=.. --prefix="$$dc_install_base" \ |
| 793 | && $(MAKE) $(AM_MAKEFLAGS) \ |
| 794 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
| 795 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
| 796 | @@ -896,24 +874,27 @@ |
| 797 | |
| 798 | uninstall-am: uninstall-desktopDATA |
| 799 | |
| 800 | -.MAKE: $(am__recursive_targets) all install-am install-strip |
| 801 | +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ |
| 802 | + cscopelist-recursive ctags-recursive install-am install-strip \ |
| 803 | + tags-recursive |
| 804 | |
| 805 | -.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
| 806 | - am--refresh check check-am clean clean-cscope clean-generic \ |
| 807 | - clean-libtool cscope cscopelist-am ctags ctags-am dist \ |
| 808 | - dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ |
| 809 | - dist-xz dist-zip distcheck distclean distclean-generic \ |
| 810 | - distclean-hdr distclean-libtool distclean-tags distcleancheck \ |
| 811 | - distdir distuninstallcheck dvi dvi-am html html-am info \ |
| 812 | - info-am install install-am install-data install-data-am \ |
| 813 | +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
| 814 | + all all-am am--refresh check check-am clean clean-cscope \ |
| 815 | + clean-generic clean-libtool cscope cscopelist \ |
| 816 | + cscopelist-recursive ctags ctags-recursive dist dist-all \ |
| 817 | + dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \ |
| 818 | + dist-zip distcheck distclean distclean-generic distclean-hdr \ |
| 819 | + distclean-libtool distclean-tags distcleancheck distdir \ |
| 820 | + distuninstallcheck dvi dvi-am html html-am info info-am \ |
| 821 | + install install-am install-data install-data-am \ |
| 822 | install-desktopDATA install-dvi install-dvi-am install-exec \ |
| 823 | install-exec-am install-html install-html-am install-info \ |
| 824 | install-info-am install-man install-pdf install-pdf-am \ |
| 825 | install-ps install-ps-am install-strip installcheck \ |
| 826 | installcheck-am installdirs installdirs-am maintainer-clean \ |
| 827 | maintainer-clean-generic mostlyclean mostlyclean-generic \ |
| 828 | - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ |
| 829 | - uninstall-am uninstall-desktopDATA |
| 830 | + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ |
| 831 | + uninstall uninstall-am uninstall-desktopDATA |
| 832 | |
| 833 | @INTLTOOL_DESKTOP_RULE@ |
| 834 | |
| 835 | |
| 836 | === modified file 'NEWS' |
| 837 | --- NEWS 2014-01-09 09:12:50 +0000 |
| 838 | +++ NEWS 2015-01-04 21:20:08 +0000 |
| 839 | @@ -1,3 +1,22 @@ |
| 840 | +1.1.0 |
| 841 | + |
| 842 | +- Initial port to Gtk3, use --enable-gtk3 to test it (Gtk2 is still the default) |
| 843 | +- Stop using lots of deprecated Gtk2 API |
| 844 | +- Add a process treeview mode (Peter de Ridder) |
| 845 | +- General UI/graph overhaul (Simon Steinbeiss) |
| 846 | +- Various crash & correctness fixes on the bsd backend |
| 847 | +- Add a searchbox to filter on process names (Matias de Iellis #9856) |
| 848 | +- Make Escape key close the main window (Harald Judt #11343) |
| 849 | +- Fix window settings not properly saved (#10670) |
| 850 | +- Fix build issue on FreeBSD 8.0 (#8081) |
| 851 | +- Fix the refresh rate menu (Alistair Buxton) |
| 852 | +- Default the focus on the process list instead of the exec button (#10643) |
| 853 | +- Add an option to show memory/swap usage as bytes instead of % (#6503) |
| 854 | +- Add unique app behaviour (#8808) |
| 855 | +- Default to close the window instead of hiding in systray (#10941) |
| 856 | +- Fix type causing high cpu usage on ARM (#10417) |
| 857 | +- Tons of translation updates (thanks to all translators!) |
| 858 | + |
| 859 | 1.0.1 |
| 860 | |
| 861 | - Add "Run Task Manager as root" item in "Execute" menu |
| 862 | |
| 863 | === modified file 'aclocal.m4' |
| 864 | --- aclocal.m4 2014-01-09 09:12:50 +0000 |
| 865 | +++ aclocal.m4 2015-01-04 21:20:08 +0000 |
| 866 | @@ -1,6 +1,6 @@ |
| 867 | -# generated automatically by aclocal 1.14.1 -*- Autoconf -*- |
| 868 | +# generated automatically by aclocal 1.12.6 -*- Autoconf -*- |
| 869 | |
| 870 | -# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 871 | +# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
| 872 | |
| 873 | # This file is free software; the Free Software Foundation |
| 874 | # gives unlimited permission to copy and/or distribute it, |
| 875 | @@ -11,11 +11,10 @@ |
| 876 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 877 | # PARTICULAR PURPOSE. |
| 878 | |
| 879 | -m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
| 880 | m4_ifndef([AC_AUTOCONF_VERSION], |
| 881 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 882 | -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
| 883 | -[m4_warning([this file was generated for autoconf 2.69. |
| 884 | +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, |
| 885 | +[m4_warning([this file was generated for autoconf 2.64. |
| 886 | You have another version of autoconf. It may work, but is not guaranteed to. |
| 887 | If you have problems, you may need to regenerate the build system entirely. |
| 888 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
| 889 | @@ -456,6 +455,1301 @@ |
| 890 | fi]) |
| 891 | |
| 892 | |
| 893 | +# nls.m4 serial 5 (gettext-0.18) |
| 894 | +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation, |
| 895 | +dnl Inc. |
| 896 | +dnl This file is free software; the Free Software Foundation |
| 897 | +dnl gives unlimited permission to copy and/or distribute it, |
| 898 | +dnl with or without modifications, as long as this notice is preserved. |
| 899 | +dnl |
| 900 | +dnl This file can can be used in projects which are not available under |
| 901 | +dnl the GNU General Public License or the GNU Library General Public |
| 902 | +dnl License but which still want to provide support for the GNU gettext |
| 903 | +dnl functionality. |
| 904 | +dnl Please note that the actual code of the GNU gettext library is covered |
| 905 | +dnl by the GNU Library General Public License, and the rest of the GNU |
| 906 | +dnl gettext package package is covered by the GNU General Public License. |
| 907 | +dnl They are *not* in the public domain. |
| 908 | + |
| 909 | +dnl Authors: |
| 910 | +dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
| 911 | +dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
| 912 | + |
| 913 | +AC_PREREQ([2.50]) |
| 914 | + |
| 915 | +AC_DEFUN([AM_NLS], |
| 916 | +[ |
| 917 | + AC_MSG_CHECKING([whether NLS is requested]) |
| 918 | + dnl Default is enabled NLS |
| 919 | + AC_ARG_ENABLE([nls], |
| 920 | + [ --disable-nls do not use Native Language Support], |
| 921 | + USE_NLS=$enableval, USE_NLS=yes) |
| 922 | + AC_MSG_RESULT([$USE_NLS]) |
| 923 | + AC_SUBST([USE_NLS]) |
| 924 | +]) |
| 925 | + |
| 926 | +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
| 927 | +# serial 1 (pkg-config-0.24) |
| 928 | +# |
| 929 | +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
| 930 | +# |
| 931 | +# This program is free software; you can redistribute it and/or modify |
| 932 | +# it under the terms of the GNU General Public License as published by |
| 933 | +# the Free Software Foundation; either version 2 of the License, or |
| 934 | +# (at your option) any later version. |
| 935 | +# |
| 936 | +# This program is distributed in the hope that it will be useful, but |
| 937 | +# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 938 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 939 | +# General Public License for more details. |
| 940 | +# |
| 941 | +# You should have received a copy of the GNU General Public License |
| 942 | +# along with this program; if not, write to the Free Software |
| 943 | +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 944 | +# |
| 945 | +# As a special exception to the GNU General Public License, if you |
| 946 | +# distribute this file as part of a program that contains a |
| 947 | +# configuration script generated by Autoconf, you may include it under |
| 948 | +# the same distribution terms that you use for the rest of that program. |
| 949 | + |
| 950 | +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
| 951 | +# ---------------------------------- |
| 952 | +AC_DEFUN([PKG_PROG_PKG_CONFIG], |
| 953 | +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
| 954 | +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
| 955 | +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
| 956 | +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
| 957 | +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
| 958 | +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
| 959 | + |
| 960 | +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 961 | + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
| 962 | +fi |
| 963 | +if test -n "$PKG_CONFIG"; then |
| 964 | + _pkg_min_version=m4_default([$1], [0.9.0]) |
| 965 | + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
| 966 | + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 967 | + AC_MSG_RESULT([yes]) |
| 968 | + else |
| 969 | + AC_MSG_RESULT([no]) |
| 970 | + PKG_CONFIG="" |
| 971 | + fi |
| 972 | +fi[]dnl |
| 973 | +])# PKG_PROG_PKG_CONFIG |
| 974 | + |
| 975 | +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 976 | +# |
| 977 | +# Check to see whether a particular set of modules exists. Similar |
| 978 | +# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
| 979 | +# |
| 980 | +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 981 | +# only at the first occurence in configure.ac, so if the first place |
| 982 | +# it's called might be skipped (such as if it is within an "if", you |
| 983 | +# have to call PKG_CHECK_EXISTS manually |
| 984 | +# -------------------------------------------------------------- |
| 985 | +AC_DEFUN([PKG_CHECK_EXISTS], |
| 986 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 987 | +if test -n "$PKG_CONFIG" && \ |
| 988 | + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
| 989 | + m4_default([$2], [:]) |
| 990 | +m4_ifvaln([$3], [else |
| 991 | + $3])dnl |
| 992 | +fi]) |
| 993 | + |
| 994 | +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
| 995 | +# --------------------------------------------- |
| 996 | +m4_define([_PKG_CONFIG], |
| 997 | +[if test -n "$$1"; then |
| 998 | + pkg_cv_[]$1="$$1" |
| 999 | + elif test -n "$PKG_CONFIG"; then |
| 1000 | + PKG_CHECK_EXISTS([$3], |
| 1001 | + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
| 1002 | + test "x$?" != "x0" && pkg_failed=yes ], |
| 1003 | + [pkg_failed=yes]) |
| 1004 | + else |
| 1005 | + pkg_failed=untried |
| 1006 | +fi[]dnl |
| 1007 | +])# _PKG_CONFIG |
| 1008 | + |
| 1009 | +# _PKG_SHORT_ERRORS_SUPPORTED |
| 1010 | +# ----------------------------- |
| 1011 | +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
| 1012 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 1013 | +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 1014 | + _pkg_short_errors_supported=yes |
| 1015 | +else |
| 1016 | + _pkg_short_errors_supported=no |
| 1017 | +fi[]dnl |
| 1018 | +])# _PKG_SHORT_ERRORS_SUPPORTED |
| 1019 | + |
| 1020 | + |
| 1021 | +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
| 1022 | +# [ACTION-IF-NOT-FOUND]) |
| 1023 | +# |
| 1024 | +# |
| 1025 | +# Note that if there is a possibility the first call to |
| 1026 | +# PKG_CHECK_MODULES might not happen, you should be sure to include an |
| 1027 | +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
| 1028 | +# |
| 1029 | +# |
| 1030 | +# -------------------------------------------------------------- |
| 1031 | +AC_DEFUN([PKG_CHECK_MODULES], |
| 1032 | +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 1033 | +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
| 1034 | +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
| 1035 | + |
| 1036 | +pkg_failed=no |
| 1037 | +AC_MSG_CHECKING([for $1]) |
| 1038 | + |
| 1039 | +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
| 1040 | +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
| 1041 | + |
| 1042 | +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
| 1043 | +and $1[]_LIBS to avoid the need to call pkg-config. |
| 1044 | +See the pkg-config man page for more details.]) |
| 1045 | + |
| 1046 | +if test $pkg_failed = yes; then |
| 1047 | + AC_MSG_RESULT([no]) |
| 1048 | + _PKG_SHORT_ERRORS_SUPPORTED |
| 1049 | + if test $_pkg_short_errors_supported = yes; then |
| 1050 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
| 1051 | + else |
| 1052 | + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
| 1053 | + fi |
| 1054 | + # Put the nasty error message in config.log where it belongs |
| 1055 | + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
| 1056 | + |
| 1057 | + m4_default([$4], [AC_MSG_ERROR( |
| 1058 | +[Package requirements ($2) were not met: |
| 1059 | + |
| 1060 | +$$1_PKG_ERRORS |
| 1061 | + |
| 1062 | +Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 1063 | +installed software in a non-standard prefix. |
| 1064 | + |
| 1065 | +_PKG_TEXT])[]dnl |
| 1066 | + ]) |
| 1067 | +elif test $pkg_failed = untried; then |
| 1068 | + AC_MSG_RESULT([no]) |
| 1069 | + m4_default([$4], [AC_MSG_FAILURE( |
| 1070 | +[The pkg-config script could not be found or is too old. Make sure it |
| 1071 | +is in your PATH or set the PKG_CONFIG environment variable to the full |
| 1072 | +path to pkg-config. |
| 1073 | + |
| 1074 | +_PKG_TEXT |
| 1075 | + |
| 1076 | +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
| 1077 | + ]) |
| 1078 | +else |
| 1079 | + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
| 1080 | + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
| 1081 | + AC_MSG_RESULT([yes]) |
| 1082 | + $3 |
| 1083 | +fi[]dnl |
| 1084 | +])# PKG_CHECK_MODULES |
| 1085 | + |
| 1086 | + |
| 1087 | +# PKG_INSTALLDIR(DIRECTORY) |
| 1088 | +# ------------------------- |
| 1089 | +# Substitutes the variable pkgconfigdir as the location where a module |
| 1090 | +# should install pkg-config .pc files. By default the directory is |
| 1091 | +# $libdir/pkgconfig, but the default can be changed by passing |
| 1092 | +# DIRECTORY. The user can override through the --with-pkgconfigdir |
| 1093 | +# parameter. |
| 1094 | +AC_DEFUN([PKG_INSTALLDIR], |
| 1095 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) |
| 1096 | +m4_pushdef([pkg_description], |
| 1097 | + [pkg-config installation directory @<:@]pkg_default[@:>@]) |
| 1098 | +AC_ARG_WITH([pkgconfigdir], |
| 1099 | + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, |
| 1100 | + [with_pkgconfigdir=]pkg_default) |
| 1101 | +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) |
| 1102 | +m4_popdef([pkg_default]) |
| 1103 | +m4_popdef([pkg_description]) |
| 1104 | +]) dnl PKG_INSTALLDIR |
| 1105 | + |
| 1106 | + |
| 1107 | +# PKG_NOARCH_INSTALLDIR(DIRECTORY) |
| 1108 | +# ------------------------- |
| 1109 | +# Substitutes the variable noarch_pkgconfigdir as the location where a |
| 1110 | +# module should install arch-independent pkg-config .pc files. By |
| 1111 | +# default the directory is $datadir/pkgconfig, but the default can be |
| 1112 | +# changed by passing DIRECTORY. The user can override through the |
| 1113 | +# --with-noarch-pkgconfigdir parameter. |
| 1114 | +AC_DEFUN([PKG_NOARCH_INSTALLDIR], |
| 1115 | +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) |
| 1116 | +m4_pushdef([pkg_description], |
| 1117 | + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) |
| 1118 | +AC_ARG_WITH([noarch-pkgconfigdir], |
| 1119 | + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, |
| 1120 | + [with_noarch_pkgconfigdir=]pkg_default) |
| 1121 | +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) |
| 1122 | +m4_popdef([pkg_default]) |
| 1123 | +m4_popdef([pkg_description]) |
| 1124 | +]) dnl PKG_NOARCH_INSTALLDIR |
| 1125 | + |
| 1126 | +# Copyright (C) 2002-2012 Free Software Foundation, Inc. |
| 1127 | +# |
| 1128 | +# This file is free software; the Free Software Foundation |
| 1129 | +# gives unlimited permission to copy and/or distribute it, |
| 1130 | +# with or without modifications, as long as this notice is preserved. |
| 1131 | + |
| 1132 | +# AM_AUTOMAKE_VERSION(VERSION) |
| 1133 | +# ---------------------------- |
| 1134 | +# Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 1135 | +# generated from the m4 files accompanying Automake X.Y. |
| 1136 | +# (This private macro should not be called outside this file.) |
| 1137 | +AC_DEFUN([AM_AUTOMAKE_VERSION], |
| 1138 | +[am__api_version='1.12' |
| 1139 | +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
| 1140 | +dnl require some minimum version. Point them to the right macro. |
| 1141 | +m4_if([$1], [1.12.6], [], |
| 1142 | + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 1143 | +]) |
| 1144 | + |
| 1145 | +# _AM_AUTOCONF_VERSION(VERSION) |
| 1146 | +# ----------------------------- |
| 1147 | +# aclocal traces this macro to find the Autoconf version. |
| 1148 | +# This is a private macro too. Using m4_define simplifies |
| 1149 | +# the logic in aclocal, which can simply ignore this definition. |
| 1150 | +m4_define([_AM_AUTOCONF_VERSION], []) |
| 1151 | + |
| 1152 | +# AM_SET_CURRENT_AUTOMAKE_VERSION |
| 1153 | +# ------------------------------- |
| 1154 | +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 1155 | +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
| 1156 | +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 1157 | +[AM_AUTOMAKE_VERSION([1.12.6])dnl |
| 1158 | +m4_ifndef([AC_AUTOCONF_VERSION], |
| 1159 | + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 1160 | +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
| 1161 | + |
| 1162 | +# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 1163 | + |
| 1164 | +# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 1165 | +# |
| 1166 | +# This file is free software; the Free Software Foundation |
| 1167 | +# gives unlimited permission to copy and/or distribute it, |
| 1168 | +# with or without modifications, as long as this notice is preserved. |
| 1169 | + |
| 1170 | +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
| 1171 | +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
| 1172 | +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
| 1173 | +# |
| 1174 | +# Of course, Automake must honor this variable whenever it calls a |
| 1175 | +# tool from the auxiliary directory. The problem is that $srcdir (and |
| 1176 | +# therefore $ac_aux_dir as well) can be either absolute or relative, |
| 1177 | +# depending on how configure is run. This is pretty annoying, since |
| 1178 | +# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
| 1179 | +# source directory, any form will work fine, but in subdirectories a |
| 1180 | +# relative path needs to be adjusted first. |
| 1181 | +# |
| 1182 | +# $ac_aux_dir/missing |
| 1183 | +# fails when called from a subdirectory if $ac_aux_dir is relative |
| 1184 | +# $top_srcdir/$ac_aux_dir/missing |
| 1185 | +# fails if $ac_aux_dir is absolute, |
| 1186 | +# fails when called from a subdirectory in a VPATH build with |
| 1187 | +# a relative $ac_aux_dir |
| 1188 | +# |
| 1189 | +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
| 1190 | +# are both prefixed by $srcdir. In an in-source build this is usually |
| 1191 | +# harmless because $srcdir is '.', but things will broke when you |
| 1192 | +# start a VPATH build or use an absolute $srcdir. |
| 1193 | +# |
| 1194 | +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
| 1195 | +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
| 1196 | +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
| 1197 | +# and then we would define $MISSING as |
| 1198 | +# MISSING="\${SHELL} $am_aux_dir/missing" |
| 1199 | +# This will work as long as MISSING is not called from configure, because |
| 1200 | +# unfortunately $(top_srcdir) has no meaning in configure. |
| 1201 | +# However there are other variables, like CC, which are often used in |
| 1202 | +# configure, and could therefore not use this "fixed" $ac_aux_dir. |
| 1203 | +# |
| 1204 | +# Another solution, used here, is to always expand $ac_aux_dir to an |
| 1205 | +# absolute PATH. The drawback is that using absolute paths prevent a |
| 1206 | +# configured tree to be moved without reconfiguration. |
| 1207 | + |
| 1208 | +AC_DEFUN([AM_AUX_DIR_EXPAND], |
| 1209 | +[dnl Rely on autoconf to set up CDPATH properly. |
| 1210 | +AC_PREREQ([2.50])dnl |
| 1211 | +# expand $ac_aux_dir to an absolute path |
| 1212 | +am_aux_dir=`cd $ac_aux_dir && pwd` |
| 1213 | +]) |
| 1214 | + |
| 1215 | +# AM_CONDITIONAL -*- Autoconf -*- |
| 1216 | + |
| 1217 | +# Copyright (C) 1997-2012 Free Software Foundation, Inc. |
| 1218 | +# |
| 1219 | +# This file is free software; the Free Software Foundation |
| 1220 | +# gives unlimited permission to copy and/or distribute it, |
| 1221 | +# with or without modifications, as long as this notice is preserved. |
| 1222 | + |
| 1223 | +# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 1224 | +# ------------------------------------- |
| 1225 | +# Define a conditional. |
| 1226 | +AC_DEFUN([AM_CONDITIONAL], |
| 1227 | +[AC_PREREQ([2.52])dnl |
| 1228 | + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
| 1229 | + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
| 1230 | +AC_SUBST([$1_TRUE])dnl |
| 1231 | +AC_SUBST([$1_FALSE])dnl |
| 1232 | +_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
| 1233 | +_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
| 1234 | +m4_define([_AM_COND_VALUE_$1], [$2])dnl |
| 1235 | +if $2; then |
| 1236 | + $1_TRUE= |
| 1237 | + $1_FALSE='#' |
| 1238 | +else |
| 1239 | + $1_TRUE='#' |
| 1240 | + $1_FALSE= |
| 1241 | +fi |
| 1242 | +AC_CONFIG_COMMANDS_PRE( |
| 1243 | +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 1244 | + AC_MSG_ERROR([[conditional "$1" was never defined. |
| 1245 | +Usually this means the macro was only invoked conditionally.]]) |
| 1246 | +fi])]) |
| 1247 | + |
| 1248 | +# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 1249 | +# |
| 1250 | +# This file is free software; the Free Software Foundation |
| 1251 | +# gives unlimited permission to copy and/or distribute it, |
| 1252 | +# with or without modifications, as long as this notice is preserved. |
| 1253 | + |
| 1254 | + |
| 1255 | +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
| 1256 | +# written in clear, in which case automake, when reading aclocal.m4, |
| 1257 | +# will think it sees a *use*, and therefore will trigger all it's |
| 1258 | +# C support machinery. Also note that it means that autoscan, seeing |
| 1259 | +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
| 1260 | + |
| 1261 | + |
| 1262 | +# _AM_DEPENDENCIES(NAME) |
| 1263 | +# ---------------------- |
| 1264 | +# See how the compiler implements dependency checking. |
| 1265 | +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". |
| 1266 | +# We try a few techniques and use that to set a single cache variable. |
| 1267 | +# |
| 1268 | +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
| 1269 | +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
| 1270 | +# dependency, and given that the user is not expected to run this macro, |
| 1271 | +# just rely on AC_PROG_CC. |
| 1272 | +AC_DEFUN([_AM_DEPENDENCIES], |
| 1273 | +[AC_REQUIRE([AM_SET_DEPDIR])dnl |
| 1274 | +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
| 1275 | +AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
| 1276 | +AC_REQUIRE([AM_DEP_TRACK])dnl |
| 1277 | + |
| 1278 | +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], |
| 1279 | + [$1], [CXX], [depcc="$CXX" am_compiler_list=], |
| 1280 | + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
| 1281 | + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], |
| 1282 | + [$1], [UPC], [depcc="$UPC" am_compiler_list=], |
| 1283 | + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
| 1284 | + [depcc="$$1" am_compiler_list=]) |
| 1285 | + |
| 1286 | +AC_CACHE_CHECK([dependency style of $depcc], |
| 1287 | + [am_cv_$1_dependencies_compiler_type], |
| 1288 | +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 1289 | + # We make a subdir and do the tests there. Otherwise we can end up |
| 1290 | + # making bogus files that we don't know about and never remove. For |
| 1291 | + # instance it was reported that on HP-UX the gcc test will end up |
| 1292 | + # making a dummy file named 'D' -- because '-MD' means "put the output |
| 1293 | + # in D". |
| 1294 | + rm -rf conftest.dir |
| 1295 | + mkdir conftest.dir |
| 1296 | + # Copy depcomp to subdir because otherwise we won't find it if we're |
| 1297 | + # using a relative directory. |
| 1298 | + cp "$am_depcomp" conftest.dir |
| 1299 | + cd conftest.dir |
| 1300 | + # We will build objects and dependencies in a subdirectory because |
| 1301 | + # it helps to detect inapplicable dependency modes. For instance |
| 1302 | + # both Tru64's cc and ICC support -MD to output dependencies as a |
| 1303 | + # side effect of compilation, but ICC will put the dependencies in |
| 1304 | + # the current directory while Tru64 will put them in the object |
| 1305 | + # directory. |
| 1306 | + mkdir sub |
| 1307 | + |
| 1308 | + am_cv_$1_dependencies_compiler_type=none |
| 1309 | + if test "$am_compiler_list" = ""; then |
| 1310 | + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
| 1311 | + fi |
| 1312 | + am__universal=false |
| 1313 | + m4_case([$1], [CC], |
| 1314 | + [case " $depcc " in #( |
| 1315 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 1316 | + esac], |
| 1317 | + [CXX], |
| 1318 | + [case " $depcc " in #( |
| 1319 | + *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 1320 | + esac]) |
| 1321 | + |
| 1322 | + for depmode in $am_compiler_list; do |
| 1323 | + # Setup a source with many dependencies, because some compilers |
| 1324 | + # like to wrap large dependency lists on column 80 (with \), and |
| 1325 | + # we should not choose a depcomp mode which is confused by this. |
| 1326 | + # |
| 1327 | + # We need to recreate these files for each test, as the compiler may |
| 1328 | + # overwrite some of them when testing with obscure command lines. |
| 1329 | + # This happens at least with the AIX C compiler. |
| 1330 | + : > sub/conftest.c |
| 1331 | + for i in 1 2 3 4 5 6; do |
| 1332 | + echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 1333 | + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 1334 | + # Solaris 10 /bin/sh. |
| 1335 | + echo '/* dummy */' > sub/conftst$i.h |
| 1336 | + done |
| 1337 | + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 1338 | + |
| 1339 | + # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 1340 | + # mode. It turns out that the SunPro C++ compiler does not properly |
| 1341 | + # handle '-M -o', and we need to detect this. Also, some Intel |
| 1342 | + # versions had trouble with output in subdirs. |
| 1343 | + am__obj=sub/conftest.${OBJEXT-o} |
| 1344 | + am__minus_obj="-o $am__obj" |
| 1345 | + case $depmode in |
| 1346 | + gcc) |
| 1347 | + # This depmode causes a compiler race in universal mode. |
| 1348 | + test "$am__universal" = false || continue |
| 1349 | + ;; |
| 1350 | + nosideeffect) |
| 1351 | + # After this tag, mechanisms are not by side-effect, so they'll |
| 1352 | + # only be used when explicitly requested. |
| 1353 | + if test "x$enable_dependency_tracking" = xyes; then |
| 1354 | + continue |
| 1355 | + else |
| 1356 | + break |
| 1357 | + fi |
| 1358 | + ;; |
| 1359 | + msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 1360 | + # This compiler won't grok '-c -o', but also, the minuso test has |
| 1361 | + # not run yet. These depmodes are late enough in the game, and |
| 1362 | + # so weak that their functioning should not be impacted. |
| 1363 | + am__obj=conftest.${OBJEXT-o} |
| 1364 | + am__minus_obj= |
| 1365 | + ;; |
| 1366 | + none) break ;; |
| 1367 | + esac |
| 1368 | + if depmode=$depmode \ |
| 1369 | + source=sub/conftest.c object=$am__obj \ |
| 1370 | + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 1371 | + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 1372 | + >/dev/null 2>conftest.err && |
| 1373 | + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 1374 | + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 1375 | + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 1376 | + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 1377 | + # icc doesn't choke on unknown options, it will just issue warnings |
| 1378 | + # or remarks (even with -Werror). So we grep stderr for any message |
| 1379 | + # that says an option was ignored or not supported. |
| 1380 | + # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 1381 | + # icc: Command line warning: ignoring option '-M'; no argument required |
| 1382 | + # The diagnosis changed in icc 8.0: |
| 1383 | + # icc: Command line remark: option '-MP' not supported |
| 1384 | + if (grep 'ignoring option' conftest.err || |
| 1385 | + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 1386 | + am_cv_$1_dependencies_compiler_type=$depmode |
| 1387 | + break |
| 1388 | + fi |
| 1389 | + fi |
| 1390 | + done |
| 1391 | + |
| 1392 | + cd .. |
| 1393 | + rm -rf conftest.dir |
| 1394 | +else |
| 1395 | + am_cv_$1_dependencies_compiler_type=none |
| 1396 | +fi |
| 1397 | +]) |
| 1398 | +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
| 1399 | +AM_CONDITIONAL([am__fastdep$1], [ |
| 1400 | + test "x$enable_dependency_tracking" != xno \ |
| 1401 | + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
| 1402 | +]) |
| 1403 | + |
| 1404 | + |
| 1405 | +# AM_SET_DEPDIR |
| 1406 | +# ------------- |
| 1407 | +# Choose a directory name for dependency files. |
| 1408 | +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. |
| 1409 | +AC_DEFUN([AM_SET_DEPDIR], |
| 1410 | +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 1411 | +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
| 1412 | +]) |
| 1413 | + |
| 1414 | + |
| 1415 | +# AM_DEP_TRACK |
| 1416 | +# ------------ |
| 1417 | +AC_DEFUN([AM_DEP_TRACK], |
| 1418 | +[AC_ARG_ENABLE([dependency-tracking], [dnl |
| 1419 | +AS_HELP_STRING( |
| 1420 | + [--enable-dependency-tracking], |
| 1421 | + [do not reject slow dependency extractors]) |
| 1422 | +AS_HELP_STRING( |
| 1423 | + [--disable-dependency-tracking], |
| 1424 | + [speeds up one-time build])]) |
| 1425 | +if test "x$enable_dependency_tracking" != xno; then |
| 1426 | + am_depcomp="$ac_aux_dir/depcomp" |
| 1427 | + AMDEPBACKSLASH='\' |
| 1428 | + am__nodep='_no' |
| 1429 | +fi |
| 1430 | +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 1431 | +AC_SUBST([AMDEPBACKSLASH])dnl |
| 1432 | +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 1433 | +AC_SUBST([am__nodep])dnl |
| 1434 | +_AM_SUBST_NOTMAKE([am__nodep])dnl |
| 1435 | +]) |
| 1436 | + |
| 1437 | +# Generate code to set up dependency tracking. -*- Autoconf -*- |
| 1438 | + |
| 1439 | +# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 1440 | +# |
| 1441 | +# This file is free software; the Free Software Foundation |
| 1442 | +# gives unlimited permission to copy and/or distribute it, |
| 1443 | +# with or without modifications, as long as this notice is preserved. |
| 1444 | + |
| 1445 | + |
| 1446 | +# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 1447 | +# ------------------------------ |
| 1448 | +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 1449 | +[{ |
| 1450 | + # Autoconf 2.62 quotes --file arguments for eval, but not when files |
| 1451 | + # are listed without --file. Let's play safe and only enable the eval |
| 1452 | + # if we detect the quoting. |
| 1453 | + case $CONFIG_FILES in |
| 1454 | + *\'*) eval set x "$CONFIG_FILES" ;; |
| 1455 | + *) set x $CONFIG_FILES ;; |
| 1456 | + esac |
| 1457 | + shift |
| 1458 | + for mf |
| 1459 | + do |
| 1460 | + # Strip MF so we end up with the name of the file. |
| 1461 | + mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 1462 | + # Check whether this is an Automake generated Makefile or not. |
| 1463 | + # We used to match only the files named 'Makefile.in', but |
| 1464 | + # some people rename them; so instead we look at the file content. |
| 1465 | + # Grep'ing the first line is not enough: some people post-process |
| 1466 | + # each Makefile.in and add a new line on top of each file to say so. |
| 1467 | + # Grep'ing the whole file is not good either: AIX grep has a line |
| 1468 | + # limit of 2048, but all sed's we know have understand at least 4000. |
| 1469 | + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 1470 | + dirpart=`AS_DIRNAME("$mf")` |
| 1471 | + else |
| 1472 | + continue |
| 1473 | + fi |
| 1474 | + # Extract the definition of DEPDIR, am__include, and am__quote |
| 1475 | + # from the Makefile without running 'make'. |
| 1476 | + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 1477 | + test -z "$DEPDIR" && continue |
| 1478 | + am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 1479 | + test -z "am__include" && continue |
| 1480 | + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 1481 | + # Find all dependency output files, they are included files with |
| 1482 | + # $(DEPDIR) in their names. We invoke sed twice because it is the |
| 1483 | + # simplest approach to changing $(DEPDIR) to its actual value in the |
| 1484 | + # expansion. |
| 1485 | + for file in `sed -n " |
| 1486 | + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 1487 | + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 1488 | + # Make sure the directory exists. |
| 1489 | + test -f "$dirpart/$file" && continue |
| 1490 | + fdir=`AS_DIRNAME(["$file"])` |
| 1491 | + AS_MKDIR_P([$dirpart/$fdir]) |
| 1492 | + # echo "creating $dirpart/$file" |
| 1493 | + echo '# dummy' > "$dirpart/$file" |
| 1494 | + done |
| 1495 | + done |
| 1496 | +} |
| 1497 | +])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 1498 | + |
| 1499 | + |
| 1500 | +# AM_OUTPUT_DEPENDENCY_COMMANDS |
| 1501 | +# ----------------------------- |
| 1502 | +# This macro should only be invoked once -- use via AC_REQUIRE. |
| 1503 | +# |
| 1504 | +# This code is only required when automatic dependency tracking |
| 1505 | +# is enabled. FIXME. This creates each '.P' file that we will |
| 1506 | +# need in order to bootstrap the dependency handling code. |
| 1507 | +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 1508 | +[AC_CONFIG_COMMANDS([depfiles], |
| 1509 | + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 1510 | + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
| 1511 | +]) |
| 1512 | + |
| 1513 | +# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
| 1514 | +# |
| 1515 | +# This file is free software; the Free Software Foundation |
| 1516 | +# gives unlimited permission to copy and/or distribute it, |
| 1517 | +# with or without modifications, as long as this notice is preserved. |
| 1518 | + |
| 1519 | +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
| 1520 | +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
| 1521 | + |
| 1522 | +# Do all the work for Automake. -*- Autoconf -*- |
| 1523 | + |
| 1524 | +# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
| 1525 | +# |
| 1526 | +# This file is free software; the Free Software Foundation |
| 1527 | +# gives unlimited permission to copy and/or distribute it, |
| 1528 | +# with or without modifications, as long as this notice is preserved. |
| 1529 | + |
| 1530 | +# This macro actually does too much. Some checks are only needed if |
| 1531 | +# your package does certain things. But this isn't really a big deal. |
| 1532 | + |
| 1533 | +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
| 1534 | +# AM_INIT_AUTOMAKE([OPTIONS]) |
| 1535 | +# ----------------------------------------------- |
| 1536 | +# The call with PACKAGE and VERSION arguments is the old style |
| 1537 | +# call (pre autoconf-2.50), which is being phased out. PACKAGE |
| 1538 | +# and VERSION should now be passed to AC_INIT and removed from |
| 1539 | +# the call to AM_INIT_AUTOMAKE. |
| 1540 | +# We support both call styles for the transition. After |
| 1541 | +# the next Automake release, Autoconf can make the AC_INIT |
| 1542 | +# arguments mandatory, and then we can depend on a new Autoconf |
| 1543 | +# release and drop the old call support. |
| 1544 | +AC_DEFUN([AM_INIT_AUTOMAKE], |
| 1545 | +[AC_PREREQ([2.62])dnl |
| 1546 | +dnl Autoconf wants to disallow AM_ names. We explicitly allow |
| 1547 | +dnl the ones we care about. |
| 1548 | +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
| 1549 | +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
| 1550 | +AC_REQUIRE([AC_PROG_INSTALL])dnl |
| 1551 | +if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 1552 | + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 1553 | + # is not polluted with repeated "-I." |
| 1554 | + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
| 1555 | + # test to see if srcdir already configured |
| 1556 | + if test -f $srcdir/config.status; then |
| 1557 | + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
| 1558 | + fi |
| 1559 | +fi |
| 1560 | + |
| 1561 | +# test whether we have cygpath |
| 1562 | +if test -z "$CYGPATH_W"; then |
| 1563 | + if (cygpath --version) >/dev/null 2>/dev/null; then |
| 1564 | + CYGPATH_W='cygpath -w' |
| 1565 | + else |
| 1566 | + CYGPATH_W=echo |
| 1567 | + fi |
| 1568 | +fi |
| 1569 | +AC_SUBST([CYGPATH_W]) |
| 1570 | + |
| 1571 | +# Define the identity of the package. |
| 1572 | +dnl Distinguish between old-style and new-style calls. |
| 1573 | +m4_ifval([$2], |
| 1574 | +[AC_DIAGNOSE([obsolete], |
| 1575 | +[$0: two- and three-arguments forms are deprecated. For more info, see: |
| 1576 | +http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) |
| 1577 | +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
| 1578 | + AC_SUBST([PACKAGE], [$1])dnl |
| 1579 | + AC_SUBST([VERSION], [$2])], |
| 1580 | +[_AM_SET_OPTIONS([$1])dnl |
| 1581 | +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
| 1582 | +m4_if( |
| 1583 | + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), |
| 1584 | + [ok:ok],, |
| 1585 | + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
| 1586 | + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
| 1587 | + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
| 1588 | + |
| 1589 | +_AM_IF_OPTION([no-define],, |
| 1590 | +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) |
| 1591 | + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl |
| 1592 | + |
| 1593 | +# Some tools Automake needs. |
| 1594 | +AC_REQUIRE([AM_SANITY_CHECK])dnl |
| 1595 | +AC_REQUIRE([AC_ARG_PROGRAM])dnl |
| 1596 | +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
| 1597 | +AM_MISSING_PROG([AUTOCONF], [autoconf]) |
| 1598 | +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
| 1599 | +AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
| 1600 | +AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
| 1601 | +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 1602 | +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
| 1603 | +AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| 1604 | +# For better backward compatibility. To be removed once Automake 1.9.x |
| 1605 | +# dies out for good. For more background, see: |
| 1606 | +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 1607 | +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 1608 | +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
| 1609 | +# We need awk for the "check" target. The system "awk" is bad on |
| 1610 | +# some platforms. |
| 1611 | +AC_REQUIRE([AC_PROG_AWK])dnl |
| 1612 | +AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
| 1613 | +AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 1614 | +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
| 1615 | + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
| 1616 | + [_AM_PROG_TAR([v7])])]) |
| 1617 | +_AM_IF_OPTION([no-dependencies],, |
| 1618 | +[AC_PROVIDE_IFELSE([AC_PROG_CC], |
| 1619 | + [_AM_DEPENDENCIES([CC])], |
| 1620 | + [m4_define([AC_PROG_CC], |
| 1621 | + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl |
| 1622 | +AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| 1623 | + [_AM_DEPENDENCIES([CXX])], |
| 1624 | + [m4_define([AC_PROG_CXX], |
| 1625 | + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl |
| 1626 | +AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
| 1627 | + [_AM_DEPENDENCIES([OBJC])], |
| 1628 | + [m4_define([AC_PROG_OBJC], |
| 1629 | + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
| 1630 | +dnl Support for Objective C++ was only introduced in Autoconf 2.65, |
| 1631 | +dnl but we still cater to Autoconf 2.62. |
| 1632 | +m4_ifdef([AC_PROG_OBJCXX], |
| 1633 | +[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
| 1634 | + [_AM_DEPENDENCIES([OBJCXX])], |
| 1635 | + [m4_define([AC_PROG_OBJCXX], |
| 1636 | + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl |
| 1637 | +]) |
| 1638 | +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
| 1639 | +dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the |
| 1640 | +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
| 1641 | +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
| 1642 | +AC_CONFIG_COMMANDS_PRE(dnl |
| 1643 | +[m4_provide_if([_AM_COMPILER_EXEEXT], |
| 1644 | + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
| 1645 | +]) |
| 1646 | + |
| 1647 | +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
| 1648 | +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
| 1649 | +dnl mangled by Autoconf and run in a shell conditional statement. |
| 1650 | +m4_define([_AC_COMPILER_EXEEXT], |
| 1651 | +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
| 1652 | + |
| 1653 | + |
| 1654 | +# When config.status generates a header, we must update the stamp-h file. |
| 1655 | +# This file resides in the same directory as the config header |
| 1656 | +# that is generated. The stamp files are numbered to have different names. |
| 1657 | + |
| 1658 | +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
| 1659 | +# loop where config.status creates the headers, so we can generate |
| 1660 | +# our stamp files there. |
| 1661 | +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| 1662 | +[# Compute $1's index in $config_headers. |
| 1663 | +_am_arg=$1 |
| 1664 | +_am_stamp_count=1 |
| 1665 | +for _am_header in $config_headers :; do |
| 1666 | + case $_am_header in |
| 1667 | + $_am_arg | $_am_arg:* ) |
| 1668 | + break ;; |
| 1669 | + * ) |
| 1670 | + _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 1671 | + esac |
| 1672 | +done |
| 1673 | +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
| 1674 | + |
| 1675 | +# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 1676 | +# |
| 1677 | +# This file is free software; the Free Software Foundation |
| 1678 | +# gives unlimited permission to copy and/or distribute it, |
| 1679 | +# with or without modifications, as long as this notice is preserved. |
| 1680 | + |
| 1681 | +# AM_PROG_INSTALL_SH |
| 1682 | +# ------------------ |
| 1683 | +# Define $install_sh. |
| 1684 | +AC_DEFUN([AM_PROG_INSTALL_SH], |
| 1685 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 1686 | +if test x"${install_sh}" != xset; then |
| 1687 | + case $am_aux_dir in |
| 1688 | + *\ * | *\ *) |
| 1689 | + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 1690 | + *) |
| 1691 | + install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 1692 | + esac |
| 1693 | +fi |
| 1694 | +AC_SUBST([install_sh])]) |
| 1695 | + |
| 1696 | +# Copyright (C) 2003-2012 Free Software Foundation, Inc. |
| 1697 | +# |
| 1698 | +# This file is free software; the Free Software Foundation |
| 1699 | +# gives unlimited permission to copy and/or distribute it, |
| 1700 | +# with or without modifications, as long as this notice is preserved. |
| 1701 | + |
| 1702 | +# Check whether the underlying file-system supports filenames |
| 1703 | +# with a leading dot. For instance MS-DOS doesn't. |
| 1704 | +AC_DEFUN([AM_SET_LEADING_DOT], |
| 1705 | +[rm -rf .tst 2>/dev/null |
| 1706 | +mkdir .tst 2>/dev/null |
| 1707 | +if test -d .tst; then |
| 1708 | + am__leading_dot=. |
| 1709 | +else |
| 1710 | + am__leading_dot=_ |
| 1711 | +fi |
| 1712 | +rmdir .tst 2>/dev/null |
| 1713 | +AC_SUBST([am__leading_dot])]) |
| 1714 | + |
| 1715 | +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
| 1716 | +# From Jim Meyering |
| 1717 | + |
| 1718 | +# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
| 1719 | +# |
| 1720 | +# This file is free software; the Free Software Foundation |
| 1721 | +# gives unlimited permission to copy and/or distribute it, |
| 1722 | +# with or without modifications, as long as this notice is preserved. |
| 1723 | + |
| 1724 | +# AM_MAINTAINER_MODE([DEFAULT-MODE]) |
| 1725 | +# ---------------------------------- |
| 1726 | +# Control maintainer-specific portions of Makefiles. |
| 1727 | +# Default is to disable them, unless 'enable' is passed literally. |
| 1728 | +# For symmetry, 'disable' may be passed as well. Anyway, the user |
| 1729 | +# can override the default with the --enable/--disable switch. |
| 1730 | +AC_DEFUN([AM_MAINTAINER_MODE], |
| 1731 | +[m4_case(m4_default([$1], [disable]), |
| 1732 | + [enable], [m4_define([am_maintainer_other], [disable])], |
| 1733 | + [disable], [m4_define([am_maintainer_other], [enable])], |
| 1734 | + [m4_define([am_maintainer_other], [enable]) |
| 1735 | + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
| 1736 | +AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
| 1737 | + dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
| 1738 | + AC_ARG_ENABLE([maintainer-mode], |
| 1739 | + [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], |
| 1740 | + am_maintainer_other[ make rules and dependencies not useful |
| 1741 | + (and sometimes confusing) to the casual installer])], |
| 1742 | + [USE_MAINTAINER_MODE=$enableval], |
| 1743 | + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) |
| 1744 | + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
| 1745 | + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
| 1746 | + MAINT=$MAINTAINER_MODE_TRUE |
| 1747 | + AC_SUBST([MAINT])dnl |
| 1748 | +] |
| 1749 | +) |
| 1750 | + |
| 1751 | +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
| 1752 | + |
| 1753 | +# Check to see how 'make' treats includes. -*- Autoconf -*- |
| 1754 | + |
| 1755 | +# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 1756 | +# |
| 1757 | +# This file is free software; the Free Software Foundation |
| 1758 | +# gives unlimited permission to copy and/or distribute it, |
| 1759 | +# with or without modifications, as long as this notice is preserved. |
| 1760 | + |
| 1761 | +# AM_MAKE_INCLUDE() |
| 1762 | +# ----------------- |
| 1763 | +# Check to see how make treats includes. |
| 1764 | +AC_DEFUN([AM_MAKE_INCLUDE], |
| 1765 | +[am_make=${MAKE-make} |
| 1766 | +cat > confinc << 'END' |
| 1767 | +am__doit: |
| 1768 | + @echo this is the am__doit target |
| 1769 | +.PHONY: am__doit |
| 1770 | +END |
| 1771 | +# If we don't find an include directive, just comment out the code. |
| 1772 | +AC_MSG_CHECKING([for style of include used by $am_make]) |
| 1773 | +am__include="#" |
| 1774 | +am__quote= |
| 1775 | +_am_result=none |
| 1776 | +# First try GNU make style include. |
| 1777 | +echo "include confinc" > confmf |
| 1778 | +# Ignore all kinds of additional output from 'make'. |
| 1779 | +case `$am_make -s -f confmf 2> /dev/null` in #( |
| 1780 | +*the\ am__doit\ target*) |
| 1781 | + am__include=include |
| 1782 | + am__quote= |
| 1783 | + _am_result=GNU |
| 1784 | + ;; |
| 1785 | +esac |
| 1786 | +# Now try BSD make style include. |
| 1787 | +if test "$am__include" = "#"; then |
| 1788 | + echo '.include "confinc"' > confmf |
| 1789 | + case `$am_make -s -f confmf 2> /dev/null` in #( |
| 1790 | + *the\ am__doit\ target*) |
| 1791 | + am__include=.include |
| 1792 | + am__quote="\"" |
| 1793 | + _am_result=BSD |
| 1794 | + ;; |
| 1795 | + esac |
| 1796 | +fi |
| 1797 | +AC_SUBST([am__include]) |
| 1798 | +AC_SUBST([am__quote]) |
| 1799 | +AC_MSG_RESULT([$_am_result]) |
| 1800 | +rm -f confinc confmf |
| 1801 | +]) |
| 1802 | + |
| 1803 | +# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 1804 | +# |
| 1805 | +# This file is free software; the Free Software Foundation |
| 1806 | +# gives unlimited permission to copy and/or distribute it, |
| 1807 | +# with or without modifications, as long as this notice is preserved. |
| 1808 | + |
| 1809 | +# AM_PROG_CC_C_O |
| 1810 | +# -------------- |
| 1811 | +# Like AC_PROG_CC_C_O, but changed for automake. |
| 1812 | +AC_DEFUN([AM_PROG_CC_C_O], |
| 1813 | +[AC_REQUIRE([AC_PROG_CC_C_O])dnl |
| 1814 | +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 1815 | +AC_REQUIRE_AUX_FILE([compile])dnl |
| 1816 | +# FIXME: we rely on the cache variable name because |
| 1817 | +# there is no other way. |
| 1818 | +set dummy $CC |
| 1819 | +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` |
| 1820 | +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o |
| 1821 | +if test "$am_t" != yes; then |
| 1822 | + # Losing compiler, so override with the script. |
| 1823 | + # FIXME: It is wrong to rewrite CC. |
| 1824 | + # But if we don't then we get into trouble of one sort or another. |
| 1825 | + # A longer-term fix would be to have automake use am__CC in this case, |
| 1826 | + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 1827 | + CC="$am_aux_dir/compile $CC" |
| 1828 | +fi |
| 1829 | +dnl Make sure AC_PROG_CC is never called again, or it will override our |
| 1830 | +dnl setting of CC. |
| 1831 | +m4_define([AC_PROG_CC], |
| 1832 | + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) |
| 1833 | +]) |
| 1834 | + |
| 1835 | +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
| 1836 | + |
| 1837 | +# Copyright (C) 1997-2012 Free Software Foundation, Inc. |
| 1838 | +# |
| 1839 | +# This file is free software; the Free Software Foundation |
| 1840 | +# gives unlimited permission to copy and/or distribute it, |
| 1841 | +# with or without modifications, as long as this notice is preserved. |
| 1842 | + |
| 1843 | +# AM_MISSING_PROG(NAME, PROGRAM) |
| 1844 | +# ------------------------------ |
| 1845 | +AC_DEFUN([AM_MISSING_PROG], |
| 1846 | +[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
| 1847 | +$1=${$1-"${am_missing_run}$2"} |
| 1848 | +AC_SUBST($1)]) |
| 1849 | + |
| 1850 | +# AM_MISSING_HAS_RUN |
| 1851 | +# ------------------ |
| 1852 | +# Define MISSING if not defined so far and test if it supports --run. |
| 1853 | +# If it does, set am_missing_run to use it, otherwise, to nothing. |
| 1854 | +AC_DEFUN([AM_MISSING_HAS_RUN], |
| 1855 | +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 1856 | +AC_REQUIRE_AUX_FILE([missing])dnl |
| 1857 | +if test x"${MISSING+set}" != xset; then |
| 1858 | + case $am_aux_dir in |
| 1859 | + *\ * | *\ *) |
| 1860 | + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 1861 | + *) |
| 1862 | + MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 1863 | + esac |
| 1864 | +fi |
| 1865 | +# Use eval to expand $SHELL |
| 1866 | +if eval "$MISSING --run true"; then |
| 1867 | + am_missing_run="$MISSING --run " |
| 1868 | +else |
| 1869 | + am_missing_run= |
| 1870 | + AC_MSG_WARN(['missing' script is too old or missing]) |
| 1871 | +fi |
| 1872 | +]) |
| 1873 | + |
| 1874 | +# Helper functions for option handling. -*- Autoconf -*- |
| 1875 | + |
| 1876 | +# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 1877 | +# |
| 1878 | +# This file is free software; the Free Software Foundation |
| 1879 | +# gives unlimited permission to copy and/or distribute it, |
| 1880 | +# with or without modifications, as long as this notice is preserved. |
| 1881 | + |
| 1882 | +# _AM_MANGLE_OPTION(NAME) |
| 1883 | +# ----------------------- |
| 1884 | +AC_DEFUN([_AM_MANGLE_OPTION], |
| 1885 | +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
| 1886 | + |
| 1887 | +# _AM_SET_OPTION(NAME) |
| 1888 | +# -------------------- |
| 1889 | +# Set option NAME. Presently that only means defining a flag for this option. |
| 1890 | +AC_DEFUN([_AM_SET_OPTION], |
| 1891 | +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) |
| 1892 | + |
| 1893 | +# _AM_SET_OPTIONS(OPTIONS) |
| 1894 | +# ------------------------ |
| 1895 | +# OPTIONS is a space-separated list of Automake options. |
| 1896 | +AC_DEFUN([_AM_SET_OPTIONS], |
| 1897 | +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
| 1898 | + |
| 1899 | +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
| 1900 | +# ------------------------------------------- |
| 1901 | +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
| 1902 | +AC_DEFUN([_AM_IF_OPTION], |
| 1903 | +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
| 1904 | + |
| 1905 | +# Check to make sure that the build environment is sane. -*- Autoconf -*- |
| 1906 | + |
| 1907 | +# Copyright (C) 1996-2012 Free Software Foundation, Inc. |
| 1908 | +# |
| 1909 | +# This file is free software; the Free Software Foundation |
| 1910 | +# gives unlimited permission to copy and/or distribute it, |
| 1911 | +# with or without modifications, as long as this notice is preserved. |
| 1912 | + |
| 1913 | +# AM_SANITY_CHECK |
| 1914 | +# --------------- |
| 1915 | +AC_DEFUN([AM_SANITY_CHECK], |
| 1916 | +[AC_MSG_CHECKING([whether build environment is sane]) |
| 1917 | +# Reject unsafe characters in $srcdir or the absolute working directory |
| 1918 | +# name. Accept space and tab only in the latter. |
| 1919 | +am_lf=' |
| 1920 | +' |
| 1921 | +case `pwd` in |
| 1922 | + *[[\\\"\#\$\&\'\`$am_lf]]*) |
| 1923 | + AC_MSG_ERROR([unsafe absolute working directory name]);; |
| 1924 | +esac |
| 1925 | +case $srcdir in |
| 1926 | + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
| 1927 | + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; |
| 1928 | +esac |
| 1929 | + |
| 1930 | +# Do 'set' in a subshell so we don't clobber the current shell's |
| 1931 | +# arguments. Must try -L first in case configure is actually a |
| 1932 | +# symlink; some systems play weird games with the mod time of symlinks |
| 1933 | +# (eg FreeBSD returns the mod time of the symlink's containing |
| 1934 | +# directory). |
| 1935 | +if ( |
| 1936 | + am_has_slept=no |
| 1937 | + for am_try in 1 2; do |
| 1938 | + echo "timestamp, slept: $am_has_slept" > conftest.file |
| 1939 | + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 1940 | + if test "$[*]" = "X"; then |
| 1941 | + # -L didn't work. |
| 1942 | + set X `ls -t "$srcdir/configure" conftest.file` |
| 1943 | + fi |
| 1944 | + if test "$[*]" != "X $srcdir/configure conftest.file" \ |
| 1945 | + && test "$[*]" != "X conftest.file $srcdir/configure"; then |
| 1946 | + |
| 1947 | + # If neither matched, then we have a broken ls. This can happen |
| 1948 | + # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 1949 | + # broken ls alias from the environment. This has actually |
| 1950 | + # happened. Such a system could not be considered "sane". |
| 1951 | + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
| 1952 | + alias in your environment]) |
| 1953 | + fi |
| 1954 | + if test "$[2]" = conftest.file || test $am_try -eq 2; then |
| 1955 | + break |
| 1956 | + fi |
| 1957 | + # Just in case. |
| 1958 | + sleep 1 |
| 1959 | + am_has_slept=yes |
| 1960 | + done |
| 1961 | + test "$[2]" = conftest.file |
| 1962 | + ) |
| 1963 | +then |
| 1964 | + # Ok. |
| 1965 | + : |
| 1966 | +else |
| 1967 | + AC_MSG_ERROR([newly created file is older than distributed files! |
| 1968 | +Check your system clock]) |
| 1969 | +fi |
| 1970 | +AC_MSG_RESULT([yes]) |
| 1971 | +# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 1972 | +# generated files are strictly newer. |
| 1973 | +am_sleep_pid= |
| 1974 | +if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 1975 | + ( sleep 1 ) & |
| 1976 | + am_sleep_pid=$! |
| 1977 | +fi |
| 1978 | +AC_CONFIG_COMMANDS_PRE( |
| 1979 | + [AC_MSG_CHECKING([that generated files are newer than configure]) |
| 1980 | + if test -n "$am_sleep_pid"; then |
| 1981 | + # Hide warnings about reused PIDs. |
| 1982 | + wait $am_sleep_pid 2>/dev/null |
| 1983 | + fi |
| 1984 | + AC_MSG_RESULT([done])]) |
| 1985 | +rm -f conftest.file |
| 1986 | +]) |
| 1987 | + |
| 1988 | +# Copyright (C) 2009-2012 Free Software Foundation, Inc. |
| 1989 | +# |
| 1990 | +# This file is free software; the Free Software Foundation |
| 1991 | +# gives unlimited permission to copy and/or distribute it, |
| 1992 | +# with or without modifications, as long as this notice is preserved. |
| 1993 | + |
| 1994 | +# AM_SILENT_RULES([DEFAULT]) |
| 1995 | +# -------------------------- |
| 1996 | +# Enable less verbose build rules; with the default set to DEFAULT |
| 1997 | +# ("yes" being less verbose, "no" or empty being verbose). |
| 1998 | +AC_DEFUN([AM_SILENT_RULES], |
| 1999 | +[AC_ARG_ENABLE([silent-rules], [dnl |
| 2000 | +AS_HELP_STRING( |
| 2001 | + [--enable-silent-rules], |
| 2002 | + [less verbose build output (undo: "make V=1")]) |
| 2003 | +AS_HELP_STRING( |
| 2004 | + [--disable-silent-rules], |
| 2005 | + [verbose build output (undo: "make V=0")])dnl |
| 2006 | +]) |
| 2007 | +case $enable_silent_rules in @%:@ ((( |
| 2008 | + yes) AM_DEFAULT_VERBOSITY=0;; |
| 2009 | + no) AM_DEFAULT_VERBOSITY=1;; |
| 2010 | + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
| 2011 | +esac |
| 2012 | +dnl |
| 2013 | +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) |
| 2014 | +dnl do not support nested variable expansions. |
| 2015 | +dnl See automake bug#9928 and bug#10237. |
| 2016 | +am_make=${MAKE-make} |
| 2017 | +AC_CACHE_CHECK([whether $am_make supports nested variables], |
| 2018 | + [am_cv_make_support_nested_variables], |
| 2019 | + [if AS_ECHO([['TRUE=$(BAR$(V)) |
| 2020 | +BAR0=false |
| 2021 | +BAR1=true |
| 2022 | +V=1 |
| 2023 | +am__doit: |
| 2024 | + @$(TRUE) |
| 2025 | +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then |
| 2026 | + am_cv_make_support_nested_variables=yes |
| 2027 | +else |
| 2028 | + am_cv_make_support_nested_variables=no |
| 2029 | +fi]) |
| 2030 | +if test $am_cv_make_support_nested_variables = yes; then |
| 2031 | + dnl Using '$V' instead of '$(V)' breaks IRIX make. |
| 2032 | + AM_V='$(V)' |
| 2033 | + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2034 | +else |
| 2035 | + AM_V=$AM_DEFAULT_VERBOSITY |
| 2036 | + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2037 | +fi |
| 2038 | +AC_SUBST([AM_V])dnl |
| 2039 | +AM_SUBST_NOTMAKE([AM_V])dnl |
| 2040 | +AC_SUBST([AM_DEFAULT_V])dnl |
| 2041 | +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
| 2042 | +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
| 2043 | +AM_BACKSLASH='\' |
| 2044 | +AC_SUBST([AM_BACKSLASH])dnl |
| 2045 | +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
| 2046 | +]) |
| 2047 | + |
| 2048 | +# Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 2049 | +# |
| 2050 | +# This file is free software; the Free Software Foundation |
| 2051 | +# gives unlimited permission to copy and/or distribute it, |
| 2052 | +# with or without modifications, as long as this notice is preserved. |
| 2053 | + |
| 2054 | +# AM_PROG_INSTALL_STRIP |
| 2055 | +# --------------------- |
| 2056 | +# One issue with vendor 'install' (even GNU) is that you can't |
| 2057 | +# specify the program used to strip binaries. This is especially |
| 2058 | +# annoying in cross-compiling environments, where the build's strip |
| 2059 | +# is unlikely to handle the host's binaries. |
| 2060 | +# Fortunately install-sh will honor a STRIPPROG variable, so we |
| 2061 | +# always use install-sh in "make install-strip", and initialize |
| 2062 | +# STRIPPROG with the value of the STRIP variable (set by the user). |
| 2063 | +AC_DEFUN([AM_PROG_INSTALL_STRIP], |
| 2064 | +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 2065 | +# Installed binaries are usually stripped using 'strip' when the user |
| 2066 | +# run "make install-strip". However 'strip' might not be the right |
| 2067 | +# tool to use in cross-compilation environments, therefore Automake |
| 2068 | +# will honor the 'STRIP' environment variable to overrule this program. |
| 2069 | +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. |
| 2070 | +if test "$cross_compiling" != no; then |
| 2071 | + AC_CHECK_TOOL([STRIP], [strip], :) |
| 2072 | +fi |
| 2073 | +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 2074 | +AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 2075 | + |
| 2076 | +# Copyright (C) 2006-2012 Free Software Foundation, Inc. |
| 2077 | +# |
| 2078 | +# This file is free software; the Free Software Foundation |
| 2079 | +# gives unlimited permission to copy and/or distribute it, |
| 2080 | +# with or without modifications, as long as this notice is preserved. |
| 2081 | + |
| 2082 | +# _AM_SUBST_NOTMAKE(VARIABLE) |
| 2083 | +# --------------------------- |
| 2084 | +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
| 2085 | +# This macro is traced by Automake. |
| 2086 | +AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 2087 | + |
| 2088 | +# AM_SUBST_NOTMAKE(VARIABLE) |
| 2089 | +# -------------------------- |
| 2090 | +# Public sister of _AM_SUBST_NOTMAKE. |
| 2091 | +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
| 2092 | + |
| 2093 | +# Check how to create a tarball. -*- Autoconf -*- |
| 2094 | + |
| 2095 | +# Copyright (C) 2004-2012 Free Software Foundation, Inc. |
| 2096 | +# |
| 2097 | +# This file is free software; the Free Software Foundation |
| 2098 | +# gives unlimited permission to copy and/or distribute it, |
| 2099 | +# with or without modifications, as long as this notice is preserved. |
| 2100 | + |
| 2101 | +# _AM_PROG_TAR(FORMAT) |
| 2102 | +# -------------------- |
| 2103 | +# Check how to create a tarball in format FORMAT. |
| 2104 | +# FORMAT should be one of 'v7', 'ustar', or 'pax'. |
| 2105 | +# |
| 2106 | +# Substitute a variable $(am__tar) that is a command |
| 2107 | +# writing to stdout a FORMAT-tarball containing the directory |
| 2108 | +# $tardir. |
| 2109 | +# tardir=directory && $(am__tar) > result.tar |
| 2110 | +# |
| 2111 | +# Substitute a variable $(am__untar) that extract such |
| 2112 | +# a tarball read from stdin. |
| 2113 | +# $(am__untar) < result.tar |
| 2114 | +AC_DEFUN([_AM_PROG_TAR], |
| 2115 | +[# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2116 | +# in the wild :-( We should find a proper way to deprecate it ... |
| 2117 | +AC_SUBST([AMTAR], ['$${TAR-tar}']) |
| 2118 | +m4_if([$1], [v7], |
| 2119 | + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
| 2120 | + [m4_case([$1], [ustar],, [pax],, |
| 2121 | + [m4_fatal([Unknown tar format])]) |
| 2122 | +AC_MSG_CHECKING([how to create a $1 tar archive]) |
| 2123 | +# Loop over all known methods to create a tar archive until one works. |
| 2124 | +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
| 2125 | +_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
| 2126 | +# Do not fold the above two line into one, because Tru64 sh and |
| 2127 | +# Solaris sh will not grok spaces in the rhs of '-'. |
| 2128 | +for _am_tool in $_am_tools |
| 2129 | +do |
| 2130 | + case $_am_tool in |
| 2131 | + gnutar) |
| 2132 | + for _am_tar in tar gnutar gtar; |
| 2133 | + do |
| 2134 | + AM_RUN_LOG([$_am_tar --version]) && break |
| 2135 | + done |
| 2136 | + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
| 2137 | + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
| 2138 | + am__untar="$_am_tar -xf -" |
| 2139 | + ;; |
| 2140 | + plaintar) |
| 2141 | + # Must skip GNU tar: if it does not support --format= it doesn't create |
| 2142 | + # ustar tarball either. |
| 2143 | + (tar --version) >/dev/null 2>&1 && continue |
| 2144 | + am__tar='tar chf - "$$tardir"' |
| 2145 | + am__tar_='tar chf - "$tardir"' |
| 2146 | + am__untar='tar xf -' |
| 2147 | + ;; |
| 2148 | + pax) |
| 2149 | + am__tar='pax -L -x $1 -w "$$tardir"' |
| 2150 | + am__tar_='pax -L -x $1 -w "$tardir"' |
| 2151 | + am__untar='pax -r' |
| 2152 | + ;; |
| 2153 | + cpio) |
| 2154 | + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
| 2155 | + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
| 2156 | + am__untar='cpio -i -H $1 -d' |
| 2157 | + ;; |
| 2158 | + none) |
| 2159 | + am__tar=false |
| 2160 | + am__tar_=false |
| 2161 | + am__untar=false |
| 2162 | + ;; |
| 2163 | + esac |
| 2164 | + |
| 2165 | + # If the value was cached, stop now. We just wanted to have am__tar |
| 2166 | + # and am__untar set. |
| 2167 | + test -n "${am_cv_prog_tar_$1}" && break |
| 2168 | + |
| 2169 | + # tar/untar a dummy directory, and stop if the command works |
| 2170 | + rm -rf conftest.dir |
| 2171 | + mkdir conftest.dir |
| 2172 | + echo GrepMe > conftest.dir/file |
| 2173 | + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
| 2174 | + rm -rf conftest.dir |
| 2175 | + if test -s conftest.tar; then |
| 2176 | + AM_RUN_LOG([$am__untar <conftest.tar]) |
| 2177 | + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
| 2178 | + fi |
| 2179 | +done |
| 2180 | +rm -rf conftest.dir |
| 2181 | + |
| 2182 | +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
| 2183 | +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
| 2184 | +AC_SUBST([am__tar]) |
| 2185 | +AC_SUBST([am__untar]) |
| 2186 | +]) # _AM_PROG_TAR |
| 2187 | + |
| 2188 | |
| 2189 | dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) |
| 2190 | # serial 42 IT_PROG_INTLTOOL |
| 2191 | @@ -608,6 +1902,9 @@ |
| 2192 | AC_CHECK_FUNC(bind_textdomain_codeset, |
| 2193 | [DATADIRNAME=share], [DATADIRNAME=lib]) |
| 2194 | ;; |
| 2195 | + *-*-openbsd*) |
| 2196 | + [DATADIRNAME=share] |
| 2197 | + ;; |
| 2198 | *) |
| 2199 | [DATADIRNAME=lib] |
| 2200 | ;; |
| 2201 | @@ -9258,1446 +10555,6 @@ |
| 2202 | m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
| 2203 | m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
| 2204 | |
| 2205 | -# nls.m4 serial 5 (gettext-0.18) |
| 2206 | -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation, |
| 2207 | -dnl Inc. |
| 2208 | -dnl This file is free software; the Free Software Foundation |
| 2209 | -dnl gives unlimited permission to copy and/or distribute it, |
| 2210 | -dnl with or without modifications, as long as this notice is preserved. |
| 2211 | -dnl |
| 2212 | -dnl This file can can be used in projects which are not available under |
| 2213 | -dnl the GNU General Public License or the GNU Library General Public |
| 2214 | -dnl License but which still want to provide support for the GNU gettext |
| 2215 | -dnl functionality. |
| 2216 | -dnl Please note that the actual code of the GNU gettext library is covered |
| 2217 | -dnl by the GNU Library General Public License, and the rest of the GNU |
| 2218 | -dnl gettext package package is covered by the GNU General Public License. |
| 2219 | -dnl They are *not* in the public domain. |
| 2220 | - |
| 2221 | -dnl Authors: |
| 2222 | -dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
| 2223 | -dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
| 2224 | - |
| 2225 | -AC_PREREQ([2.50]) |
| 2226 | - |
| 2227 | -AC_DEFUN([AM_NLS], |
| 2228 | -[ |
| 2229 | - AC_MSG_CHECKING([whether NLS is requested]) |
| 2230 | - dnl Default is enabled NLS |
| 2231 | - AC_ARG_ENABLE([nls], |
| 2232 | - [ --disable-nls do not use Native Language Support], |
| 2233 | - USE_NLS=$enableval, USE_NLS=yes) |
| 2234 | - AC_MSG_RESULT([$USE_NLS]) |
| 2235 | - AC_SUBST([USE_NLS]) |
| 2236 | -]) |
| 2237 | - |
| 2238 | -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- |
| 2239 | -# serial 1 (pkg-config-0.24) |
| 2240 | -# |
| 2241 | -# Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |
| 2242 | -# |
| 2243 | -# This program is free software; you can redistribute it and/or modify |
| 2244 | -# it under the terms of the GNU General Public License as published by |
| 2245 | -# the Free Software Foundation; either version 2 of the License, or |
| 2246 | -# (at your option) any later version. |
| 2247 | -# |
| 2248 | -# This program is distributed in the hope that it will be useful, but |
| 2249 | -# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 2250 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 2251 | -# General Public License for more details. |
| 2252 | -# |
| 2253 | -# You should have received a copy of the GNU General Public License |
| 2254 | -# along with this program; if not, write to the Free Software |
| 2255 | -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 2256 | -# |
| 2257 | -# As a special exception to the GNU General Public License, if you |
| 2258 | -# distribute this file as part of a program that contains a |
| 2259 | -# configuration script generated by Autoconf, you may include it under |
| 2260 | -# the same distribution terms that you use for the rest of that program. |
| 2261 | - |
| 2262 | -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) |
| 2263 | -# ---------------------------------- |
| 2264 | -AC_DEFUN([PKG_PROG_PKG_CONFIG], |
| 2265 | -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |
| 2266 | -m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) |
| 2267 | -m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) |
| 2268 | -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |
| 2269 | -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |
| 2270 | -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) |
| 2271 | - |
| 2272 | -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
| 2273 | - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |
| 2274 | -fi |
| 2275 | -if test -n "$PKG_CONFIG"; then |
| 2276 | - _pkg_min_version=m4_default([$1], [0.9.0]) |
| 2277 | - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |
| 2278 | - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
| 2279 | - AC_MSG_RESULT([yes]) |
| 2280 | - else |
| 2281 | - AC_MSG_RESULT([no]) |
| 2282 | - PKG_CONFIG="" |
| 2283 | - fi |
| 2284 | -fi[]dnl |
| 2285 | -])# PKG_PROG_PKG_CONFIG |
| 2286 | - |
| 2287 | -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 2288 | -# |
| 2289 | -# Check to see whether a particular set of modules exists. Similar |
| 2290 | -# to PKG_CHECK_MODULES(), but does not set variables or print errors. |
| 2291 | -# |
| 2292 | -# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 2293 | -# only at the first occurence in configure.ac, so if the first place |
| 2294 | -# it's called might be skipped (such as if it is within an "if", you |
| 2295 | -# have to call PKG_CHECK_EXISTS manually |
| 2296 | -# -------------------------------------------------------------- |
| 2297 | -AC_DEFUN([PKG_CHECK_EXISTS], |
| 2298 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 2299 | -if test -n "$PKG_CONFIG" && \ |
| 2300 | - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |
| 2301 | - m4_default([$2], [:]) |
| 2302 | -m4_ifvaln([$3], [else |
| 2303 | - $3])dnl |
| 2304 | -fi]) |
| 2305 | - |
| 2306 | -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |
| 2307 | -# --------------------------------------------- |
| 2308 | -m4_define([_PKG_CONFIG], |
| 2309 | -[if test -n "$$1"; then |
| 2310 | - pkg_cv_[]$1="$$1" |
| 2311 | - elif test -n "$PKG_CONFIG"; then |
| 2312 | - PKG_CHECK_EXISTS([$3], |
| 2313 | - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` |
| 2314 | - test "x$?" != "x0" && pkg_failed=yes ], |
| 2315 | - [pkg_failed=yes]) |
| 2316 | - else |
| 2317 | - pkg_failed=untried |
| 2318 | -fi[]dnl |
| 2319 | -])# _PKG_CONFIG |
| 2320 | - |
| 2321 | -# _PKG_SHORT_ERRORS_SUPPORTED |
| 2322 | -# ----------------------------- |
| 2323 | -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |
| 2324 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |
| 2325 | -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 2326 | - _pkg_short_errors_supported=yes |
| 2327 | -else |
| 2328 | - _pkg_short_errors_supported=no |
| 2329 | -fi[]dnl |
| 2330 | -])# _PKG_SHORT_ERRORS_SUPPORTED |
| 2331 | - |
| 2332 | - |
| 2333 | -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |
| 2334 | -# [ACTION-IF-NOT-FOUND]) |
| 2335 | -# |
| 2336 | -# |
| 2337 | -# Note that if there is a possibility the first call to |
| 2338 | -# PKG_CHECK_MODULES might not happen, you should be sure to include an |
| 2339 | -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |
| 2340 | -# |
| 2341 | -# |
| 2342 | -# -------------------------------------------------------------- |
| 2343 | -AC_DEFUN([PKG_CHECK_MODULES], |
| 2344 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 2345 | -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |
| 2346 | -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |
| 2347 | - |
| 2348 | -pkg_failed=no |
| 2349 | -AC_MSG_CHECKING([for $1]) |
| 2350 | - |
| 2351 | -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |
| 2352 | -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) |
| 2353 | - |
| 2354 | -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS |
| 2355 | -and $1[]_LIBS to avoid the need to call pkg-config. |
| 2356 | -See the pkg-config man page for more details.]) |
| 2357 | - |
| 2358 | -if test $pkg_failed = yes; then |
| 2359 | - AC_MSG_RESULT([no]) |
| 2360 | - _PKG_SHORT_ERRORS_SUPPORTED |
| 2361 | - if test $_pkg_short_errors_supported = yes; then |
| 2362 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` |
| 2363 | - else |
| 2364 | - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` |
| 2365 | - fi |
| 2366 | - # Put the nasty error message in config.log where it belongs |
| 2367 | - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |
| 2368 | - |
| 2369 | - m4_default([$4], [AC_MSG_ERROR( |
| 2370 | -[Package requirements ($2) were not met: |
| 2371 | - |
| 2372 | -$$1_PKG_ERRORS |
| 2373 | - |
| 2374 | -Consider adjusting the PKG_CONFIG_PATH environment variable if you |
| 2375 | -installed software in a non-standard prefix. |
| 2376 | - |
| 2377 | -_PKG_TEXT])[]dnl |
| 2378 | - ]) |
| 2379 | -elif test $pkg_failed = untried; then |
| 2380 | - AC_MSG_RESULT([no]) |
| 2381 | - m4_default([$4], [AC_MSG_FAILURE( |
| 2382 | -[The pkg-config script could not be found or is too old. Make sure it |
| 2383 | -is in your PATH or set the PKG_CONFIG environment variable to the full |
| 2384 | -path to pkg-config. |
| 2385 | - |
| 2386 | -_PKG_TEXT |
| 2387 | - |
| 2388 | -To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
| 2389 | - ]) |
| 2390 | -else |
| 2391 | - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
| 2392 | - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |
| 2393 | - AC_MSG_RESULT([yes]) |
| 2394 | - $3 |
| 2395 | -fi[]dnl |
| 2396 | -])# PKG_CHECK_MODULES |
| 2397 | - |
| 2398 | - |
| 2399 | -# PKG_INSTALLDIR(DIRECTORY) |
| 2400 | -# ------------------------- |
| 2401 | -# Substitutes the variable pkgconfigdir as the location where a module |
| 2402 | -# should install pkg-config .pc files. By default the directory is |
| 2403 | -# $libdir/pkgconfig, but the default can be changed by passing |
| 2404 | -# DIRECTORY. The user can override through the --with-pkgconfigdir |
| 2405 | -# parameter. |
| 2406 | -AC_DEFUN([PKG_INSTALLDIR], |
| 2407 | -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) |
| 2408 | -m4_pushdef([pkg_description], |
| 2409 | - [pkg-config installation directory @<:@]pkg_default[@:>@]) |
| 2410 | -AC_ARG_WITH([pkgconfigdir], |
| 2411 | - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, |
| 2412 | - [with_pkgconfigdir=]pkg_default) |
| 2413 | -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) |
| 2414 | -m4_popdef([pkg_default]) |
| 2415 | -m4_popdef([pkg_description]) |
| 2416 | -]) dnl PKG_INSTALLDIR |
| 2417 | - |
| 2418 | - |
| 2419 | -# PKG_NOARCH_INSTALLDIR(DIRECTORY) |
| 2420 | -# ------------------------- |
| 2421 | -# Substitutes the variable noarch_pkgconfigdir as the location where a |
| 2422 | -# module should install arch-independent pkg-config .pc files. By |
| 2423 | -# default the directory is $datadir/pkgconfig, but the default can be |
| 2424 | -# changed by passing DIRECTORY. The user can override through the |
| 2425 | -# --with-noarch-pkgconfigdir parameter. |
| 2426 | -AC_DEFUN([PKG_NOARCH_INSTALLDIR], |
| 2427 | -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) |
| 2428 | -m4_pushdef([pkg_description], |
| 2429 | - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) |
| 2430 | -AC_ARG_WITH([noarch-pkgconfigdir], |
| 2431 | - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, |
| 2432 | - [with_noarch_pkgconfigdir=]pkg_default) |
| 2433 | -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) |
| 2434 | -m4_popdef([pkg_default]) |
| 2435 | -m4_popdef([pkg_description]) |
| 2436 | -]) dnl PKG_NOARCH_INSTALLDIR |
| 2437 | - |
| 2438 | - |
| 2439 | -# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, |
| 2440 | -# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 2441 | -# ------------------------------------------- |
| 2442 | -# Retrieves the value of the pkg-config variable for the given module. |
| 2443 | -AC_DEFUN([PKG_CHECK_VAR], |
| 2444 | -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |
| 2445 | -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl |
| 2446 | - |
| 2447 | -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) |
| 2448 | -AS_VAR_COPY([$1], [pkg_cv_][$1]) |
| 2449 | - |
| 2450 | -AS_VAR_IF([$1], [""], [$5], [$4])dnl |
| 2451 | -])# PKG_CHECK_VAR |
| 2452 | - |
| 2453 | -# Copyright (C) 2002-2013 Free Software Foundation, Inc. |
| 2454 | -# |
| 2455 | -# This file is free software; the Free Software Foundation |
| 2456 | -# gives unlimited permission to copy and/or distribute it, |
| 2457 | -# with or without modifications, as long as this notice is preserved. |
| 2458 | - |
| 2459 | -# AM_AUTOMAKE_VERSION(VERSION) |
| 2460 | -# ---------------------------- |
| 2461 | -# Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 2462 | -# generated from the m4 files accompanying Automake X.Y. |
| 2463 | -# (This private macro should not be called outside this file.) |
| 2464 | -AC_DEFUN([AM_AUTOMAKE_VERSION], |
| 2465 | -[am__api_version='1.14' |
| 2466 | -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
| 2467 | -dnl require some minimum version. Point them to the right macro. |
| 2468 | -m4_if([$1], [1.14.1], [], |
| 2469 | - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 2470 | -]) |
| 2471 | - |
| 2472 | -# _AM_AUTOCONF_VERSION(VERSION) |
| 2473 | -# ----------------------------- |
| 2474 | -# aclocal traces this macro to find the Autoconf version. |
| 2475 | -# This is a private macro too. Using m4_define simplifies |
| 2476 | -# the logic in aclocal, which can simply ignore this definition. |
| 2477 | -m4_define([_AM_AUTOCONF_VERSION], []) |
| 2478 | - |
| 2479 | -# AM_SET_CURRENT_AUTOMAKE_VERSION |
| 2480 | -# ------------------------------- |
| 2481 | -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 2482 | -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
| 2483 | -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 2484 | -[AM_AUTOMAKE_VERSION([1.14.1])dnl |
| 2485 | -m4_ifndef([AC_AUTOCONF_VERSION], |
| 2486 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 2487 | -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
| 2488 | - |
| 2489 | -# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 2490 | - |
| 2491 | -# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 2492 | -# |
| 2493 | -# This file is free software; the Free Software Foundation |
| 2494 | -# gives unlimited permission to copy and/or distribute it, |
| 2495 | -# with or without modifications, as long as this notice is preserved. |
| 2496 | - |
| 2497 | -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
| 2498 | -# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
| 2499 | -# '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
| 2500 | -# |
| 2501 | -# Of course, Automake must honor this variable whenever it calls a |
| 2502 | -# tool from the auxiliary directory. The problem is that $srcdir (and |
| 2503 | -# therefore $ac_aux_dir as well) can be either absolute or relative, |
| 2504 | -# depending on how configure is run. This is pretty annoying, since |
| 2505 | -# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
| 2506 | -# source directory, any form will work fine, but in subdirectories a |
| 2507 | -# relative path needs to be adjusted first. |
| 2508 | -# |
| 2509 | -# $ac_aux_dir/missing |
| 2510 | -# fails when called from a subdirectory if $ac_aux_dir is relative |
| 2511 | -# $top_srcdir/$ac_aux_dir/missing |
| 2512 | -# fails if $ac_aux_dir is absolute, |
| 2513 | -# fails when called from a subdirectory in a VPATH build with |
| 2514 | -# a relative $ac_aux_dir |
| 2515 | -# |
| 2516 | -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
| 2517 | -# are both prefixed by $srcdir. In an in-source build this is usually |
| 2518 | -# harmless because $srcdir is '.', but things will broke when you |
| 2519 | -# start a VPATH build or use an absolute $srcdir. |
| 2520 | -# |
| 2521 | -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
| 2522 | -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
| 2523 | -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
| 2524 | -# and then we would define $MISSING as |
| 2525 | -# MISSING="\${SHELL} $am_aux_dir/missing" |
| 2526 | -# This will work as long as MISSING is not called from configure, because |
| 2527 | -# unfortunately $(top_srcdir) has no meaning in configure. |
| 2528 | -# However there are other variables, like CC, which are often used in |
| 2529 | -# configure, and could therefore not use this "fixed" $ac_aux_dir. |
| 2530 | -# |
| 2531 | -# Another solution, used here, is to always expand $ac_aux_dir to an |
| 2532 | -# absolute PATH. The drawback is that using absolute paths prevent a |
| 2533 | -# configured tree to be moved without reconfiguration. |
| 2534 | - |
| 2535 | -AC_DEFUN([AM_AUX_DIR_EXPAND], |
| 2536 | -[dnl Rely on autoconf to set up CDPATH properly. |
| 2537 | -AC_PREREQ([2.50])dnl |
| 2538 | -# expand $ac_aux_dir to an absolute path |
| 2539 | -am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2540 | -]) |
| 2541 | - |
| 2542 | -# AM_CONDITIONAL -*- Autoconf -*- |
| 2543 | - |
| 2544 | -# Copyright (C) 1997-2013 Free Software Foundation, Inc. |
| 2545 | -# |
| 2546 | -# This file is free software; the Free Software Foundation |
| 2547 | -# gives unlimited permission to copy and/or distribute it, |
| 2548 | -# with or without modifications, as long as this notice is preserved. |
| 2549 | - |
| 2550 | -# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 2551 | -# ------------------------------------- |
| 2552 | -# Define a conditional. |
| 2553 | -AC_DEFUN([AM_CONDITIONAL], |
| 2554 | -[AC_PREREQ([2.52])dnl |
| 2555 | - m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
| 2556 | - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
| 2557 | -AC_SUBST([$1_TRUE])dnl |
| 2558 | -AC_SUBST([$1_FALSE])dnl |
| 2559 | -_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
| 2560 | -_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
| 2561 | -m4_define([_AM_COND_VALUE_$1], [$2])dnl |
| 2562 | -if $2; then |
| 2563 | - $1_TRUE= |
| 2564 | - $1_FALSE='#' |
| 2565 | -else |
| 2566 | - $1_TRUE='#' |
| 2567 | - $1_FALSE= |
| 2568 | -fi |
| 2569 | -AC_CONFIG_COMMANDS_PRE( |
| 2570 | -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 2571 | - AC_MSG_ERROR([[conditional "$1" was never defined. |
| 2572 | -Usually this means the macro was only invoked conditionally.]]) |
| 2573 | -fi])]) |
| 2574 | - |
| 2575 | -# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
| 2576 | -# |
| 2577 | -# This file is free software; the Free Software Foundation |
| 2578 | -# gives unlimited permission to copy and/or distribute it, |
| 2579 | -# with or without modifications, as long as this notice is preserved. |
| 2580 | - |
| 2581 | - |
| 2582 | -# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
| 2583 | -# written in clear, in which case automake, when reading aclocal.m4, |
| 2584 | -# will think it sees a *use*, and therefore will trigger all it's |
| 2585 | -# C support machinery. Also note that it means that autoscan, seeing |
| 2586 | -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
| 2587 | - |
| 2588 | - |
| 2589 | -# _AM_DEPENDENCIES(NAME) |
| 2590 | -# ---------------------- |
| 2591 | -# See how the compiler implements dependency checking. |
| 2592 | -# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". |
| 2593 | -# We try a few techniques and use that to set a single cache variable. |
| 2594 | -# |
| 2595 | -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
| 2596 | -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
| 2597 | -# dependency, and given that the user is not expected to run this macro, |
| 2598 | -# just rely on AC_PROG_CC. |
| 2599 | -AC_DEFUN([_AM_DEPENDENCIES], |
| 2600 | -[AC_REQUIRE([AM_SET_DEPDIR])dnl |
| 2601 | -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
| 2602 | -AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
| 2603 | -AC_REQUIRE([AM_DEP_TRACK])dnl |
| 2604 | - |
| 2605 | -m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], |
| 2606 | - [$1], [CXX], [depcc="$CXX" am_compiler_list=], |
| 2607 | - [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
| 2608 | - [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], |
| 2609 | - [$1], [UPC], [depcc="$UPC" am_compiler_list=], |
| 2610 | - [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
| 2611 | - [depcc="$$1" am_compiler_list=]) |
| 2612 | - |
| 2613 | -AC_CACHE_CHECK([dependency style of $depcc], |
| 2614 | - [am_cv_$1_dependencies_compiler_type], |
| 2615 | -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 2616 | - # We make a subdir and do the tests there. Otherwise we can end up |
| 2617 | - # making bogus files that we don't know about and never remove. For |
| 2618 | - # instance it was reported that on HP-UX the gcc test will end up |
| 2619 | - # making a dummy file named 'D' -- because '-MD' means "put the output |
| 2620 | - # in D". |
| 2621 | - rm -rf conftest.dir |
| 2622 | - mkdir conftest.dir |
| 2623 | - # Copy depcomp to subdir because otherwise we won't find it if we're |
| 2624 | - # using a relative directory. |
| 2625 | - cp "$am_depcomp" conftest.dir |
| 2626 | - cd conftest.dir |
| 2627 | - # We will build objects and dependencies in a subdirectory because |
| 2628 | - # it helps to detect inapplicable dependency modes. For instance |
| 2629 | - # both Tru64's cc and ICC support -MD to output dependencies as a |
| 2630 | - # side effect of compilation, but ICC will put the dependencies in |
| 2631 | - # the current directory while Tru64 will put them in the object |
| 2632 | - # directory. |
| 2633 | - mkdir sub |
| 2634 | - |
| 2635 | - am_cv_$1_dependencies_compiler_type=none |
| 2636 | - if test "$am_compiler_list" = ""; then |
| 2637 | - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
| 2638 | - fi |
| 2639 | - am__universal=false |
| 2640 | - m4_case([$1], [CC], |
| 2641 | - [case " $depcc " in #( |
| 2642 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 2643 | - esac], |
| 2644 | - [CXX], |
| 2645 | - [case " $depcc " in #( |
| 2646 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 2647 | - esac]) |
| 2648 | - |
| 2649 | - for depmode in $am_compiler_list; do |
| 2650 | - # Setup a source with many dependencies, because some compilers |
| 2651 | - # like to wrap large dependency lists on column 80 (with \), and |
| 2652 | - # we should not choose a depcomp mode which is confused by this. |
| 2653 | - # |
| 2654 | - # We need to recreate these files for each test, as the compiler may |
| 2655 | - # overwrite some of them when testing with obscure command lines. |
| 2656 | - # This happens at least with the AIX C compiler. |
| 2657 | - : > sub/conftest.c |
| 2658 | - for i in 1 2 3 4 5 6; do |
| 2659 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 2660 | - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 2661 | - # Solaris 10 /bin/sh. |
| 2662 | - echo '/* dummy */' > sub/conftst$i.h |
| 2663 | - done |
| 2664 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 2665 | - |
| 2666 | - # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 2667 | - # mode. It turns out that the SunPro C++ compiler does not properly |
| 2668 | - # handle '-M -o', and we need to detect this. Also, some Intel |
| 2669 | - # versions had trouble with output in subdirs. |
| 2670 | - am__obj=sub/conftest.${OBJEXT-o} |
| 2671 | - am__minus_obj="-o $am__obj" |
| 2672 | - case $depmode in |
| 2673 | - gcc) |
| 2674 | - # This depmode causes a compiler race in universal mode. |
| 2675 | - test "$am__universal" = false || continue |
| 2676 | - ;; |
| 2677 | - nosideeffect) |
| 2678 | - # After this tag, mechanisms are not by side-effect, so they'll |
| 2679 | - # only be used when explicitly requested. |
| 2680 | - if test "x$enable_dependency_tracking" = xyes; then |
| 2681 | - continue |
| 2682 | - else |
| 2683 | - break |
| 2684 | - fi |
| 2685 | - ;; |
| 2686 | - msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 2687 | - # This compiler won't grok '-c -o', but also, the minuso test has |
| 2688 | - # not run yet. These depmodes are late enough in the game, and |
| 2689 | - # so weak that their functioning should not be impacted. |
| 2690 | - am__obj=conftest.${OBJEXT-o} |
| 2691 | - am__minus_obj= |
| 2692 | - ;; |
| 2693 | - none) break ;; |
| 2694 | - esac |
| 2695 | - if depmode=$depmode \ |
| 2696 | - source=sub/conftest.c object=$am__obj \ |
| 2697 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 2698 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 2699 | - >/dev/null 2>conftest.err && |
| 2700 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 2701 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 2702 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 2703 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 2704 | - # icc doesn't choke on unknown options, it will just issue warnings |
| 2705 | - # or remarks (even with -Werror). So we grep stderr for any message |
| 2706 | - # that says an option was ignored or not supported. |
| 2707 | - # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 2708 | - # icc: Command line warning: ignoring option '-M'; no argument required |
| 2709 | - # The diagnosis changed in icc 8.0: |
| 2710 | - # icc: Command line remark: option '-MP' not supported |
| 2711 | - if (grep 'ignoring option' conftest.err || |
| 2712 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 2713 | - am_cv_$1_dependencies_compiler_type=$depmode |
| 2714 | - break |
| 2715 | - fi |
| 2716 | - fi |
| 2717 | - done |
| 2718 | - |
| 2719 | - cd .. |
| 2720 | - rm -rf conftest.dir |
| 2721 | -else |
| 2722 | - am_cv_$1_dependencies_compiler_type=none |
| 2723 | -fi |
| 2724 | -]) |
| 2725 | -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
| 2726 | -AM_CONDITIONAL([am__fastdep$1], [ |
| 2727 | - test "x$enable_dependency_tracking" != xno \ |
| 2728 | - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
| 2729 | -]) |
| 2730 | - |
| 2731 | - |
| 2732 | -# AM_SET_DEPDIR |
| 2733 | -# ------------- |
| 2734 | -# Choose a directory name for dependency files. |
| 2735 | -# This macro is AC_REQUIREd in _AM_DEPENDENCIES. |
| 2736 | -AC_DEFUN([AM_SET_DEPDIR], |
| 2737 | -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 2738 | -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
| 2739 | -]) |
| 2740 | - |
| 2741 | - |
| 2742 | -# AM_DEP_TRACK |
| 2743 | -# ------------ |
| 2744 | -AC_DEFUN([AM_DEP_TRACK], |
| 2745 | -[AC_ARG_ENABLE([dependency-tracking], [dnl |
| 2746 | -AS_HELP_STRING( |
| 2747 | - [--enable-dependency-tracking], |
| 2748 | - [do not reject slow dependency extractors]) |
| 2749 | -AS_HELP_STRING( |
| 2750 | - [--disable-dependency-tracking], |
| 2751 | - [speeds up one-time build])]) |
| 2752 | -if test "x$enable_dependency_tracking" != xno; then |
| 2753 | - am_depcomp="$ac_aux_dir/depcomp" |
| 2754 | - AMDEPBACKSLASH='\' |
| 2755 | - am__nodep='_no' |
| 2756 | -fi |
| 2757 | -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 2758 | -AC_SUBST([AMDEPBACKSLASH])dnl |
| 2759 | -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 2760 | -AC_SUBST([am__nodep])dnl |
| 2761 | -_AM_SUBST_NOTMAKE([am__nodep])dnl |
| 2762 | -]) |
| 2763 | - |
| 2764 | -# Generate code to set up dependency tracking. -*- Autoconf -*- |
| 2765 | - |
| 2766 | -# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
| 2767 | -# |
| 2768 | -# This file is free software; the Free Software Foundation |
| 2769 | -# gives unlimited permission to copy and/or distribute it, |
| 2770 | -# with or without modifications, as long as this notice is preserved. |
| 2771 | - |
| 2772 | - |
| 2773 | -# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 2774 | -# ------------------------------ |
| 2775 | -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 2776 | -[{ |
| 2777 | - # Older Autoconf quotes --file arguments for eval, but not when files |
| 2778 | - # are listed without --file. Let's play safe and only enable the eval |
| 2779 | - # if we detect the quoting. |
| 2780 | - case $CONFIG_FILES in |
| 2781 | - *\'*) eval set x "$CONFIG_FILES" ;; |
| 2782 | - *) set x $CONFIG_FILES ;; |
| 2783 | - esac |
| 2784 | - shift |
| 2785 | - for mf |
| 2786 | - do |
| 2787 | - # Strip MF so we end up with the name of the file. |
| 2788 | - mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 2789 | - # Check whether this is an Automake generated Makefile or not. |
| 2790 | - # We used to match only the files named 'Makefile.in', but |
| 2791 | - # some people rename them; so instead we look at the file content. |
| 2792 | - # Grep'ing the first line is not enough: some people post-process |
| 2793 | - # each Makefile.in and add a new line on top of each file to say so. |
| 2794 | - # Grep'ing the whole file is not good either: AIX grep has a line |
| 2795 | - # limit of 2048, but all sed's we know have understand at least 4000. |
| 2796 | - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 2797 | - dirpart=`AS_DIRNAME("$mf")` |
| 2798 | - else |
| 2799 | - continue |
| 2800 | - fi |
| 2801 | - # Extract the definition of DEPDIR, am__include, and am__quote |
| 2802 | - # from the Makefile without running 'make'. |
| 2803 | - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 2804 | - test -z "$DEPDIR" && continue |
| 2805 | - am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 2806 | - test -z "$am__include" && continue |
| 2807 | - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 2808 | - # Find all dependency output files, they are included files with |
| 2809 | - # $(DEPDIR) in their names. We invoke sed twice because it is the |
| 2810 | - # simplest approach to changing $(DEPDIR) to its actual value in the |
| 2811 | - # expansion. |
| 2812 | - for file in `sed -n " |
| 2813 | - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 2814 | - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 2815 | - # Make sure the directory exists. |
| 2816 | - test -f "$dirpart/$file" && continue |
| 2817 | - fdir=`AS_DIRNAME(["$file"])` |
| 2818 | - AS_MKDIR_P([$dirpart/$fdir]) |
| 2819 | - # echo "creating $dirpart/$file" |
| 2820 | - echo '# dummy' > "$dirpart/$file" |
| 2821 | - done |
| 2822 | - done |
| 2823 | -} |
| 2824 | -])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 2825 | - |
| 2826 | - |
| 2827 | -# AM_OUTPUT_DEPENDENCY_COMMANDS |
| 2828 | -# ----------------------------- |
| 2829 | -# This macro should only be invoked once -- use via AC_REQUIRE. |
| 2830 | -# |
| 2831 | -# This code is only required when automatic dependency tracking |
| 2832 | -# is enabled. FIXME. This creates each '.P' file that we will |
| 2833 | -# need in order to bootstrap the dependency handling code. |
| 2834 | -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 2835 | -[AC_CONFIG_COMMANDS([depfiles], |
| 2836 | - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 2837 | - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
| 2838 | -]) |
| 2839 | - |
| 2840 | -# Do all the work for Automake. -*- Autoconf -*- |
| 2841 | - |
| 2842 | -# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 2843 | -# |
| 2844 | -# This file is free software; the Free Software Foundation |
| 2845 | -# gives unlimited permission to copy and/or distribute it, |
| 2846 | -# with or without modifications, as long as this notice is preserved. |
| 2847 | - |
| 2848 | -# This macro actually does too much. Some checks are only needed if |
| 2849 | -# your package does certain things. But this isn't really a big deal. |
| 2850 | - |
| 2851 | -dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. |
| 2852 | -m4_define([AC_PROG_CC], |
| 2853 | -m4_defn([AC_PROG_CC]) |
| 2854 | -[_AM_PROG_CC_C_O |
| 2855 | -]) |
| 2856 | - |
| 2857 | -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
| 2858 | -# AM_INIT_AUTOMAKE([OPTIONS]) |
| 2859 | -# ----------------------------------------------- |
| 2860 | -# The call with PACKAGE and VERSION arguments is the old style |
| 2861 | -# call (pre autoconf-2.50), which is being phased out. PACKAGE |
| 2862 | -# and VERSION should now be passed to AC_INIT and removed from |
| 2863 | -# the call to AM_INIT_AUTOMAKE. |
| 2864 | -# We support both call styles for the transition. After |
| 2865 | -# the next Automake release, Autoconf can make the AC_INIT |
| 2866 | -# arguments mandatory, and then we can depend on a new Autoconf |
| 2867 | -# release and drop the old call support. |
| 2868 | -AC_DEFUN([AM_INIT_AUTOMAKE], |
| 2869 | -[AC_PREREQ([2.65])dnl |
| 2870 | -dnl Autoconf wants to disallow AM_ names. We explicitly allow |
| 2871 | -dnl the ones we care about. |
| 2872 | -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
| 2873 | -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
| 2874 | -AC_REQUIRE([AC_PROG_INSTALL])dnl |
| 2875 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2876 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2877 | - # is not polluted with repeated "-I." |
| 2878 | - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
| 2879 | - # test to see if srcdir already configured |
| 2880 | - if test -f $srcdir/config.status; then |
| 2881 | - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
| 2882 | - fi |
| 2883 | -fi |
| 2884 | - |
| 2885 | -# test whether we have cygpath |
| 2886 | -if test -z "$CYGPATH_W"; then |
| 2887 | - if (cygpath --version) >/dev/null 2>/dev/null; then |
| 2888 | - CYGPATH_W='cygpath -w' |
| 2889 | - else |
| 2890 | - CYGPATH_W=echo |
| 2891 | - fi |
| 2892 | -fi |
| 2893 | -AC_SUBST([CYGPATH_W]) |
| 2894 | - |
| 2895 | -# Define the identity of the package. |
| 2896 | -dnl Distinguish between old-style and new-style calls. |
| 2897 | -m4_ifval([$2], |
| 2898 | -[AC_DIAGNOSE([obsolete], |
| 2899 | - [$0: two- and three-arguments forms are deprecated.]) |
| 2900 | -m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
| 2901 | - AC_SUBST([PACKAGE], [$1])dnl |
| 2902 | - AC_SUBST([VERSION], [$2])], |
| 2903 | -[_AM_SET_OPTIONS([$1])dnl |
| 2904 | -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
| 2905 | -m4_if( |
| 2906 | - m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), |
| 2907 | - [ok:ok],, |
| 2908 | - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
| 2909 | - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
| 2910 | - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
| 2911 | - |
| 2912 | -_AM_IF_OPTION([no-define],, |
| 2913 | -[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) |
| 2914 | - AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl |
| 2915 | - |
| 2916 | -# Some tools Automake needs. |
| 2917 | -AC_REQUIRE([AM_SANITY_CHECK])dnl |
| 2918 | -AC_REQUIRE([AC_ARG_PROGRAM])dnl |
| 2919 | -AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) |
| 2920 | -AM_MISSING_PROG([AUTOCONF], [autoconf]) |
| 2921 | -AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) |
| 2922 | -AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
| 2923 | -AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
| 2924 | -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 2925 | -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
| 2926 | -AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| 2927 | -# For better backward compatibility. To be removed once Automake 1.9.x |
| 2928 | -# dies out for good. For more background, see: |
| 2929 | -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2930 | -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2931 | -AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
| 2932 | -# We need awk for the "check" target. The system "awk" is bad on |
| 2933 | -# some platforms. |
| 2934 | -AC_REQUIRE([AC_PROG_AWK])dnl |
| 2935 | -AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
| 2936 | -AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 2937 | -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
| 2938 | - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
| 2939 | - [_AM_PROG_TAR([v7])])]) |
| 2940 | -_AM_IF_OPTION([no-dependencies],, |
| 2941 | -[AC_PROVIDE_IFELSE([AC_PROG_CC], |
| 2942 | - [_AM_DEPENDENCIES([CC])], |
| 2943 | - [m4_define([AC_PROG_CC], |
| 2944 | - m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl |
| 2945 | -AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| 2946 | - [_AM_DEPENDENCIES([CXX])], |
| 2947 | - [m4_define([AC_PROG_CXX], |
| 2948 | - m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl |
| 2949 | -AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
| 2950 | - [_AM_DEPENDENCIES([OBJC])], |
| 2951 | - [m4_define([AC_PROG_OBJC], |
| 2952 | - m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
| 2953 | -AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
| 2954 | - [_AM_DEPENDENCIES([OBJCXX])], |
| 2955 | - [m4_define([AC_PROG_OBJCXX], |
| 2956 | - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
| 2957 | -]) |
| 2958 | -AC_REQUIRE([AM_SILENT_RULES])dnl |
| 2959 | -dnl The testsuite driver may need to know about EXEEXT, so add the |
| 2960 | -dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This |
| 2961 | -dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. |
| 2962 | -AC_CONFIG_COMMANDS_PRE(dnl |
| 2963 | -[m4_provide_if([_AM_COMPILER_EXEEXT], |
| 2964 | - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
| 2965 | - |
| 2966 | -# POSIX will say in a future version that running "rm -f" with no argument |
| 2967 | -# is OK; and we want to be able to make that assumption in our Makefile |
| 2968 | -# recipes. So use an aggressive probe to check that the usage we want is |
| 2969 | -# actually supported "in the wild" to an acceptable degree. |
| 2970 | -# See automake bug#10828. |
| 2971 | -# To make any issue more visible, cause the running configure to be aborted |
| 2972 | -# by default if the 'rm' program in use doesn't match our expectations; the |
| 2973 | -# user can still override this though. |
| 2974 | -if rm -f && rm -fr && rm -rf; then : OK; else |
| 2975 | - cat >&2 <<'END' |
| 2976 | -Oops! |
| 2977 | - |
| 2978 | -Your 'rm' program seems unable to run without file operands specified |
| 2979 | -on the command line, even when the '-f' option is present. This is contrary |
| 2980 | -to the behaviour of most rm programs out there, and not conforming with |
| 2981 | -the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 2982 | - |
| 2983 | -Please tell bug-automake@gnu.org about your system, including the value |
| 2984 | -of your $PATH and any error possibly output before this message. This |
| 2985 | -can help us improve future automake versions. |
| 2986 | - |
| 2987 | -END |
| 2988 | - if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 2989 | - echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 2990 | - echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 2991 | - echo >&2 |
| 2992 | - else |
| 2993 | - cat >&2 <<'END' |
| 2994 | -Aborting the configuration process, to ensure you take notice of the issue. |
| 2995 | - |
| 2996 | -You can download and install GNU coreutils to get an 'rm' implementation |
| 2997 | -that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 2998 | - |
| 2999 | -If you want to complete the configuration process using your problematic |
| 3000 | -'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3001 | -to "yes", and re-run configure. |
| 3002 | - |
| 3003 | -END |
| 3004 | - AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) |
| 3005 | - fi |
| 3006 | -fi]) |
| 3007 | - |
| 3008 | -dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
| 3009 | -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
| 3010 | -dnl mangled by Autoconf and run in a shell conditional statement. |
| 3011 | -m4_define([_AC_COMPILER_EXEEXT], |
| 3012 | -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
| 3013 | - |
| 3014 | -# When config.status generates a header, we must update the stamp-h file. |
| 3015 | -# This file resides in the same directory as the config header |
| 3016 | -# that is generated. The stamp files are numbered to have different names. |
| 3017 | - |
| 3018 | -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
| 3019 | -# loop where config.status creates the headers, so we can generate |
| 3020 | -# our stamp files there. |
| 3021 | -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| 3022 | -[# Compute $1's index in $config_headers. |
| 3023 | -_am_arg=$1 |
| 3024 | -_am_stamp_count=1 |
| 3025 | -for _am_header in $config_headers :; do |
| 3026 | - case $_am_header in |
| 3027 | - $_am_arg | $_am_arg:* ) |
| 3028 | - break ;; |
| 3029 | - * ) |
| 3030 | - _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 3031 | - esac |
| 3032 | -done |
| 3033 | -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
| 3034 | - |
| 3035 | -# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 3036 | -# |
| 3037 | -# This file is free software; the Free Software Foundation |
| 3038 | -# gives unlimited permission to copy and/or distribute it, |
| 3039 | -# with or without modifications, as long as this notice is preserved. |
| 3040 | - |
| 3041 | -# AM_PROG_INSTALL_SH |
| 3042 | -# ------------------ |
| 3043 | -# Define $install_sh. |
| 3044 | -AC_DEFUN([AM_PROG_INSTALL_SH], |
| 3045 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 3046 | -if test x"${install_sh}" != xset; then |
| 3047 | - case $am_aux_dir in |
| 3048 | - *\ * | *\ *) |
| 3049 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 3050 | - *) |
| 3051 | - install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 3052 | - esac |
| 3053 | -fi |
| 3054 | -AC_SUBST([install_sh])]) |
| 3055 | - |
| 3056 | -# Copyright (C) 2003-2013 Free Software Foundation, Inc. |
| 3057 | -# |
| 3058 | -# This file is free software; the Free Software Foundation |
| 3059 | -# gives unlimited permission to copy and/or distribute it, |
| 3060 | -# with or without modifications, as long as this notice is preserved. |
| 3061 | - |
| 3062 | -# Check whether the underlying file-system supports filenames |
| 3063 | -# with a leading dot. For instance MS-DOS doesn't. |
| 3064 | -AC_DEFUN([AM_SET_LEADING_DOT], |
| 3065 | -[rm -rf .tst 2>/dev/null |
| 3066 | -mkdir .tst 2>/dev/null |
| 3067 | -if test -d .tst; then |
| 3068 | - am__leading_dot=. |
| 3069 | -else |
| 3070 | - am__leading_dot=_ |
| 3071 | -fi |
| 3072 | -rmdir .tst 2>/dev/null |
| 3073 | -AC_SUBST([am__leading_dot])]) |
| 3074 | - |
| 3075 | -# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
| 3076 | -# From Jim Meyering |
| 3077 | - |
| 3078 | -# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 3079 | -# |
| 3080 | -# This file is free software; the Free Software Foundation |
| 3081 | -# gives unlimited permission to copy and/or distribute it, |
| 3082 | -# with or without modifications, as long as this notice is preserved. |
| 3083 | - |
| 3084 | -# AM_MAINTAINER_MODE([DEFAULT-MODE]) |
| 3085 | -# ---------------------------------- |
| 3086 | -# Control maintainer-specific portions of Makefiles. |
| 3087 | -# Default is to disable them, unless 'enable' is passed literally. |
| 3088 | -# For symmetry, 'disable' may be passed as well. Anyway, the user |
| 3089 | -# can override the default with the --enable/--disable switch. |
| 3090 | -AC_DEFUN([AM_MAINTAINER_MODE], |
| 3091 | -[m4_case(m4_default([$1], [disable]), |
| 3092 | - [enable], [m4_define([am_maintainer_other], [disable])], |
| 3093 | - [disable], [m4_define([am_maintainer_other], [enable])], |
| 3094 | - [m4_define([am_maintainer_other], [enable]) |
| 3095 | - m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
| 3096 | -AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
| 3097 | - dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
| 3098 | - AC_ARG_ENABLE([maintainer-mode], |
| 3099 | - [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], |
| 3100 | - am_maintainer_other[ make rules and dependencies not useful |
| 3101 | - (and sometimes confusing) to the casual installer])], |
| 3102 | - [USE_MAINTAINER_MODE=$enableval], |
| 3103 | - [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) |
| 3104 | - AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
| 3105 | - AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
| 3106 | - MAINT=$MAINTAINER_MODE_TRUE |
| 3107 | - AC_SUBST([MAINT])dnl |
| 3108 | -] |
| 3109 | -) |
| 3110 | - |
| 3111 | -# Check to see how 'make' treats includes. -*- Autoconf -*- |
| 3112 | - |
| 3113 | -# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 3114 | -# |
| 3115 | -# This file is free software; the Free Software Foundation |
| 3116 | -# gives unlimited permission to copy and/or distribute it, |
| 3117 | -# with or without modifications, as long as this notice is preserved. |
| 3118 | - |
| 3119 | -# AM_MAKE_INCLUDE() |
| 3120 | -# ----------------- |
| 3121 | -# Check to see how make treats includes. |
| 3122 | -AC_DEFUN([AM_MAKE_INCLUDE], |
| 3123 | -[am_make=${MAKE-make} |
| 3124 | -cat > confinc << 'END' |
| 3125 | -am__doit: |
| 3126 | - @echo this is the am__doit target |
| 3127 | -.PHONY: am__doit |
| 3128 | -END |
| 3129 | -# If we don't find an include directive, just comment out the code. |
| 3130 | -AC_MSG_CHECKING([for style of include used by $am_make]) |
| 3131 | -am__include="#" |
| 3132 | -am__quote= |
| 3133 | -_am_result=none |
| 3134 | -# First try GNU make style include. |
| 3135 | -echo "include confinc" > confmf |
| 3136 | -# Ignore all kinds of additional output from 'make'. |
| 3137 | -case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3138 | -*the\ am__doit\ target*) |
| 3139 | - am__include=include |
| 3140 | - am__quote= |
| 3141 | - _am_result=GNU |
| 3142 | - ;; |
| 3143 | -esac |
| 3144 | -# Now try BSD make style include. |
| 3145 | -if test "$am__include" = "#"; then |
| 3146 | - echo '.include "confinc"' > confmf |
| 3147 | - case `$am_make -s -f confmf 2> /dev/null` in #( |
| 3148 | - *the\ am__doit\ target*) |
| 3149 | - am__include=.include |
| 3150 | - am__quote="\"" |
| 3151 | - _am_result=BSD |
| 3152 | - ;; |
| 3153 | - esac |
| 3154 | -fi |
| 3155 | -AC_SUBST([am__include]) |
| 3156 | -AC_SUBST([am__quote]) |
| 3157 | -AC_MSG_RESULT([$_am_result]) |
| 3158 | -rm -f confinc confmf |
| 3159 | -]) |
| 3160 | - |
| 3161 | -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
| 3162 | - |
| 3163 | -# Copyright (C) 1997-2013 Free Software Foundation, Inc. |
| 3164 | -# |
| 3165 | -# This file is free software; the Free Software Foundation |
| 3166 | -# gives unlimited permission to copy and/or distribute it, |
| 3167 | -# with or without modifications, as long as this notice is preserved. |
| 3168 | - |
| 3169 | -# AM_MISSING_PROG(NAME, PROGRAM) |
| 3170 | -# ------------------------------ |
| 3171 | -AC_DEFUN([AM_MISSING_PROG], |
| 3172 | -[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
| 3173 | -$1=${$1-"${am_missing_run}$2"} |
| 3174 | -AC_SUBST($1)]) |
| 3175 | - |
| 3176 | -# AM_MISSING_HAS_RUN |
| 3177 | -# ------------------ |
| 3178 | -# Define MISSING if not defined so far and test if it is modern enough. |
| 3179 | -# If it is, set am_missing_run to use it, otherwise, to nothing. |
| 3180 | -AC_DEFUN([AM_MISSING_HAS_RUN], |
| 3181 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 3182 | -AC_REQUIRE_AUX_FILE([missing])dnl |
| 3183 | -if test x"${MISSING+set}" != xset; then |
| 3184 | - case $am_aux_dir in |
| 3185 | - *\ * | *\ *) |
| 3186 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 3187 | - *) |
| 3188 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 3189 | - esac |
| 3190 | -fi |
| 3191 | -# Use eval to expand $SHELL |
| 3192 | -if eval "$MISSING --is-lightweight"; then |
| 3193 | - am_missing_run="$MISSING " |
| 3194 | -else |
| 3195 | - am_missing_run= |
| 3196 | - AC_MSG_WARN(['missing' script is too old or missing]) |
| 3197 | -fi |
| 3198 | -]) |
| 3199 | - |
| 3200 | -# -*- Autoconf -*- |
| 3201 | -# Obsolete and "removed" macros, that must however still report explicit |
| 3202 | -# error messages when used, to smooth transition. |
| 3203 | -# |
| 3204 | -# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 3205 | -# |
| 3206 | -# This file is free software; the Free Software Foundation |
| 3207 | -# gives unlimited permission to copy and/or distribute it, |
| 3208 | -# with or without modifications, as long as this notice is preserved. |
| 3209 | - |
| 3210 | -AC_DEFUN([AM_CONFIG_HEADER], |
| 3211 | -[AC_DIAGNOSE([obsolete], |
| 3212 | -['$0': this macro is obsolete. |
| 3213 | -You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl |
| 3214 | -AC_CONFIG_HEADERS($@)]) |
| 3215 | - |
| 3216 | -AC_DEFUN([AM_PROG_CC_STDC], |
| 3217 | -[AC_PROG_CC |
| 3218 | -am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc |
| 3219 | -AC_DIAGNOSE([obsolete], |
| 3220 | -['$0': this macro is obsolete. |
| 3221 | -You should simply use the 'AC][_PROG_CC' macro instead. |
| 3222 | -Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', |
| 3223 | -but upon 'ac_cv_prog_cc_stdc'.])]) |
| 3224 | - |
| 3225 | -AC_DEFUN([AM_C_PROTOTYPES], |
| 3226 | - [AC_FATAL([automatic de-ANSI-fication support has been removed])]) |
| 3227 | -AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) |
| 3228 | - |
| 3229 | -# Helper functions for option handling. -*- Autoconf -*- |
| 3230 | - |
| 3231 | -# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 3232 | -# |
| 3233 | -# This file is free software; the Free Software Foundation |
| 3234 | -# gives unlimited permission to copy and/or distribute it, |
| 3235 | -# with or without modifications, as long as this notice is preserved. |
| 3236 | - |
| 3237 | -# _AM_MANGLE_OPTION(NAME) |
| 3238 | -# ----------------------- |
| 3239 | -AC_DEFUN([_AM_MANGLE_OPTION], |
| 3240 | -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
| 3241 | - |
| 3242 | -# _AM_SET_OPTION(NAME) |
| 3243 | -# -------------------- |
| 3244 | -# Set option NAME. Presently that only means defining a flag for this option. |
| 3245 | -AC_DEFUN([_AM_SET_OPTION], |
| 3246 | -[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) |
| 3247 | - |
| 3248 | -# _AM_SET_OPTIONS(OPTIONS) |
| 3249 | -# ------------------------ |
| 3250 | -# OPTIONS is a space-separated list of Automake options. |
| 3251 | -AC_DEFUN([_AM_SET_OPTIONS], |
| 3252 | -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
| 3253 | - |
| 3254 | -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
| 3255 | -# ------------------------------------------- |
| 3256 | -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
| 3257 | -AC_DEFUN([_AM_IF_OPTION], |
| 3258 | -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
| 3259 | - |
| 3260 | -# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
| 3261 | -# |
| 3262 | -# This file is free software; the Free Software Foundation |
| 3263 | -# gives unlimited permission to copy and/or distribute it, |
| 3264 | -# with or without modifications, as long as this notice is preserved. |
| 3265 | - |
| 3266 | -# _AM_PROG_CC_C_O |
| 3267 | -# --------------- |
| 3268 | -# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC |
| 3269 | -# to automatically call this. |
| 3270 | -AC_DEFUN([_AM_PROG_CC_C_O], |
| 3271 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 3272 | -AC_REQUIRE_AUX_FILE([compile])dnl |
| 3273 | -AC_LANG_PUSH([C])dnl |
| 3274 | -AC_CACHE_CHECK( |
| 3275 | - [whether $CC understands -c and -o together], |
| 3276 | - [am_cv_prog_cc_c_o], |
| 3277 | - [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) |
| 3278 | - # Make sure it works both with $CC and with simple cc. |
| 3279 | - # Following AC_PROG_CC_C_O, we do the test twice because some |
| 3280 | - # compilers refuse to overwrite an existing .o file with -o, |
| 3281 | - # though they will create one. |
| 3282 | - am_cv_prog_cc_c_o=yes |
| 3283 | - for am_i in 1 2; do |
| 3284 | - if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ |
| 3285 | - && test -f conftest2.$ac_objext; then |
| 3286 | - : OK |
| 3287 | - else |
| 3288 | - am_cv_prog_cc_c_o=no |
| 3289 | - break |
| 3290 | - fi |
| 3291 | - done |
| 3292 | - rm -f core conftest* |
| 3293 | - unset am_i]) |
| 3294 | -if test "$am_cv_prog_cc_c_o" != yes; then |
| 3295 | - # Losing compiler, so override with the script. |
| 3296 | - # FIXME: It is wrong to rewrite CC. |
| 3297 | - # But if we don't then we get into trouble of one sort or another. |
| 3298 | - # A longer-term fix would be to have automake use am__CC in this case, |
| 3299 | - # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 3300 | - CC="$am_aux_dir/compile $CC" |
| 3301 | -fi |
| 3302 | -AC_LANG_POP([C])]) |
| 3303 | - |
| 3304 | -# For backward compatibility. |
| 3305 | -AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
| 3306 | - |
| 3307 | -# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 3308 | -# |
| 3309 | -# This file is free software; the Free Software Foundation |
| 3310 | -# gives unlimited permission to copy and/or distribute it, |
| 3311 | -# with or without modifications, as long as this notice is preserved. |
| 3312 | - |
| 3313 | -# AM_RUN_LOG(COMMAND) |
| 3314 | -# ------------------- |
| 3315 | -# Run COMMAND, save the exit status in ac_status, and log it. |
| 3316 | -# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
| 3317 | -AC_DEFUN([AM_RUN_LOG], |
| 3318 | -[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
| 3319 | - ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
| 3320 | - ac_status=$? |
| 3321 | - echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 3322 | - (exit $ac_status); }]) |
| 3323 | - |
| 3324 | -# Check to make sure that the build environment is sane. -*- Autoconf -*- |
| 3325 | - |
| 3326 | -# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
| 3327 | -# |
| 3328 | -# This file is free software; the Free Software Foundation |
| 3329 | -# gives unlimited permission to copy and/or distribute it, |
| 3330 | -# with or without modifications, as long as this notice is preserved. |
| 3331 | - |
| 3332 | -# AM_SANITY_CHECK |
| 3333 | -# --------------- |
| 3334 | -AC_DEFUN([AM_SANITY_CHECK], |
| 3335 | -[AC_MSG_CHECKING([whether build environment is sane]) |
| 3336 | -# Reject unsafe characters in $srcdir or the absolute working directory |
| 3337 | -# name. Accept space and tab only in the latter. |
| 3338 | -am_lf=' |
| 3339 | -' |
| 3340 | -case `pwd` in |
| 3341 | - *[[\\\"\#\$\&\'\`$am_lf]]*) |
| 3342 | - AC_MSG_ERROR([unsafe absolute working directory name]);; |
| 3343 | -esac |
| 3344 | -case $srcdir in |
| 3345 | - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
| 3346 | - AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; |
| 3347 | -esac |
| 3348 | - |
| 3349 | -# Do 'set' in a subshell so we don't clobber the current shell's |
| 3350 | -# arguments. Must try -L first in case configure is actually a |
| 3351 | -# symlink; some systems play weird games with the mod time of symlinks |
| 3352 | -# (eg FreeBSD returns the mod time of the symlink's containing |
| 3353 | -# directory). |
| 3354 | -if ( |
| 3355 | - am_has_slept=no |
| 3356 | - for am_try in 1 2; do |
| 3357 | - echo "timestamp, slept: $am_has_slept" > conftest.file |
| 3358 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 3359 | - if test "$[*]" = "X"; then |
| 3360 | - # -L didn't work. |
| 3361 | - set X `ls -t "$srcdir/configure" conftest.file` |
| 3362 | - fi |
| 3363 | - if test "$[*]" != "X $srcdir/configure conftest.file" \ |
| 3364 | - && test "$[*]" != "X conftest.file $srcdir/configure"; then |
| 3365 | - |
| 3366 | - # If neither matched, then we have a broken ls. This can happen |
| 3367 | - # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 3368 | - # broken ls alias from the environment. This has actually |
| 3369 | - # happened. Such a system could not be considered "sane". |
| 3370 | - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
| 3371 | - alias in your environment]) |
| 3372 | - fi |
| 3373 | - if test "$[2]" = conftest.file || test $am_try -eq 2; then |
| 3374 | - break |
| 3375 | - fi |
| 3376 | - # Just in case. |
| 3377 | - sleep 1 |
| 3378 | - am_has_slept=yes |
| 3379 | - done |
| 3380 | - test "$[2]" = conftest.file |
| 3381 | - ) |
| 3382 | -then |
| 3383 | - # Ok. |
| 3384 | - : |
| 3385 | -else |
| 3386 | - AC_MSG_ERROR([newly created file is older than distributed files! |
| 3387 | -Check your system clock]) |
| 3388 | -fi |
| 3389 | -AC_MSG_RESULT([yes]) |
| 3390 | -# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 3391 | -# generated files are strictly newer. |
| 3392 | -am_sleep_pid= |
| 3393 | -if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 3394 | - ( sleep 1 ) & |
| 3395 | - am_sleep_pid=$! |
| 3396 | -fi |
| 3397 | -AC_CONFIG_COMMANDS_PRE( |
| 3398 | - [AC_MSG_CHECKING([that generated files are newer than configure]) |
| 3399 | - if test -n "$am_sleep_pid"; then |
| 3400 | - # Hide warnings about reused PIDs. |
| 3401 | - wait $am_sleep_pid 2>/dev/null |
| 3402 | - fi |
| 3403 | - AC_MSG_RESULT([done])]) |
| 3404 | -rm -f conftest.file |
| 3405 | -]) |
| 3406 | - |
| 3407 | -# Copyright (C) 2009-2013 Free Software Foundation, Inc. |
| 3408 | -# |
| 3409 | -# This file is free software; the Free Software Foundation |
| 3410 | -# gives unlimited permission to copy and/or distribute it, |
| 3411 | -# with or without modifications, as long as this notice is preserved. |
| 3412 | - |
| 3413 | -# AM_SILENT_RULES([DEFAULT]) |
| 3414 | -# -------------------------- |
| 3415 | -# Enable less verbose build rules; with the default set to DEFAULT |
| 3416 | -# ("yes" being less verbose, "no" or empty being verbose). |
| 3417 | -AC_DEFUN([AM_SILENT_RULES], |
| 3418 | -[AC_ARG_ENABLE([silent-rules], [dnl |
| 3419 | -AS_HELP_STRING( |
| 3420 | - [--enable-silent-rules], |
| 3421 | - [less verbose build output (undo: "make V=1")]) |
| 3422 | -AS_HELP_STRING( |
| 3423 | - [--disable-silent-rules], |
| 3424 | - [verbose build output (undo: "make V=0")])dnl |
| 3425 | -]) |
| 3426 | -case $enable_silent_rules in @%:@ ((( |
| 3427 | - yes) AM_DEFAULT_VERBOSITY=0;; |
| 3428 | - no) AM_DEFAULT_VERBOSITY=1;; |
| 3429 | - *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; |
| 3430 | -esac |
| 3431 | -dnl |
| 3432 | -dnl A few 'make' implementations (e.g., NonStop OS and NextStep) |
| 3433 | -dnl do not support nested variable expansions. |
| 3434 | -dnl See automake bug#9928 and bug#10237. |
| 3435 | -am_make=${MAKE-make} |
| 3436 | -AC_CACHE_CHECK([whether $am_make supports nested variables], |
| 3437 | - [am_cv_make_support_nested_variables], |
| 3438 | - [if AS_ECHO([['TRUE=$(BAR$(V)) |
| 3439 | -BAR0=false |
| 3440 | -BAR1=true |
| 3441 | -V=1 |
| 3442 | -am__doit: |
| 3443 | - @$(TRUE) |
| 3444 | -.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then |
| 3445 | - am_cv_make_support_nested_variables=yes |
| 3446 | -else |
| 3447 | - am_cv_make_support_nested_variables=no |
| 3448 | -fi]) |
| 3449 | -if test $am_cv_make_support_nested_variables = yes; then |
| 3450 | - dnl Using '$V' instead of '$(V)' breaks IRIX make. |
| 3451 | - AM_V='$(V)' |
| 3452 | - AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3453 | -else |
| 3454 | - AM_V=$AM_DEFAULT_VERBOSITY |
| 3455 | - AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 3456 | -fi |
| 3457 | -AC_SUBST([AM_V])dnl |
| 3458 | -AM_SUBST_NOTMAKE([AM_V])dnl |
| 3459 | -AC_SUBST([AM_DEFAULT_V])dnl |
| 3460 | -AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
| 3461 | -AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
| 3462 | -AM_BACKSLASH='\' |
| 3463 | -AC_SUBST([AM_BACKSLASH])dnl |
| 3464 | -_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
| 3465 | -]) |
| 3466 | - |
| 3467 | -# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
| 3468 | -# |
| 3469 | -# This file is free software; the Free Software Foundation |
| 3470 | -# gives unlimited permission to copy and/or distribute it, |
| 3471 | -# with or without modifications, as long as this notice is preserved. |
| 3472 | - |
| 3473 | -# AM_PROG_INSTALL_STRIP |
| 3474 | -# --------------------- |
| 3475 | -# One issue with vendor 'install' (even GNU) is that you can't |
| 3476 | -# specify the program used to strip binaries. This is especially |
| 3477 | -# annoying in cross-compiling environments, where the build's strip |
| 3478 | -# is unlikely to handle the host's binaries. |
| 3479 | -# Fortunately install-sh will honor a STRIPPROG variable, so we |
| 3480 | -# always use install-sh in "make install-strip", and initialize |
| 3481 | -# STRIPPROG with the value of the STRIP variable (set by the user). |
| 3482 | -AC_DEFUN([AM_PROG_INSTALL_STRIP], |
| 3483 | -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 3484 | -# Installed binaries are usually stripped using 'strip' when the user |
| 3485 | -# run "make install-strip". However 'strip' might not be the right |
| 3486 | -# tool to use in cross-compilation environments, therefore Automake |
| 3487 | -# will honor the 'STRIP' environment variable to overrule this program. |
| 3488 | -dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. |
| 3489 | -if test "$cross_compiling" != no; then |
| 3490 | - AC_CHECK_TOOL([STRIP], [strip], :) |
| 3491 | -fi |
| 3492 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 3493 | -AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 3494 | - |
| 3495 | -# Copyright (C) 2006-2013 Free Software Foundation, Inc. |
| 3496 | -# |
| 3497 | -# This file is free software; the Free Software Foundation |
| 3498 | -# gives unlimited permission to copy and/or distribute it, |
| 3499 | -# with or without modifications, as long as this notice is preserved. |
| 3500 | - |
| 3501 | -# _AM_SUBST_NOTMAKE(VARIABLE) |
| 3502 | -# --------------------------- |
| 3503 | -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
| 3504 | -# This macro is traced by Automake. |
| 3505 | -AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 3506 | - |
| 3507 | -# AM_SUBST_NOTMAKE(VARIABLE) |
| 3508 | -# -------------------------- |
| 3509 | -# Public sister of _AM_SUBST_NOTMAKE. |
| 3510 | -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
| 3511 | - |
| 3512 | -# Check how to create a tarball. -*- Autoconf -*- |
| 3513 | - |
| 3514 | -# Copyright (C) 2004-2013 Free Software Foundation, Inc. |
| 3515 | -# |
| 3516 | -# This file is free software; the Free Software Foundation |
| 3517 | -# gives unlimited permission to copy and/or distribute it, |
| 3518 | -# with or without modifications, as long as this notice is preserved. |
| 3519 | - |
| 3520 | -# _AM_PROG_TAR(FORMAT) |
| 3521 | -# -------------------- |
| 3522 | -# Check how to create a tarball in format FORMAT. |
| 3523 | -# FORMAT should be one of 'v7', 'ustar', or 'pax'. |
| 3524 | -# |
| 3525 | -# Substitute a variable $(am__tar) that is a command |
| 3526 | -# writing to stdout a FORMAT-tarball containing the directory |
| 3527 | -# $tardir. |
| 3528 | -# tardir=directory && $(am__tar) > result.tar |
| 3529 | -# |
| 3530 | -# Substitute a variable $(am__untar) that extract such |
| 3531 | -# a tarball read from stdin. |
| 3532 | -# $(am__untar) < result.tar |
| 3533 | -# |
| 3534 | -AC_DEFUN([_AM_PROG_TAR], |
| 3535 | -[# Always define AMTAR for backward compatibility. Yes, it's still used |
| 3536 | -# in the wild :-( We should find a proper way to deprecate it ... |
| 3537 | -AC_SUBST([AMTAR], ['$${TAR-tar}']) |
| 3538 | - |
| 3539 | -# We'll loop over all known methods to create a tar archive until one works. |
| 3540 | -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
| 3541 | - |
| 3542 | -m4_if([$1], [v7], |
| 3543 | - [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
| 3544 | - |
| 3545 | - [m4_case([$1], |
| 3546 | - [ustar], |
| 3547 | - [# The POSIX 1988 'ustar' format is defined with fixed-size fields. |
| 3548 | - # There is notably a 21 bits limit for the UID and the GID. In fact, |
| 3549 | - # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 |
| 3550 | - # and bug#13588). |
| 3551 | - am_max_uid=2097151 # 2^21 - 1 |
| 3552 | - am_max_gid=$am_max_uid |
| 3553 | - # The $UID and $GID variables are not portable, so we need to resort |
| 3554 | - # to the POSIX-mandated id(1) utility. Errors in the 'id' calls |
| 3555 | - # below are definitely unexpected, so allow the users to see them |
| 3556 | - # (that is, avoid stderr redirection). |
| 3557 | - am_uid=`id -u || echo unknown` |
| 3558 | - am_gid=`id -g || echo unknown` |
| 3559 | - AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) |
| 3560 | - if test $am_uid -le $am_max_uid; then |
| 3561 | - AC_MSG_RESULT([yes]) |
| 3562 | - else |
| 3563 | - AC_MSG_RESULT([no]) |
| 3564 | - _am_tools=none |
| 3565 | - fi |
| 3566 | - AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) |
| 3567 | - if test $am_gid -le $am_max_gid; then |
| 3568 | - AC_MSG_RESULT([yes]) |
| 3569 | - else |
| 3570 | - AC_MSG_RESULT([no]) |
| 3571 | - _am_tools=none |
| 3572 | - fi], |
| 3573 | - |
| 3574 | - [pax], |
| 3575 | - [], |
| 3576 | - |
| 3577 | - [m4_fatal([Unknown tar format])]) |
| 3578 | - |
| 3579 | - AC_MSG_CHECKING([how to create a $1 tar archive]) |
| 3580 | - |
| 3581 | - # Go ahead even if we have the value already cached. We do so because we |
| 3582 | - # need to set the values for the 'am__tar' and 'am__untar' variables. |
| 3583 | - _am_tools=${am_cv_prog_tar_$1-$_am_tools} |
| 3584 | - |
| 3585 | - for _am_tool in $_am_tools; do |
| 3586 | - case $_am_tool in |
| 3587 | - gnutar) |
| 3588 | - for _am_tar in tar gnutar gtar; do |
| 3589 | - AM_RUN_LOG([$_am_tar --version]) && break |
| 3590 | - done |
| 3591 | - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
| 3592 | - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
| 3593 | - am__untar="$_am_tar -xf -" |
| 3594 | - ;; |
| 3595 | - plaintar) |
| 3596 | - # Must skip GNU tar: if it does not support --format= it doesn't create |
| 3597 | - # ustar tarball either. |
| 3598 | - (tar --version) >/dev/null 2>&1 && continue |
| 3599 | - am__tar='tar chf - "$$tardir"' |
| 3600 | - am__tar_='tar chf - "$tardir"' |
| 3601 | - am__untar='tar xf -' |
| 3602 | - ;; |
| 3603 | - pax) |
| 3604 | - am__tar='pax -L -x $1 -w "$$tardir"' |
| 3605 | - am__tar_='pax -L -x $1 -w "$tardir"' |
| 3606 | - am__untar='pax -r' |
| 3607 | - ;; |
| 3608 | - cpio) |
| 3609 | - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
| 3610 | - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
| 3611 | - am__untar='cpio -i -H $1 -d' |
| 3612 | - ;; |
| 3613 | - none) |
| 3614 | - am__tar=false |
| 3615 | - am__tar_=false |
| 3616 | - am__untar=false |
| 3617 | - ;; |
| 3618 | - esac |
| 3619 | - |
| 3620 | - # If the value was cached, stop now. We just wanted to have am__tar |
| 3621 | - # and am__untar set. |
| 3622 | - test -n "${am_cv_prog_tar_$1}" && break |
| 3623 | - |
| 3624 | - # tar/untar a dummy directory, and stop if the command works. |
| 3625 | - rm -rf conftest.dir |
| 3626 | - mkdir conftest.dir |
| 3627 | - echo GrepMe > conftest.dir/file |
| 3628 | - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
| 3629 | - rm -rf conftest.dir |
| 3630 | - if test -s conftest.tar; then |
| 3631 | - AM_RUN_LOG([$am__untar <conftest.tar]) |
| 3632 | - AM_RUN_LOG([cat conftest.dir/file]) |
| 3633 | - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
| 3634 | - fi |
| 3635 | - done |
| 3636 | - rm -rf conftest.dir |
| 3637 | - |
| 3638 | - AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
| 3639 | - AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
| 3640 | - |
| 3641 | -AC_SUBST([am__tar]) |
| 3642 | -AC_SUBST([am__untar]) |
| 3643 | -]) # _AM_PROG_TAR |
| 3644 | - |
| 3645 | dnl $Id$ |
| 3646 | dnl |
| 3647 | dnl Copyright (c) 2002-2006 |
| 3648 | |
| 3649 | === modified file 'compile' |
| 3650 | --- compile 2014-01-09 09:12:50 +0000 |
| 3651 | +++ compile 2015-01-04 21:20:08 +0000 |
| 3652 | @@ -3,7 +3,7 @@ |
| 3653 | |
| 3654 | scriptversion=2012-10-14.11; # UTC |
| 3655 | |
| 3656 | -# Copyright (C) 1999-2013 Free Software Foundation, Inc. |
| 3657 | +# Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 3658 | # Written by Tom Tromey <tromey@cygnus.com>. |
| 3659 | # |
| 3660 | # This program is free software; you can redistribute it and/or modify |
| 3661 | |
| 3662 | === modified file 'config.guess' |
| 3663 | --- config.guess 2014-01-09 09:12:50 +0000 |
| 3664 | +++ config.guess 2015-01-04 21:20:08 +0000 |
| 3665 | @@ -1,12 +1,14 @@ |
| 3666 | #! /bin/sh |
| 3667 | # Attempt to guess a canonical system name. |
| 3668 | -# Copyright 1992-2013 Free Software Foundation, Inc. |
| 3669 | +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 3670 | +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
| 3671 | +# 2011, 2012 Free Software Foundation, Inc. |
| 3672 | |
| 3673 | -timestamp='2013-11-29' |
| 3674 | +timestamp='2012-09-25' |
| 3675 | |
| 3676 | # This file is free software; you can redistribute it and/or modify it |
| 3677 | # under the terms of the GNU General Public License as published by |
| 3678 | -# the Free Software Foundation; either version 3 of the License, or |
| 3679 | +# the Free Software Foundation; either version 2 of the License, or |
| 3680 | # (at your option) any later version. |
| 3681 | # |
| 3682 | # This program is distributed in the hope that it will be useful, but |
| 3683 | @@ -20,17 +22,19 @@ |
| 3684 | # As a special exception to the GNU General Public License, if you |
| 3685 | # distribute this file as part of a program that contains a |
| 3686 | # configuration script generated by Autoconf, you may include it under |
| 3687 | -# the same distribution terms that you use for the rest of that |
| 3688 | -# program. This Exception is an additional permission under section 7 |
| 3689 | -# of the GNU General Public License, version 3 ("GPLv3"). |
| 3690 | +# the same distribution terms that you use for the rest of that program. |
| 3691 | + |
| 3692 | + |
| 3693 | +# Originally written by Per Bothner. Please send patches (context |
| 3694 | +# diff format) to <config-patches@gnu.org> and include a ChangeLog |
| 3695 | +# entry. |
| 3696 | # |
| 3697 | -# Originally written by Per Bothner. |
| 3698 | +# This script attempts to guess a canonical system name similar to |
| 3699 | +# config.sub. If it succeeds, it prints the system name on stdout, and |
| 3700 | +# exits with 0. Otherwise, it exits with 1. |
| 3701 | # |
| 3702 | # You can get the latest version of this script from: |
| 3703 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
| 3704 | -# |
| 3705 | -# Please send patches with a ChangeLog entry to config-patches@gnu.org. |
| 3706 | - |
| 3707 | |
| 3708 | me=`echo "$0" | sed -e 's,.*/,,'` |
| 3709 | |
| 3710 | @@ -50,7 +54,9 @@ |
| 3711 | GNU config.guess ($timestamp) |
| 3712 | |
| 3713 | Originally written by Per Bothner. |
| 3714 | -Copyright 1992-2013 Free Software Foundation, Inc. |
| 3715 | +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 3716 | +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
| 3717 | +Free Software Foundation, Inc. |
| 3718 | |
| 3719 | This is free software; see the source for copying conditions. There is NO |
| 3720 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| 3721 | @@ -132,27 +138,6 @@ |
| 3722 | UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
| 3723 | UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
| 3724 | |
| 3725 | -case "${UNAME_SYSTEM}" in |
| 3726 | -Linux|GNU|GNU/*) |
| 3727 | - # If the system lacks a compiler, then just pick glibc. |
| 3728 | - # We could probably try harder. |
| 3729 | - LIBC=gnu |
| 3730 | - |
| 3731 | - eval $set_cc_for_build |
| 3732 | - cat <<-EOF > $dummy.c |
| 3733 | - #include <features.h> |
| 3734 | - #if defined(__UCLIBC__) |
| 3735 | - LIBC=uclibc |
| 3736 | - #elif defined(__dietlibc__) |
| 3737 | - LIBC=dietlibc |
| 3738 | - #else |
| 3739 | - LIBC=gnu |
| 3740 | - #endif |
| 3741 | - EOF |
| 3742 | - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` |
| 3743 | - ;; |
| 3744 | -esac |
| 3745 | - |
| 3746 | # Note: order is significant - the case branches are not exclusive. |
| 3747 | |
| 3748 | case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
| 3749 | @@ -874,21 +859,21 @@ |
| 3750 | exit ;; |
| 3751 | *:GNU:*:*) |
| 3752 | # the GNU system |
| 3753 | - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
| 3754 | + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
| 3755 | exit ;; |
| 3756 | *:GNU/*:*:*) |
| 3757 | # other systems with GNU libc and userland |
| 3758 | - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} |
| 3759 | + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu |
| 3760 | exit ;; |
| 3761 | i*86:Minix:*:*) |
| 3762 | echo ${UNAME_MACHINE}-pc-minix |
| 3763 | exit ;; |
| 3764 | aarch64:Linux:*:*) |
| 3765 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3766 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3767 | exit ;; |
| 3768 | aarch64_be:Linux:*:*) |
| 3769 | UNAME_MACHINE=aarch64_be |
| 3770 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3771 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3772 | exit ;; |
| 3773 | alpha:Linux:*:*) |
| 3774 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
| 3775 | @@ -901,54 +886,59 @@ |
| 3776 | EV68*) UNAME_MACHINE=alphaev68 ;; |
| 3777 | esac |
| 3778 | objdump --private-headers /bin/sh | grep -q ld.so.1 |
| 3779 | - if test "$?" = 0 ; then LIBC="gnulibc1" ; fi |
| 3780 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3781 | - exit ;; |
| 3782 | - arc:Linux:*:* | arceb:Linux:*:*) |
| 3783 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3784 | + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
| 3785 | + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
| 3786 | exit ;; |
| 3787 | arm*:Linux:*:*) |
| 3788 | eval $set_cc_for_build |
| 3789 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
| 3790 | | grep -q __ARM_EABI__ |
| 3791 | then |
| 3792 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3793 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3794 | else |
| 3795 | if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ |
| 3796 | | grep -q __ARM_PCS_VFP |
| 3797 | then |
| 3798 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi |
| 3799 | + echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
| 3800 | else |
| 3801 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf |
| 3802 | + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf |
| 3803 | fi |
| 3804 | fi |
| 3805 | exit ;; |
| 3806 | avr32*:Linux:*:*) |
| 3807 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3808 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3809 | exit ;; |
| 3810 | cris:Linux:*:*) |
| 3811 | - echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
| 3812 | + echo ${UNAME_MACHINE}-axis-linux-gnu |
| 3813 | exit ;; |
| 3814 | crisv32:Linux:*:*) |
| 3815 | - echo ${UNAME_MACHINE}-axis-linux-${LIBC} |
| 3816 | + echo ${UNAME_MACHINE}-axis-linux-gnu |
| 3817 | exit ;; |
| 3818 | frv:Linux:*:*) |
| 3819 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3820 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3821 | exit ;; |
| 3822 | hexagon:Linux:*:*) |
| 3823 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3824 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3825 | exit ;; |
| 3826 | i*86:Linux:*:*) |
| 3827 | - echo ${UNAME_MACHINE}-pc-linux-${LIBC} |
| 3828 | + LIBC=gnu |
| 3829 | + eval $set_cc_for_build |
| 3830 | + sed 's/^ //' << EOF >$dummy.c |
| 3831 | + #ifdef __dietlibc__ |
| 3832 | + LIBC=dietlibc |
| 3833 | + #endif |
| 3834 | +EOF |
| 3835 | + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` |
| 3836 | + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
| 3837 | exit ;; |
| 3838 | ia64:Linux:*:*) |
| 3839 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3840 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3841 | exit ;; |
| 3842 | m32r*:Linux:*:*) |
| 3843 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3844 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3845 | exit ;; |
| 3846 | m68*:Linux:*:*) |
| 3847 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3848 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3849 | exit ;; |
| 3850 | mips:Linux:*:* | mips64:Linux:*:*) |
| 3851 | eval $set_cc_for_build |
| 3852 | @@ -967,63 +957,54 @@ |
| 3853 | #endif |
| 3854 | EOF |
| 3855 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
| 3856 | - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } |
| 3857 | + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
| 3858 | ;; |
| 3859 | - or1k:Linux:*:*) |
| 3860 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3861 | - exit ;; |
| 3862 | or32:Linux:*:*) |
| 3863 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3864 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3865 | exit ;; |
| 3866 | padre:Linux:*:*) |
| 3867 | - echo sparc-unknown-linux-${LIBC} |
| 3868 | + echo sparc-unknown-linux-gnu |
| 3869 | exit ;; |
| 3870 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
| 3871 | - echo hppa64-unknown-linux-${LIBC} |
| 3872 | + echo hppa64-unknown-linux-gnu |
| 3873 | exit ;; |
| 3874 | parisc:Linux:*:* | hppa:Linux:*:*) |
| 3875 | # Look for CPU level |
| 3876 | case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
| 3877 | - PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; |
| 3878 | - PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; |
| 3879 | - *) echo hppa-unknown-linux-${LIBC} ;; |
| 3880 | + PA7*) echo hppa1.1-unknown-linux-gnu ;; |
| 3881 | + PA8*) echo hppa2.0-unknown-linux-gnu ;; |
| 3882 | + *) echo hppa-unknown-linux-gnu ;; |
| 3883 | esac |
| 3884 | exit ;; |
| 3885 | ppc64:Linux:*:*) |
| 3886 | - echo powerpc64-unknown-linux-${LIBC} |
| 3887 | + echo powerpc64-unknown-linux-gnu |
| 3888 | exit ;; |
| 3889 | ppc:Linux:*:*) |
| 3890 | - echo powerpc-unknown-linux-${LIBC} |
| 3891 | - exit ;; |
| 3892 | - ppc64le:Linux:*:*) |
| 3893 | - echo powerpc64le-unknown-linux-${LIBC} |
| 3894 | - exit ;; |
| 3895 | - ppcle:Linux:*:*) |
| 3896 | - echo powerpcle-unknown-linux-${LIBC} |
| 3897 | + echo powerpc-unknown-linux-gnu |
| 3898 | exit ;; |
| 3899 | s390:Linux:*:* | s390x:Linux:*:*) |
| 3900 | - echo ${UNAME_MACHINE}-ibm-linux-${LIBC} |
| 3901 | + echo ${UNAME_MACHINE}-ibm-linux |
| 3902 | exit ;; |
| 3903 | sh64*:Linux:*:*) |
| 3904 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3905 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3906 | exit ;; |
| 3907 | sh*:Linux:*:*) |
| 3908 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3909 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3910 | exit ;; |
| 3911 | sparc:Linux:*:* | sparc64:Linux:*:*) |
| 3912 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3913 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3914 | exit ;; |
| 3915 | tile*:Linux:*:*) |
| 3916 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3917 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3918 | exit ;; |
| 3919 | vax:Linux:*:*) |
| 3920 | - echo ${UNAME_MACHINE}-dec-linux-${LIBC} |
| 3921 | + echo ${UNAME_MACHINE}-dec-linux-gnu |
| 3922 | exit ;; |
| 3923 | x86_64:Linux:*:*) |
| 3924 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3925 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3926 | exit ;; |
| 3927 | xtensa*:Linux:*:*) |
| 3928 | - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 3929 | + echo ${UNAME_MACHINE}-unknown-linux-gnu |
| 3930 | exit ;; |
| 3931 | i*86:DYNIX/ptx:4*:*) |
| 3932 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
| 3933 | @@ -1256,31 +1237,19 @@ |
| 3934 | exit ;; |
| 3935 | *:Darwin:*:*) |
| 3936 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
| 3937 | - eval $set_cc_for_build |
| 3938 | - if test "$UNAME_PROCESSOR" = unknown ; then |
| 3939 | - UNAME_PROCESSOR=powerpc |
| 3940 | - fi |
| 3941 | - if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then |
| 3942 | - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
| 3943 | - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
| 3944 | - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
| 3945 | - grep IS_64BIT_ARCH >/dev/null |
| 3946 | - then |
| 3947 | - case $UNAME_PROCESSOR in |
| 3948 | - i386) UNAME_PROCESSOR=x86_64 ;; |
| 3949 | - powerpc) UNAME_PROCESSOR=powerpc64 ;; |
| 3950 | - esac |
| 3951 | - fi |
| 3952 | - fi |
| 3953 | - elif test "$UNAME_PROCESSOR" = i386 ; then |
| 3954 | - # Avoid executing cc on OS X 10.9, as it ships with a stub |
| 3955 | - # that puts up a graphical alert prompting to install |
| 3956 | - # developer tools. Any system running Mac OS X 10.7 or |
| 3957 | - # later (Darwin 11 and later) is required to have a 64-bit |
| 3958 | - # processor. This is not true of the ARM version of Darwin |
| 3959 | - # that Apple uses in portable devices. |
| 3960 | - UNAME_PROCESSOR=x86_64 |
| 3961 | - fi |
| 3962 | + case $UNAME_PROCESSOR in |
| 3963 | + i386) |
| 3964 | + eval $set_cc_for_build |
| 3965 | + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
| 3966 | + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
| 3967 | + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
| 3968 | + grep IS_64BIT_ARCH >/dev/null |
| 3969 | + then |
| 3970 | + UNAME_PROCESSOR="x86_64" |
| 3971 | + fi |
| 3972 | + fi ;; |
| 3973 | + unknown) UNAME_PROCESSOR=powerpc ;; |
| 3974 | + esac |
| 3975 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
| 3976 | exit ;; |
| 3977 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
| 3978 | |
| 3979 | === modified file 'config.h.in' |
| 3980 | --- config.h.in 2014-01-09 09:12:50 +0000 |
| 3981 | +++ config.h.in 2015-01-04 21:20:08 +0000 |
| 3982 | @@ -33,6 +33,9 @@ |
| 3983 | /* Define if libgksu2 >= 2.0 present */ |
| 3984 | #undef HAVE_GKSU |
| 3985 | |
| 3986 | +/* Define if gtk+-3.0 >= 3.2.0 present */ |
| 3987 | +#undef HAVE_GTK3 |
| 3988 | + |
| 3989 | /* Define to 1 if you have the <inttypes.h> header file. */ |
| 3990 | #undef HAVE_INTTYPES_H |
| 3991 | |
| 3992 | @@ -124,6 +127,9 @@ |
| 3993 | */ |
| 3994 | #undef LT_OBJDIR |
| 3995 | |
| 3996 | +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ |
| 3997 | +#undef NO_MINUS_C_MINUS_O |
| 3998 | + |
| 3999 | /* Name of package */ |
| 4000 | #undef PACKAGE |
| 4001 | |
| 4002 | |
| 4003 | === modified file 'config.sub' |
| 4004 | --- config.sub 2014-01-09 09:12:50 +0000 |
| 4005 | +++ config.sub 2015-01-04 21:20:08 +0000 |
| 4006 | @@ -1,18 +1,24 @@ |
| 4007 | #! /bin/sh |
| 4008 | # Configuration validation subroutine script. |
| 4009 | -# Copyright 1992-2013 Free Software Foundation, Inc. |
| 4010 | - |
| 4011 | -timestamp='2013-10-01' |
| 4012 | - |
| 4013 | -# This file is free software; you can redistribute it and/or modify it |
| 4014 | -# under the terms of the GNU General Public License as published by |
| 4015 | -# the Free Software Foundation; either version 3 of the License, or |
| 4016 | +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 4017 | +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
| 4018 | +# 2011, 2012 Free Software Foundation, Inc. |
| 4019 | + |
| 4020 | +timestamp='2012-12-06' |
| 4021 | + |
| 4022 | +# This file is (in principle) common to ALL GNU software. |
| 4023 | +# The presence of a machine in this file suggests that SOME GNU software |
| 4024 | +# can handle that machine. It does not imply ALL GNU software can. |
| 4025 | +# |
| 4026 | +# This file is free software; you can redistribute it and/or modify |
| 4027 | +# it under the terms of the GNU General Public License as published by |
| 4028 | +# the Free Software Foundation; either version 2 of the License, or |
| 4029 | # (at your option) any later version. |
| 4030 | # |
| 4031 | -# This program is distributed in the hope that it will be useful, but |
| 4032 | -# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 4033 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 4034 | -# General Public License for more details. |
| 4035 | +# This program is distributed in the hope that it will be useful, |
| 4036 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 4037 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 4038 | +# GNU General Public License for more details. |
| 4039 | # |
| 4040 | # You should have received a copy of the GNU General Public License |
| 4041 | # along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 4042 | @@ -20,12 +26,11 @@ |
| 4043 | # As a special exception to the GNU General Public License, if you |
| 4044 | # distribute this file as part of a program that contains a |
| 4045 | # configuration script generated by Autoconf, you may include it under |
| 4046 | -# the same distribution terms that you use for the rest of that |
| 4047 | -# program. This Exception is an additional permission under section 7 |
| 4048 | -# of the GNU General Public License, version 3 ("GPLv3"). |
| 4049 | - |
| 4050 | - |
| 4051 | -# Please send patches with a ChangeLog entry to config-patches@gnu.org. |
| 4052 | +# the same distribution terms that you use for the rest of that program. |
| 4053 | + |
| 4054 | + |
| 4055 | +# Please send patches to <config-patches@gnu.org>. Submit a context |
| 4056 | +# diff and a properly formatted GNU ChangeLog entry. |
| 4057 | # |
| 4058 | # Configuration subroutine to validate and canonicalize a configuration type. |
| 4059 | # Supply the specified configuration type as an argument. |
| 4060 | @@ -68,7 +73,9 @@ |
| 4061 | version="\ |
| 4062 | GNU config.sub ($timestamp) |
| 4063 | |
| 4064 | -Copyright 1992-2013 Free Software Foundation, Inc. |
| 4065 | +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
| 4066 | +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
| 4067 | +Free Software Foundation, Inc. |
| 4068 | |
| 4069 | This is free software; see the source for copying conditions. There is NO |
| 4070 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| 4071 | @@ -252,12 +259,12 @@ |
| 4072 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
| 4073 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
| 4074 | | am33_2.0 \ |
| 4075 | - | arc | arceb \ |
| 4076 | + | arc \ |
| 4077 | | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
| 4078 | | avr | avr32 \ |
| 4079 | | be32 | be64 \ |
| 4080 | | bfin \ |
| 4081 | - | c4x | c8051 | clipper \ |
| 4082 | + | c4x | clipper \ |
| 4083 | | d10v | d30v | dlx | dsp16xx \ |
| 4084 | | epiphany \ |
| 4085 | | fido | fr30 | frv \ |
| 4086 | @@ -265,7 +272,6 @@ |
| 4087 | | hexagon \ |
| 4088 | | i370 | i860 | i960 | ia64 \ |
| 4089 | | ip2k | iq2000 \ |
| 4090 | - | k1om \ |
| 4091 | | le32 | le64 \ |
| 4092 | | lm32 \ |
| 4093 | | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
| 4094 | @@ -287,17 +293,16 @@ |
| 4095 | | mipsisa64r2 | mipsisa64r2el \ |
| 4096 | | mipsisa64sb1 | mipsisa64sb1el \ |
| 4097 | | mipsisa64sr71k | mipsisa64sr71kel \ |
| 4098 | - | mipsr5900 | mipsr5900el \ |
| 4099 | | mipstx39 | mipstx39el \ |
| 4100 | | mn10200 | mn10300 \ |
| 4101 | | moxie \ |
| 4102 | | mt \ |
| 4103 | | msp430 \ |
| 4104 | | nds32 | nds32le | nds32be \ |
| 4105 | - | nios | nios2 | nios2eb | nios2el \ |
| 4106 | + | nios | nios2 \ |
| 4107 | | ns16k | ns32k \ |
| 4108 | | open8 \ |
| 4109 | - | or1k | or32 \ |
| 4110 | + | or32 \ |
| 4111 | | pdp10 | pdp11 | pj | pjl \ |
| 4112 | | powerpc | powerpc64 | powerpc64le | powerpcle \ |
| 4113 | | pyramid \ |
| 4114 | @@ -325,7 +330,7 @@ |
| 4115 | c6x) |
| 4116 | basic_machine=tic6x-unknown |
| 4117 | ;; |
| 4118 | - m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) |
| 4119 | + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) |
| 4120 | basic_machine=$basic_machine-unknown |
| 4121 | os=-none |
| 4122 | ;; |
| 4123 | @@ -367,13 +372,13 @@ |
| 4124 | | aarch64-* | aarch64_be-* \ |
| 4125 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
| 4126 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
| 4127 | - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ |
| 4128 | + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
| 4129 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
| 4130 | | avr-* | avr32-* \ |
| 4131 | | be32-* | be64-* \ |
| 4132 | | bfin-* | bs2000-* \ |
| 4133 | | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
| 4134 | - | c8051-* | clipper-* | craynv-* | cydra-* \ |
| 4135 | + | clipper-* | craynv-* | cydra-* \ |
| 4136 | | d10v-* | d30v-* | dlx-* \ |
| 4137 | | elxsi-* \ |
| 4138 | | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
| 4139 | @@ -382,7 +387,6 @@ |
| 4140 | | hexagon-* \ |
| 4141 | | i*86-* | i860-* | i960-* | ia64-* \ |
| 4142 | | ip2k-* | iq2000-* \ |
| 4143 | - | k1om-* \ |
| 4144 | | le32-* | le64-* \ |
| 4145 | | lm32-* \ |
| 4146 | | m32c-* | m32r-* | m32rle-* \ |
| 4147 | @@ -406,13 +410,12 @@ |
| 4148 | | mipsisa64r2-* | mipsisa64r2el-* \ |
| 4149 | | mipsisa64sb1-* | mipsisa64sb1el-* \ |
| 4150 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| 4151 | - | mipsr5900-* | mipsr5900el-* \ |
| 4152 | | mipstx39-* | mipstx39el-* \ |
| 4153 | | mmix-* \ |
| 4154 | | mt-* \ |
| 4155 | | msp430-* \ |
| 4156 | | nds32-* | nds32le-* | nds32be-* \ |
| 4157 | - | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
| 4158 | + | nios-* | nios2-* \ |
| 4159 | | none-* | np1-* | ns16k-* | ns32k-* \ |
| 4160 | | open8-* \ |
| 4161 | | orion-* \ |
| 4162 | @@ -796,7 +799,7 @@ |
| 4163 | os=-mingw64 |
| 4164 | ;; |
| 4165 | mingw32) |
| 4166 | - basic_machine=i686-pc |
| 4167 | + basic_machine=i386-pc |
| 4168 | os=-mingw32 |
| 4169 | ;; |
| 4170 | mingw32ce) |
| 4171 | @@ -832,7 +835,7 @@ |
| 4172 | basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
| 4173 | ;; |
| 4174 | msys) |
| 4175 | - basic_machine=i686-pc |
| 4176 | + basic_machine=i386-pc |
| 4177 | os=-msys |
| 4178 | ;; |
| 4179 | mvs) |
| 4180 | @@ -1354,7 +1357,7 @@ |
| 4181 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
| 4182 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
| 4183 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
| 4184 | - | -sym* | -kopensolaris* | -plan9* \ |
| 4185 | + | -sym* | -kopensolaris* \ |
| 4186 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
| 4187 | | -aos* | -aros* \ |
| 4188 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
| 4189 | @@ -1500,6 +1503,9 @@ |
| 4190 | -aros*) |
| 4191 | os=-aros |
| 4192 | ;; |
| 4193 | + -kaos*) |
| 4194 | + os=-kaos |
| 4195 | + ;; |
| 4196 | -zvmoe) |
| 4197 | os=-zvmoe |
| 4198 | ;; |
| 4199 | @@ -1548,9 +1554,6 @@ |
| 4200 | c4x-* | tic4x-*) |
| 4201 | os=-coff |
| 4202 | ;; |
| 4203 | - c8051-*) |
| 4204 | - os=-elf |
| 4205 | - ;; |
| 4206 | hexagon-*) |
| 4207 | os=-elf |
| 4208 | ;; |
| 4209 | @@ -1594,9 +1597,6 @@ |
| 4210 | mips*-*) |
| 4211 | os=-elf |
| 4212 | ;; |
| 4213 | - or1k-*) |
| 4214 | - os=-elf |
| 4215 | - ;; |
| 4216 | or32-*) |
| 4217 | os=-coff |
| 4218 | ;; |
| 4219 | |
| 4220 | === modified file 'configure' |
| 4221 | --- configure 2014-01-09 09:12:50 +0000 |
| 4222 | +++ configure 2015-01-04 21:20:08 +0000 |
| 4223 | @@ -1,16 +1,16 @@ |
| 4224 | #! /bin/sh |
| 4225 | -# From configure.ac b8e8789. |
| 4226 | +# From configure.ac 007c2c6. |
| 4227 | # Guess values for system-dependent variables and create Makefiles. |
| 4228 | -# Generated by GNU Autoconf 2.69 for Xfce4 Taskmanager 1.0.1. |
| 4229 | +# Generated by GNU Autoconf 2.64 for Xfce4 Taskmanager 1.1.0. |
| 4230 | # |
| 4231 | # Report bugs to <http://bugzilla.xfce.org/>. |
| 4232 | # |
| 4233 | # Copyright (c) 2006-2008 |
| 4234 | # The Xfce development team. All rights reserved. |
| 4235 | # |
| 4236 | -# |
| 4237 | -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 4238 | -# |
| 4239 | +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 4240 | +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
| 4241 | +# Foundation, Inc. |
| 4242 | # |
| 4243 | # This configure script is free software; the Free Software Foundation |
| 4244 | # gives unlimited permission to copy, distribute and modify it. |
| 4245 | @@ -93,7 +93,6 @@ |
| 4246 | IFS=" "" $as_nl" |
| 4247 | |
| 4248 | # Find who we are. Look in the path if we contain no directory separator. |
| 4249 | -as_myself= |
| 4250 | case $0 in #(( |
| 4251 | *[\\/]* ) as_myself=$0 ;; |
| 4252 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4253 | @@ -138,31 +137,6 @@ |
| 4254 | # CDPATH. |
| 4255 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 4256 | |
| 4257 | -# Use a proper internal environment variable to ensure we don't fall |
| 4258 | - # into an infinite loop, continuously re-executing ourselves. |
| 4259 | - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 4260 | - _as_can_reexec=no; export _as_can_reexec; |
| 4261 | - # We cannot yet assume a decent shell, so we have to provide a |
| 4262 | -# neutralization value for shells without unset; and this also |
| 4263 | -# works around shells that cannot unset nonexistent variables. |
| 4264 | -# Preserve -v and -x to the replacement shell. |
| 4265 | -BASH_ENV=/dev/null |
| 4266 | -ENV=/dev/null |
| 4267 | -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 4268 | -case $- in # (((( |
| 4269 | - *v*x* | *x*v* ) as_opts=-vx ;; |
| 4270 | - *v* ) as_opts=-v ;; |
| 4271 | - *x* ) as_opts=-x ;; |
| 4272 | - * ) as_opts= ;; |
| 4273 | -esac |
| 4274 | -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 4275 | -# Admittedly, this is quite paranoid, since all the known shells bail |
| 4276 | -# out after a failed `exec'. |
| 4277 | -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 4278 | -as_fn_exit 255 |
| 4279 | - fi |
| 4280 | - # We don't want this to propagate to other subprocesses. |
| 4281 | - { _as_can_reexec=; unset _as_can_reexec;} |
| 4282 | if test "x$CONFIG_SHELL" = x; then |
| 4283 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 4284 | emulate sh |
| 4285 | @@ -196,13 +170,11 @@ |
| 4286 | else |
| 4287 | exitcode=1; echo positional parameters were not saved. |
| 4288 | fi |
| 4289 | -test x\$exitcode = x0 || exit 1 |
| 4290 | -test -x / || exit 1" |
| 4291 | +test x\$exitcode = x0 || exit 1" |
| 4292 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 4293 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 4294 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 4295 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 4296 | -test \$(( 1 + 1 )) = 2 || exit 1 |
| 4297 | |
| 4298 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
| 4299 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 4300 | @@ -210,7 +182,8 @@ |
| 4301 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 4302 | PATH=/empty FPATH=/empty; export PATH FPATH |
| 4303 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 4304 | - || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" |
| 4305 | + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 |
| 4306 | +test \$(( 1 + 1 )) = 2 || exit 1" |
| 4307 | if (eval "$as_required") 2>/dev/null; then : |
| 4308 | as_have_required=yes |
| 4309 | else |
| 4310 | @@ -250,25 +223,14 @@ |
| 4311 | |
| 4312 | |
| 4313 | if test "x$CONFIG_SHELL" != x; then : |
| 4314 | - export CONFIG_SHELL |
| 4315 | - # We cannot yet assume a decent shell, so we have to provide a |
| 4316 | -# neutralization value for shells without unset; and this also |
| 4317 | -# works around shells that cannot unset nonexistent variables. |
| 4318 | -# Preserve -v and -x to the replacement shell. |
| 4319 | -BASH_ENV=/dev/null |
| 4320 | -ENV=/dev/null |
| 4321 | -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 4322 | -case $- in # (((( |
| 4323 | - *v*x* | *x*v* ) as_opts=-vx ;; |
| 4324 | - *v* ) as_opts=-v ;; |
| 4325 | - *x* ) as_opts=-x ;; |
| 4326 | - * ) as_opts= ;; |
| 4327 | -esac |
| 4328 | -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 4329 | -# Admittedly, this is quite paranoid, since all the known shells bail |
| 4330 | -# out after a failed `exec'. |
| 4331 | -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 4332 | -exit 255 |
| 4333 | + # We cannot yet assume a decent shell, so we have to provide a |
| 4334 | + # neutralization value for shells without unset; and this also |
| 4335 | + # works around shells that cannot unset nonexistent variables. |
| 4336 | + BASH_ENV=/dev/null |
| 4337 | + ENV=/dev/null |
| 4338 | + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 4339 | + export CONFIG_SHELL |
| 4340 | + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 4341 | fi |
| 4342 | |
| 4343 | if test x$as_have_required = xno; then : |
| 4344 | @@ -367,18 +329,10 @@ |
| 4345 | test -d "$as_dir" && break |
| 4346 | done |
| 4347 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 4348 | - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 4349 | + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 4350 | |
| 4351 | |
| 4352 | } # as_fn_mkdir_p |
| 4353 | - |
| 4354 | -# as_fn_executable_p FILE |
| 4355 | -# ----------------------- |
| 4356 | -# Test if FILE is an executable regular file. |
| 4357 | -as_fn_executable_p () |
| 4358 | -{ |
| 4359 | - test -f "$1" && test -x "$1" |
| 4360 | -} # as_fn_executable_p |
| 4361 | # as_fn_append VAR VALUE |
| 4362 | # ---------------------- |
| 4363 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 4364 | @@ -415,19 +369,19 @@ |
| 4365 | fi # as_fn_arith |
| 4366 | |
| 4367 | |
| 4368 | -# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 4369 | -# ---------------------------------------- |
| 4370 | +# as_fn_error ERROR [LINENO LOG_FD] |
| 4371 | +# --------------------------------- |
| 4372 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 4373 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 4374 | -# script with STATUS, using 1 if that was 0. |
| 4375 | +# script with status $?, using 1 if that was 0. |
| 4376 | as_fn_error () |
| 4377 | { |
| 4378 | - as_status=$1; test $as_status -eq 0 && as_status=1 |
| 4379 | - if test "$4"; then |
| 4380 | - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 4381 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 4382 | + as_status=$?; test $as_status -eq 0 && as_status=1 |
| 4383 | + if test "$3"; then |
| 4384 | + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 4385 | + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 4386 | fi |
| 4387 | - $as_echo "$as_me: error: $2" >&2 |
| 4388 | + $as_echo "$as_me: error: $1" >&2 |
| 4389 | as_fn_exit $as_status |
| 4390 | } # as_fn_error |
| 4391 | |
| 4392 | @@ -500,10 +454,6 @@ |
| 4393 | chmod +x "$as_me.lineno" || |
| 4394 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 4395 | |
| 4396 | - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 4397 | - # already done that, so ensure we don't try to do so again and fall |
| 4398 | - # in an infinite loop. This has already happened in practice. |
| 4399 | - _as_can_reexec=no; export _as_can_reexec |
| 4400 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 4401 | # (the dirname of $[0] is not the place where we might find the |
| 4402 | # original and so on. Autoconf is especially sensitive to this). |
| 4403 | @@ -538,16 +488,16 @@ |
| 4404 | # ... but there are two gotchas: |
| 4405 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 4406 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 4407 | - # In both cases, we have to default to `cp -pR'. |
| 4408 | + # In both cases, we have to default to `cp -p'. |
| 4409 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 4410 | - as_ln_s='cp -pR' |
| 4411 | + as_ln_s='cp -p' |
| 4412 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 4413 | as_ln_s=ln |
| 4414 | else |
| 4415 | - as_ln_s='cp -pR' |
| 4416 | + as_ln_s='cp -p' |
| 4417 | fi |
| 4418 | else |
| 4419 | - as_ln_s='cp -pR' |
| 4420 | + as_ln_s='cp -p' |
| 4421 | fi |
| 4422 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 4423 | rmdir conf$$.dir 2>/dev/null |
| 4424 | @@ -559,8 +509,28 @@ |
| 4425 | as_mkdir_p=false |
| 4426 | fi |
| 4427 | |
| 4428 | -as_test_x='test -x' |
| 4429 | -as_executable_p=as_fn_executable_p |
| 4430 | +if test -x / >/dev/null 2>&1; then |
| 4431 | + as_test_x='test -x' |
| 4432 | +else |
| 4433 | + if ls -dL / >/dev/null 2>&1; then |
| 4434 | + as_ls_L_option=L |
| 4435 | + else |
| 4436 | + as_ls_L_option= |
| 4437 | + fi |
| 4438 | + as_test_x=' |
| 4439 | + eval sh -c '\'' |
| 4440 | + if test -d "$1"; then |
| 4441 | + test -d "$1/."; |
| 4442 | + else |
| 4443 | + case $1 in #( |
| 4444 | + -*)set "./$1";; |
| 4445 | + esac; |
| 4446 | + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 4447 | + ???[sx]*):;;*)false;;esac;fi |
| 4448 | + '\'' sh |
| 4449 | + ' |
| 4450 | +fi |
| 4451 | +as_executable_p=$as_test_x |
| 4452 | |
| 4453 | # Sed expression to map a string onto a valid CPP name. |
| 4454 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 4455 | @@ -571,11 +541,10 @@ |
| 4456 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 4457 | |
| 4458 | |
| 4459 | -test -n "$DJDIR" || exec 7<&0 </dev/null |
| 4460 | -exec 6>&1 |
| 4461 | +exec 7<&0 </dev/null 6>&1 |
| 4462 | |
| 4463 | # Name of the host. |
| 4464 | -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 4465 | +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 4466 | # so uname gets run too. |
| 4467 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 4468 | |
| 4469 | @@ -594,8 +563,8 @@ |
| 4470 | # Identity of this package. |
| 4471 | PACKAGE_NAME='Xfce4 Taskmanager' |
| 4472 | PACKAGE_TARNAME='xfce4-taskmanager' |
| 4473 | -PACKAGE_VERSION='1.0.1' |
| 4474 | -PACKAGE_STRING='Xfce4 Taskmanager 1.0.1' |
| 4475 | +PACKAGE_VERSION='1.1.0' |
| 4476 | +PACKAGE_STRING='Xfce4 Taskmanager 1.1.0' |
| 4477 | PACKAGE_BUGREPORT='http://bugzilla.xfce.org/' |
| 4478 | PACKAGE_URL='http://goodies.xfce.org/projects/applications/xfce4-taskmanager' |
| 4479 | |
| 4480 | @@ -661,6 +630,14 @@ |
| 4481 | WNCK_LIBS |
| 4482 | WNCK_CFLAGS |
| 4483 | WNCK_VERSION |
| 4484 | +USE_GTK3_FALSE |
| 4485 | +USE_GTK3_TRUE |
| 4486 | +HAVE_GTK3_FALSE |
| 4487 | +HAVE_GTK3_TRUE |
| 4488 | +GTK3_REQUIRED_VERSION |
| 4489 | +GTK3_LIBS |
| 4490 | +GTK3_CFLAGS |
| 4491 | +GTK3_VERSION |
| 4492 | CAIRO_REQUIRED_VERSION |
| 4493 | CAIRO_LIBS |
| 4494 | CAIRO_CFLAGS |
| 4495 | @@ -737,7 +714,6 @@ |
| 4496 | NM |
| 4497 | ac_ct_DUMPBIN |
| 4498 | DUMPBIN |
| 4499 | -LIBTOOL |
| 4500 | LD |
| 4501 | FGREP |
| 4502 | EGREP |
| 4503 | @@ -760,13 +736,14 @@ |
| 4504 | LDFLAGS |
| 4505 | CFLAGS |
| 4506 | CC |
| 4507 | -MAINT |
| 4508 | -MAINTAINER_MODE_FALSE |
| 4509 | -MAINTAINER_MODE_TRUE |
| 4510 | +LIBTOOL |
| 4511 | AM_BACKSLASH |
| 4512 | AM_DEFAULT_VERBOSITY |
| 4513 | AM_DEFAULT_V |
| 4514 | AM_V |
| 4515 | +MAINT |
| 4516 | +MAINTAINER_MODE_FALSE |
| 4517 | +MAINTAINER_MODE_TRUE |
| 4518 | am__untar |
| 4519 | am__tar |
| 4520 | AMTAR |
| 4521 | @@ -843,18 +820,20 @@ |
| 4522 | ac_subst_files='' |
| 4523 | ac_user_opts=' |
| 4524 | enable_option_checking |
| 4525 | +enable_maintainer_mode |
| 4526 | enable_silent_rules |
| 4527 | -enable_maintainer_mode |
| 4528 | -enable_dependency_tracking |
| 4529 | -with_gnu_ld |
| 4530 | +enable_static |
| 4531 | enable_shared |
| 4532 | -enable_static |
| 4533 | with_pic |
| 4534 | enable_fast_install |
| 4535 | +enable_dependency_tracking |
| 4536 | +with_gnu_ld |
| 4537 | with_sysroot |
| 4538 | enable_libtool_lock |
| 4539 | enable_nls |
| 4540 | with_locales_dir |
| 4541 | +enable_gtk3 |
| 4542 | +enable_wnck3 |
| 4543 | enable_wnck |
| 4544 | enable_gksu |
| 4545 | with_skel |
| 4546 | @@ -934,9 +913,8 @@ |
| 4547 | fi |
| 4548 | |
| 4549 | case $ac_option in |
| 4550 | - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 4551 | - *=) ac_optarg= ;; |
| 4552 | - *) ac_optarg=yes ;; |
| 4553 | + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 4554 | + *) ac_optarg=yes ;; |
| 4555 | esac |
| 4556 | |
| 4557 | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 4558 | @@ -981,7 +959,7 @@ |
| 4559 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 4560 | # Reject names that are not valid shell variable names. |
| 4561 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 4562 | - as_fn_error $? "invalid feature name: $ac_useropt" |
| 4563 | + as_fn_error "invalid feature name: $ac_useropt" |
| 4564 | ac_useropt_orig=$ac_useropt |
| 4565 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 4566 | case $ac_user_opts in |
| 4567 | @@ -1007,7 +985,7 @@ |
| 4568 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 4569 | # Reject names that are not valid shell variable names. |
| 4570 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 4571 | - as_fn_error $? "invalid feature name: $ac_useropt" |
| 4572 | + as_fn_error "invalid feature name: $ac_useropt" |
| 4573 | ac_useropt_orig=$ac_useropt |
| 4574 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 4575 | case $ac_user_opts in |
| 4576 | @@ -1211,7 +1189,7 @@ |
| 4577 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 4578 | # Reject names that are not valid shell variable names. |
| 4579 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 4580 | - as_fn_error $? "invalid package name: $ac_useropt" |
| 4581 | + as_fn_error "invalid package name: $ac_useropt" |
| 4582 | ac_useropt_orig=$ac_useropt |
| 4583 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 4584 | case $ac_user_opts in |
| 4585 | @@ -1227,7 +1205,7 @@ |
| 4586 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 4587 | # Reject names that are not valid shell variable names. |
| 4588 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 4589 | - as_fn_error $? "invalid package name: $ac_useropt" |
| 4590 | + as_fn_error "invalid package name: $ac_useropt" |
| 4591 | ac_useropt_orig=$ac_useropt |
| 4592 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 4593 | case $ac_user_opts in |
| 4594 | @@ -1257,8 +1235,8 @@ |
| 4595 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 4596 | x_libraries=$ac_optarg ;; |
| 4597 | |
| 4598 | - -*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 4599 | -Try \`$0 --help' for more information" |
| 4600 | + -*) as_fn_error "unrecognized option: \`$ac_option' |
| 4601 | +Try \`$0 --help' for more information." |
| 4602 | ;; |
| 4603 | |
| 4604 | *=*) |
| 4605 | @@ -1266,7 +1244,7 @@ |
| 4606 | # Reject names that are not valid shell variable names. |
| 4607 | case $ac_envvar in #( |
| 4608 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 4609 | - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 4610 | + as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 4611 | esac |
| 4612 | eval $ac_envvar=\$ac_optarg |
| 4613 | export $ac_envvar ;; |
| 4614 | @@ -1276,7 +1254,7 @@ |
| 4615 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 4616 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 4617 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 4618 | - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 4619 | + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 4620 | ;; |
| 4621 | |
| 4622 | esac |
| 4623 | @@ -1284,13 +1262,13 @@ |
| 4624 | |
| 4625 | if test -n "$ac_prev"; then |
| 4626 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 4627 | - as_fn_error $? "missing argument to $ac_option" |
| 4628 | + as_fn_error "missing argument to $ac_option" |
| 4629 | fi |
| 4630 | |
| 4631 | if test -n "$ac_unrecognized_opts"; then |
| 4632 | case $enable_option_checking in |
| 4633 | no) ;; |
| 4634 | - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 4635 | + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 4636 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 4637 | esac |
| 4638 | fi |
| 4639 | @@ -1313,7 +1291,7 @@ |
| 4640 | [\\/$]* | ?:[\\/]* ) continue;; |
| 4641 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 4642 | esac |
| 4643 | - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 4644 | + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 4645 | done |
| 4646 | |
| 4647 | # There might be people who depend on the old broken behavior: `$host' |
| 4648 | @@ -1327,6 +1305,8 @@ |
| 4649 | if test "x$host_alias" != x; then |
| 4650 | if test "x$build_alias" = x; then |
| 4651 | cross_compiling=maybe |
| 4652 | + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 4653 | + If a cross compiler is detected then cross compile mode will be used." >&2 |
| 4654 | elif test "x$build_alias" != "x$host_alias"; then |
| 4655 | cross_compiling=yes |
| 4656 | fi |
| 4657 | @@ -1341,9 +1321,9 @@ |
| 4658 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 4659 | ac_ls_di=`ls -di .` && |
| 4660 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 4661 | - as_fn_error $? "working directory cannot be determined" |
| 4662 | + as_fn_error "working directory cannot be determined" |
| 4663 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 4664 | - as_fn_error $? "pwd does not report name of working directory" |
| 4665 | + as_fn_error "pwd does not report name of working directory" |
| 4666 | |
| 4667 | |
| 4668 | # Find the source files, if location was not specified. |
| 4669 | @@ -1382,11 +1362,11 @@ |
| 4670 | fi |
| 4671 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 4672 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 4673 | - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 4674 | + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 4675 | fi |
| 4676 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 4677 | ac_abs_confdir=`( |
| 4678 | - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 4679 | + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 4680 | pwd)` |
| 4681 | # When building in place, set srcdir=. |
| 4682 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 4683 | @@ -1412,7 +1392,7 @@ |
| 4684 | # Omit some internal or obsolete options to make the list less imposing. |
| 4685 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 4686 | cat <<_ACEOF |
| 4687 | -\`configure' configures Xfce4 Taskmanager 1.0.1 to adapt to many kinds of systems. |
| 4688 | +\`configure' configures Xfce4 Taskmanager 1.1.0 to adapt to many kinds of systems. |
| 4689 | |
| 4690 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 4691 | |
| 4692 | @@ -1426,7 +1406,7 @@ |
| 4693 | --help=short display options specific to this package |
| 4694 | --help=recursive display the short help of all the included packages |
| 4695 | -V, --version display version information and exit |
| 4696 | - -q, --quiet, --silent do not print \`checking ...' messages |
| 4697 | + -q, --quiet, --silent do not print \`checking...' messages |
| 4698 | --cache-file=FILE cache test results in FILE [disabled] |
| 4699 | -C, --config-cache alias for \`--cache-file=config.cache' |
| 4700 | -n, --no-create do not create output files |
| 4701 | @@ -1484,7 +1464,7 @@ |
| 4702 | |
| 4703 | if test -n "$ac_init_help"; then |
| 4704 | case $ac_init_help in |
| 4705 | - short | recursive ) echo "Configuration of Xfce4 Taskmanager 1.0.1:";; |
| 4706 | + short | recursive ) echo "Configuration of Xfce4 Taskmanager 1.1.0:";; |
| 4707 | esac |
| 4708 | cat <<\_ACEOF |
| 4709 | |
| 4710 | @@ -1492,39 +1472,46 @@ |
| 4711 | --disable-option-checking ignore unrecognized --enable/--with options |
| 4712 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 4713 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 4714 | - --enable-silent-rules less verbose build output (undo: "make V=1") |
| 4715 | - --disable-silent-rules verbose build output (undo: "make V=0") |
| 4716 | --enable-maintainer-mode |
| 4717 | enable make rules and dependencies not useful (and |
| 4718 | sometimes confusing) to the casual installer |
| 4719 | + --enable-silent-rules less verbose build output (undo: "make V=1") |
| 4720 | + --disable-silent-rules verbose build output (undo: "make V=0") |
| 4721 | + --enable-static[=PKGS] build static libraries [default=no] |
| 4722 | + --enable-shared[=PKGS] build shared libraries [default=yes] |
| 4723 | + --enable-fast-install[=PKGS] |
| 4724 | + optimize for fast installation [default=yes] |
| 4725 | --enable-dependency-tracking |
| 4726 | do not reject slow dependency extractors |
| 4727 | --disable-dependency-tracking |
| 4728 | speeds up one-time build |
| 4729 | - --enable-shared[=PKGS] build shared libraries [default=yes] |
| 4730 | - --enable-static[=PKGS] build static libraries [default=yes] |
| 4731 | - --enable-fast-install[=PKGS] |
| 4732 | - optimize for fast installation [default=yes] |
| 4733 | --disable-libtool-lock avoid locking (might break parallel builds) |
| 4734 | --disable-nls do not use Native Language Support |
| 4735 | + --enable-gtk3 Enable checking for GTK+ 3 support |
| 4736 | + (default=no) |
| 4737 | + --disable-gtk3 Disable checking for GTK+ 3 support |
| 4738 | + --enable-wnck3 Enable checking for building with libwnck3 for |
| 4739 | + window icons/names (default=yes) |
| 4740 | + --disable-wnck3 Disable checking for building with libwnck3 for |
| 4741 | + window icons/names |
| 4742 | --enable-wnck Enable checking for building with libwnck for window |
| 4743 | - icons/names (default=[yes]) |
| 4744 | + icons/names (default=yes) |
| 4745 | --disable-wnck Disable checking for building with libwnck for |
| 4746 | window icons/names |
| 4747 | --enable-gksu Enable checking for building with libgksu to run as |
| 4748 | - root (default=[yes]) |
| 4749 | + root (default=yes) |
| 4750 | --disable-gksu Disable checking for building with libgksu to run as |
| 4751 | root |
| 4752 | --enable-debug[=no|minimum|yes|full] |
| 4753 | - Build with debugging support [default=[]] |
| 4754 | + Build with debugging support [default=minimum] |
| 4755 | --disable-debug Include no debugging support |
| 4756 | |
| 4757 | Optional Packages: |
| 4758 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 4759 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 4760 | - --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 4761 | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 4762 | both] |
| 4763 | + --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 4764 | --with-sysroot=DIR Search for dependent libraries within DIR |
| 4765 | (or the compiler's sysroot if not specified). |
| 4766 | |
| 4767 | @@ -1538,7 +1525,7 @@ |
| 4768 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 4769 | nonstandard directory <lib dir> |
| 4770 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 4771 | - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 4772 | + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 4773 | you have headers in a nonstandard directory <include dir> |
| 4774 | CPP C preprocessor |
| 4775 | PKG_CONFIG path to pkg-config utility |
| 4776 | @@ -1614,10 +1601,10 @@ |
| 4777 | test -n "$ac_init_help" && exit $ac_status |
| 4778 | if $ac_init_version; then |
| 4779 | cat <<\_ACEOF |
| 4780 | -Xfce4 Taskmanager configure 1.0.1 |
| 4781 | -generated by GNU Autoconf 2.69 |
| 4782 | +Xfce4 Taskmanager configure 1.1.0 |
| 4783 | +generated by GNU Autoconf 2.64 |
| 4784 | |
| 4785 | -Copyright (C) 2012 Free Software Foundation, Inc. |
| 4786 | +Copyright (C) 2009 Free Software Foundation, Inc. |
| 4787 | This configure script is free software; the Free Software Foundation |
| 4788 | gives unlimited permission to copy, distribute and modify it. |
| 4789 | |
| 4790 | @@ -1664,8 +1651,8 @@ |
| 4791 | |
| 4792 | ac_retval=1 |
| 4793 | fi |
| 4794 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 4795 | - as_fn_set_status $ac_retval |
| 4796 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 4797 | + return $ac_retval |
| 4798 | |
| 4799 | } # ac_fn_c_try_compile |
| 4800 | |
| 4801 | @@ -1696,7 +1683,7 @@ |
| 4802 | test ! -s conftest.err |
| 4803 | } && test -s conftest$ac_exeext && { |
| 4804 | test "$cross_compiling" = yes || |
| 4805 | - test -x conftest$ac_exeext |
| 4806 | + $as_test_x conftest$ac_exeext |
| 4807 | }; then : |
| 4808 | ac_retval=0 |
| 4809 | else |
| 4810 | @@ -1710,8 +1697,8 @@ |
| 4811 | # interfere with the next link command; also delete a directory that is |
| 4812 | # left behind by Apple's compiler. We do this before executing the actions. |
| 4813 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 4814 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 4815 | - as_fn_set_status $ac_retval |
| 4816 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 4817 | + return $ac_retval |
| 4818 | |
| 4819 | } # ac_fn_c_try_link |
| 4820 | |
| 4821 | @@ -1724,7 +1711,7 @@ |
| 4822 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 4823 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 4824 | $as_echo_n "checking for $2... " >&6; } |
| 4825 | -if eval \${$3+:} false; then : |
| 4826 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 4827 | $as_echo_n "(cached) " >&6 |
| 4828 | else |
| 4829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4830 | @@ -1742,7 +1729,7 @@ |
| 4831 | eval ac_res=\$$3 |
| 4832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 4833 | $as_echo "$ac_res" >&6; } |
| 4834 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 4835 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 4836 | |
| 4837 | } # ac_fn_c_check_header_compile |
| 4838 | |
| 4839 | @@ -1767,7 +1754,7 @@ |
| 4840 | mv -f conftest.er1 conftest.err |
| 4841 | fi |
| 4842 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4843 | - test $ac_status = 0; } > conftest.i && { |
| 4844 | + test $ac_status = 0; } >/dev/null && { |
| 4845 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4846 | test ! -s conftest.err |
| 4847 | }; then : |
| 4848 | @@ -1778,8 +1765,8 @@ |
| 4849 | |
| 4850 | ac_retval=1 |
| 4851 | fi |
| 4852 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 4853 | - as_fn_set_status $ac_retval |
| 4854 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 4855 | + return $ac_retval |
| 4856 | |
| 4857 | } # ac_fn_c_try_cpp |
| 4858 | |
| 4859 | @@ -1820,8 +1807,8 @@ |
| 4860 | ac_retval=$ac_status |
| 4861 | fi |
| 4862 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 4863 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 4864 | - as_fn_set_status $ac_retval |
| 4865 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 4866 | + return $ac_retval |
| 4867 | |
| 4868 | } # ac_fn_c_try_run |
| 4869 | |
| 4870 | @@ -1833,7 +1820,7 @@ |
| 4871 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 4872 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 4873 | $as_echo_n "checking for $2... " >&6; } |
| 4874 | -if eval \${$3+:} false; then : |
| 4875 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 4876 | $as_echo_n "(cached) " >&6 |
| 4877 | else |
| 4878 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4879 | @@ -1888,7 +1875,7 @@ |
| 4880 | eval ac_res=\$$3 |
| 4881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 4882 | $as_echo "$ac_res" >&6; } |
| 4883 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 4884 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 4885 | |
| 4886 | } # ac_fn_c_check_func |
| 4887 | |
| 4888 | @@ -1900,10 +1887,10 @@ |
| 4889 | ac_fn_c_check_header_mongrel () |
| 4890 | { |
| 4891 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 4892 | - if eval \${$3+:} false; then : |
| 4893 | + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 4894 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 4895 | $as_echo_n "checking for $2... " >&6; } |
| 4896 | -if eval \${$3+:} false; then : |
| 4897 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 4898 | $as_echo_n "(cached) " >&6 |
| 4899 | fi |
| 4900 | eval ac_res=\$$3 |
| 4901 | @@ -1939,7 +1926,7 @@ |
| 4902 | else |
| 4903 | ac_header_preproc=no |
| 4904 | fi |
| 4905 | -rm -f conftest.err conftest.i conftest.$ac_ext |
| 4906 | +rm -f conftest.err conftest.$ac_ext |
| 4907 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 4908 | $as_echo "$ac_header_preproc" >&6; } |
| 4909 | |
| 4910 | @@ -1962,15 +1949,17 @@ |
| 4911 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 4912 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 4913 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 4914 | -( $as_echo "## ---------------------------------------- ## |
| 4915 | +( cat <<\_ASBOX |
| 4916 | +## ---------------------------------------- ## |
| 4917 | ## Report this to http://bugzilla.xfce.org/ ## |
| 4918 | -## ---------------------------------------- ##" |
| 4919 | +## ---------------------------------------- ## |
| 4920 | +_ASBOX |
| 4921 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
| 4922 | ;; |
| 4923 | esac |
| 4924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 4925 | $as_echo_n "checking for $2... " >&6; } |
| 4926 | -if eval \${$3+:} false; then : |
| 4927 | +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 4928 | $as_echo_n "(cached) " >&6 |
| 4929 | else |
| 4930 | eval "$3=\$ac_header_compiler" |
| 4931 | @@ -1979,15 +1968,15 @@ |
| 4932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 4933 | $as_echo "$ac_res" >&6; } |
| 4934 | fi |
| 4935 | - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 4936 | + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 4937 | |
| 4938 | } # ac_fn_c_check_header_mongrel |
| 4939 | cat >config.log <<_ACEOF |
| 4940 | This file contains any messages produced by compilers while |
| 4941 | running configure, to aid debugging if configure makes a mistake. |
| 4942 | |
| 4943 | -It was created by Xfce4 Taskmanager $as_me 1.0.1, which was |
| 4944 | -generated by GNU Autoconf 2.69. Invocation command line was |
| 4945 | +It was created by Xfce4 Taskmanager $as_me 1.1.0, which was |
| 4946 | +generated by GNU Autoconf 2.64. Invocation command line was |
| 4947 | |
| 4948 | $ $0 $@ |
| 4949 | |
| 4950 | @@ -2097,9 +2086,11 @@ |
| 4951 | { |
| 4952 | echo |
| 4953 | |
| 4954 | - $as_echo "## ---------------- ## |
| 4955 | + cat <<\_ASBOX |
| 4956 | +## ---------------- ## |
| 4957 | ## Cache variables. ## |
| 4958 | -## ---------------- ##" |
| 4959 | +## ---------------- ## |
| 4960 | +_ASBOX |
| 4961 | echo |
| 4962 | # The following way of writing the cache mishandles newlines in values, |
| 4963 | ( |
| 4964 | @@ -2133,9 +2124,11 @@ |
| 4965 | ) |
| 4966 | echo |
| 4967 | |
| 4968 | - $as_echo "## ----------------- ## |
| 4969 | + cat <<\_ASBOX |
| 4970 | +## ----------------- ## |
| 4971 | ## Output variables. ## |
| 4972 | -## ----------------- ##" |
| 4973 | +## ----------------- ## |
| 4974 | +_ASBOX |
| 4975 | echo |
| 4976 | for ac_var in $ac_subst_vars |
| 4977 | do |
| 4978 | @@ -2148,9 +2141,11 @@ |
| 4979 | echo |
| 4980 | |
| 4981 | if test -n "$ac_subst_files"; then |
| 4982 | - $as_echo "## ------------------- ## |
| 4983 | + cat <<\_ASBOX |
| 4984 | +## ------------------- ## |
| 4985 | ## File substitutions. ## |
| 4986 | -## ------------------- ##" |
| 4987 | +## ------------------- ## |
| 4988 | +_ASBOX |
| 4989 | echo |
| 4990 | for ac_var in $ac_subst_files |
| 4991 | do |
| 4992 | @@ -2164,9 +2159,11 @@ |
| 4993 | fi |
| 4994 | |
| 4995 | if test -s confdefs.h; then |
| 4996 | - $as_echo "## ----------- ## |
| 4997 | + cat <<\_ASBOX |
| 4998 | +## ----------- ## |
| 4999 | ## confdefs.h. ## |
| 5000 | -## ----------- ##" |
The diff has been truncated for viewing.


Text conflict in src/task- manager- freebsd. c
1 conflicts encountered.