Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /aclocal.m4 [e8a4ca] .. [3f615e] Maximize Restore

  Switch to side-by-side view

--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,15 +1,4 @@
 # aclocal.m4 -*- Autoconf -*- vim: filetype=config
-#
-# $Id$
-#
-# Copyright (C) 2006, 2007, 2008, MinGW Project
-# Written by Keith Marshall <keithmarshall@users.sourceforge.net>
-#
-# This is aclocal.m4 for the MinGW `catgets' package.
-#
-# This is free software; it is provided `as is', in the hope that it may
-# be useful, but WITHOUT WARRANTY OF ANY KIND, not even an implied warranty
-# of MERCHANTABILITY, nor of FITNESS FOR ANY PARTICULAR PURPOSE.
 #
 m4_include([m4/pkgid.m4])
 m4_include([m4/iconv.m4])
@@ -25,42 +14,6 @@
  choke me
 #endif]], [mingw_cv_win32_host=no], [mingw_cv_win32_host=yes]))dnl
 ])# MINGW_AC_WIN32_NATIVE_HOST
-
-# MINGW_AC_HOST_CANONICAL_PREFIX
-# ------------------------------
-# Set the AC_SUBST variable `canonical_prefix' to the canonical form
-# of `prefix', as applicable for a mingw32 host.
-#
-AC_DEFUN([MINGW_AC_HOST_CANONICAL_PREFIX],
-[AC_SUBST([canonical_prefix])dnl
- ac_val=$prefix; test "x$ac_val" = xNONE && ac_val=$ac_default_prefix
- MSYS_AC_CANONICAL_PATH([canonical_prefix],[$ac_val])dnl
-])# MINGW_AC_HOST_CANONICAL_PREFIX
-
-# MSYS_AC_CANONICAL_PATH( VAR, PATHNAME )
-# ---------------------------------------
-# Set VAR to the canonically resolved absolute equivalent of PATHNAME,
-# (which may be a relative path, and need not refer to any existing entity).
-#
-# On Win32-MSYS build hosts, the returned path is resolved to its true
-# native Win32 path name, (but with slashes, not backslashes).
-#
-# On any other system, it is simply the result which would be obtained
-# if PATHNAME represented an existing directory, and the pwd command was
-# executed in that directory.
-#
-AC_DEFUN([MSYS_AC_CANONICAL_PATH],
-[ac_dir="$2"
- pwd -W >/dev/null 2>&1 && ac_pwd_w="pwd -W" || ac_pwd_w=pwd
- until ac_val=`exec 2>/dev/null; cd "$ac_dir" && $ac_pwd_w`
- do
-   ac_dir=`AS_DIRNAME(["$ac_dir"])`
- done
- ac_dir=`echo "$ac_dir" | sed 's?^[[./]]*??'`
- ac_val=`echo "$ac_val" | sed 's?/*$[]??'`
- $1=`echo "$2" | sed "s?^[[./]]*$ac_dir/*?$ac_val/?"'
-   s?/*$[]??'`dnl
-])# MSYS_AC_CANONICAL_PATH
 
 # MINGW_AC_CHECK_HEADER( LISTVAR, HEADER )
 # ----------------------------------------
@@ -165,160 +118,37 @@
  AC_SUBST([$1])dnl
 ])# MINGW_AC_LC_EXTENSIONS
 
