comparison configure @ 637:2146130d1236 qt5

Regenerate configure
author Chris Cannam
date Fri, 26 Apr 2013 16:38:05 +0100
parents 7ac63919fd52
children 6d38e9b15a78
comparison
equal deleted inserted replaced
636:e4793ca93ca0 637:2146130d1236
3955 3955
3956 3956
3957 3957
3958 3958
3959 if test x$QMAKE = x ; then 3959 if test x$QMAKE = x ; then
3960 # Extract the first word of "qmake-qt4", so it can be a program name with args. 3960 # Extract the first word of "qmake-qt5", so it can be a program name with args.
3961 set dummy qmake-qt4; ac_word=$2 3961 set dummy qmake-qt5; ac_word=$2
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963 $as_echo_n "checking for $ac_word... " >&6; } 3963 $as_echo_n "checking for $ac_word... " >&6; }
3964 if ${ac_cv_prog_QMAKE+:} false; then : 3964 if ${ac_cv_prog_QMAKE+:} false; then :
3965 $as_echo_n "(cached) " >&6 3965 $as_echo_n "(cached) " >&6
3966 else 3966 else
3972 do 3972 do
3973 IFS=$as_save_IFS 3973 IFS=$as_save_IFS
3974 test -z "$as_dir" && as_dir=. 3974 test -z "$as_dir" && as_dir=.
3975 for ac_exec_ext in '' $ac_executable_extensions; do 3975 for ac_exec_ext in '' $ac_executable_extensions; do
3976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt4" 3977 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt5"
3978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 break 2 3979 break 2
3980 fi 3980 fi
3981 done 3981 done
3982 done 3982 done
4072 fi 4072 fi
4073 4073
4074 4074
4075 fi 4075 fi
4076 if test x$QMAKE = x ; then 4076 if test x$QMAKE = x ; then
4077 # Extract the first word of "qmake-qt4", so it can be a program name with args. 4077 # Extract the first word of "qmake-qt5", so it can be a program name with args.
4078 set dummy qmake-qt4; ac_word=$2 4078 set dummy qmake-qt5; ac_word=$2
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080 $as_echo_n "checking for $ac_word... " >&6; } 4080 $as_echo_n "checking for $ac_word... " >&6; }
4081 if ${ac_cv_prog_QMAKE+:} false; then : 4081 if ${ac_cv_prog_QMAKE+:} false; then :
4082 $as_echo_n "(cached) " >&6 4082 $as_echo_n "(cached) " >&6
4083 else 4083 else
4089 do 4089 do
4090 IFS=$as_save_IFS 4090 IFS=$as_save_IFS
4091 test -z "$as_dir" && as_dir=. 4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do 4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_QMAKE="qmake-qt4" 4094 ac_cv_prog_QMAKE="qmake-qt5"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 break 2 4096 break 2
4097 fi 4097 fi
4098 done 4098 done
4099 done 4099 done
4151 4151
4152 4152
4153 fi 4153 fi
4154 if test x$QMAKE = x ; then 4154 if test x$QMAKE = x ; then
4155 as_fn_error $? " 4155 as_fn_error $? "
4156 Failed to find the required qmake-qt4 or qmake program. Please 4156 Failed to find the required qmake-qt5 or qmake program. Please
4157 ensure you have the necessary Qt4 development files installed, and 4157 ensure you have the necessary Qt5 development files installed, and
4158 if necessary set QTDIR to the location of your Qt4 installation. 4158 if necessary set QTDIR to the location of your Qt5 installation.
4159 " "$LINENO" 5 4159 " "$LINENO" 5
4160 fi 4160 fi
4161 4161
4162 # Suitable versions of qmake should print out something like: 4162 # Suitable versions of qmake should print out something like:
4163 # 4163 #
4167 # This may be translated, so we check only for the numbers (2.x and 4.x 4167 # This may be translated, so we check only for the numbers (2.x and 4.x
4168 # in that order). 4168 # in that order).
4169 # 4169 #
4170 QMAKE_VERSION_OUTPUT=`$QMAKE -v` 4170 QMAKE_VERSION_OUTPUT=`$QMAKE -v`
4171 case "$QMAKE_VERSION_OUTPUT" in 4171 case "$QMAKE_VERSION_OUTPUT" in
4172 *2.*4.*) ;; 4172 *5.*) ;;
4173 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 4173 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
4174 *** The version of qmake found in \"$QMAKE\" looks like it might be 4174 *** The version of qmake found in \"$QMAKE\" looks like it might be
4175 from the wrong version of Qt (Qt4 is required). Please check 4175 from the wrong version of Qt (Qt5 is required). Please check
4176 that this is the correct version of qmake for Qt4 builds. 4176 that this is the correct version of qmake for Qt5 builds.
4177 " >&5 4177 " >&5
4178 $as_echo "$as_me: WARNING: 4178 $as_echo "$as_me: WARNING:
4179 *** The version of qmake found in \"$QMAKE\" looks like it might be 4179 *** The version of qmake found in \"$QMAKE\" looks like it might be
4180 from the wrong version of Qt (Qt4 is required). Please check 4180 from the wrong version of Qt (Qt5 is required). Please check
4181 that this is the correct version of qmake for Qt4 builds. 4181 that this is the correct version of qmake for Qt5 builds.
4182 " >&2;} 4182 " >&2;}
4183 esac 4183 esac
4184 4184
4185 case "`uname`" in 4185 case "`uname`" in
4186 *Darwin*) QMAKE="$QMAKE -spec macx-g++";; 4186 *Darwin*) QMAKE="$QMAKE -spec macx-g++";;