libidn-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS libidn/csharp/m4


From: libidn-commit
Subject: CVS libidn/csharp/m4
Date: Thu, 1 Dec 2005 22:53:51 +0100

Update of /home/cvs/libidn/csharp/m4
In directory dopio:/tmp/cvs-serv18625/m4

Added Files:
        alloca.m4 allocsa.m4 csharp.m4 csharpcomp.m4 eealloc.m4 
        error.m4 execute.m4 exitfail.m4 fatal-signal.m4 getdelim.m4 
        getline.m4 gnulib-cache.m4 gnulib-comp.m4 gnulib-tool.m4 
        longdouble.m4 longlong.m4 mbrtowc.m4 mbstate_t.m4 
        onceonly_2_57.m4 pipe.m4 quotearg.m4 safe-read.m4 
        sig_atomic_t.m4 signalblocking.m4 ssize_t.m4 stdbool.m4 
        strerror_r.m4 strpbrk.m4 wait-process.m4 xalloc.m4 
Log Message:
Use gnulib, for csharpcomp.


--- /home/cvs/libidn/csharp/m4/alloca.m4        2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/alloca.m4        2005/12/01 21:53:51     1.1
# alloca.m4 serial 5
dnl Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_FUNC_ALLOCA],
[
  dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57.
  AC_REQUIRE([AC_PROG_CPP])
  AC_REQUIRE([AC_PROG_EGREP])

  AC_REQUIRE([AC_FUNC_ALLOCA])
  if test $ac_cv_func_alloca_works = no; then
    gl_PREREQ_ALLOCA
  fi

  # Define an additional variable used in the Makefile substitution.
  if test $ac_cv_working_alloca_h = yes; then
    AC_EGREP_CPP([Need own alloca], [
#if defined __GNUC__ || defined _AIX || defined _MSC_VER
        Need own alloca
#endif
      ],
      [AC_DEFINE(HAVE_ALLOCA, 1,
            [Define to 1 if you have `alloca' after including <alloca.h>,
             a header that may be supplied by this distribution.])
       ALLOCA_H=alloca.h],
      [ALLOCA_H=])
  else
    ALLOCA_H=alloca.h
  fi
  AC_SUBST([ALLOCA_H])

  AC_DEFINE(HAVE_ALLOCA_H, 1,
    [Define HAVE_ALLOCA_H for backward compatibility with older code
     that includes <alloca.h> only if HAVE_ALLOCA_H is defined.])
])

# Prerequisites of lib/alloca.c.
# STACK_DIRECTION is already handled by AC_FUNC_ALLOCA.
AC_DEFUN([gl_PREREQ_ALLOCA], [:])
--- /home/cvs/libidn/csharp/m4/allocsa.m4       2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/allocsa.m4       2005/12/01 21:53:51     1.1
# allocsa.m4 serial 3
dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_ALLOCSA],
[
  dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables
  dnl @ALLOCA@ and @address@hidden
  AC_REQUIRE([gl_FUNC_ALLOCA])
  AC_REQUIRE([gl_EEMALLOC])
  AC_REQUIRE([gl_AC_TYPE_LONG_LONG])
  AC_REQUIRE([gt_TYPE_LONGDOUBLE])
])
--- /home/cvs/libidn/csharp/m4/csharp.m4        2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/csharp.m4        2005/12/01 21:53:51     1.1
# csharp.m4 serial 2 (gettext-0.14.2)
dnl Copyright (C) 2004-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

# Sets CSHARP_CHOICE to the preferred C# implementation:
# 'pnet' or 'mono' or 'any' or 'no'.
AC_DEFUN([gt_CSHARP_CHOICE],
[
  AC_MSG_CHECKING([for preferred C[#] implementation])
  AC_ARG_ENABLE(csharp,
    [  --enable-csharp[[=IMPL]]  choose preferred C[#] implementation (pnet or 
mono)],
    [CSHARP_CHOICE="$enableval"],
    CSHARP_CHOICE=any)
  AC_SUBST(CSHARP_CHOICE)
  AC_MSG_RESULT([$CSHARP_CHOICE])
  case "$CSHARP_CHOICE" in
    pnet)
      AC_DEFINE([CSHARP_CHOICE_PNET], 1,
        [Define if pnet is the preferred C# implementation.])
      ;;
    mono)
      AC_DEFINE([CSHARP_CHOICE_MONO], 1,
        [Define if mono is the preferred C# implementation.])
      ;;
  esac
])
--- /home/cvs/libidn/csharp/m4/csharpcomp.m4    2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/csharpcomp.m4    2005/12/01 21:53:51     1.1
# csharpcomp.m4 serial 5 (gettext-0.15)
dnl Copyright (C) 2003-2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

# Prerequisites of csharpcomp.sh.
# Sets HAVE_CSHARPCOMP to nonempty if csharpcomp.sh will work.

AC_DEFUN([gt_CSHARPCOMP],
[
  AC_REQUIRE([gt_CSHARP_CHOICE])
  AC_MSG_CHECKING([for C[#] compiler])
  HAVE_CSHARPCOMP=1
  pushdef([AC_MSG_CHECKING],[:])dnl
  pushdef([AC_CHECKING],[:])dnl
  pushdef([AC_MSG_RESULT],[:])dnl
  AC_CHECK_PROG(HAVE_CSCC_IN_PATH, cscc, yes)
  AC_CHECK_PROG(HAVE_MCS_IN_PATH, mcs, yes)
  AC_CHECK_PROG(HAVE_CSC_IN_PATH, csc, yes)
  popdef([AC_MSG_RESULT])dnl
  popdef([AC_CHECKING])dnl
  popdef([AC_MSG_CHECKING])dnl
  for impl in "$CSHARP_CHOICE" pnet mono sscli no; do
    case "$impl" in
      pnet)
        if test -n "$HAVE_CSCC_IN_PATH" \
           && cscc --version >/dev/null 2>/dev/null \
           && (
             # See if pnetlib is well installed.
             echo 'class ConfTest { static void Main() { } }' > conftest.cs
             cscc -o conftest.exe conftest.cs 2>/dev/null
             error=$?
             rm -f conftest.cs conftest.exe
             exit $error
            ); then
          HAVE_CSCC=1
          ac_result="cscc"
          break
        fi
        ;;
      mono)
        if test -n "$HAVE_MCS_IN_PATH" \
           && mcs --version >/dev/null 2>/dev/null; then
          HAVE_MCS=1
          ac_result="mcs"
          break
        fi
        ;;
      sscli)
        if test -n "$HAVE_CSC_IN_PATH" \
           && csc -help >/dev/null 2>/dev/null \
           && { if csc -help 2>/dev/null | grep -i chicken > /dev/null; then 
false; else true; fi; }; then
          HAVE_CSC=1
          ac_result="csc"
          break
        fi
        ;;
      no)
        HAVE_CSHARPCOMP=
        ac_result="no"
        break
        ;;
    esac
  done
  AC_MSG_RESULT([$ac_result])
  AC_SUBST(HAVE_CSCC)
  AC_SUBST(HAVE_MCS)
  AC_SUBST(HAVE_CSC)
])
--- /home/cvs/libidn/csharp/m4/eealloc.m4       2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/eealloc.m4       2005/12/01 21:53:51     1.1
# eealloc.m4 serial 1
dnl Copyright (C) 2003 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_EEALLOC],
[
  AC_REQUIRE([gl_EEMALLOC])
  AC_REQUIRE([gl_EEREALLOC])
  AC_REQUIRE([AC_C_INLINE])
])

AC_DEFUN([gl_EEMALLOC],
[
  _AC_FUNC_MALLOC_IF(
    [gl_cv_func_malloc_0_nonnull=1],
    [gl_cv_func_malloc_0_nonnull=0])
  AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], $gl_cv_func_malloc_0_nonnull,
    [If malloc(0) is != NULL, define this to 1.  Otherwise define this
     to 0.])
])

AC_DEFUN([gl_EEREALLOC],
[
  _AC_FUNC_REALLOC_IF(
    [gl_cv_func_realloc_0_nonnull=1],
    [gl_cv_func_realloc_0_nonnull=0])
  AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], $gl_cv_func_realloc_0_nonnull,
    [If realloc(NULL,0) is != NULL, define this to 1.  Otherwise define this
     to 0.])
])
--- /home/cvs/libidn/csharp/m4/error.m4 2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/error.m4 2005/12/01 21:53:51     1.1
#serial 11

# Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2004 Free Software
# Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_ERROR],
[
  AC_FUNC_ERROR_AT_LINE
  dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
  gl_PREREQ_ERROR
])

# Prerequisites of lib/error.c.
AC_DEFUN([gl_PREREQ_ERROR],
[
  AC_REQUIRE([AC_FUNC_STRERROR_R])
  :
])
--- /home/cvs/libidn/csharp/m4/execute.m4       2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/execute.m4       2005/12/01 21:53:51     1.1
# execute.m4 serial 1
dnl Copyright (C) 2003 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_EXECUTE],
[
  dnl Prerequisites of lib/execute.c.
  AC_REQUIRE([AC_C_INLINE])
  AC_REQUIRE([AC_TYPE_MODE_T])
  AC_CHECK_HEADERS_ONCE(unistd.h)
  AC_REQUIRE([AC_FUNC_FORK])
  AC_CHECK_FUNCS(posix_spawn)
])
--- /home/cvs/libidn/csharp/m4/exitfail.m4      2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/exitfail.m4      2005/12/01 21:53:51     1.1
# exitfail.m4 serial 5
dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_EXITFAIL],
[
  AC_LIBSOURCES([exitfail.c, exitfail.h])
  AC_LIBOBJ([exitfail])

  dnl No prerequisites of lib/exitfail.c.
  :
])
--- /home/cvs/libidn/csharp/m4/fatal-signal.m4  2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/fatal-signal.m4  2005/12/01 21:53:51     1.1
# fatal-signal.m4 serial 3
dnl Copyright (C) 2003-2004 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_FATAL_SIGNAL],
[
  AC_REQUIRE([gt_SIGNALBLOCKING])
  AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
  AC_CHECK_HEADERS_ONCE(unistd.h)
  AC_CHECK_FUNCS(raise sigaction)
])
--- /home/cvs/libidn/csharp/m4/getdelim.m4      2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/getdelim.m4      2005/12/01 21:53:51     1.1
# getdelim.m4 serial 1

dnl Copyright (C) 2005 Free Software dnl Foundation, Inc.
dnl
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_PREREQ(2.52)

AC_DEFUN([gl_FUNC_GETDELIM],
[
  AC_LIBSOURCES([getdelim.c, getdelim.h])

  dnl Persuade glibc <stdio.h> to declare getdelim().
  AC_REQUIRE([AC_GNU_SOURCE])

  AC_REPLACE_FUNCS(getdelim)
  AC_CHECK_DECLS_ONCE(getdelim)

  if test $ac_cv_func_getdelim = no; then
    gl_PREREQ_GETDELIM
  fi
])

# Prerequisites of lib/getdelim.c.
AC_DEFUN([gl_PREREQ_GETDELIM],
[
  AC_CHECK_FUNCS([flockfile funlockfile])
])
--- /home/cvs/libidn/csharp/m4/getline.m4       2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/getline.m4       2005/12/01 21:53:51     1.1
# getline.m4 serial 13

dnl Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005 Free Software
dnl Foundation, Inc.
dnl
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_PREREQ(2.52)

dnl See if there's a working, system-supplied version of the getline function.
dnl We can't just do AC_REPLACE_FUNCS(getline) because some systems
dnl have a function by that name in -linet that doesn't have anything
dnl to do with the function we need.
AC_DEFUN([gl_FUNC_GETLINE],
[
  AC_LIBSOURCES([getline.c, getline.h])

  dnl Persuade glibc <stdio.h> to declare getline().
  AC_REQUIRE([AC_GNU_SOURCE])

  AC_CHECK_DECLS([getline])

  gl_getline_needs_run_time_check=no
  AC_CHECK_FUNC(getline,
                dnl Found it in some library.  Verify that it works.
                gl_getline_needs_run_time_check=yes,
                am_cv_func_working_getline=no)
  if test $gl_getline_needs_run_time_check = yes; then
    AC_CACHE_CHECK([for working getline function], am_cv_func_working_getline,
    [echo fooN |tr -d '\012'|tr N '\012' > conftest.data
    AC_TRY_RUN([
#    include <stdio.h>
#    include <stdlib.h>
#    include <string.h>
    int main ()
    { /* Based on a test program from Karl Heuer.  */
      char *line = NULL;
      size_t siz = 0;
      int len;
      FILE *in = fopen ("./conftest.data", "r");
      if (!in)
        return 1;
      len = getline (&line, &siz, in);
      exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1);
    }
    ], am_cv_func_working_getline=yes dnl The library version works.
    , am_cv_func_working_getline=no dnl The library version does NOT work.
    , am_cv_func_working_getline=no dnl We're cross compiling.
    )])
  fi

  if test $am_cv_func_working_getline = no; then
    dnl We must choose a different name for our function, since on ELF systems
    dnl a broken getline() in libc.so would override our getline() in
    dnl libgettextlib.so.
    AC_DEFINE([getline], [gnu_getline],
      [Define to a replacement function name for getline().])
    AC_LIBOBJ(getline)

    gl_PREREQ_GETLINE
  fi
])

# Prerequisites of lib/getline.c.
AC_DEFUN([gl_PREREQ_GETLINE],
[
  gl_FUNC_GETDELIM
])
--- /home/cvs/libidn/csharp/m4/gnulib-cache.m4  2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/gnulib-cache.m4  2005/12/01 21:53:51     1.1
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is free software, distributed under the terms of the GNU
# General Public License.  As a special exception to the GNU General
# Public License, this file may be distributed as part of a program
# that contains a configuration script generated by Autoconf, under
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
#
# This file represents the specification of how gnulib-tool is used.
# It acts as a cache: It is written and read by gnulib-tool.
# In projects using CVS, this file is meant to be stored in CVS,
# like the configure.ac and various Makefile.am files.


# Specification in the form of a command-line invocation:
#   gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 
--aux-dir=. --macro-prefix=gl csharpcomp

# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_MODULES([csharpcomp])
gl_AVOID([])
gl_SOURCE_BASE([lib])
gl_M4_BASE([m4])
gl_TESTS_BASE([tests])
gl_LIB([libgnu])
gl_MACRO_PREFIX([gl])
--- /home/cvs/libidn/csharp/m4/gnulib-comp.m4   2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/gnulib-comp.m4   2005/12/01 21:53:51     1.1
# Copyright (C) 2004 Free Software Foundation, Inc.
# This file is free software, distributed under the terms of the GNU
# General Public License.  As a special exception to the GNU General
# Public License, this file may be distributed as part of a program
# that contains a configuration script generated by Autoconf, under
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
#
# This file represents the compiled summary of the specification in
# gnulib-cache.m4. It lists the computed macro invocations that need
# to be invoked from configure.ac.
# In projects using CVS, this file can be treated like other built files.


# This macro should be invoked from ./configure.ac, in the section
# "Checks for programs", right after AC_PROG_CC, and certainly before
# any checks for libraries, header files, types and library functions.
AC_DEFUN([gl_EARLY],
[
  AC_REQUIRE([AC_GNU_SOURCE])
])


[95 lines skipped]
--- /home/cvs/libidn/csharp/m4/gnulib-tool.m4   2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/gnulib-tool.m4   2005/12/01 21:53:51     1.1

[128 lines skipped]
--- /home/cvs/libidn/csharp/m4/longdouble.m4    2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/longdouble.m4    2005/12/01 21:53:51     1.1

[156 lines skipped]
--- /home/cvs/libidn/csharp/m4/longlong.m4      2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/longlong.m4      2005/12/01 21:53:51     1.1

[179 lines skipped]
--- /home/cvs/libidn/csharp/m4/mbrtowc.m4       2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/mbrtowc.m4       2005/12/01 21:53:51     1.1

[210 lines skipped]
--- /home/cvs/libidn/csharp/m4/mbstate_t.m4     2005/12/01 21:53:51     NONE
+++ /home/cvs/libidn/csharp/m4/mbstate_t.m4     2005/12/01 21:53:51     1.1

[240 lines skipped]
--- /home/cvs/libidn/csharp/m4/onceonly_2_57.m4 2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/onceonly_2_57.m4 2005/12/01 21:53:52     1.1

[326 lines skipped]
--- /home/cvs/libidn/csharp/m4/pipe.m4  2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/pipe.m4  2005/12/01 21:53:52     1.1

[342 lines skipped]
--- /home/cvs/libidn/csharp/m4/quotearg.m4      2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/quotearg.m4      2005/12/01 21:53:52     1.1

[359 lines skipped]
--- /home/cvs/libidn/csharp/m4/safe-read.m4     2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/safe-read.m4     2005/12/01 21:53:52     1.1

[378 lines skipped]
--- /home/cvs/libidn/csharp/m4/sig_atomic_t.m4  2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/sig_atomic_t.m4  2005/12/01 21:53:52     1.1

[392 lines skipped]
--- /home/cvs/libidn/csharp/m4/signalblocking.m4        2005/12/01 21:53:52     
NONE
+++ /home/cvs/libidn/csharp/m4/signalblocking.m4        2005/12/01 21:53:52     
1.1

[413 lines skipped]
--- /home/cvs/libidn/csharp/m4/ssize_t.m4       2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/ssize_t.m4       2005/12/01 21:53:52     1.1

[433 lines skipped]
--- /home/cvs/libidn/csharp/m4/stdbool.m4       2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/stdbool.m4       2005/12/01 21:53:52     1.1

[521 lines skipped]
--- /home/cvs/libidn/csharp/m4/strerror_r.m4    2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/strerror_r.m4    2005/12/01 21:53:52     1.1

[570 lines skipped]
--- /home/cvs/libidn/csharp/m4/strpbrk.m4       2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/strpbrk.m4       2005/12/01 21:53:52     1.1

[586 lines skipped]
--- /home/cvs/libidn/csharp/m4/wait-process.m4  2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/wait-process.m4  2005/12/01 21:53:52     1.1

[600 lines skipped]
--- /home/cvs/libidn/csharp/m4/xalloc.m4        2005/12/01 21:53:52     NONE
+++ /home/cvs/libidn/csharp/m4/xalloc.m4        2005/12/01 21:53:52     1.1

[625 lines skipped]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]