/[storm]/storm/kde/configure
ViewVC logotype

Diff of /storm/kde/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Wed May 21 17:25:11 2003 UTC revision 1.2 by benja, Thu May 22 00:14:08 2003 UTC
# Line 3936  else Line 3936  else
3936    if { (eval echo configure:3937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    if { (eval echo configure:3937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
3937      for file in conftest.*; do      for file in conftest.*; do
3938        case $file in        case $file in
3939        *.c | *.o | *.obj) ;;        *.$ac_ext | *.c | *.o | *.obj) ;;
3940        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;        *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
3941        esac        esac
3942      done      done
# Line 5157  else Line 5157  else
5157  #line 5158 "configure"  #line 5158 "configure"
5158  #include "confdefs.h"  #include "confdefs.h"
5159  #include <stdio.h>  #include <stdio.h>
5160    #include <sys/types.h>
5161  main()  main()
5162  {  {
5163    FILE *f=fopen("conftestval", "w");    FILE *f=fopen("conftestval", "w");
# Line 5165  main() Line 5166  main()
5166    exit(0);    exit(0);
5167  }  }
5168  EOF  EOF
5169  if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5170  then  then
5171    ac_cv_sizeof_int=`cat conftestval`    ac_cv_sizeof_int=`cat conftestval`
5172  else  else
# Line 5184  cat >> confdefs.h <<EOF Line 5185  cat >> confdefs.h <<EOF
5185  EOF  EOF
5186    
5187    echo $ac_n "checking size of long""... $ac_c" 1>&6    echo $ac_n "checking size of long""... $ac_c" 1>&6
5188  echo "configure:5188: checking size of long" >&5  echo "configure:5189: checking size of long" >&5
5189  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
5190    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5191  else  else
# Line 5192  else Line 5193  else
5193    ac_cv_sizeof_long=4    ac_cv_sizeof_long=4
5194  else  else
5195    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5196  #line 5196 "configure"  #line 5197 "configure"
5197  #include "confdefs.h"  #include "confdefs.h"
5198  #include <stdio.h>  #include <stdio.h>
5199    #include <sys/types.h>
5200  main()  main()
5201  {  {
5202    FILE *f=fopen("conftestval", "w");    FILE *f=fopen("conftestval", "w");
# Line 5203  main() Line 5205  main()
5205    exit(0);    exit(0);
5206  }  }
5207  EOF  EOF
5208  if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5209  then  then
5210    ac_cv_sizeof_long=`cat conftestval`    ac_cv_sizeof_long=`cat conftestval`
5211  else  else
# Line 5222  cat >> confdefs.h <<EOF Line 5224  cat >> confdefs.h <<EOF
5224  EOF  EOF
5225    
5226    echo $ac_n "checking size of char *""... $ac_c" 1>&6    echo $ac_n "checking size of char *""... $ac_c" 1>&6
5227  echo "configure:5226: checking size of char *" >&5  echo "configure:5228: checking size of char *" >&5
5228  if eval "test \"`echo '$''{'ac_cv_sizeof_char_p'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_char_p'+set}'`\" = set"; then
5229    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5230  else  else
# Line 5230  else Line 5232  else
5232    ac_cv_sizeof_char_p=4    ac_cv_sizeof_char_p=4
5233  else  else
5234    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5235  #line 5234 "configure"  #line 5236 "configure"
5236  #include "confdefs.h"  #include "confdefs.h"
5237  #include <stdio.h>  #include <stdio.h>
5238    #include <sys/types.h>
5239  main()  main()
5240  {  {
5241    FILE *f=fopen("conftestval", "w");    FILE *f=fopen("conftestval", "w");
# Line 5241  main() Line 5244  main()
5244    exit(0);    exit(0);
5245  }  }
5246  EOF  EOF
5247  if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5248  then  then
5249    ac_cv_sizeof_char_p=`cat conftestval`    ac_cv_sizeof_char_p=`cat conftestval`
5250  else  else
# Line 5260  cat >> confdefs.h <<EOF Line 5263  cat >> confdefs.h <<EOF
5263  EOF  EOF
5264    
5265    echo $ac_n "checking size of char""... $ac_c" 1>&6    echo $ac_n "checking size of char""... $ac_c" 1>&6
5266  echo "configure:5264: checking size of char" >&5  echo "configure:5267: checking size of char" >&5
5267  if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
5268    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5269  else  else
# Line 5268  else Line 5271  else
5271    ac_cv_sizeof_char=1    ac_cv_sizeof_char=1
5272  else  else
5273    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
5274  #line 5272 "configure"  #line 5275 "configure"
5275  #include "confdefs.h"  #include "confdefs.h"
5276  #include <stdio.h>  #include <stdio.h>
5277    #include <sys/types.h>
5278  main()  main()
5279  {  {
5280    FILE *f=fopen("conftestval", "w");    FILE *f=fopen("conftestval", "w");
# Line 5279  main() Line 5283  main()
5283    exit(0);    exit(0);
5284  }  }
5285  EOF  EOF
5286  if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5287  then  then
5288    ac_cv_sizeof_char=`cat conftestval`    ac_cv_sizeof_char=`cat conftestval`
5289  else  else
# Line 5300  EOF Line 5304  EOF
5304    
5305        
5306  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
5307  echo "configure:5304: checking for dlopen in -ldl" >&5  echo "configure:5308: checking for dlopen in -ldl" >&5
5308  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
5309  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5310    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5308  else Line 5312  else
5312    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5313  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
5314  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5315  #line 5312 "configure"  #line 5316 "configure"
5316  #include "confdefs.h"  #include "confdefs.h"
5317  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5318  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5319  int main() { Line 5323  int main() {
5323  dlopen()  dlopen()
5324  ; return 0; }  ; return 0; }
5325  EOF  EOF
5326  if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5327    rm -rf conftest*    rm -rf conftest*
5328    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5329  else  else
# Line 5344  fi Line 5348  fi
5348    
5349    
5350  echo $ac_n "checking for shl_unload in -ldld""... $ac_c" 1>&6  echo $ac_n "checking for shl_unload in -ldld""... $ac_c" 1>&6
5351  echo "configure:5348: checking for shl_unload in -ldld" >&5  echo "configure:5352: checking for shl_unload in -ldld" >&5
5352  ac_lib_var=`echo dld'_'shl_unload | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dld'_'shl_unload | sed 'y%./+-%__p_%'`
5353  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5354    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5352  else Line 5356  else
5356    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5357  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
5358  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5359  #line 5356 "configure"  #line 5360 "configure"
5360  #include "confdefs.h"  #include "confdefs.h"
5361  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5362  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5363  int main() { Line 5367  int main() {
5367  shl_unload()  shl_unload()
5368  ; return 0; }  ; return 0; }
5369  EOF  EOF
5370  if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5371    rm -rf conftest*    rm -rf conftest*
5372    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5373  else  else
# Line 5392  fi Line 5396  fi
5396    
5397    
5398  echo $ac_n "checking for extra includes""... $ac_c" 1>&6  echo $ac_n "checking for extra includes""... $ac_c" 1>&6
5399  echo "configure:5396: checking for extra includes" >&5  echo "configure:5400: checking for extra includes" >&5
5400  # Check whether --with-extra-includes or --without-extra-includes was given.  # Check whether --with-extra-includes or --without-extra-includes was given.
5401  if test "${with_extra_includes+set}" = set; then  if test "${with_extra_includes+set}" = set; then
5402    withval="$with_extra_includes"    withval="$with_extra_includes"
# Line 5423  echo "$ac_t""$kde_use_extra_includes" 1> Line 5427  echo "$ac_t""$kde_use_extra_includes" 1>
5427    
5428  kde_extra_libs=  kde_extra_libs=
5429  echo $ac_n "checking for extra libs""... $ac_c" 1>&6  echo $ac_n "checking for extra libs""... $ac_c" 1>&6
5430  echo "configure:5427: checking for extra libs" >&5  echo "configure:5431: checking for extra libs" >&5
5431  # Check whether --with-extra-libs or --without-extra-libs was given.  # Check whether --with-extra-libs or --without-extra-libs was given.
5432  if test "${with_extra_libs+set}" = set; then  if test "${with_extra_libs+set}" = set; then
5433    withval="$with_extra_libs"    withval="$with_extra_libs"
# Line 5457  echo "$ac_t""$kde_use_extra_libs" 1>&6 Line 5461  echo "$ac_t""$kde_use_extra_libs" 1>&6
5461    
5462    
5463  echo $ac_n "checking for libz""... $ac_c" 1>&6  echo $ac_n "checking for libz""... $ac_c" 1>&6
5464  echo "configure:5461: checking for libz" >&5  echo "configure:5465: checking for libz" >&5
5465  if eval "test \"`echo '$''{'ac_cv_lib_z'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_z'+set}'`\" = set"; then
5466    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5467  else  else
# Line 5474  LIBS="$all_libraries $USER_LDFLAGS -lz $ Line 5478  LIBS="$all_libraries $USER_LDFLAGS -lz $
5478  kde_save_CFLAGS="$CFLAGS"  kde_save_CFLAGS="$CFLAGS"
5479  CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"  CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
5480  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5481  #line 5478 "configure"  #line 5482 "configure"
5482  #include "confdefs.h"  #include "confdefs.h"
5483    
5484  #include<zlib.h>  #include<zlib.h>
# Line 5483  int main() { Line 5487  int main() {
5487  return (zlibVersion() == ZLIB_VERSION);  return (zlibVersion() == ZLIB_VERSION);
5488  ; return 0; }  ; return 0; }
5489  EOF  EOF
5490  if { (eval echo configure:5487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5491    rm -rf conftest*    rm -rf conftest*
5492    eval "ac_cv_lib_z='-lz'"    eval "ac_cv_lib_z='-lz'"
5493  else  else
# Line 5536  fi Line 5540  fi
5540  if test "$kde_use_qt_emb" = "no"; then  if test "$kde_use_qt_emb" = "no"; then
5541    
5542  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
5543  echo "configure:5540: checking for X" >&5  echo "configure:5544: checking for X" >&5
5544    
5545  ac_ext=c  ac_ext=c
5546  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 5570  if test "$ac_x_includes" = NO; then Line 5574  if test "$ac_x_includes" = NO; then
5574    
5575    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5576  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5577  #line 5574 "configure"  #line 5578 "configure"
5578  #include "confdefs.h"  #include "confdefs.h"
5579  #include <$x_direct_test_include>  #include <$x_direct_test_include>
5580  EOF  EOF
5581  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5582  { (eval echo configure:5579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:5583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5583  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5584  if test -z "$ac_err"; then  if test -z "$ac_err"; then
5585    rm -rf conftest*    rm -rf conftest*
# Line 5644  if test "$ac_x_libraries" = NO; then Line 5648  if test "$ac_x_libraries" = NO; then
5648    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5649    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
5650  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5651  #line 5648 "configure"  #line 5652 "configure"
5652  #include "confdefs.h"  #include "confdefs.h"
5653    
5654  int main() {  int main() {
5655  ${x_direct_test_function}()  ${x_direct_test_function}()
5656  ; return 0; }  ; return 0; }
5657  EOF  EOF
5658  if { (eval echo configure:5655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5659    rm -rf conftest*    rm -rf conftest*
5660    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
5661  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 5825  LDFLAGS="$LDFLAGS $X_LDFLAGS" Line 5829  LDFLAGS="$LDFLAGS $X_LDFLAGS"
5829  # libraries we check for below, so use a different variable.  # libraries we check for below, so use a different variable.
5830  #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.  #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
5831  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
5832  echo "configure:5829: checking for IceConnectionNumber in -lICE" >&5  echo "configure:5833: checking for IceConnectionNumber in -lICE" >&5
5833  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
5834  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5835    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 5833  else Line 5837  else
5837    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
5838  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5839  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5840  #line 5837 "configure"  #line 5841 "configure"
5841  #include "confdefs.h"  #include "confdefs.h"
5842  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5843  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 5844  int main() { Line 5848  int main() {
5848  IceConnectionNumber()  IceConnectionNumber()
5849  ; return 0; }  ; return 0; }
5850  EOF  EOF
5851  if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5852    rm -rf conftest*    rm -rf conftest*
5853    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
5854  else  else
# Line 5873  LIB_X11='-lX11 $(LIBSOCKET)' Line 5877  LIB_X11='-lX11 $(LIBSOCKET)'
5877    
5878    
5879  echo $ac_n "checking for libXext""... $ac_c" 1>&6  echo $ac_n "checking for libXext""... $ac_c" 1>&6
5880  echo "configure:5877: checking for libXext" >&5  echo "configure:5881: checking for libXext" >&5
5881  if eval "test \"`echo '$''{'kde_cv_have_libXext'+set}'`\" = set"; then  if eval "test \"`echo '$''{'kde_cv_have_libXext'+set}'`\" = set"; then
5882    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
5883  else  else
# Line 5885  LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLA Line 5889  LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLA
5889  LIBS="-lXext -lX11 $LIBSOCKET"  LIBS="-lXext -lX11 $LIBSOCKET"
5890    
5891  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
5892  #line 5889 "configure"  #line 5893 "configure"
5893  #include "confdefs.h"  #include "confdefs.h"
5894    
5895  #include <stdio.h>  #include <stdio.h>
# Line 5899  printf("hello Xext\n"); Line 5903  printf("hello Xext\n");
5903    
5904  ; return 0; }  ; return 0; }
5905  EOF  EOF
5906  if { (eval echo configure:5903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5907    rm -rf conftest*    rm -rf conftest*
5908    kde_cv_have_libXext=yes    kde_cv_have_libXext=yes
5909  else  else
# Line 5926  them either." 1>&2; exit 1; } Line 5930  them either." 1>&2; exit 1; }
5930  fi  fi
5931    
5932  echo $ac_n "checking for Xinerama""... $ac_c" 1>&6  echo $ac_n "checking for Xinerama""... $ac_c" 1>&6
5933  echo "configure:5930: checking for Xinerama" >&5  echo "configure:5934: checking for Xinerama" >&5
5934    
5935   # Check whether --with-xinerama or --without-xinerama was given.   # Check whether --with-xinerama or --without-xinerama was given.
5936  if test "${with_xinerama+set}" = set; then  if test "${with_xinerama+set}" = set; then
# Line 5956  if test "x$no_xinerama" = "xno"; then Line 5960  if test "x$no_xinerama" = "xno"; then
5960  else  else
5961        
5962            cat > conftest.$ac_ext <<EOF            cat > conftest.$ac_ext <<EOF
5963  #line 5960 "configure"  #line 5964 "configure"
5964  #include "confdefs.h"  #include "confdefs.h"
5965  #include <X11/Xlib.h>  #include <X11/Xlib.h>
5966                          #include <X11/extensions/Xinerama.h>                          #include <X11/extensions/Xinerama.h>
# Line 5964  int main() { Line 5968  int main() {
5968  XineramaIsActive(NULL);  XineramaIsActive(NULL);
5969  ; return 0; }  ; return 0; }
5970  EOF  EOF
5971  if { (eval echo configure:5968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:5972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5972    rm -rf conftest*    rm -rf conftest*
5973    ac_cv_have_xinerama="yes"    ac_cv_have_xinerama="yes"
5974  else  else
# Line 6038  cross_compiling=$ac_cv_prog_cc_cross Line 6042  cross_compiling=$ac_cv_prog_cc_cross
6042    
6043    
6044  echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6  echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
6045  echo "configure:6042: checking for pthread_create in -lpthread" >&5  echo "configure:6046: checking for pthread_create in -lpthread" >&5
6046  ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`  ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
6047  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6048    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6046  else Line 6050  else
6050    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6051  LIBS="-lpthread  $LIBS"  LIBS="-lpthread  $LIBS"
6052  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6053  #line 6050 "configure"  #line 6054 "configure"
6054  #include "confdefs.h"  #include "confdefs.h"
6055  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6056  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 6057  int main() { Line 6061  int main() {
6061  pthread_create()  pthread_create()
6062  ; return 0; }  ; return 0; }
6063  EOF  EOF
6064  if { (eval echo configure:6061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6065    rm -rf conftest*    rm -rf conftest*
6066    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6067  else  else
# Line 6098  fi Line 6102  fi
6102  do  do
6103  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6104  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6105  echo "configure:6102: checking for $ac_hdr" >&5  echo "configure:6106: checking for $ac_hdr" >&5
6106  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6107    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6108  else  else
6109    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6110  #line 6107 "configure"  #line 6111 "configure"
6111  #include "confdefs.h"  #include "confdefs.h"
6112  #include <$ac_hdr>  #include <$ac_hdr>
6113  EOF  EOF
6114  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6115  { (eval echo configure:6112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6116  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6117  if test -z "$ac_err"; then  if test -z "$ac_err"; then
6118    rm -rf conftest*    rm -rf conftest*
# Line 6140  done Line 6144  done
6144          kde_use_kernthreads=no          kde_use_kernthreads=no
6145        else        else
6146                  echo $ac_n "checking for pthread_join in -llthread""... $ac_c" 1>&6                  echo $ac_n "checking for pthread_join in -llthread""... $ac_c" 1>&6
6147  echo "configure:6144: checking for pthread_join in -llthread" >&5  echo "configure:6148: checking for pthread_join in -llthread" >&5
6148  ac_lib_var=`echo lthread'_'pthread_join | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lthread'_'pthread_join | sed 'y%./+-%__p_%'`
6149  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6150    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6148  else Line 6152  else
6152    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
6153  LIBS="-llthread  $LIBS"  LIBS="-llthread  $LIBS"
6154  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6155  #line 6152 "configure"  #line 6156 "configure"
6156  #include "confdefs.h"  #include "confdefs.h"
6157  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6158  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 6159  int main() { Line 6163  int main() {
6163  pthread_join()  pthread_join()
6164  ; return 0; }  ; return 0; }
6165  EOF  EOF
6166  if { (eval echo configure:6163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6167    rm -rf conftest*    rm -rf conftest*
6168    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
6169  else  else
# Line 6189  fi Line 6193  fi
6193        if test -z "$LIBPTHREAD"; then        if test -z "$LIBPTHREAD"; then
6194                    
6195  echo $ac_n "checking whether $CXX supports -pthread""... $ac_c" 1>&6  echo $ac_n "checking whether $CXX supports -pthread""... $ac_c" 1>&6
6196  echo "configure:6193: checking whether $CXX supports -pthread" >&5  echo "configure:6197: checking whether $CXX supports -pthread" >&5
6197  kde_cache=`echo pthread | sed 'y% .=/+-%____p_%'`  kde_cache=`echo pthread | sed 'y% .=/+-%____p_%'`
6198  if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+set}'`\" = set"; then  if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+set}'`\" = set"; then
6199    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6209  ac_link='rm -rf SunWS_cache; ${CXX-g++} Line 6213  ac_link='rm -rf SunWS_cache; ${CXX-g++}
6213    save_CXXFLAGS="$CXXFLAGS"    save_CXXFLAGS="$CXXFLAGS"
6214    CXXFLAGS="$CXXFLAGS -pthread"    CXXFLAGS="$CXXFLAGS -pthread"
6215    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6216  #line 6213 "configure"  #line 6217 "configure"
6217  #include "confdefs.h"  #include "confdefs.h"
6218    
6219  int main() {  int main() {
6220   return 0;   return 0;
6221  ; return 0; }  ; return 0; }
6222  EOF  EOF
6223  if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6224    rm -rf conftest*    rm -rf conftest*
6225    eval "kde_cv_prog_cxx_$kde_cache=yes"    eval "kde_cv_prog_cxx_$kde_cache=yes"
6226  else  else
# Line 6252  fi Line 6256  fi
6256          solaris*)          solaris*)
6257                                    
6258  echo $ac_n "checking whether $CXX supports -mt""... $ac_c" 1>&6  echo $ac_n "checking whether $CXX supports -mt""... $ac_c" 1>&6
6259  echo "configure:6256: checking whether $CXX supports -mt" >&5  echo "configure:6260: checking whether $CXX supports -mt" >&5
6260  kde_cache=`echo mt | sed 'y% .=/+-%____p_%'`  kde_cache=`echo mt | sed 'y% .=/+-%____p_%'`
6261  if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+set}'`\" = set"; then  if eval "test \"`echo '$''{'kde_cv_prog_cxx_$kde_cache'+set}'`\" = set"; then
6262    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 6272  ac_link='rm -rf SunWS_cache; ${CXX-g++} Line 6276  ac_link='rm -rf SunWS_cache; ${CXX-g++}
6276    save_CXXFLAGS="$CXXFLAGS"    save_CXXFLAGS="$CXXFLAGS"
6277    CXXFLAGS="$CXXFLAGS -mt"    CXXFLAGS="$CXXFLAGS -mt"
6278    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6279  #line 6276 "configure"  #line 6280 "configure"
6280  #include "confdefs.h"  #include "confdefs.h"
6281    
6282  int main() {  int main() {
6283   return 0;   return 0;
6284  ; return 0; }  ; return 0; }
6285  EOF  EOF
6286  if { (eval echo configure:6283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6287    rm -rf conftest*    rm -rf conftest*
6288    eval "kde_cv_prog_cxx_$kde_cache=yes"    eval "kde_cv_prog_cxx_$kde_cache=yes"
6289  else  else
# Line 6333  fi Line 6337  fi
6337    
6338    
6339  echo $ac_n "checking for libpng""... $ac_c" 1>&6  echo $ac_n "checking for libpng""... $ac_c" 1>&6
6340  echo "configure:6337: checking for libpng" >&5  echo "configure:6341: checking for libpng" >&5
6341  if eval "test \"`echo '$''{'ac_cv_lib_png'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_png'+set}'`\" = set"; then
6342    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6343  else  else
# Line 6354  ac_link='${CC-cc} -o conftest${ac_exeext Line 6358  ac_link='${CC-cc} -o conftest${ac_exeext
6358  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
6359    
6360  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6361  #line 6358 "configure"  #line 6362 "configure"
6362  #include "confdefs.h"  #include "confdefs.h"
6363            
6364      #include<png.h>      #include<png.h>
# Line 6367  int main() { Line 6371  int main() {
6371            
6372  ; return 0; }  ; return 0; }
6373  EOF  EOF
6374  if { (eval echo configure:6371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6375    rm -rf conftest*    rm -rf conftest*
6376    eval "ac_cv_lib_png='-lpng $LIBZ -lm'"    eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
6377  else  else
# Line 6399  fi Line 6403  fi
6403    
6404    
6405  echo $ac_n "checking for libjpeg6b""... $ac_c" 1>&6  echo $ac_n "checking for libjpeg6b""... $ac_c" 1>&6
6406  echo "configure:6403: checking for libjpeg6b" >&5  echo "configure:6407: checking for libjpeg6b" >&5
6407  if eval "test \"`echo '$''{'ac_cv_lib_jpeg_6b'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_jpeg_6b'+set}'`\" = set"; then
6408    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6409  else  else
# Line 6416  LIBS="$all_libraries $USER_LDFLAGS -ljpe Line 6420  LIBS="$all_libraries $USER_LDFLAGS -ljpe
6420  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
6421  CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"  CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
6422  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6423  #line 6420 "configure"  #line 6424 "configure"
6424  #include "confdefs.h"  #include "confdefs.h"
6425  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6426  struct jpeg_decompress_struct;  struct jpeg_decompress_struct;
# Line 6437  int main() { Line 6441  int main() {
6441  jpeg_CreateDecompress(0L, 0, 0);  jpeg_CreateDecompress(0L, 0, 0);
6442  ; return 0; }  ; return 0; }
6443  EOF  EOF
6444  if { (eval echo configure:6441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6445    rm -rf conftest*    rm -rf conftest*
6446    eval "ac_cv_lib_jpeg_6b=-ljpeg6b"    eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
6447  else  else
# Line 6460  else Line 6464  else
6464    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
6465        
6466  echo $ac_n "checking for libjpeg""... $ac_c" 1>&6  echo $ac_n "checking for libjpeg""... $ac_c" 1>&6
6467  echo "configure:6464: checking for libjpeg" >&5  echo "configure:6468: checking for libjpeg" >&5
6468  if eval "test \"`echo '$''{'ac_cv_lib_jpeg_normal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_jpeg_normal'+set}'`\" = set"; then
6469    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6470  else  else
# Line 6477  LIBS="$all_libraries $USER_LDFLAGS -ljpe Line 6481  LIBS="$all_libraries $USER_LDFLAGS -ljpe
6481  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
6482  CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"  CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
6483  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
6484  #line 6481 "configure"  #line 6485 "configure"
6485  #include "confdefs.h"  #include "confdefs.h"
6486  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6487  struct jpeg_decompress_struct;  struct jpeg_decompress_struct;
# Line 6498  int main() { Line 6502  int main() {
6502  jpeg_CreateDecompress(0L, 0, 0);  jpeg_CreateDecompress(0L, 0, 0);
6503  ; return 0; }  ; return 0; }
6504  EOF  EOF
6505  if { (eval echo configure:6502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6506    rm -rf conftest*    rm -rf conftest*
6507    eval "ac_cv_lib_jpeg_normal=-ljpeg"    eval "ac_cv_lib_jpeg_normal=-ljpeg"
6508  else  else
# Line 6538  for i in $jpeg_incdirs; Line 6542  for i in $jpeg_incdirs;
6542  do  do
6543    for j in jpeglib.h;    for j in jpeglib.h;
6544    do    do
6545      echo "configure: 6542: $i/$j" >&5      echo "configure: 6546: $i/$j" >&5
6546      if test -r "$i/$j"; then      if test -r "$i/$j"; then
6547        echo "taking that" >&5        echo "taking that" >&5
6548        jpeg_incdir=$i        jpeg_incdir=$i
# Line 6701  if test $kde_qtver = 3; then Line 6705  if test $kde_qtver = 3; then
6705  fi  fi
6706    
6707  echo $ac_n "checking for Qt""... $ac_c" 1>&6  echo $ac_n "checking for Qt""... $ac_c" 1>&6
6708  echo "configure:6705: checking for Qt" >&5  echo "configure:6709: checking for Qt" >&5
6709    
6710  if test "x$kde_use_qt_emb" != "xyes"; then  if test "x$kde_use_qt_emb" != "xyes"; then
6711  LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"  LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
# Line 6765  for i in $qt_incdirs; Line 6769  for i in $qt_incdirs;
6769  do  do
6770    for j in $kde_qt_header;    for j in $kde_qt_header;
6771    do    do
6772      echo "configure: 6769: $i/$j" >&5      echo "configure: 6773: $i/$j" >&5
6773      if test -r "$i/$j"; then      if test -r "$i/$j"; then
6774        echo "taking that" >&5        echo "taking that" >&5
6775        qt_incdir=$i        qt_incdir=$i
# Line 6877  cat >> conftest.$ac_ext <<EOF Line 6881  cat >> conftest.$ac_ext <<EOF
6881  EOF  EOF
6882    
6883    
6884  if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6885    rm -f conftest*    rm -f conftest*
6886  else  else
6887    echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
# Line 6942  if test ! "$kde_qt_libs_given" = "yes"; Line 6946  if test ! "$kde_qt_libs_given" = "yes";
6946    
6947    
6948  echo $ac_n "checking if Qt compiles without flags""... $ac_c" 1>&6  echo $ac_n "checking if Qt compiles without flags""... $ac_c" 1>&6
6949  echo "configure:6946: checking if Qt compiles without flags" >&5  echo "configure:6950: checking if Qt compiles without flags" >&5
6950  if eval "test \"`echo '$''{'kde_cv_qt_direct'+set}'`\" = set"; then  if eval "test \"`echo '$''{'kde_cv_qt_direct'+set}'`\" = set"; then
6951    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
6952  else  else
# Line 7038  cat >> conftest.$ac_ext <<EOF Line 7042  cat >> conftest.$ac_ext <<EOF
7042  EOF  EOF
7043    
7044    
7045  if { (eval echo configure:7042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7046    kde_cv_qt_direct="yes"    kde_cv_qt_direct="yes"
7047  else  else
7048    kde_cv_qt_direct="no"    kde_cv_qt_direct="no"
# Line 7108  test -z "$KDE_MT_LDFLAGS" || all_librari Line 7112  test -z "$KDE_MT_LDFLAGS" || all_librari
7112    
7113        
7114     echo $ac_n "checking for moc""... $ac_c" 1>&6     echo $ac_n "checking for moc""... $ac_c" 1>&6
7115  echo "configure:7112: checking for moc" >&5  echo "configure:7116: checking for moc" >&5
7116     if test -n "$MOC"; then     if test -n "$MOC"; then
7117          kde_cv_path="$MOC";          kde_cv_path="$MOC";
7118     else     else
# Line 7174  configure. Line 7178  configure.
7178     if test -z "$UIC_NOT_NEEDED"; then     if test -z "$UIC_NOT_NEEDED"; then
7179            
7180     echo $ac_n "checking for uic""... $ac_c" 1>&6     echo $ac_n "checking for uic""... $ac_c" 1>&6
7181  echo "configure:7178: checking for uic" >&5  echo "configure:7182: checking for uic" >&5
7182     if test -n "$UIC"; then     if test -n "$UIC"; then
7183          kde_cv_path="$UIC";          kde_cv_path="$UIC";
7184     else     else
# Line 7243  configure. Line 7247  configure.
7247       elif test $kde_qtver = 3; then       elif test $kde_qtver = 3; then
7248                
7249      echo $ac_n "checking whether uic supports -L ""... $ac_c" 1>&6      echo $ac_n "checking whether uic supports -L ""... $ac_c" 1>&6
7250  echo "configure:7247: checking whether uic supports -L " >&5  echo "configure:7251: checking whether uic supports -L " >&5
7251      kde_cache=`echo L | sed 'y% .=/+-%____p_%'`      kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
7252      if eval "test \"`echo '$''{'kde_cv_prog_uic_$kde_cache'+set}'`\" = set"; then      if eval "test \"`echo '$''{'kde_cv_prog_uic_$kde_cache'+set}'`\" = set"; then
7253    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7253  else Line 7257  else
7257          <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>          <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
7258  EOT  EOT
7259          ac_uic_testrun="$UIC -L /nonexistant conftest.ui >/dev/null"          ac_uic_testrun="$UIC -L /nonexistant conftest.ui >/dev/null"
7260          if { (eval echo configure:7257: \"$ac_uic_testrun\") 1>&5; (eval $ac_uic_testrun) 2>&5; }; then          if { (eval echo configure:7261: \"$ac_uic_testrun\") 1>&5; (eval $ac_uic_testrun) 2>&5; }; then
7261              eval "kde_cv_prog_uic_$kde_cache=yes"              eval "kde_cv_prog_uic_$kde_cache=yes"
7262          else          else
7263              eval "kde_cv_prog_uic_$kde_cache=no"              eval "kde_cv_prog_uic_$kde_cache=no"
# Line 7275  fi Line 7279  fi
7279    
7280                
7281      echo $ac_n "checking whether uic supports -nounload ""... $ac_c" 1>&6      echo $ac_n "checking whether uic supports -nounload ""... $ac_c" 1>&6
7282  echo "configure:7279: checking whether uic supports -nounload " >&5  echo "configure:7283: checking whether uic supports -nounload " >&5
7283      kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`      kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
7284      if eval "test \"`echo '$''{'kde_cv_prog_uic_$kde_cache'+set}'`\" = set"; then      if eval "test \"`echo '$''{'kde_cv_prog_uic_$kde_cache'+set}'`\" = set"; then
7285    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 7285  else Line 7289  else
7289          <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>          <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
7290  EOT  EOT
7291          ac_uic_testrun="$UIC -nounload  conftest.ui >/dev/null"          ac_uic_testrun="$UIC -nounload  conftest.ui >/dev/null"
7292          if { (eval echo configure:7289: \"$ac_uic_testrun\") 1>&5; (eval $ac_uic_testrun) 2>&5; }; then          if { (eval echo configure:7293: \"$ac_uic_testrun\") 1>&5; (eval $ac_uic_testrun) 2>&5; }; then
7293              eval "kde_cv_prog_uic_$kde_cache=yes"              eval "kde_cv_prog_uic_$kde_cache=yes"
7294          else          else
7295              eval "kde_cv_prog_uic_$kde_cache=no"              eval "kde_cv_prog_uic_$kde_cache=no"
# Line 7330  fi Line 7334  fi
7334    
7335    
7336  echo $ac_n "checking if Qt needs $LIBJPEG""... $ac_c" 1>&6  echo $ac_n "checking if Qt needs $LIBJPEG""... $ac_c" 1>&6
7337  echo "configure:7334: checking if Qt needs $LIBJPEG" >&5  echo "configure:7338: checking if Qt needs $LIBJPEG" >&5
7338  if eval "test \"`echo '$''{'kde_cv_qt_jpeg'+set}'`\" = set"; then  if eval "test \"`echo '$''{'kde_cv_qt_jpeg'+set}'`\" = set"; then
7339    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
7340  else  else
# Line 7352  LIBS=`echo $LIBS | sed "s/$LIBJPEG//"` Line 7356  LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
7356  ac_save_CXXFLAGS="$CXXFLAGS"  ac_save_CXXFLAGS="$CXXFLAGS"
7357  CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"  CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
7358  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
7359  #line 7356 "configure"  #line 7360 "configure"
7360  #include "confdefs.h"  #include "confdefs.h"
7361  #include <qapplication.h>  #include <qapplication.h>
7362  int main() {  int main() {
# Line 7362  int main() { Line 7366  int main() {
7366              QApplication app(argc, argv);              QApplication app(argc, argv);
7367  ; return 0; }  ; return 0; }
7368  EOF  EOF
7369  if { (eval echo configure:7366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:7370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7370    rm -rf conftest*    rm -rf conftest*
7371    eval "kde_cv_qt_jpeg=no"    eval "kde_cv_qt_jpeg=no"
7372  else  else
# Line 7413  test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_Q Line 7417  test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_Q
7417    
7418    
7419  echo $ac_n "checking for rpath""... $ac_c" 1>&6  echo $ac_n "checking for rpath""... $ac_c" 1>&6
7420  echo "configure:7417: checking for rpath" >&5  echo "configure:7421: checking for rpath" >&5
7421  # Check whether --enable-rpath or --disable-rpath was given.  # Check whether --enable-rpath or --disable-rpath was given.
7422  if test "${enable_rpath+set}" = set; then  if test "${enable_rpath+set}" = set; then
7423    enableval="$enable_rpath"    enableval="$enable_rpath"
# Line 7442  fi Line 7446  fi
7446  echo "$ac_t""$USE_RPATH" 1>&6  echo "$ac_t""$USE_RPATH" 1>&6
7447    
7448  echo $ac_n "checking for KDE""... $ac_c" 1>&6  echo $ac_n "checking for KDE""... $ac_c" 1>&6
7449  echo "configure:7446: checking for KDE" >&5  echo "configure:7450: checking for KDE" >&5
7450    
7451  if test "${prefix}" != NONE; then  if test "${prefix}" != NONE; then
7452    kde_includes=${prefix}/include    kde_includes=${prefix}/include
# Line 7486  for i in $kde_incdirs; Line 7490  for i in $kde_incdirs;
7490  do  do
7491    for j in $kde_check_header;    for j in $kde_check_header;
7492    do    do
7493      echo "configure: 7490: $i/$j" >&5      echo "configure: 7494: $i/$j" >&5
7494      if test -r "$i/$j"; then      if test -r "$i/$j"; then
7495        echo "taking that" >&5        echo "taking that" >&5
7496        kde_incdir=$i        kde_incdir=$i
# Line 7512  for i in $kde_libdirs; Line 7516  for i in $kde_libdirs;
7516  do  do
7517    for j in $kde_check_lib;    for j in $kde_check_lib;
7518    do    do
7519      echo "configure: 7516: $i/$j" >&5      echo "configure: 7520: $i/$j" >&5
7520      if test -r "$i/$j"; then      if test -r "$i/$j"; then
7521        echo "taking that" >&5        echo "taking that" >&5
7522        kde_libdir=$i        kde_libdir=$i
# Line 7622  fi Line 7626  fi
7626    
7627    
7628  echo $ac_n "checking for KDE paths""... $ac_c" 1>&6  echo $ac_n "checking for KDE paths""... $ac_c" 1>&6
7629  echo "configure:7626: checking for KDE paths" >&5  echo "configure:7630: checking for KDE paths" >&5
7630  kde_result=""  kde_result=""
7631  kde_cached_paths=yes  kde_cached_paths=yes
7632  if eval "test \"`echo '$''{'kde_cv_all_paths'+set}'`\" = set"; then  if eval "test \"`echo '$''{'kde_cv_all_paths'+set}'`\" = set"; then
# Line 7721  else Line 7725  else
7725            
7726        
7727      echo $ac_n "checking for KDE headers installed""... $ac_c" 1>&6      echo $ac_n "checking for KDE headers installed""... $ac_c" 1>&6
7728  echo "configure:7725: checking for KDE headers installed" >&5  echo "configure:7729: checking for KDE headers installed" >&5
7729            
7730       ac_ext=C       ac_ext=C
7731  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 7766  int main() { Line 7770  int main() {
7770  EOF  EOF
7771    
7772   ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext'   ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext'
7773   if { (eval echo configure:7770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then   if { (eval echo configure:7774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7774     echo "$ac_t""yes" 1>&6     echo "$ac_t""yes" 1>&6
7775   else   else
7776     { echo "configure: error: your system is not able to compile a small KDE application!     { echo "configure: error: your system is not able to compile a small KDE application!
# Line 7803  cross_compiling=$ac_cv_prog_cc_cross Line 7807  cross_compiling=$ac_cv_prog_cc_cross
7807    fi    fi
7808    
7809  echo $ac_n "checking for KDE libraries installed""... $ac_c" 1>&6  echo $ac_n "checking for KDE libraries installed""... $ac_c" 1>&6
7810  echo "configure:7807: checking for KDE libraries installed" >&5  echo "configure:7811: checking for KDE libraries installed" >&5
7811  ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'  ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
7812    
7813  if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7814    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
7815  else  else
7816    { echo "configure: error: your system fails at linking a small KDE application!    { echo "configure: error: your system fails at linking a small KDE application!
# Line 7974  else Line 7978  else
7978            
7979        
7980      echo $ac_n "checking for KDE headers installed""... $ac_c" 1>&6      echo $ac_n "checking for KDE headers installed""... $ac_c" 1>&6
7981  echo "configure:7978: checking for KDE headers installed" >&5  echo "configure:7982: checking for KDE headers installed" >&5
7982            
7983       ac_ext=C       ac_ext=C
7984  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 8019  int main() { Line 8023  int main() {
8023  EOF  EOF
8024    
8025   ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext'   ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext'
8026   if { (eval echo configure:8023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then   if { (eval echo configure:8027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8027     echo "$ac_t""yes" 1>&6     echo "$ac_t""yes" 1>&6
8028   else   else
8029     { echo "configure: error: your system is not able to compile a small KDE application!     { echo "configure: error: your system is not able to compile a small KDE application!
# Line 8056  cross_compiling=$ac_cv_prog_cc_cross Line 8060  cross_compiling=$ac_cv_prog_cc_cross
8060    fi    fi
8061    
8062  echo $ac_n "checking for KDE libraries installed""... $ac_c" 1>&6  echo $ac_n "checking for KDE libraries installed""... $ac_c" 1>&6
8063  echo "configure:8060: checking for KDE libraries installed" >&5  echo "configure:8064: checking for KDE libraries installed" >&5
8064  ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'  ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
8065    
8066  if { (eval echo configure:8063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8067    echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
8068  else  else
8069    { echo "configure: error: your system fails at linking a small KDE application!    { echo "configure: error: your system fails at linking a small KDE application!
# Line 8151  bindir=$kde_bindir Line 8155  bindir=$kde_bindir
8155          kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_default_bindirs"          kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_default_bindirs"
8156                    
8157     echo $ac_n "checking for dcopidl""... $ac_c" 1>&6     echo $ac_n "checking for dcopidl""... $ac_c" 1>&6
8158  echo "configure:8155: checking for dcopidl" >&5  echo "configure:8159: checking for dcopidl" >&5
8159     if test -n "$DCOPIDL"; then     if test -n "$DCOPIDL"; then
8160          kde_cv_path="$DCOPIDL";          kde_cv_path="$DCOPIDL";
8161     else     else
# Line 8211  Please check whether you installed KDE c Line 8215  Please check whether you installed KDE c
8215    
8216                    
8217     echo $ac_n "checking for dcopidl2cpp""... $ac_c" 1>&6     echo $ac_n "checking for dcopidl2cpp""... $ac_c" 1>&6
8218  echo "configure:8215: checking for dcopidl2cpp" >&5  echo "configure:8219: checking for dcopidl2cpp" >&5
8219     if test -n "$DCOPIDL2CPP"; then     if test -n "$DCOPIDL2CPP"; then
8220          kde_cv_path="$DCOPIDL2CPP";          kde_cv_path="$DCOPIDL2CPP";
8221     else     else
# Line 8271  Please check whether you installed KDE c Line 8275  Please check whether you installed KDE c
8275    
8276                    
8277     echo $ac_n "checking for mcopidl""... $ac_c" 1>&6     echo $ac_n "checking for mcopidl""... $ac_c" 1>&6
8278  echo "configure:8275: checking for mcopidl" >&5  echo "configure:8279: checking for mcopidl" >&5
8279     if test -n "$MCOPIDL"; then     if test -n "$MCOPIDL"; then
8280          kde_cv_path="$MCOPIDL";          kde_cv_path="$MCOPIDL";
8281     else     else
# Line 8331  Please check whether you installed KDE c Line 8335  Please check whether you installed KDE c
8335    
8336                    
8337     echo $ac_n "checking for artsc-config""... $ac_c" 1>&6     echo $ac_n "checking for artsc-config""... $ac_c" 1>&6
8338  echo "configure:8335: checking for artsc-config" >&5  echo "configure:8339: checking for artsc-config" >&5
8339     if test -n "$ARTSCCONFIG"; then     if test -n "$ARTSCCONFIG"; then
8340          kde_cv_path="$ARTSCCONFIG";          kde_cv_path="$ARTSCCONFIG";
8341     else     else
# Line 8391  Please check whether you installed KDE c Line 8395  Please check whether you installed KDE c
8395    
8396                    
8397     echo $ac_n "checking for kde-config""... $ac_c" 1>&6     echo $ac_n "checking for kde-config""... $ac_c" 1>&6
8398  echo "configure:8395: checking for kde-config" >&5  echo "configure:8399: checking for kde-config" >&5
8399     if test -n "$KDECONFIG"; then     if test -n "$KDECONFIG"; then
8400          kde_cv_path="$KDECONFIG";          kde_cv_path="$KDECONFIG";
8401     else     else
# Line 8447  fi Line 8451  fi
8451    
8452                    
8453     echo $ac_n "checking for meinproc""... $ac_c" 1>&6     echo $ac_n "checking for meinproc""... $ac_c" 1>&6
8454  echo "configure:8451: checking for meinproc" >&5  echo "configure:8455: checking for meinproc" >&5
8455     if test -n "$MEINPROC"; then     if test -n "$MEINPROC"; then
8456          kde_cv_path="$MEINPROC";          kde_cv_path="$MEINPROC";
8457     else     else
# Line 8511  for i in $kde_sharedirs; Line 8515  for i in $kde_sharedirs;
8515  do  do
8516    for j in apps/ksgmltools2/customization/kde-chunk.xsl;    for j in apps/ksgmltools2/customization/kde-chunk.xsl;
8517    do    do
8518      echo "configure: 8515: $i/$j" >&5      echo "configure: 8519: $i/$j" >&5
8519      if test -r "$i/$j"; then      if test -r "$i/$j"; then
8520        echo "taking that" >&5        echo "taking that" >&5
8521        KDE_XSL_STYLESHEET=$i        KDE_XSL_STYLESHEET=$i
# Line 8678  fi Line 8682  fi
8682    
8683  for i in $ac_topsubdirs; do  for i in $ac_topsubdirs; do
8684    echo $ac_n "checking if $i should be compiled""... $ac_c" 1>&6    echo $ac_n "checking if $i should be compiled""... $ac_c" 1>&6
8685  echo "configure:8682: checking if $i should be compiled" >&5  echo "configure:8686: checking if $i should be compiled" >&5
8686    if test -d $srcdir/$i; then    if test -d $srcdir/$i; then
8687      install_it="yes"      install_it="yes"
8688      for j in $DO_NOT_COMPILE; do      for j in $DO_NOT_COMPILE; do
# Line 9058  for ac_file in .. $CONFIG_FILES; do if t Line 9062  for ac_file in .. $CONFIG_FILES; do if t
9062    
9063    case "$ac_given_INSTALL" in    case "$ac_given_INSTALL" in
9064    [/$]*) INSTALL="$ac_given_INSTALL" ;;    [/$]*) INSTALL="$ac_given_INSTALL" ;;
 "") ;;  
9065    *) INSTALL="$ac_dots$ac_given_INSTALL" ;;    *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
9066    esac    esac
9067    
# Line 9198  test -z "$CONFIG_HEADERS" || echo timest Line 9201  test -z "$CONFIG_HEADERS" || echo timest
9201    
9202  exit 0  exit 0
9203  EOF  EOF
 if test "x$with_fast_perl" = "xyes" ; then  
   perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS || mv $CONFIG_STATUS.bak $CONFIG_STATUS;  
   rm -f $CONFIG_STATUS.bak;  
 fi  
9204  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
9205  rm -fr confdefs* $ac_clean_files  rm -fr confdefs* $ac_clean_files
9206  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26