common/autoconf/generated-configure.sh
changeset 27239 12771c65e334
parent 27133 c3c0d0e3db8d
child 27241 211afc2adecc
equal deleted inserted replaced
27236:b409bc51bc23 27239:12771c65e334
  4326 # definitions. It is replaced with custom functionality when building
  4326 # definitions. It is replaced with custom functionality when building
  4327 # custom sources.
  4327 # custom sources.
  4328 #CUSTOM_AUTOCONF_INCLUDE
  4328 #CUSTOM_AUTOCONF_INCLUDE
  4329 
  4329 
  4330 # Do not change or remove the following line, it is needed for consistency checks:
  4330 # Do not change or remove the following line, it is needed for consistency checks:
  4331 DATE_WHEN_GENERATED=1413533532
  4331 DATE_WHEN_GENERATED=1414485998
  4332 
  4332 
  4333 ###############################################################################
  4333 ###############################################################################
  4334 #
  4334 #
  4335 # Initialization / Boot-strapping
  4335 # Initialization / Boot-strapping
  4336 #
  4336 #
 44035         -L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
 44035         -L$SYSROOT$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR \
 44036         -R$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
 44036         -R$OPENWIN_HOME/sfw/lib$OPENJDK_TARGET_CPU_ISADIR \
 44037         -R$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR"
 44037         -R$OPENWIN_HOME/lib$OPENJDK_TARGET_CPU_ISADIR"
 44038   fi
 44038   fi
 44039 
 44039 
 44040   #
       
 44041   # Weird Sol10 something check...TODO change to try compile
       
 44042   #
       
 44043   if test "x${OPENJDK_TARGET_OS}" = xsolaris; then
       
 44044     if test "`uname -r`" = "5.10"; then
       
 44045       if test "`${EGREP} -c XLinearGradient ${OPENWIN_HOME}/share/include/X11/extensions/Xrender.h`" = "0"; then
       
 44046         X_CFLAGS="${X_CFLAGS} -DSOLARIS10_NO_XRENDER_STRUCTS"
       
 44047       fi
       
 44048     fi
       
 44049   fi
       
 44050 
       
 44051   ac_ext=c
 44040   ac_ext=c
 44052 ac_cpp='$CPP $CPPFLAGS'
 44041 ac_cpp='$CPP $CPPFLAGS'
 44053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 44042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 44054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 44043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 44055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 44044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 44056 
 44045 
 44057   OLD_CFLAGS="$CFLAGS"
 44046   OLD_CFLAGS="$CFLAGS"
 44058   CFLAGS="$CFLAGS $X_CFLAGS"
 44047   CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
 44059 
 44048 
 44060   # Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
 44049   # Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
 44061   for ac_header in X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h
 44050   for ac_header in X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h
 44062 do :
 44051 do :
 44063   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 44052   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 44076   X11_A_OK=no; break
 44065   X11_A_OK=no; break
 44077 fi
 44066 fi
 44078 
 44067 
 44079 done
 44068 done
 44080 
 44069 
       
 44070 
       
 44071   # If XLinearGradient isn't available in Xrender.h, signal that it needs to be
       
 44072   # defined in libawt_xawt.
       
 44073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if XlinearGradient is defined in Xrender.h" >&5
       
 44074 $as_echo_n "checking if XlinearGradient is defined in Xrender.h... " >&6; }
       
 44075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
 44076 /* end confdefs.h.  */
       
 44077 #include <X11/extensions/Xrender.h>
       
 44078 int
       
 44079 main ()
       
 44080 {
       
 44081 XLinearGradient x;
       
 44082   ;
       
 44083   return 0;
       
 44084 }
       
 44085 _ACEOF
       
 44086 if ac_fn_c_try_compile "$LINENO"; then :
       
 44087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
       
 44088 $as_echo "yes" >&6; }
       
 44089 else
       
 44090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
       
 44091 $as_echo "no" >&6; }
       
 44092        X_CFLAGS="$X_CFLAGS -DSOLARIS10_NO_XRENDER_STRUCTS"
       
 44093 fi
       
 44094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 44081 
 44095 
 44082   CFLAGS="$OLD_CFLAGS"
 44096   CFLAGS="$OLD_CFLAGS"
 44083   ac_ext=cpp
 44097   ac_ext=cpp
 44084 ac_cpp='$CXXCPP $CPPFLAGS'
 44098 ac_cpp='$CXXCPP $CPPFLAGS'
 44085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 44099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'