1262569Simp# generated automatically by aclocal 1.9.6 -*- Autoconf -*- 2270864Simp 3270864Simp# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4270864Simp# 2005 Free Software Foundation, Inc. 5270864Simp# This file is free software; the Free Software Foundation 6262569Simp# gives unlimited permission to copy and/or distribute it, 7262569Simp# with or without modifications, as long as this notice is preserved. 8262569Simp 9270864Simp# This program is distributed in the hope that it will be useful, 10262569Simp# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 11262569Simp# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12262569Simp# PARTICULAR PURPOSE. 13262569Simp 14262569Simp# AM_AUX_DIR_EXPAND -*- Autoconf -*- 15270864Simp 16270864Simp# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 17262569Simp# 18262569Simp# This file is free software; the Free Software Foundation 19270864Simp# gives unlimited permission to copy and/or distribute it, 20262569Simp# with or without modifications, as long as this notice is preserved. 21262569Simp 22270864Simp# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 23270864Simp# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 24270864Simp# `$srcdir', `$srcdir/..', or `$srcdir/../..'. 25270864Simp# 26270864Simp# Of course, Automake must honor this variable whenever it calls a 27270864Simp# tool from the auxiliary directory. The problem is that $srcdir (and 28270864Simp# therefore $ac_aux_dir as well) can be either absolute or relative, 29262569Simp# depending on how configure is run. This is pretty annoying, since 30262569Simp# it makes $ac_aux_dir quite unusable in subdirectories: in the top 31270864Simp# source directory, any form will work fine, but in subdirectories a 32270864Simp# relative path needs to be adjusted first. 33270864Simp# 34270864Simp# $ac_aux_dir/missing 35270864Simp# fails when called from a subdirectory if $ac_aux_dir is relative 36270864Simp# $top_srcdir/$ac_aux_dir/missing 37270864Simp# fails if $ac_aux_dir is absolute, 38270864Simp# fails when called from a subdirectory in a VPATH build with 39270864Simp# a relative $ac_aux_dir 40270864Simp# 41270864Simp# The reason of the latter failure is that $top_srcdir and $ac_aux_dir 42270864Simp# are both prefixed by $srcdir. In an in-source build this is usually 43270864Simp# harmless because $srcdir is `.', but things will broke when you 44270864Simp# start a VPATH build or use an absolute $srcdir. 45270864Simp# 46270864Simp# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, 47270864Simp# iff we strip the leading $srcdir from $ac_aux_dir. That would be: 48270864Simp# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` 49270864Simp# and then we would define $MISSING as 50270864Simp# MISSING="\${SHELL} $am_aux_dir/missing" 51270864Simp# This will work as long as MISSING is not called from configure, because 52270864Simp# unfortunately $(top_srcdir) has no meaning in configure. 53270864Simp# However there are other variables, like CC, which are often used in 54270864Simp# configure, and could therefore not use this "fixed" $ac_aux_dir. 55270864Simp# 56270864Simp# Another solution, used here, is to always expand $ac_aux_dir to an 57270864Simp# absolute PATH. The drawback is that using absolute paths prevent a 58270864Simp# configured tree to be moved without reconfiguration. 59270864Simp 60270864SimpAC_DEFUN([AM_AUX_DIR_EXPAND], 61270864Simp[dnl Rely on autoconf to set up CDPATH properly. 62270864SimpAC_PREREQ([2.50])dnl 63270864Simp# expand $ac_aux_dir to an absolute path 64270864Simpam_aux_dir=`cd $ac_aux_dir && pwd` 65270864Simp]) 66270864Simp 67270864Simp# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. 68270864Simp# 69262569Simp# This file is free software; the Free Software Foundation 70262569Simp# gives unlimited permission to copy and/or distribute it, 71270864Simp# with or without modifications, as long as this notice is preserved. 72270864Simp 73262569Simp# serial 3 74270864Simp 75262569Simp# AM_PROG_CC_C_O 76270864Simp# -------------- 77270864Simp# Like AC_PROG_CC_C_O, but changed for automake. 78270864SimpAC_DEFUN([AM_PROG_CC_C_O], 79270864Simp[AC_REQUIRE([AC_PROG_CC_C_O])dnl 80270864SimpAC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 81270864Simp# FIXME: we rely on the cache variable name because 82270864Simp# there is no other way. 83270864Simpset dummy $CC 84270864Simpac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` 85270864Simpif eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then 86262569Simp # Losing compiler, so override with the script. 87262569Simp # FIXME: It is wrong to rewrite CC. 88262569Simp # But if we don't then we get into trouble of one sort or another. 89270864Simp # A longer-term fix would be to have automake use am__CC in this case, 90270864Simp # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 91270864Simp CC="$am_aux_dir/compile $CC" 92270864Simpfi 93270864Simp]) 94270864Simp 95270864Simpm4_include([../config/acx.m4]) 96270864Simpm4_include([../config/codeset.m4]) 97270864Simpm4_include([../config/gettext-sister.m4]) 98270864Simpm4_include([../config/iconv.m4]) 99270864Simpm4_include([../config/lcmessage.m4]) 100270864Simpm4_include([../config/lib-ld.m4]) 101270864Simpm4_include([../config/lib-link.m4]) 102270864Simpm4_include([../config/lib-prefix.m4]) 103270864Simpm4_include([../config/progtest.m4]) 104270864Simpm4_include([acinclude.m4]) 105270864Simp