-# CATGETS_AC_CONFIG_TARGET
-# ------------------------
-# Check if building a locally hosted tool chain, targetting a foreign
-# Win32 runtime host; if this is the case, configure a cross-hosted build
-# in directory `cross-build', where the target libraries will be built.
-#
-AC_DEFUN([CATGETS_AC_CONFIG_TARGET],
-[AC_SUBST([MAKE_TARGETS], [all-native])
- if test -n "$target_alias" && test x"$target_alias" != x"$host_alias"
- then (
-  case $srcdir in
-   .*) ac_command="$SHELL ../$srcdir/$as_me" ;;
-    *) ac_command="$SHELL `cd $srcdir && pwd`/$as_me" ;;
-  esac
-  test -d cross-build || mkdir cross-build; cd cross-build; ac_dir=`pwd`
-  AC_MSG_NOTICE([entering directory `$ac_dir'])
-  AC_MSG_NOTICE([configuring component build for target `$target_alias'])
-  if test -z "$build_alias"
-  then
-   build_alias=`uname -m 2>/dev/null || echo unknown`
-   build_alias=$build_alias-`uname -s 2>/dev/null || echo unknown`
-   build_alias=`echo "$build_alias" | tr $as_cr_LETTERS $as_cr_letters`
-  fi
-  eval $ac_command `eval set x $ac_configure_args; shift
-   ac_opt="" ac_dashdash=""
-   for ac_arg
-   do
-    ac_optarg_needed=no
-    case $ac_dashdash$ac_opt$ac_arg in
-     --) ac_dashdash=yes
-      ;;
-     -build | --build | --buil | --bui | --bu |\
-     -target | --target | --targe | --targ | --tar | --ta | --t |\
-     -host | --host | --hos | --ho )
-      ac_optarg_needed=yes
-      ;;
-     build_alias=* | host_alias=* | target_alias=* |\
-     -build=* | --build=* | --buil=* | --bui=* | --bu=* |\
-     -host=* | --host=* | --hos=* | --ho=* )
-      ;;
-     -target=* | --target=* |\
-     --targe=* | --targ=* | --tar=* | --ta=* | --t=* )
-      echo "'--build=$build_alias' '--host=$target_alias'"
-      ;;
-     *) echo "'$ac_arg'"
-      ;;
-    esac
-    test $ac_optarg_needed = yes && ac_opt="$ac_arg=" || ac_opt=""
-   done`
-  AC_MSG_NOTICE([leaving directory `$ac_dir']) )
-  MAKE_TARGETS=all-cross-hosted
- fi[]dnl
-])# CATGETS_AC_CONFIG_TARGET
-
-# GENCAT_AC_OBJECTS_INIT
-# ----------------------
-# Initialise the list of object files to be compiled,
-# as prerequisites for building the `gencat' executable.
-#
 AC_DEFUN([GENCAT_AC_OBJECTS_INIT],
 [GENCAT_OBJECTS=${GENCAT_OBJECTS-'gencat.$(OBJEXT)'}
  AC_SUBST([GENCAT_OBJECTS])dnl
 ])# GENCAT_AC_OBJECTS_INIT
 
-# GENCAT_AC_OBJECTS_ADD( OBJECT_FILE_NAME )
-# -----------------------------------------
-# Add OBJECT_FILE_NAME to the list of object files to be compiled,
-# as prerequisites for building the `gencat' executable.
-#
 AC_DEFUN([GENCAT_AC_OBJECTS_ADD],
 [AC_REQUIRE([GENCAT_AC_OBJECTS_INIT])dnl
  GENCAT_OBJECTS=${GENCAT_OBJECTS}' $1.$(OBJEXT)'dnl
 ])# GENCAT_AC_OBJECTS_ADD
 
-# GENCAT_AC_FUNC_BASENAME
-# -----------------------
-# Check if the standard C library provides the `basename' function;
-# if not, add `basename.$(OBJEXT)' to the list of prerequisite objects
-# to be compiled, to ensure that a replacement is made available from
-# package local sources.
-#
 AC_DEFUN([GENCAT_AC_FUNC_BASENAME],
 [AC_REQUIRE([GENCAT_AC_OBJECTS_INIT])dnl
  AC_CHECK_FUNCS([basename],[],GENCAT_AC_OBJECTS_ADD([basename]))dnl
 ])# GENCAT_AC_FUNC_BASENAME
 
-# GENCAT_AC_FUNC_MKSTEMP
-# ----------------------
-# Check if the standard C library provides the `mkstemp' function;
-# if not, add `mkstemp.$(OBJEXT)' to the list of prerequisite objects
-# to be compiled, to ensure that a replacement is made available from
-# package local sources.
-#
 AC_DEFUN([GENCAT_AC_FUNC_MKSTEMP],
 [AC_REQUIRE([GENCAT_AC_OBJECTS_INIT])dnl
  AC_CHECK_FUNCS([mkstemp],[],GENCAT_AC_OBJECTS_ADD([mkstemp]))dnl
 ])# GENCAT_AC_FUNC_MKSTEMP
 
-# GENCAT_AC_FUNC_GETOPT_LONG_ONLY
-# -------------------------------
-# Check if the standard C library provides the `getopt_long_only'
-# function; if not, add `getopt.$(OBJEXT)' to the list of prerequisite
-# objects to be compiled, to ensure that a replacement is made available
-# from package local sources.
-#
-AC_DEFUN([GENCAT_AC_FUNC_GETOPT_LONG_ONLY],
-[AC_REQUIRE([GENCAT_AC_OBJECTS_INIT])dnl
- AC_CHECK_FUNCS([getopt_long_only],[],GENCAT_AC_OBJECTS_ADD_GETOPT)dnl
-])# GENCAT_AC_FUNC_GETOPT_LONG_ONLY
-
-# GENCAT_AC_OBJECTS_ADD_GETOPT
-# ----------------------------
-# Helper macro invoked by GENCAT_AC_FUNC_GETOPT_LONG_ONLY,
-# to add `getopt.$(OBJECT)' to the list of prerequisite objects
-# to be compiled; it also ensures that a compatible version of
-# `getopt.h' is used, by adding a compatible package local
-# version to the LOCAL_HEADERS list.
-#
-AC_DEFUN([GENCAT_AC_OBJECTS_ADD_GETOPT],
-[AC_SUBST([LOCAL_HEADERS],["getopt.h ${LOCAL_HEADERS}"])
- GENCAT_AC_OBJECTS_ADD([getopt])dnl
-])# GENCAT_AC_OBJECTS_ADD_GETOPT
-
-# GENCAT_AC_FUNC_LANGINFO
-# -----------------------
-# Check if the standard C library provides the `nl_langinfo' function;
-# if not, add `langinfo.$(OBJEXT)' to the list of prerequisite objects
-# to be compiled, to ensure that a replacement is made available from
-# package local sources.
-#
 AC_DEFUN([GENCAT_AC_FUNC_NL_LANGINFO],
 [AC_REQUIRE([GENCAT_AC_OBJECTS_INIT])dnl
  AC_CHECK_FUNCS([nl_langinfo],[],GENCAT_AC_OBJECTS_ADD([langinfo]))dnl
 ])# GENCAT_AC_FUNC_NL_LANGINFO
 
-# CATGETS_AC_CONFIG_VERSION
-# -------------------------
-# Propagate the `catgets' version number into object code,
-# via manifest definitions in `config.h'.
-#
 AC_DEFUN([CATGETS_AC_CONFIG_VERSION],
 [CATGETS_AC_CONFIG_VERSION_DEFINE([CATGETS_VERSION_MAJOR],[major],[2])dnl
  CATGETS_AC_CONFIG_VERSION_DEFINE([CATGETS_VERSION_MINOR],[minor],[3])dnl
 ])# CATGETS_AC_CONFIG_VERSION
 
-# CATGETS_AC_CONFIG_VERSION_DEFINE
-# --------------------------------
-# Helper macro invoked by CATGETS_AC_CONFIG_VERSION,
-# to place manifest definitions of the `catgets' major and minor
-# version numbers into `config.h'.
-#
 AC_DEFUN([CATGETS_AC_CONFIG_VERSION_DEFINE],
 [AC_DEFINE_UNQUOTED([$1],[`IFS=.;set x $PACKAGE_VERSION;echo ${$3}`],
  [Define numerically to the catgets $2 version number])dnl
 ])# CATGETS_AC_CONFIG_VERSION_DEFINE
-
-# $RCSfile$Revision: 1.3 $: end of file