"Fossies" - the Fresh Open Source Software Archive

Member "gnuastro-0.9/bootstrapped/m4/localename.m4" (17 Apr 2019, 888 Bytes) of package /linux/privat/gnuastro-0.9.tar.lz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "localename.m4": 0.8_vs_0.9.

    1 # localename.m4 serial 6
    2 dnl Copyright (C) 2007, 2009-2019 Free Software Foundation, Inc.
    3 dnl This file is free software; the Free Software Foundation
    4 dnl gives unlimited permission to copy and/or distribute it,
    5 dnl with or without modifications, as long as this notice is preserved.
    6 
    7 AC_DEFUN([gl_LOCALENAME],
    8 [
    9   AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
   10   AC_REQUIRE([gt_LC_MESSAGES])
   11   AC_REQUIRE([gt_INTL_THREAD_LOCALE_NAME])
   12   AC_REQUIRE([gt_INTL_MACOSX])
   13   AC_CHECK_HEADERS_ONCE([langinfo.h])
   14   AC_CHECK_FUNCS_ONCE([newlocale duplocale freelocale])
   15   if test $ac_cv_func_newlocale != yes; then
   16     HAVE_NEWLOCALE=0
   17   fi
   18   if test $ac_cv_func_duplocale != yes; then
   19     HAVE_DUPLOCALE=0
   20   fi
   21   if test $ac_cv_func_freelocale != yes; then
   22     HAVE_FREELOCALE=0
   23   fi
   24   if test $gt_nameless_locales = yes; then
   25     REPLACE_NEWLOCALE=1
   26     REPLACE_DUPLOCALE=1
   27     REPLACE_FREELOCALE=1
   28   fi
   29 ])