Home | History | Annotate | Line # | Download | only in libobjc
      1 # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
      2 
      3 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
      4 
      5 # This file is free software; the Free Software Foundation
      6 # gives unlimited permission to copy and/or distribute it,
      7 # with or without modifications, as long as this notice is preserved.
      8 
      9 # This program is distributed in the hope that it will be useful,
     10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     12 # PARTICULAR PURPOSE.
     13 
     14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
     15 # AM_CONDITIONAL                                            -*- Autoconf -*-
     16 
     17 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
     18 #
     19 # This file is free software; the Free Software Foundation
     20 # gives unlimited permission to copy and/or distribute it,
     21 # with or without modifications, as long as this notice is preserved.
     22 
     23 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
     24 # -------------------------------------
     25 # Define a conditional.
     26 AC_DEFUN([AM_CONDITIONAL],
     27 [AC_PREREQ([2.52])dnl
     28  m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     29        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     30 AC_SUBST([$1_TRUE])dnl
     31 AC_SUBST([$1_FALSE])dnl
     32 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
     33 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
     34 m4_define([_AM_COND_VALUE_$1], [$2])dnl
     35 if $2; then
     36   $1_TRUE=
     37   $1_FALSE='#'
     38 else
     39   $1_TRUE='#'
     40   $1_FALSE=
     41 fi
     42 AC_CONFIG_COMMANDS_PRE(
     43 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
     44   AC_MSG_ERROR([[conditional "$1" was never defined.
     45 Usually this means the macro was only invoked conditionally.]])
     46 fi])])
     47 
     48 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
     49 # From Jim Meyering
     50 
     51 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
     52 #
     53 # This file is free software; the Free Software Foundation
     54 # gives unlimited permission to copy and/or distribute it,
     55 # with or without modifications, as long as this notice is preserved.
     56 
     57 # AM_MAINTAINER_MODE([DEFAULT-MODE])
     58 # ----------------------------------
     59 # Control maintainer-specific portions of Makefiles.
     60 # Default is to disable them, unless 'enable' is passed literally.
     61 # For symmetry, 'disable' may be passed as well.  Anyway, the user
     62 # can override the default with the --enable/--disable switch.
     63 AC_DEFUN([AM_MAINTAINER_MODE],
     64 [m4_case(m4_default([$1], [disable]),
     65        [enable], [m4_define([am_maintainer_other], [disable])],
     66        [disable], [m4_define([am_maintainer_other], [enable])],
     67        [m4_define([am_maintainer_other], [enable])
     68         m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
     69 AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
     70   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
     71   AC_ARG_ENABLE([maintainer-mode],
     72     [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
     73       am_maintainer_other[ make rules and dependencies not useful
     74       (and sometimes confusing) to the casual installer])],
     75     [USE_MAINTAINER_MODE=$enableval],
     76     [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
     77   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
     78   AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
     79   MAINT=$MAINTAINER_MODE_TRUE
     80   AC_SUBST([MAINT])dnl
     81 ]
     82 )
     83 
     84 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
     85 #
     86 # This file is free software; the Free Software Foundation
     87 # gives unlimited permission to copy and/or distribute it,
     88 # with or without modifications, as long as this notice is preserved.
     89 
     90 # _AM_PROG_CC_C_O
     91 # ---------------
     92 # Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
     93 # to automatically call this.
     94 AC_DEFUN([_AM_PROG_CC_C_O],
     95 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     96 AC_REQUIRE_AUX_FILE([compile])dnl
     97 AC_LANG_PUSH([C])dnl
     98 AC_CACHE_CHECK(
     99   [whether $CC understands -c and -o together],
    100   [am_cv_prog_cc_c_o],
    101   [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
    102   # Make sure it works both with $CC and with simple cc.
    103   # Following AC_PROG_CC_C_O, we do the test twice because some
    104   # compilers refuse to overwrite an existing .o file with -o,
    105   # though they will create one.
    106   am_cv_prog_cc_c_o=yes
    107   for am_i in 1 2; do
    108     if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
    109          && test -f conftest2.$ac_objext; then
    110       : OK
    111     else
    112       am_cv_prog_cc_c_o=no
    113       break
    114     fi
    115   done
    116   rm -f core conftest*
    117   unset am_i])
    118 if test "$am_cv_prog_cc_c_o" != yes; then
    119    # Losing compiler, so override with the script.
    120    # FIXME: It is wrong to rewrite CC.
    121    # But if we don't then we get into trouble of one sort or another.
    122    # A longer-term fix would be to have automake use am__CC in this case,
    123    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    124    CC="$am_aux_dir/compile $CC"
    125 fi
    126 AC_LANG_POP([C])])
    127 
    128 # For backward compatibility.
    129 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
    130 
    131 # Copyright (C) 2006-2017 Free Software Foundation, Inc.
    132 #
    133 # This file is free software; the Free Software Foundation
    134 # gives unlimited permission to copy and/or distribute it,
    135 # with or without modifications, as long as this notice is preserved.
    136 
    137 # _AM_SUBST_NOTMAKE(VARIABLE)
    138 # ---------------------------
    139 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
    140 # This macro is traced by Automake.
    141 AC_DEFUN([_AM_SUBST_NOTMAKE])
    142 
    143 # AM_SUBST_NOTMAKE(VARIABLE)
    144 # --------------------------
    145 # Public sister of _AM_SUBST_NOTMAKE.
    146 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
    147 
    148 m4_include([../ltoptions.m4])
    149 m4_include([../ltsugar.m4])
    150 m4_include([../ltversion.m4])
    151 m4_include([../lt~obsolete.m4])
    152 m4_include([../config/cet.m4])
    153 m4_include([../config/lthostflags.m4])
    154 m4_include([../config/multi.m4])
    155 m4_include([../config/override.m4])
    156 m4_include([../config/toolexeclibdir.m4])
    157 m4_include([acinclude.m4])
    158