| @@ -1,138 +1,389 @@ | | | @@ -1,138 +1,389 @@ |
1 | $NetBSD: patch-configure,v 1.7 2018/08/12 08:33:55 maya Exp $ | | 1 | $NetBSD: patch-configure,v 1.8 2018/12/26 10:45:46 adam Exp $ |
2 | | | 2 | |
3 | Regen. | | 3 | Regen. |
4 | | | 4 | |
5 | install .oct loadable modules with INSTALL_LIB to avoid stripping them | | 5 | install .oct loadable modules with INSTALL_LIB to avoid stripping them |
6 | | | 6 | |
7 | we pass and assume a given MACHINE_GNU_PLATFORM, but this package did not | | 7 | we pass and assume a given MACHINE_GNU_PLATFORM, but this package did not |
8 | use this value due to an error. | | 8 | use this value due to an error. |
9 | the guess it had for linux (x86_64-unknown-linux-gnu), seems to trample | | 9 | the guess it had for linux (x86_64-unknown-linux-gnu), seems to trample |
10 | over our own tools: | | 10 | over our own tools: |
11 | https://mail-index.netbsd.org/pkgsrc-users/2014/03/26/msg019464.html | | 11 | https://mail-index.netbsd.org/pkgsrc-users/2014/03/26/msg019464.html |
12 | | | 12 | |
13 | Allow overriding MKOCTFILE_F77 so we can provide the full path to gfortran | | 13 | Allow overriding MKOCTFILE_F77 so we can provide the full path to gfortran |
14 | (for building octave-forge packages like control) | | 14 | (for building octave-forge packages like control) |
15 | | | 15 | |
16 | Additional changes are due to autoconf changes. | | 16 | Additional changes are due to autoconf changes. |
17 | | | 17 | |
18 | --- configure.orig 2018-08-09 18:20:32.000000000 +0000 | | 18 | --- configure.orig 2018-08-09 18:20:32.000000000 +0000 |
19 | +++ configure | | 19 | +++ configure |
20 | @@ -1733,6 +1733,7 @@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE | | 20 | @@ -761,10 +761,6 @@ ac_ct_QHELPGENERATOR |
| | | 21 | QHELPGENERATOR |
| | | 22 | ac_ct_QHELPGENERATOR_QTVER |
| | | 23 | QHELPGENERATOR_QTVER |
| | | 24 | -ac_ct_QCOLLECTIONGENERATOR |
| | | 25 | -QCOLLECTIONGENERATOR |
| | | 26 | -ac_ct_QCOLLECTIONGENERATOR_QTVER |
| | | 27 | -QCOLLECTIONGENERATOR_QTVER |
| | | 28 | ac_ct_LRELEASE |
| | | 29 | LRELEASE |
| | | 30 | ac_ct_LRELEASE_QTVER |
| | | 31 | @@ -1733,6 +1729,7 @@ INCLUDE_NEXT_AS_FIRST_DIRECTIVE |
21 | INCLUDE_NEXT | | 32 | INCLUDE_NEXT |
22 | LIB_CRYPTO | | 33 | LIB_CRYPTO |
23 | pkglibexecdir | | 34 | pkglibexecdir |
24 | +runstatedir | | 35 | +runstatedir |
25 | lispdir | | 36 | lispdir |
26 | REPLACE_FDOPENDIR | | 37 | REPLACE_FDOPENDIR |
27 | REPLACE_DIRFD | | 38 | REPLACE_DIRFD |
28 | @@ -2092,6 +2093,7 @@ PYTHON | | 39 | @@ -2092,6 +2089,7 @@ PYTHON |
29 | DEFAULT_PAGER | | 40 | DEFAULT_PAGER |
30 | GNUPLOT | | 41 | GNUPLOT |
31 | GHOSTSCRIPT | | 42 | GHOSTSCRIPT |
32 | +INSTALL_LIB | | 43 | +INSTALL_LIB |
33 | LN_S | | 44 | LN_S |
34 | REPRODUCIBLE_TAR_FLAGS | | 45 | REPRODUCIBLE_TAR_FLAGS |
35 | TEXI2PDF | | 46 | TEXI2PDF |
36 | @@ -2221,7 +2223,6 @@ infodir | | 47 | @@ -2221,7 +2219,6 @@ infodir |
37 | docdir | | 48 | docdir |
38 | oldincludedir | | 49 | oldincludedir |
39 | includedir | | 50 | includedir |
40 | -runstatedir | | 51 | -runstatedir |
41 | localstatedir | | 52 | localstatedir |
42 | sharedstatedir | | 53 | sharedstatedir |
43 | sysconfdir | | 54 | sysconfdir |
44 | @@ -2446,7 +2447,6 @@ datadir='${datarootdir}' | | 55 | @@ -2446,7 +2443,6 @@ datadir='${datarootdir}' |
45 | sysconfdir='${prefix}/etc' | | 56 | sysconfdir='${prefix}/etc' |
46 | sharedstatedir='${prefix}/com' | | 57 | sharedstatedir='${prefix}/com' |
47 | localstatedir='${prefix}/var' | | 58 | localstatedir='${prefix}/var' |
48 | -runstatedir='${localstatedir}/run' | | 59 | -runstatedir='${localstatedir}/run' |
49 | includedir='${prefix}/include' | | 60 | includedir='${prefix}/include' |
50 | oldincludedir='/usr/include' | | 61 | oldincludedir='/usr/include' |
51 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | | 62 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
52 | @@ -2699,15 +2699,6 @@ do | | 63 | @@ -2699,15 +2695,6 @@ do |
53 | | -silent | --silent | --silen | --sile | --sil) | | 64 | | -silent | --silent | --silen | --sile | --sil) |
54 | silent=yes ;; | | 65 | silent=yes ;; |
55 | | | 66 | |
56 | - -runstatedir | --runstatedir | --runstatedi | --runstated \ | | 67 | - -runstatedir | --runstatedir | --runstatedi | --runstated \ |
57 | - | --runstate | --runstat | --runsta | --runst | --runs \ | | 68 | - | --runstate | --runstat | --runsta | --runst | --runs \ |
58 | - | --run | --ru | --r) | | 69 | - | --run | --ru | --r) |
59 | - ac_prev=runstatedir ;; | | 70 | - ac_prev=runstatedir ;; |
60 | - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | | 71 | - -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
61 | - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | | 72 | - | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
62 | - | --run=* | --ru=* | --r=*) | | 73 | - | --run=* | --ru=* | --r=*) |
63 | - runstatedir=$ac_optarg ;; | | 74 | - runstatedir=$ac_optarg ;; |
64 | - | | 75 | - |
65 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | | 76 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
66 | ac_prev=sbindir ;; | | 77 | ac_prev=sbindir ;; |
67 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | | 78 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
68 | @@ -2845,7 +2836,7 @@ fi | | 79 | @@ -2845,7 +2832,7 @@ fi |
69 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | | 80 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
70 | datadir sysconfdir sharedstatedir localstatedir includedir \ | | 81 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
71 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | | 82 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
72 | - libdir localedir mandir runstatedir | | 83 | - libdir localedir mandir runstatedir |
73 | + libdir localedir mandir | | 84 | + libdir localedir mandir |
74 | do | | 85 | do |
75 | eval ac_val=\$$ac_var | | 86 | eval ac_val=\$$ac_var |
76 | # Remove trailing slashes. | | 87 | # Remove trailing slashes. |
77 | @@ -2998,7 +2989,6 @@ Fine tuning of the installation director | | 88 | @@ -2998,7 +2985,6 @@ Fine tuning of the installation director |
78 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | | 89 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
79 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | | 90 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
80 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | | 91 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
81 | - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] | | 92 | - --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
82 | --libdir=DIR object code libraries [EPREFIX/lib] | | 93 | --libdir=DIR object code libraries [EPREFIX/lib] |
83 | --includedir=DIR C header files [PREFIX/include] | | 94 | --includedir=DIR C header files [PREFIX/include] |
84 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | | 95 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
85 | @@ -9414,7 +9404,10 @@ fi | | 96 | @@ -6043,7 +6029,7 @@ case $host_os in *\ *) host_os=`echo "$h |
| | | 97 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configuring Octave for unknown system type" >&5 |
| | | 98 | $as_echo "$as_me: WARNING: configuring Octave for unknown system type" >&2;} |
| | | 99 | fi |
| | | 100 | - canonical_host_type=$host |
| | | 101 | + canonical_host_type=$host_alias |
| | | 102 | |
| | | 103 | if test -z "$host_cpu"; then |
| | | 104 | host_cpu=unknown |
| | | 105 | @@ -9414,7 +9400,10 @@ fi |
86 | | | 106 | |
87 | | | 107 | |
88 | | | 108 | |
89 | -INSTALL_SCRIPT="${INSTALL}" | | 109 | -INSTALL_SCRIPT="${INSTALL}" |
90 | +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | | 110 | +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
91 | + | | 111 | + |
92 | +test -z "$INSTALL_LIB" && INSTALL_LIB='${INSTALL_SCRIPT}' | | 112 | +test -z "$INSTALL_LIB" && INSTALL_LIB='${INSTALL_SCRIPT}' |
93 | + | | 113 | + |
94 | | | 114 | |
95 | | | 115 | |
96 | ## Programs used when running Octave. | | 116 | ## Programs used when running Octave. |
97 | @@ -12974,6 +12967,11 @@ fi | | 117 | @@ -12974,6 +12963,11 @@ fi |
98 | done | | 118 | done |
99 | ;; | | 119 | ;; |
100 | -[lLR]*) | | 120 | -[lLR]*) |
101 | + case $ac_arg in | | 121 | + case $ac_arg in |
102 | + -R*) | | 122 | + -R*) |
103 | + ac_arg="-Wl,$ac_arg" | | 123 | + ac_arg="-Wl,$ac_arg" |
104 | + ;; | | 124 | + ;; |
105 | + esac | | 125 | + esac |
106 | ac_exists=false | | 126 | ac_exists=false |
107 | for ac_i in $ac_cv_f77_libs; do | | 127 | for ac_i in $ac_cv_f77_libs; do |
108 | if test x"$ac_arg" = x"$ac_i"; then | | 128 | if test x"$ac_arg" = x"$ac_i"; then |
109 | @@ -34971,13 +34969,13 @@ if test "$cross_compiling" = yes && test | | 129 | @@ -34971,13 +34965,13 @@ if test "$cross_compiling" = yes && test |
110 | MKOCTFILE_LD_CXX=`echo "$LD_CXX" | $SED "s,$CROSS_TOOL_PREFIX,,"` | | 130 | MKOCTFILE_LD_CXX=`echo "$LD_CXX" | $SED "s,$CROSS_TOOL_PREFIX,,"` |
111 | MKOCTFILE_RANLIB=`echo "$RANLIB" | $SED "s,$CROSS_TOOL_PREFIX,,"` | | 131 | MKOCTFILE_RANLIB=`echo "$RANLIB" | $SED "s,$CROSS_TOOL_PREFIX,,"` |
112 | else | | 132 | else |
113 | - MKOCTFILE_AR="$AR" | | 133 | - MKOCTFILE_AR="$AR" |
114 | - MKOCTFILE_CC="$CC" | | 134 | - MKOCTFILE_CC="$CC" |
115 | - MKOCTFILE_CXX="$CXX" | | 135 | - MKOCTFILE_CXX="$CXX" |
116 | - MKOCTFILE_DL_LD="$DL_LD" | | 136 | - MKOCTFILE_DL_LD="$DL_LD" |
117 | - MKOCTFILE_F77="$F77" | | 137 | - MKOCTFILE_F77="$F77" |
118 | - MKOCTFILE_LD_CXX="$LD_CXX" | | 138 | - MKOCTFILE_LD_CXX="$LD_CXX" |
119 | - MKOCTFILE_RANLIB="$RANLIB" | | 139 | - MKOCTFILE_RANLIB="$RANLIB" |
120 | + MKOCTFILE_AR="${MKOCTFILE_AR-$AR}" | | 140 | + MKOCTFILE_AR="${MKOCTFILE_AR-$AR}" |
121 | + MKOCTFILE_CC="${MKOCTFILE_CC-$CC}" | | 141 | + MKOCTFILE_CC="${MKOCTFILE_CC-$CC}" |
122 | + MKOCTFILE_CXX="${MKOCTFILE_CXX-$CXX}" | | 142 | + MKOCTFILE_CXX="${MKOCTFILE_CXX-$CXX}" |
123 | + MKOCTFILE_DL_LD="${MKOCTFILE_DL_LD-$DL_LD}" | | 143 | + MKOCTFILE_DL_LD="${MKOCTFILE_DL_LD-$DL_LD}" |
124 | + MKOCTFILE_F77="${MKOCTFILE_F77-$F77}" | | 144 | + MKOCTFILE_F77="${MKOCTFILE_F77-$F77}" |
125 | + MKOCTFILE_LD_CXX="${MKOCTFILE_LD_CXX-$LD_CXX}" | | 145 | + MKOCTFILE_LD_CXX="${MKOCTFILE_LD_CXX-$LD_CXX}" |
126 | + MKOCTFILE_RANLIB="${MKOCTFILE_RANLIB-$RANLIB}" | | 146 | + MKOCTFILE_RANLIB="${MKOCTFILE_RANLIB-$RANLIB}" |
127 | fi | | 147 | fi |
128 | { $as_echo "$as_me:${as_lineno-$LINENO}: defining CROSS_TOOL_PREFIX to be $CROSS_TOOL_PREFIX" >&5 | | 148 | { $as_echo "$as_me:${as_lineno-$LINENO}: defining CROSS_TOOL_PREFIX to be $CROSS_TOOL_PREFIX" >&5 |
129 | $as_echo "$as_me: defining CROSS_TOOL_PREFIX to be $CROSS_TOOL_PREFIX" >&6;} | | 149 | $as_echo "$as_me: defining CROSS_TOOL_PREFIX to be $CROSS_TOOL_PREFIX" >&6;} |
130 | @@ -36091,6 +36089,8 @@ else | | 150 | @@ -36091,6 +36085,8 @@ else |
131 | # ifdef _MSC_VER | | 151 | # ifdef _MSC_VER |
132 | # include <malloc.h> | | 152 | # include <malloc.h> |
133 | # define alloca _alloca | | 153 | # define alloca _alloca |
134 | +# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) | | 154 | +# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) |
135 | +# include <stdlib.h> | | 155 | +# include <stdlib.h> |
136 | # else | | 156 | # else |
137 | # ifdef HAVE_ALLOCA_H | | 157 | # ifdef HAVE_ALLOCA_H |
138 | # include <alloca.h> | | 158 | # include <alloca.h> |
| | | 159 | @@ -71654,221 +71650,6 @@ fi |
| | | 160 | |
| | | 161 | |
| | | 162 | if test -n "$ac_tool_prefix"; then |
| | | 163 | - for ac_prog in qcollectiongenerator-qt$qt_version |
| | | 164 | - do |
| | | 165 | - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| | | 166 | -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| | | 167 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| | | 168 | -$as_echo_n "checking for $ac_word... " >&6; } |
| | | 169 | -if ${ac_cv_prog_QCOLLECTIONGENERATOR_QTVER+:} false; then : |
| | | 170 | - $as_echo_n "(cached) " >&6 |
| | | 171 | -else |
| | | 172 | - if test -n "$QCOLLECTIONGENERATOR_QTVER"; then |
| | | 173 | - ac_cv_prog_QCOLLECTIONGENERATOR_QTVER="$QCOLLECTIONGENERATOR_QTVER" # Let the user override the test. |
| | | 174 | -else |
| | | 175 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 176 | -for as_dir in $PATH |
| | | 177 | -do |
| | | 178 | - IFS=$as_save_IFS |
| | | 179 | - test -z "$as_dir" && as_dir=. |
| | | 180 | - for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 181 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 182 | - ac_cv_prog_QCOLLECTIONGENERATOR_QTVER="$ac_tool_prefix$ac_prog" |
| | | 183 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 184 | - break 2 |
| | | 185 | - fi |
| | | 186 | -done |
| | | 187 | - done |
| | | 188 | -IFS=$as_save_IFS |
| | | 189 | - |
| | | 190 | -fi |
| | | 191 | -fi |
| | | 192 | -QCOLLECTIONGENERATOR_QTVER=$ac_cv_prog_QCOLLECTIONGENERATOR_QTVER |
| | | 193 | -if test -n "$QCOLLECTIONGENERATOR_QTVER"; then |
| | | 194 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QCOLLECTIONGENERATOR_QTVER" >&5 |
| | | 195 | -$as_echo "$QCOLLECTIONGENERATOR_QTVER" >&6; } |
| | | 196 | -else |
| | | 197 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| | | 198 | -$as_echo "no" >&6; } |
| | | 199 | -fi |
| | | 200 | - |
| | | 201 | - |
| | | 202 | - test -n "$QCOLLECTIONGENERATOR_QTVER" && break |
| | | 203 | - done |
| | | 204 | -fi |
| | | 205 | -if test -z "$QCOLLECTIONGENERATOR_QTVER"; then |
| | | 206 | - ac_ct_QCOLLECTIONGENERATOR_QTVER=$QCOLLECTIONGENERATOR_QTVER |
| | | 207 | - for ac_prog in qcollectiongenerator-qt$qt_version |
| | | 208 | -do |
| | | 209 | - # Extract the first word of "$ac_prog", so it can be a program name with args. |
| | | 210 | -set dummy $ac_prog; ac_word=$2 |
| | | 211 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| | | 212 | -$as_echo_n "checking for $ac_word... " >&6; } |
| | | 213 | -if ${ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR_QTVER+:} false; then : |
| | | 214 | - $as_echo_n "(cached) " >&6 |
| | | 215 | -else |
| | | 216 | - if test -n "$ac_ct_QCOLLECTIONGENERATOR_QTVER"; then |
| | | 217 | - ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR_QTVER="$ac_ct_QCOLLECTIONGENERATOR_QTVER" # Let the user override the test. |
| | | 218 | -else |
| | | 219 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 220 | -for as_dir in $PATH |
| | | 221 | -do |
| | | 222 | - IFS=$as_save_IFS |
| | | 223 | - test -z "$as_dir" && as_dir=. |
| | | 224 | - for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 225 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 226 | - ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR_QTVER="$ac_prog" |
| | | 227 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 228 | - break 2 |
| | | 229 | - fi |
| | | 230 | -done |
| | | 231 | - done |
| | | 232 | -IFS=$as_save_IFS |
| | | 233 | - |
| | | 234 | -fi |
| | | 235 | -fi |
| | | 236 | -ac_ct_QCOLLECTIONGENERATOR_QTVER=$ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR_QTVER |
| | | 237 | -if test -n "$ac_ct_QCOLLECTIONGENERATOR_QTVER"; then |
| | | 238 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_QCOLLECTIONGENERATOR_QTVER" >&5 |
| | | 239 | -$as_echo "$ac_ct_QCOLLECTIONGENERATOR_QTVER" >&6; } |
| | | 240 | -else |
| | | 241 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| | | 242 | -$as_echo "no" >&6; } |
| | | 243 | -fi |
| | | 244 | - |
| | | 245 | - |
| | | 246 | - test -n "$ac_ct_QCOLLECTIONGENERATOR_QTVER" && break |
| | | 247 | -done |
| | | 248 | - |
| | | 249 | - if test "x$ac_ct_QCOLLECTIONGENERATOR_QTVER" = x; then |
| | | 250 | - QCOLLECTIONGENERATOR_QTVER="" |
| | | 251 | - else |
| | | 252 | - case $cross_compiling:$ac_tool_warned in |
| | | 253 | -yes:) |
| | | 254 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| | | 255 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| | | 256 | -ac_tool_warned=yes ;; |
| | | 257 | -esac |
| | | 258 | - QCOLLECTIONGENERATOR_QTVER=$ac_ct_QCOLLECTIONGENERATOR_QTVER |
| | | 259 | - fi |
| | | 260 | -fi |
| | | 261 | - |
| | | 262 | - if test -z "$QCOLLECTIONGENERATOR_QTVER"; then |
| | | 263 | - if test -n "$ac_tool_prefix"; then |
| | | 264 | - for ac_prog in qcollectiongenerator |
| | | 265 | - do |
| | | 266 | - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| | | 267 | -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| | | 268 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| | | 269 | -$as_echo_n "checking for $ac_word... " >&6; } |
| | | 270 | -if ${ac_cv_prog_QCOLLECTIONGENERATOR+:} false; then : |
| | | 271 | - $as_echo_n "(cached) " >&6 |
| | | 272 | -else |
| | | 273 | - if test -n "$QCOLLECTIONGENERATOR"; then |
| | | 274 | - ac_cv_prog_QCOLLECTIONGENERATOR="$QCOLLECTIONGENERATOR" # Let the user override the test. |
| | | 275 | -else |
| | | 276 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 277 | -for as_dir in $PATH |
| | | 278 | -do |
| | | 279 | - IFS=$as_save_IFS |
| | | 280 | - test -z "$as_dir" && as_dir=. |
| | | 281 | - for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 282 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 283 | - ac_cv_prog_QCOLLECTIONGENERATOR="$ac_tool_prefix$ac_prog" |
| | | 284 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 285 | - break 2 |
| | | 286 | - fi |
| | | 287 | -done |
| | | 288 | - done |
| | | 289 | -IFS=$as_save_IFS |
| | | 290 | - |
| | | 291 | -fi |
| | | 292 | -fi |
| | | 293 | -QCOLLECTIONGENERATOR=$ac_cv_prog_QCOLLECTIONGENERATOR |
| | | 294 | -if test -n "$QCOLLECTIONGENERATOR"; then |
| | | 295 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QCOLLECTIONGENERATOR" >&5 |
| | | 296 | -$as_echo "$QCOLLECTIONGENERATOR" >&6; } |
| | | 297 | -else |
| | | 298 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| | | 299 | -$as_echo "no" >&6; } |
| | | 300 | -fi |
| | | 301 | - |
| | | 302 | - |
| | | 303 | - test -n "$QCOLLECTIONGENERATOR" && break |
| | | 304 | - done |
| | | 305 | -fi |
| | | 306 | -if test -z "$QCOLLECTIONGENERATOR"; then |
| | | 307 | - ac_ct_QCOLLECTIONGENERATOR=$QCOLLECTIONGENERATOR |
| | | 308 | - for ac_prog in qcollectiongenerator |
| | | 309 | -do |
| | | 310 | - # Extract the first word of "$ac_prog", so it can be a program name with args. |
| | | 311 | -set dummy $ac_prog; ac_word=$2 |
| | | 312 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| | | 313 | -$as_echo_n "checking for $ac_word... " >&6; } |
| | | 314 | -if ${ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR+:} false; then : |
| | | 315 | - $as_echo_n "(cached) " >&6 |
| | | 316 | -else |
| | | 317 | - if test -n "$ac_ct_QCOLLECTIONGENERATOR"; then |
| | | 318 | - ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR="$ac_ct_QCOLLECTIONGENERATOR" # Let the user override the test. |
| | | 319 | -else |
| | | 320 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 321 | -for as_dir in $PATH |
| | | 322 | -do |
| | | 323 | - IFS=$as_save_IFS |
| | | 324 | - test -z "$as_dir" && as_dir=. |
| | | 325 | - for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 326 | - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 327 | - ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR="$ac_prog" |
| | | 328 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 329 | - break 2 |
| | | 330 | - fi |
| | | 331 | -done |
| | | 332 | - done |
| | | 333 | -IFS=$as_save_IFS |
| | | 334 | - |
| | | 335 | -fi |
| | | 336 | -fi |
| | | 337 | -ac_ct_QCOLLECTIONGENERATOR=$ac_cv_prog_ac_ct_QCOLLECTIONGENERATOR |
| | | 338 | -if test -n "$ac_ct_QCOLLECTIONGENERATOR"; then |
| | | 339 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_QCOLLECTIONGENERATOR" >&5 |
| | | 340 | -$as_echo "$ac_ct_QCOLLECTIONGENERATOR" >&6; } |
| | | 341 | -else |
| | | 342 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| | | 343 | -$as_echo "no" >&6; } |
| | | 344 | -fi |
| | | 345 | - |
| | | 346 | - |
| | | 347 | - test -n "$ac_ct_QCOLLECTIONGENERATOR" && break |
| | | 348 | -done |
| | | 349 | - |
| | | 350 | - if test "x$ac_ct_QCOLLECTIONGENERATOR" = x; then |
| | | 351 | - QCOLLECTIONGENERATOR="" |
| | | 352 | - else |
| | | 353 | - case $cross_compiling:$ac_tool_warned in |
| | | 354 | -yes:) |
| | | 355 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| | | 356 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| | | 357 | -ac_tool_warned=yes ;; |
| | | 358 | -esac |
| | | 359 | - QCOLLECTIONGENERATOR=$ac_ct_QCOLLECTIONGENERATOR |
| | | 360 | - fi |
| | | 361 | -fi |
| | | 362 | - |
| | | 363 | - if test -n "$QCOLLECTIONGENERATOR"; then |
| | | 364 | - if test -n "$QTCHOOSER"; then |
| | | 365 | - QCOLLECTIONGENERATORFLAGS="-qt$qt_version" |
| | | 366 | - fi |
| | | 367 | - QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE qcollectiongenerator" |
| | | 368 | - else |
| | | 369 | - QT_TOOLS_MISSING="$QT_TOOLS_MISSING qcollectiongenerator" |
| | | 370 | - fi |
| | | 371 | - else |
| | | 372 | - QCOLLECTIONGENERATOR="$QCOLLECTIONGENERATOR_QTVER" |
| | | 373 | - QT_TOOLS_AVAILABLE="$QT_TOOLS_AVAILABLE qcollectiongenerator" |
| | | 374 | - fi |
| | | 375 | - |
| | | 376 | - |
| | | 377 | - if test -n "$ac_tool_prefix"; then |
| | | 378 | for ac_prog in qhelpgenerator-qt$qt_version |
| | | 379 | do |
| | | 380 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| | | 381 | @@ -72084,7 +71865,7 @@ fi |
| | | 382 | |
| | | 383 | |
| | | 384 | if test -n "$QT_TOOLS_MISSING"; then |
| | | 385 | - warn_qt_tools="one or more of the Qt utilities moc, uic, rcc, lrelease, qcollectiongenerator, and qhelpgenerator not found; disabling Qt GUI" |
| | | 386 | + warn_qt_tools="one or more of the Qt utilities moc, uic, rcc, lrelease, and qhelpgenerator not found; disabling Qt GUI" |
| | | 387 | build_qt_gui=no |
| | | 388 | MOC_QTVER= |
| | | 389 | UIC_QTVER= |