1957
1960
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1960
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1961
# We used to keeping the `.' as first argument, in order to
1962
# allow $(mkdir_p) to be used without argument. As in
1963
# $(mkdir_p) $(somedir)
1964
# where $(somedir) is conditionally defined. However this is wrong
1966
# 1. if the package is installed by a user who cannot write `.'
1967
# make install will fail,
1968
# 2. the above comment should most certainly read
1969
# $(mkdir_p) $(DESTDIR)$(somedir)
1970
# so it does not work when $(somedir) is undefined and
1971
# $(DESTDIR) is not.
1972
# To support the latter case, we have to write
1973
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1974
# so the `.' trick is pointless.
1975
mkdir_p='mkdir -p --'
1963
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1964
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1965
if test -z "$MKDIR_P"; then
1966
if test "${ac_cv_path_mkdir+set}" = set; then
1967
echo $ECHO_N "(cached) $ECHO_C" >&6
1977
# On NextStep and OpenStep, the `mkdir' command does not
1978
# recognize any option. It will interpret all options as
1979
# directories to create, and then abort because `.' already
1981
for d in ./-p ./--version;
1983
test -d $d && rmdir $d
1985
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1986
if test -f "$ac_aux_dir/mkinstalldirs"; then
1987
mkdir_p='$(mkinstalldirs)'
1969
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1973
test -z "$as_dir" && as_dir=.
1974
for ac_prog in mkdir gmkdir; do
1975
for ac_exec_ext in '' $ac_executable_extensions; do
1976
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1977
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1978
'mkdir (GNU coreutils) '* | \
1979
'mkdir (coreutils) '* | \
1980
'mkdir (fileutils) '4.1*)
1981
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1991
if test "${ac_cv_path_mkdir+set}" = set; then
1992
MKDIR_P="$ac_cv_path_mkdir -p"
1989
mkdir_p='$(install_sh) -d'
1994
# As a last resort, use the slow shell script. Don't cache a
1995
# value for MKDIR_P within a source directory, because that will
1996
# break other packages using the cache if that directory is
1997
# removed, or if the value is a relative name.
1998
test -d ./--version && rmdir ./--version
1999
MKDIR_P="$ac_install_sh -d"
2002
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2003
echo "${ECHO_T}$MKDIR_P" >&6; }
2007
[\\/$]* | ?:[\\/]*) ;;
2008
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1993
2011
for ac_prog in gawk mawk nawk awk
2072
2090
rmdir .tst 2>/dev/null
2074
# test to see if srcdir already configured
2075
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2076
test -f $srcdir/config.status; then
2077
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2092
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2093
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2094
# is not polluted with repeated "-I."
2095
am__isrc=' -I$(srcdir)'
2096
# test to see if srcdir already configured
2097
if test -f $srcdir/config.status; then
2098
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2078
2099
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2079
2100
{ (exit 1); exit 1; }; }
2082
2104
# test whether we have cygpath
5244
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
5245
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
5246
cat >conftest.foo <<_ACEOF
5250
"Content-Type: text/plain; charset=UTF-8\n"
5251
"Project-Id-Version: test 1.0\n"
5252
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
5253
"Last-Translator: test <foo@bar.xx>\n"
5254
"Language-Team: C <LL@li.org>\n"
5255
"MIME-Version: 1.0\n"
5256
"Content-Transfer-Encoding: 8bit\n"
5259
if { (echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
5260
(msgfmt -c -o /dev/null conftest.foo) 2>&5
5262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263
(exit $ac_status); }; then
5264
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
5265
echo "${ECHO_T}yes" >&6; }
5266
else { echo "$as_me:$LINENO: result: no" >&5
5267
echo "${ECHO_T}no" >&6; }
5268
echo "$as_me: failed input was:" >&5
5269
sed 's/^/| /' conftest.foo >&5
5224
5272
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5225
5273
set dummy gmsgfmt; ac_word=$2
5226
5274
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6014
6062
if test -n "$PYTHON"; then
6015
6063
# If the user set $PYTHON, use it and don't search something else.
6016
{ echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3.3" >&5
6017
echo $ECHO_N "checking whether $PYTHON version >= 2.3.3... $ECHO_C" >&6; }
6064
{ echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5
6065
echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; }
6018
6066
prog="import sys, string
6019
6067
# split strings by '.' and convert to numeric. Append some zeros
6020
6068
# because we need at least 4 digits for the hex conversion.
6021
minver = map(int, string.split('2.3.3', '.')) + [0, 0, 0]
6069
minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
6023
6071
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
6024
6072
sys.exit(sys.hexversion < minverhex)"
6040
6088
# Otherwise, try each interpreter until we find one that satisfies
6042
{ echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3.3" >&5
6043
echo $ECHO_N "checking for a Python interpreter with version >= 2.3.3... $ECHO_C" >&6; }
6090
{ echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.4" >&5
6091
echo $ECHO_N "checking for a Python interpreter with version >= 2.4... $ECHO_C" >&6; }
6044
6092
if test "${am_cv_pathless_PYTHON+set}" = set; then
6045
6093
echo $ECHO_N "(cached) $ECHO_C" >&6
6050
6098
prog="import sys, string
6051
6099
# split strings by '.' and convert to numeric. Append some zeros
6052
6100
# because we need at least 4 digits for the hex conversion.
6053
minver = map(int, string.split('2.3.3', '.')) + [0, 0, 0]
6101
minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
6055
6103
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
6056
6104
sys.exit(sys.hexversion < minverhex)"
6197
{ echo "$as_me:$LINENO: checking for pygtk 2.0 installed for python 2.3" >&5
6198
echo $ECHO_N "checking for pygtk 2.0 installed for python 2.3... $ECHO_C" >&6; }
6245
{ echo "$as_me:$LINENO: checking for pygtk 2.10 installed" >&5
6246
echo $ECHO_N "checking for pygtk 2.10 installed... $ECHO_C" >&6; }
6200
6248
import pygtk; pygtk.require('2.0')
6202
assert gobject.pygtk_version >= tuple(map(int, '2.0'.split('.')))
6250
assert gobject.pygtk_version >= tuple(map(int, '2.10'.split('.')))
6204
6252
if $PYTHON -c "$prog" 1>&5 2>&5; then
6205
6253
{ echo "$as_me:$LINENO: result: found" >&5
6212
6260
{ (exit 1); exit 1; }; }
6263
{ echo "$as_me:$LINENO: checking for python-gnome 2.10 installed" >&5
6264
echo $ECHO_N "checking for python-gnome 2.10 installed... $ECHO_C" >&6; }
6266
import pygtk; pygtk.require('2.0')
6268
assert gnome.gnome_python_version >= tuple(map(int, '2.10'.split('.')))
6270
if $PYTHON -c "$prog" 1>&5 2>&5; then
6271
{ echo "$as_me:$LINENO: result: found" >&5
6272
echo "${ECHO_T}found" >&6; }
6274
{ echo "$as_me:$LINENO: result: not found" >&5
6275
echo "${ECHO_T}not found" >&6; }
6276
{ { echo "$as_me:$LINENO: error: required python-gnome version not found" >&5
6277
echo "$as_me: error: required python-gnome version not found" >&2;}
6278
{ (exit 1); exit 1; }; }
6215
6281
ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile data/Makefile data/soundconverter.desktop.in doc/Makefile"
6217
6283
cat >confcache <<\_ACEOF
6981
7050
DATADIRNAME!$DATADIRNAME$ac_delim
6982
7051
GMOFILES!$GMOFILES$ac_delim
6983
7052
INSTOBJEXT!$INSTOBJEXT$ac_delim
7055
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
7057
elif $ac_last_try; then
7058
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7059
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7060
{ (exit 1); exit 1; }; }
7062
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7066
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7067
if test -n "$ac_eof"; then
7068
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7069
ac_eof=`expr $ac_eof + 1`
7072
cat >>$CONFIG_STATUS <<_ACEOF
7073
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7074
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7077
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7078
s/^/s,@/; s/!/@,|#_!!_#|/
7081
s/'"$ac_delim"'$/,g/; t
7083
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7084
' >>$CONFIG_STATUS <conf$$subs.sed
7085
rm -f conf$$subs.sed
7086
cat >>$CONFIG_STATUS <<_ACEOF
7092
for ac_last_try in false false false false false :; do
7093
cat >conf$$subs.sed <<_ACEOF
6984
7094
INTLLIBS!$INTLLIBS$ac_delim
6985
7095
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
6988
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6990
elif $ac_last_try; then
6991
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6992
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6993
{ (exit 1); exit 1; }; }
6995
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6999
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7000
if test -n "$ac_eof"; then
7001
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7002
ac_eof=`expr $ac_eof + 1`
7005
cat >>$CONFIG_STATUS <<_ACEOF
7006
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7007
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7010
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7011
s/^/s,@/; s/!/@,|#_!!_#|/
7014
s/'"$ac_delim"'$/,g/; t
7016
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7017
' >>$CONFIG_STATUS <conf$$subs.sed
7018
rm -f conf$$subs.sed
7019
cat >>$CONFIG_STATUS <<_ACEOF
7025
for ac_last_try in false false false false false :; do
7026
cat >conf$$subs.sed <<_ACEOF
7027
7096
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
7028
7097
POFILES!$POFILES$ac_delim
7029
7098
POSUB!$POSUB$ac_delim
7382
7457
# some people rename them; so instead we look at the file content.
7383
7458
# Grep'ing the first line is not enough: some people post-process
7384
7459
# each Makefile.in and add a new line on top of each file to say so.
7385
# So let's grep whole file.
7386
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7460
# Grep'ing the whole file is not good either: AIX grep has a line
7461
# limit of 2048, but all sed's we know have understand at least 4000.
7462
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
7387
7463
dirpart=`$as_dirname -- "$mf" ||
7388
7464
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7389
7465
X"$mf" : 'X\(//\)[^/]' \| \