< prev index next >

common/autoconf/basics.m4

Print this page




 822         AC_MSG_NOTICE([(or create a new empty directory and cd to it).])
 823         AC_MSG_ERROR([Will not continue creating configuration in $CURDIR])
 824       fi
 825     fi
 826   fi
 827   AC_MSG_CHECKING([what configuration name to use])
 828   AC_MSG_RESULT([$CONF_NAME])
 829 
 830   BASIC_FIXUP_PATH(OUTPUT_ROOT)
 831 
 832   CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
 833   $MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
 834 
 835   AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
 836   AC_SUBST(CONF_NAME, $CONF_NAME)
 837   AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
 838   AC_SUBST(CONFIGURESUPPORT_OUTPUTDIR)
 839 
 840   # The spec.gmk file contains all variables for the make system.
 841   AC_CONFIG_FILES([$OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in])
 842   # The hotspot-spec.gmk file contains legacy variables for the hotspot make system.
 843   AC_CONFIG_FILES([$OUTPUT_ROOT/hotspot-spec.gmk:$AUTOCONF_DIR/hotspot-spec.gmk.in])
 844   # The bootcycle-spec.gmk file contains support for boot cycle builds.
 845   AC_CONFIG_FILES([$OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in])
 846   # The buildjdk-spec.gmk file contains support for building a buildjdk when cross compiling.
 847   AC_CONFIG_FILES([$OUTPUT_ROOT/buildjdk-spec.gmk:$AUTOCONF_DIR/buildjdk-spec.gmk.in])
 848   # The compare.sh is used to compare the build output to other builds.
 849   AC_CONFIG_FILES([$OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in])
 850   # The generated Makefile knows where the spec.gmk is and where the source is.
 851   # You can run make from the OUTPUT_ROOT, or from the top-level Makefile
 852   # which will look for generated configurations
 853   AC_CONFIG_FILES([$OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in])
 854 ])
 855 
 856 #%%% Simple tools %%%
 857 
 858 # Check if we have found a usable version of make
 859 # $1: the path to a potential make binary (or empty)
 860 # $2: the description on how we found this
 861 AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
 862 [
 863   MAKE_CANDIDATE="$1"




 822         AC_MSG_NOTICE([(or create a new empty directory and cd to it).])
 823         AC_MSG_ERROR([Will not continue creating configuration in $CURDIR])
 824       fi
 825     fi
 826   fi
 827   AC_MSG_CHECKING([what configuration name to use])
 828   AC_MSG_RESULT([$CONF_NAME])
 829 
 830   BASIC_FIXUP_PATH(OUTPUT_ROOT)
 831 
 832   CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
 833   $MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
 834 
 835   AC_SUBST(SPEC, $OUTPUT_ROOT/spec.gmk)
 836   AC_SUBST(CONF_NAME, $CONF_NAME)
 837   AC_SUBST(OUTPUT_ROOT, $OUTPUT_ROOT)
 838   AC_SUBST(CONFIGURESUPPORT_OUTPUTDIR)
 839 
 840   # The spec.gmk file contains all variables for the make system.
 841   AC_CONFIG_FILES([$OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in])


 842   # The bootcycle-spec.gmk file contains support for boot cycle builds.
 843   AC_CONFIG_FILES([$OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in])
 844   # The buildjdk-spec.gmk file contains support for building a buildjdk when cross compiling.
 845   AC_CONFIG_FILES([$OUTPUT_ROOT/buildjdk-spec.gmk:$AUTOCONF_DIR/buildjdk-spec.gmk.in])
 846   # The compare.sh is used to compare the build output to other builds.
 847   AC_CONFIG_FILES([$OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in])
 848   # The generated Makefile knows where the spec.gmk is and where the source is.
 849   # You can run make from the OUTPUT_ROOT, or from the top-level Makefile
 850   # which will look for generated configurations
 851   AC_CONFIG_FILES([$OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in])
 852 ])
 853 
 854 #%%% Simple tools %%%
 855 
 856 # Check if we have found a usable version of make
 857 # $1: the path to a potential make binary (or empty)
 858 # $2: the description on how we found this
 859 AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
 860 [
 861   MAKE_CANDIDATE="$1"


< prev index next >