Mercurial > hg > svcore
comparison configure @ 1157:8a1328ab9c48
Update acinclude files to look for qt5-qmake as well as qmake-qt5
author | Chris Cannam |
---|---|
date | Sat, 30 Jan 2016 12:05:14 +0000 |
parents | def2db9c4ab0 |
children | 0ad516dc5d8d |
comparison
equal
deleted
inserted
replaced
1137:6d550a16f7d6 | 1157:8a1328ab9c48 |
---|---|
4127 fi | 4127 fi |
4128 | 4128 |
4129 | 4129 |
4130 fi | 4130 fi |
4131 if test x$QMAKE = x ; then | 4131 if test x$QMAKE = x ; then |
4132 # Extract the first word of "qt5-qmake", so it can be a program name with args. | |
4133 set dummy qt5-qmake; ac_word=$2 | |
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4135 $as_echo_n "checking for $ac_word... " >&6; } | |
4136 if ${ac_cv_prog_QMAKE+:} false; then : | |
4137 $as_echo_n "(cached) " >&6 | |
4138 else | |
4139 if test -n "$QMAKE"; then | |
4140 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | |
4141 else | |
4142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4143 for as_dir in $QTDIR/bin/ | |
4144 do | |
4145 IFS=$as_save_IFS | |
4146 test -z "$as_dir" && as_dir=. | |
4147 for ac_exec_ext in '' $ac_executable_extensions; do | |
4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4149 ac_cv_prog_QMAKE="$QTDIR/bin/qt5-qmake" | |
4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4151 break 2 | |
4152 fi | |
4153 done | |
4154 done | |
4155 IFS=$as_save_IFS | |
4156 | |
4157 fi | |
4158 fi | |
4159 QMAKE=$ac_cv_prog_QMAKE | |
4160 if test -n "$QMAKE"; then | |
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | |
4162 $as_echo "$QMAKE" >&6; } | |
4163 else | |
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4165 $as_echo "no" >&6; } | |
4166 fi | |
4167 | |
4168 | |
4169 fi | |
4170 if test x$QMAKE = x ; then | |
4132 # Extract the first word of "qmake", so it can be a program name with args. | 4171 # Extract the first word of "qmake", so it can be a program name with args. |
4133 set dummy qmake; ac_word=$2 | 4172 set dummy qmake; ac_word=$2 |
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4135 $as_echo_n "checking for $ac_word... " >&6; } | 4174 $as_echo_n "checking for $ac_word... " >&6; } |
4136 if ${ac_cv_prog_QMAKE+:} false; then : | 4175 if ${ac_cv_prog_QMAKE+:} false; then : |
4223 IFS=$as_save_IFS | 4262 IFS=$as_save_IFS |
4224 test -z "$as_dir" && as_dir=. | 4263 test -z "$as_dir" && as_dir=. |
4225 for ac_exec_ext in '' $ac_executable_extensions; do | 4264 for ac_exec_ext in '' $ac_executable_extensions; do |
4226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4227 ac_cv_prog_QMAKE="qmake-qt5" | 4266 ac_cv_prog_QMAKE="qmake-qt5" |
4267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4268 break 2 | |
4269 fi | |
4270 done | |
4271 done | |
4272 IFS=$as_save_IFS | |
4273 | |
4274 fi | |
4275 fi | |
4276 QMAKE=$ac_cv_prog_QMAKE | |
4277 if test -n "$QMAKE"; then | |
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | |
4279 $as_echo "$QMAKE" >&6; } | |
4280 else | |
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4282 $as_echo "no" >&6; } | |
4283 fi | |
4284 | |
4285 | |
4286 fi | |
4287 if test x$QMAKE = x ; then | |
4288 # Extract the first word of "qt5-qmake", so it can be a program name with args. | |
4289 set dummy qt5-qmake; ac_word=$2 | |
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4291 $as_echo_n "checking for $ac_word... " >&6; } | |
4292 if ${ac_cv_prog_QMAKE+:} false; then : | |
4293 $as_echo_n "(cached) " >&6 | |
4294 else | |
4295 if test -n "$QMAKE"; then | |
4296 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | |
4297 else | |
4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4299 for as_dir in $PATH | |
4300 do | |
4301 IFS=$as_save_IFS | |
4302 test -z "$as_dir" && as_dir=. | |
4303 for ac_exec_ext in '' $ac_executable_extensions; do | |
4304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4305 ac_cv_prog_QMAKE="qt5-qmake" | |
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4229 break 2 | 4307 break 2 |
4230 fi | 4308 fi |
4231 done | 4309 done |
4232 done | 4310 done |