~audio-recorder/audio-recorder/trunk

1 by Osmo Antero Maatta
Initial import 17.jan.2011
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
3
# Generated by GNU Autoconf 2.69 for Audio Recorder 3.2.0.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
4
#
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
5
# Report bugs to <https://bugs.launchpad.net/~audio-recorder>.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6
#
7
#
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9
#
10
#
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
16
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
  emulate sh
21
  NULLCMD=:
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
  # is contrary to our usage.  Disable this feature.
24
  alias -g '${1+"$@"}'='"$@"'
25
  setopt NO_GLOB_SUBST
26
else
27
  case `(set -o) 2>/dev/null` in #(
28
  *posix*) :
29
    set -o posix ;; #(
30
  *) :
31
     ;;
32
esac
33
fi
34
35
36
as_nl='
37
'
38
export as_nl
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
  as_echo='print -r --'
48
  as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
  as_echo='printf %s\n'
51
  as_echo_n='printf %s'
52
else
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
    as_echo_n='/usr/ucb/echo -n'
56
  else
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
    as_echo_n_body='eval
59
      arg=$1;
60
      case $arg in #(
61
      *"$as_nl"*)
62
	expr "X$arg" : "X\\(.*\\)$as_nl";
63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
      esac;
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
    '
67
    export as_echo_n_body
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
  fi
70
  export as_echo_body
71
  as_echo='sh -c $as_echo_body as_echo'
72
fi
73
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
76
  PATH_SEPARATOR=:
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
      PATH_SEPARATOR=';'
80
  }
81
fi
82
83
84
# IFS
85
# We need space, tab and new line, in precisely that order.  Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
89
IFS=" ""	$as_nl"
90
91
# Find who we are.  Look in the path if we contain no directory separator.
56 by Osmo Antero
Version 0.5
92
as_myself=
1 by Osmo Antero Maatta
Initial import 17.jan.2011
93
case $0 in #((
94
  *[\\/]* ) as_myself=$0 ;;
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
for as_dir in $PATH
97
do
98
  IFS=$as_save_IFS
99
  test -z "$as_dir" && as_dir=.
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
  done
102
IFS=$as_save_IFS
103
104
     ;;
105
esac
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
109
  as_myself=$0
110
fi
111
if test ! -f "$as_myself"; then
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
  exit 1
114
fi
115
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there.  '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
done
124
PS1='$ '
125
PS2='> '
126
PS4='+ '
127
128
# NLS nuisances.
129
LC_ALL=C
130
export LC_ALL
131
LANGUAGE=C
132
export LANGUAGE
133
134
# CDPATH.
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
137
# Use a proper internal environment variable to ensure we don't fall
138
  # into an infinite loop, continuously re-executing ourselves.
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
    _as_can_reexec=no; export _as_can_reexec;
141
    # We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
145
BASH_ENV=/dev/null
146
ENV=/dev/null
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
case $- in # ((((
149
  *v*x* | *x*v* ) as_opts=-vx ;;
150
  *v* ) as_opts=-v ;;
151
  *x* ) as_opts=-x ;;
152
  * ) as_opts= ;;
153
esac
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
as_fn_exit 255
159
  fi
160
  # We don't want this to propagate to other subprocesses.
161
          { _as_can_reexec=; unset _as_can_reexec;}
1 by Osmo Antero Maatta
Initial import 17.jan.2011
162
if test "x$CONFIG_SHELL" = x; then
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
  emulate sh
165
  NULLCMD=:
166
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
  # is contrary to our usage.  Disable this feature.
168
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
  setopt NO_GLOB_SUBST
170
else
171
  case \`(set -o) 2>/dev/null\` in #(
172
  *posix*) :
173
    set -o posix ;; #(
174
  *) :
175
     ;;
176
esac
177
fi
178
"
179
  as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
184
185
exitcode=0
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192
else
193
  exitcode=1; echo positional parameters were not saved.
194
fi
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
195
test x\$exitcode = x0 || exit 1
196
test -x / || exit 1"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
test \$(( 1 + 1 )) = 2 || exit 1"
202
  if (eval "$as_required") 2>/dev/null; then :
203
  as_have_required=yes
204
else
205
  as_have_required=no
206
fi
207
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209
else
210
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211
as_found=false
212
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213
do
214
  IFS=$as_save_IFS
215
  test -z "$as_dir" && as_dir=.
216
  as_found=:
217
  case $as_dir in #(
218
	 /*)
219
	   for as_base in sh bash ksh sh5; do
220
	     # Try only shells that exist, to save several forks.
221
	     as_shell=$as_dir/$as_base
222
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224
  CONFIG_SHELL=$as_shell as_have_required=yes
225
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226
  break 2
227
fi
228
fi
229
	   done;;
230
       esac
231
  as_found=false
232
done
233
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235
  CONFIG_SHELL=$SHELL as_have_required=yes
236
fi; }
237
IFS=$as_save_IFS
238
239
240
      if test "x$CONFIG_SHELL" != x; then :
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
241
  export CONFIG_SHELL
242
             # We cannot yet assume a decent shell, so we have to provide a
243
# neutralization value for shells without unset; and this also
244
# works around shells that cannot unset nonexistent variables.
245
# Preserve -v and -x to the replacement shell.
246
BASH_ENV=/dev/null
247
ENV=/dev/null
248
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249
case $- in # ((((
250
  *v*x* | *x*v* ) as_opts=-vx ;;
251
  *v* ) as_opts=-v ;;
252
  *x* ) as_opts=-x ;;
253
  * ) as_opts= ;;
254
esac
255
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256
# Admittedly, this is quite paranoid, since all the known shells bail
257
# out after a failed `exec'.
258
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259
exit 255
1 by Osmo Antero Maatta
Initial import 17.jan.2011
260
fi
261
262
    if test x$as_have_required = xno; then :
263
  $as_echo "$0: This script requires a shell more modern than all"
264
  $as_echo "$0: the shells that I found on your system."
265
  if test x${ZSH_VERSION+set} = xset ; then
266
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268
  else
269
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
270
$0: https://bugs.launchpad.net/~audio-recorder about your
271
$0: system, including any error possibly output before this
272
$0: message. Then install a modern shell, or manually run
273
$0: the script under such a shell if you do have one."
1 by Osmo Antero Maatta
Initial import 17.jan.2011
274
  fi
275
  exit 1
276
fi
277
fi
278
fi
279
SHELL=${CONFIG_SHELL-/bin/sh}
280
export SHELL
281
# Unset more variables known to interfere with behavior of common tools.
282
CLICOLOR_FORCE= GREP_OPTIONS=
283
unset CLICOLOR_FORCE GREP_OPTIONS
284
285
## --------------------- ##
286
## M4sh Shell Functions. ##
287
## --------------------- ##
288
# as_fn_unset VAR
289
# ---------------
290
# Portably unset VAR.
291
as_fn_unset ()
292
{
293
  { eval $1=; unset $1;}
294
}
295
as_unset=as_fn_unset
296
297
# as_fn_set_status STATUS
298
# -----------------------
299
# Set $? to STATUS, without forking.
300
as_fn_set_status ()
301
{
302
  return $1
303
} # as_fn_set_status
304
305
# as_fn_exit STATUS
306
# -----------------
307
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308
as_fn_exit ()
309
{
310
  set +e
311
  as_fn_set_status $1
312
  exit $1
313
} # as_fn_exit
314
315
# as_fn_mkdir_p
316
# -------------
317
# Create "$as_dir" as a directory, including parents if necessary.
318
as_fn_mkdir_p ()
319
{
320
321
  case $as_dir in #(
322
  -*) as_dir=./$as_dir;;
323
  esac
324
  test -d "$as_dir" || eval $as_mkdir_p || {
325
    as_dirs=
326
    while :; do
327
      case $as_dir in #(
328
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329
      *) as_qdir=$as_dir;;
330
      esac
331
      as_dirs="'$as_qdir' $as_dirs"
332
      as_dir=`$as_dirname -- "$as_dir" ||
333
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334
	 X"$as_dir" : 'X\(//\)[^/]' \| \
335
	 X"$as_dir" : 'X\(//\)$' \| \
336
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337
$as_echo X"$as_dir" |
338
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339
	    s//\1/
340
	    q
341
	  }
342
	  /^X\(\/\/\)[^/].*/{
343
	    s//\1/
344
	    q
345
	  }
346
	  /^X\(\/\/\)$/{
347
	    s//\1/
348
	    q
349
	  }
350
	  /^X\(\/\).*/{
351
	    s//\1/
352
	    q
353
	  }
354
	  s/.*/./; q'`
355
      test -d "$as_dir" && break
356
    done
357
    test -z "$as_dirs" || eval "mkdir $as_dirs"
358
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361
} # as_fn_mkdir_p
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
362
363
# as_fn_executable_p FILE
364
# -----------------------
365
# Test if FILE is an executable regular file.
366
as_fn_executable_p ()
367
{
368
  test -f "$1" && test -x "$1"
369
} # as_fn_executable_p
1 by Osmo Antero Maatta
Initial import 17.jan.2011
370
# as_fn_append VAR VALUE
371
# ----------------------
372
# Append the text in VALUE to the end of the definition contained in VAR. Take
373
# advantage of any shell optimizations that allow amortized linear growth over
374
# repeated appends, instead of the typical quadratic growth present in naive
375
# implementations.
376
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377
  eval 'as_fn_append ()
378
  {
379
    eval $1+=\$2
380
  }'
381
else
382
  as_fn_append ()
383
  {
384
    eval $1=\$$1\$2
385
  }
386
fi # as_fn_append
387
388
# as_fn_arith ARG...
389
# ------------------
390
# Perform arithmetic evaluation on the ARGs, and store the result in the
391
# global $as_val. Take advantage of shells that can avoid forks. The arguments
392
# must be portable across $(()) and expr.
393
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394
  eval 'as_fn_arith ()
395
  {
396
    as_val=$(( $* ))
397
  }'
398
else
399
  as_fn_arith ()
400
  {
401
    as_val=`expr "$@" || test $? -eq 1`
402
  }
403
fi # as_fn_arith
404
405
406
# as_fn_error STATUS ERROR [LINENO LOG_FD]
407
# ----------------------------------------
408
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410
# script with STATUS, using 1 if that was 0.
411
as_fn_error ()
412
{
413
  as_status=$1; test $as_status -eq 0 && as_status=1
414
  if test "$4"; then
415
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417
  fi
418
  $as_echo "$as_me: error: $2" >&2
419
  as_fn_exit $as_status
420
} # as_fn_error
421
422
if expr a : '\(a\)' >/dev/null 2>&1 &&
423
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424
  as_expr=expr
425
else
426
  as_expr=false
427
fi
428
429
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430
  as_basename=basename
431
else
432
  as_basename=false
433
fi
434
435
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436
  as_dirname=dirname
437
else
438
  as_dirname=false
439
fi
440
441
as_me=`$as_basename -- "$0" ||
442
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443
	 X"$0" : 'X\(//\)$' \| \
444
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445
$as_echo X/"$0" |
446
    sed '/^.*\/\([^/][^/]*\)\/*$/{
447
	    s//\1/
448
	    q
449
	  }
450
	  /^X\/\(\/\/\)$/{
451
	    s//\1/
452
	    q
453
	  }
454
	  /^X\/\(\/\).*/{
455
	    s//\1/
456
	    q
457
	  }
458
	  s/.*/./; q'`
459
460
# Avoid depending upon Character Ranges.
461
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464
as_cr_digits='0123456789'
465
as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473
  sed -n '
474
    p
475
    /[$]LINENO/=
476
  ' <$as_myself |
477
    sed '
478
      s/[$]LINENO.*/&-/
479
      t lineno
480
      b
481
      :lineno
482
      N
483
      :loop
484
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485
      t loop
486
      s/-\n.*//
487
    ' >$as_me.lineno &&
488
  chmod +x "$as_me.lineno" ||
489
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
491
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492
  # already done that, so ensure we don't try to do so again and fall
493
  # in an infinite loop.  This has already happened in practice.
494
  _as_can_reexec=no; export _as_can_reexec
1 by Osmo Antero Maatta
Initial import 17.jan.2011
495
  # Don't try to exec as it changes $[0], causing all sort of problems
496
  # (the dirname of $[0] is not the place where we might find the
497
  # original and so on.  Autoconf is especially sensitive to this).
498
  . "./$as_me.lineno"
499
  # Exit status is that of the last command.
500
  exit
501
}
502
503
ECHO_C= ECHO_N= ECHO_T=
504
case `echo -n x` in #(((((
505
-n*)
506
  case `echo 'xy\c'` in
507
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508
  xy)  ECHO_C='\c';;
509
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510
       ECHO_T='	';;
511
  esac;;
512
*)
513
  ECHO_N='-n';;
514
esac
515
516
rm -f conf$$ conf$$.exe conf$$.file
517
if test -d conf$$.dir; then
518
  rm -f conf$$.dir/conf$$.file
519
else
520
  rm -f conf$$.dir
521
  mkdir conf$$.dir 2>/dev/null
522
fi
523
if (echo >conf$$.file) 2>/dev/null; then
524
  if ln -s conf$$.file conf$$ 2>/dev/null; then
525
    as_ln_s='ln -s'
526
    # ... but there are two gotchas:
527
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
529
    # In both cases, we have to default to `cp -pR'.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
530
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
531
      as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
532
  elif ln conf$$.file conf$$ 2>/dev/null; then
533
    as_ln_s=ln
534
  else
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
535
    as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
536
  fi
537
else
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
538
  as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
539
fi
540
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541
rmdir conf$$.dir 2>/dev/null
542
543
if mkdir -p . 2>/dev/null; then
544
  as_mkdir_p='mkdir -p "$as_dir"'
545
else
546
  test -d ./-p && rmdir ./-p
547
  as_mkdir_p=false
548
fi
549
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
550
as_test_x='test -x'
551
as_executable_p=as_fn_executable_p
1 by Osmo Antero Maatta
Initial import 17.jan.2011
552
553
# Sed expression to map a string onto a valid CPP name.
554
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556
# Sed expression to map a string onto a valid variable name.
557
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560
test -n "$DJDIR" || exec 7<&0 </dev/null
561
exec 6>&1
562
563
# Name of the host.
564
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565
# so uname gets run too.
566
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568
#
569
# Initializations.
570
#
571
ac_default_prefix=/usr/local
572
ac_clean_files=
573
ac_config_libobj_dir=.
574
LIBOBJS=
575
cross_compiling=no
576
subdirs=
577
MFLAGS=
578
MAKEFLAGS=
579
580
# Identity of this package.
581
PACKAGE_NAME='Audio Recorder'
582
PACKAGE_TARNAME='audio-recorder'
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
583
PACKAGE_VERSION='3.2.0'
584
PACKAGE_STRING='Audio Recorder 3.2.0'
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
585
PACKAGE_BUGREPORT='https://bugs.launchpad.net/~audio-recorder'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
586
PACKAGE_URL=''
587
588
# Factoring default headers for most tests.
589
ac_includes_default="\
590
#include <stdio.h>
591
#ifdef HAVE_SYS_TYPES_H
592
# include <sys/types.h>
593
#endif
594
#ifdef HAVE_SYS_STAT_H
595
# include <sys/stat.h>
596
#endif
597
#ifdef STDC_HEADERS
598
# include <stdlib.h>
599
# include <stddef.h>
600
#else
601
# ifdef HAVE_STDLIB_H
602
#  include <stdlib.h>
603
# endif
604
#endif
605
#ifdef HAVE_STRING_H
606
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607
#  include <memory.h>
608
# endif
609
# include <string.h>
610
#endif
611
#ifdef HAVE_STRINGS_H
612
# include <strings.h>
613
#endif
614
#ifdef HAVE_INTTYPES_H
615
# include <inttypes.h>
616
#endif
617
#ifdef HAVE_STDINT_H
618
# include <stdint.h>
619
#endif
620
#ifdef HAVE_UNISTD_H
621
# include <unistd.h>
622
#endif"
623
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
624
ac_unique_file="src/main.c"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
625
ac_default_prefix=/usr
626
ac_subst_vars='am__EXEEXT_FALSE
627
am__EXEEXT_TRUE
628
LTLIBOBJS
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
629
GSETTINGS_RULES
630
GLIB_COMPILE_SCHEMAS
631
gsettingsschemadir
632
GSETTINGS_DISABLE_SCHEMAS_COMPILE
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
633
ALL_LINGUAS
634
INTLTOOL_PERL
635
GMSGFMT
636
MSGFMT
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
637
MSGMERGE
638
XGETTEXT
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
639
INTLTOOL_POLICY_RULE
640
INTLTOOL_SERVICE_RULE
641
INTLTOOL_THEME_RULE
642
INTLTOOL_SCHEMAS_RULE
643
INTLTOOL_CAVES_RULE
644
INTLTOOL_XML_NOMERGE_RULE
645
INTLTOOL_XML_RULE
646
INTLTOOL_KBD_RULE
647
INTLTOOL_XAM_RULE
648
INTLTOOL_UI_RULE
649
INTLTOOL_SOUNDLIST_RULE
650
INTLTOOL_SHEET_RULE
651
INTLTOOL_SERVER_RULE
652
INTLTOOL_PONG_RULE
653
INTLTOOL_OAF_RULE
654
INTLTOOL_PROP_RULE
655
INTLTOOL_KEYS_RULE
656
INTLTOOL_DIRECTORY_RULE
657
INTLTOOL_DESKTOP_RULE
658
intltool__v_merge_options_0
659
intltool__v_merge_options_
660
INTLTOOL_V_MERGE_OPTIONS
661
INTLTOOL__v_MERGE_0
662
INTLTOOL__v_MERGE_
663
INTLTOOL_V_MERGE
664
INTLTOOL_EXTRACT
665
INTLTOOL_MERGE
666
INTLTOOL_UPDATE
1 by Osmo Antero Maatta
Initial import 17.jan.2011
667
USE_NLS
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
668
top_builddir
1 by Osmo Antero Maatta
Initial import 17.jan.2011
669
GETTEXT_PACKAGE
670
LIBOBJS
671
APP_INDICATOR_LIBS
672
APP_INDICATOR_CFLAGS
673
DBUS_LIBS
674
DBUS_CFLAGS
675
GTHREAD_LIBS
676
GTHREAD_CFLAGS
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
677
GSTREAMER_PBUTILS_LIBS
678
GSTREAMER_PBUTILS_CFLAGS
1 by Osmo Antero Maatta
Initial import 17.jan.2011
679
GSTREAMER_LIBS
680
GSTREAMER_CFLAGS
681
GTK_LIBS
682
GTK_CFLAGS
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
683
GIO_LIBS
684
GIO_CFLAGS
1 by Osmo Antero Maatta
Initial import 17.jan.2011
685
GLIB_LIBS
686
GLIB_CFLAGS
687
PKG_CONFIG_LIBDIR
688
PKG_CONFIG_PATH
689
PKG_CONFIG
77 by Osmo Antero
Updated version (v0.7) for Fedora 16+ and Ubuntu 12.04.
690
MATH_LIB
1 by Osmo Antero Maatta
Initial import 17.jan.2011
691
am__fastdepCXX_FALSE
692
am__fastdepCXX_TRUE
693
CXXDEPMODE
694
ac_ct_CXX
695
CXXFLAGS
696
CXX
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
697
MAINT
698
MAINTAINER_MODE_FALSE
699
MAINTAINER_MODE_TRUE
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
700
EGREP
701
GREP
702
CPP
1 by Osmo Antero Maatta
Initial import 17.jan.2011
703
am__fastdepCC_FALSE
704
am__fastdepCC_TRUE
705
CCDEPMODE
91 by Osmo Antero
Added packaging file for Fedora (fedora/audio-recorder.spec).
706
am__nodep
1 by Osmo Antero Maatta
Initial import 17.jan.2011
707
AMDEPBACKSLASH
708
AMDEP_FALSE
709
AMDEP_TRUE
710
am__include
711
DEPDIR
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
712
OBJEXT
713
EXEEXT
714
ac_ct_CC
715
CPPFLAGS
716
LDFLAGS
717
CFLAGS
718
CC
719
AM_BACKSLASH
720
AM_DEFAULT_VERBOSITY
721
AM_DEFAULT_V
722
AM_V
1 by Osmo Antero Maatta
Initial import 17.jan.2011
723
am__untar
724
am__tar
725
AMTAR
726
am__leading_dot
727
SET_MAKE
728
AWK
729
mkdir_p
730
MKDIR_P
731
INSTALL_STRIP_PROGRAM
732
STRIP
733
install_sh
734
MAKEINFO
735
AUTOHEADER
736
AUTOMAKE
737
AUTOCONF
738
ACLOCAL
739
VERSION
740
PACKAGE
741
CYGPATH_W
742
am__isrc
743
INSTALL_DATA
744
INSTALL_SCRIPT
745
INSTALL_PROGRAM
746
target_alias
747
host_alias
748
build_alias
749
LIBS
750
ECHO_T
751
ECHO_N
752
ECHO_C
753
DEFS
754
mandir
755
localedir
756
libdir
757
psdir
758
pdfdir
759
dvidir
760
htmldir
761
infodir
762
docdir
763
oldincludedir
764
includedir
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
765
runstatedir
1 by Osmo Antero Maatta
Initial import 17.jan.2011
766
localstatedir
767
sharedstatedir
768
sysconfdir
769
datadir
770
datarootdir
771
libexecdir
772
sbindir
773
bindir
774
program_transform_name
775
prefix
776
exec_prefix
777
PACKAGE_URL
778
PACKAGE_BUGREPORT
779
PACKAGE_STRING
780
PACKAGE_VERSION
781
PACKAGE_TARNAME
782
PACKAGE_NAME
783
PATH_SEPARATOR
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
784
SHELL
785
am__quote'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
786
ac_subst_files=''
787
ac_user_opts='
788
enable_option_checking
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
789
enable_silent_rules
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
790
enable_dependency_tracking
1 by Osmo Antero Maatta
Initial import 17.jan.2011
791
enable_maintainer_mode
792
enable_nls
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
793
enable_schemas_compile
1 by Osmo Antero Maatta
Initial import 17.jan.2011
794
'
795
      ac_precious_vars='build_alias
796
host_alias
797
target_alias
798
CC
799
CFLAGS
800
LDFLAGS
801
LIBS
802
CPPFLAGS
803
CPP
804
CXX
805
CXXFLAGS
806
CCC
807
PKG_CONFIG
808
PKG_CONFIG_PATH
809
PKG_CONFIG_LIBDIR
810
GLIB_CFLAGS
811
GLIB_LIBS
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
812
GIO_CFLAGS
813
GIO_LIBS
1 by Osmo Antero Maatta
Initial import 17.jan.2011
814
GTK_CFLAGS
815
GTK_LIBS
816
GSTREAMER_CFLAGS
817
GSTREAMER_LIBS
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
818
GSTREAMER_PBUTILS_CFLAGS
819
GSTREAMER_PBUTILS_LIBS
1 by Osmo Antero Maatta
Initial import 17.jan.2011
820
GTHREAD_CFLAGS
821
GTHREAD_LIBS
822
DBUS_CFLAGS
823
DBUS_LIBS
824
APP_INDICATOR_CFLAGS
1427 by Osmo Antero
Version 3.0.2
825
APP_INDICATOR_LIBS
826
GLIB_COMPILE_SCHEMAS'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
827
828
829
# Initialize some variables set by options.
830
ac_init_help=
831
ac_init_version=false
832
ac_unrecognized_opts=
833
ac_unrecognized_sep=
834
# The variables have the same names as the options, with
835
# dashes changed to underlines.
836
cache_file=/dev/null
837
exec_prefix=NONE
838
no_create=
839
no_recursion=
840
prefix=NONE
841
program_prefix=NONE
842
program_suffix=NONE
843
program_transform_name=s,x,x,
844
silent=
845
site=
846
srcdir=
847
verbose=
848
x_includes=NONE
849
x_libraries=NONE
850
851
# Installation directory options.
852
# These are left unexpanded so users can "make install exec_prefix=/foo"
853
# and all the variables that are supposed to be based on exec_prefix
854
# by default will actually change.
855
# Use braces instead of parens because sh, perl, etc. also accept them.
856
# (The list follows the same order as the GNU Coding Standards.)
857
bindir='${exec_prefix}/bin'
858
sbindir='${exec_prefix}/sbin'
859
libexecdir='${exec_prefix}/libexec'
860
datarootdir='${prefix}/share'
861
datadir='${datarootdir}'
862
sysconfdir='${prefix}/etc'
863
sharedstatedir='${prefix}/com'
864
localstatedir='${prefix}/var'
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
865
runstatedir='${localstatedir}/run'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
866
includedir='${prefix}/include'
867
oldincludedir='/usr/include'
868
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
869
infodir='${datarootdir}/info'
870
htmldir='${docdir}'
871
dvidir='${docdir}'
872
pdfdir='${docdir}'
873
psdir='${docdir}'
874
libdir='${exec_prefix}/lib'
875
localedir='${datarootdir}/locale'
876
mandir='${datarootdir}/man'
877
878
ac_prev=
879
ac_dashdash=
880
for ac_option
881
do
882
  # If the previous option needs an argument, assign it.
883
  if test -n "$ac_prev"; then
884
    eval $ac_prev=\$ac_option
885
    ac_prev=
886
    continue
887
  fi
888
889
  case $ac_option in
890
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
891
  *=)   ac_optarg= ;;
892
  *)    ac_optarg=yes ;;
893
  esac
894
895
  # Accept the important Cygnus configure options, so we can diagnose typos.
896
897
  case $ac_dashdash$ac_option in
898
  --)
899
    ac_dashdash=yes ;;
900
901
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
902
    ac_prev=bindir ;;
903
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904
    bindir=$ac_optarg ;;
905
906
  -build | --build | --buil | --bui | --bu)
907
    ac_prev=build_alias ;;
908
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
909
    build_alias=$ac_optarg ;;
910
911
  -cache-file | --cache-file | --cache-fil | --cache-fi \
912
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
913
    ac_prev=cache_file ;;
914
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
915
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
916
    cache_file=$ac_optarg ;;
917
918
  --config-cache | -C)
919
    cache_file=config.cache ;;
920
921
  -datadir | --datadir | --datadi | --datad)
922
    ac_prev=datadir ;;
923
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
924
    datadir=$ac_optarg ;;
925
926
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
927
  | --dataroo | --dataro | --datar)
928
    ac_prev=datarootdir ;;
929
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
930
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
931
    datarootdir=$ac_optarg ;;
932
933
  -disable-* | --disable-*)
934
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935
    # Reject names that are not valid shell variable names.
936
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937
      as_fn_error $? "invalid feature name: $ac_useropt"
938
    ac_useropt_orig=$ac_useropt
939
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940
    case $ac_user_opts in
941
      *"
942
"enable_$ac_useropt"
943
"*) ;;
944
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
945
	 ac_unrecognized_sep=', ';;
946
    esac
947
    eval enable_$ac_useropt=no ;;
948
949
  -docdir | --docdir | --docdi | --doc | --do)
950
    ac_prev=docdir ;;
951
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
952
    docdir=$ac_optarg ;;
953
954
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
955
    ac_prev=dvidir ;;
956
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
957
    dvidir=$ac_optarg ;;
958
959
  -enable-* | --enable-*)
960
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
961
    # Reject names that are not valid shell variable names.
962
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963
      as_fn_error $? "invalid feature name: $ac_useropt"
964
    ac_useropt_orig=$ac_useropt
965
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966
    case $ac_user_opts in
967
      *"
968
"enable_$ac_useropt"
969
"*) ;;
970
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
971
	 ac_unrecognized_sep=', ';;
972
    esac
973
    eval enable_$ac_useropt=\$ac_optarg ;;
974
975
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
976
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
977
  | --exec | --exe | --ex)
978
    ac_prev=exec_prefix ;;
979
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
980
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
981
  | --exec=* | --exe=* | --ex=*)
982
    exec_prefix=$ac_optarg ;;
983
984
  -gas | --gas | --ga | --g)
985
    # Obsolete; use --with-gas.
986
    with_gas=yes ;;
987
988
  -help | --help | --hel | --he | -h)
989
    ac_init_help=long ;;
990
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
991
    ac_init_help=recursive ;;
992
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
993
    ac_init_help=short ;;
994
995
  -host | --host | --hos | --ho)
996
    ac_prev=host_alias ;;
997
  -host=* | --host=* | --hos=* | --ho=*)
998
    host_alias=$ac_optarg ;;
999
1000
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1001
    ac_prev=htmldir ;;
1002
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1003
  | --ht=*)
1004
    htmldir=$ac_optarg ;;
1005
1006
  -includedir | --includedir | --includedi | --included | --include \
1007
  | --includ | --inclu | --incl | --inc)
1008
    ac_prev=includedir ;;
1009
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1010
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1011
    includedir=$ac_optarg ;;
1012
1013
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1014
    ac_prev=infodir ;;
1015
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1016
    infodir=$ac_optarg ;;
1017
1018
  -libdir | --libdir | --libdi | --libd)
1019
    ac_prev=libdir ;;
1020
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1021
    libdir=$ac_optarg ;;
1022
1023
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1024
  | --libexe | --libex | --libe)
1025
    ac_prev=libexecdir ;;
1026
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1027
  | --libexe=* | --libex=* | --libe=*)
1028
    libexecdir=$ac_optarg ;;
1029
1030
  -localedir | --localedir | --localedi | --localed | --locale)
1031
    ac_prev=localedir ;;
1032
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1033
    localedir=$ac_optarg ;;
1034
1035
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1036
  | --localstate | --localstat | --localsta | --localst | --locals)
1037
    ac_prev=localstatedir ;;
1038
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1039
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1040
    localstatedir=$ac_optarg ;;
1041
1042
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1043
    ac_prev=mandir ;;
1044
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1045
    mandir=$ac_optarg ;;
1046
1047
  -nfp | --nfp | --nf)
1048
    # Obsolete; use --without-fp.
1049
    with_fp=no ;;
1050
1051
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1052
  | --no-cr | --no-c | -n)
1053
    no_create=yes ;;
1054
1055
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1056
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1057
    no_recursion=yes ;;
1058
1059
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1060
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1061
  | --oldin | --oldi | --old | --ol | --o)
1062
    ac_prev=oldincludedir ;;
1063
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1064
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1065
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1066
    oldincludedir=$ac_optarg ;;
1067
1068
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1069
    ac_prev=prefix ;;
1070
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1071
    prefix=$ac_optarg ;;
1072
1073
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1074
  | --program-pre | --program-pr | --program-p)
1075
    ac_prev=program_prefix ;;
1076
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1077
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1078
    program_prefix=$ac_optarg ;;
1079
1080
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1081
  | --program-suf | --program-su | --program-s)
1082
    ac_prev=program_suffix ;;
1083
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1084
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1085
    program_suffix=$ac_optarg ;;
1086
1087
  -program-transform-name | --program-transform-name \
1088
  | --program-transform-nam | --program-transform-na \
1089
  | --program-transform-n | --program-transform- \
1090
  | --program-transform | --program-transfor \
1091
  | --program-transfo | --program-transf \
1092
  | --program-trans | --program-tran \
1093
  | --progr-tra | --program-tr | --program-t)
1094
    ac_prev=program_transform_name ;;
1095
  -program-transform-name=* | --program-transform-name=* \
1096
  | --program-transform-nam=* | --program-transform-na=* \
1097
  | --program-transform-n=* | --program-transform-=* \
1098
  | --program-transform=* | --program-transfor=* \
1099
  | --program-transfo=* | --program-transf=* \
1100
  | --program-trans=* | --program-tran=* \
1101
  | --progr-tra=* | --program-tr=* | --program-t=*)
1102
    program_transform_name=$ac_optarg ;;
1103
1104
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1105
    ac_prev=pdfdir ;;
1106
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1107
    pdfdir=$ac_optarg ;;
1108
1109
  -psdir | --psdir | --psdi | --psd | --ps)
1110
    ac_prev=psdir ;;
1111
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1112
    psdir=$ac_optarg ;;
1113
1114
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1115
  | -silent | --silent | --silen | --sile | --sil)
1116
    silent=yes ;;
1117
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
1118
  -runstatedir | --runstatedir | --runstatedi | --runstated \
1119
  | --runstate | --runstat | --runsta | --runst | --runs \
1120
  | --run | --ru | --r)
1121
    ac_prev=runstatedir ;;
1122
  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1123
  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1124
  | --run=* | --ru=* | --r=*)
1125
    runstatedir=$ac_optarg ;;
1126
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1127
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1128
    ac_prev=sbindir ;;
1129
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1130
  | --sbi=* | --sb=*)
1131
    sbindir=$ac_optarg ;;
1132
1133
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1134
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1135
  | --sharedst | --shareds | --shared | --share | --shar \
1136
  | --sha | --sh)
1137
    ac_prev=sharedstatedir ;;
1138
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1139
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1140
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1141
  | --sha=* | --sh=*)
1142
    sharedstatedir=$ac_optarg ;;
1143
1144
  -site | --site | --sit)
1145
    ac_prev=site ;;
1146
  -site=* | --site=* | --sit=*)
1147
    site=$ac_optarg ;;
1148
1149
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1150
    ac_prev=srcdir ;;
1151
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1152
    srcdir=$ac_optarg ;;
1153
1154
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1155
  | --syscon | --sysco | --sysc | --sys | --sy)
1156
    ac_prev=sysconfdir ;;
1157
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1158
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1159
    sysconfdir=$ac_optarg ;;
1160
1161
  -target | --target | --targe | --targ | --tar | --ta | --t)
1162
    ac_prev=target_alias ;;
1163
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1164
    target_alias=$ac_optarg ;;
1165
1166
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167
    verbose=yes ;;
1168
1169
  -version | --version | --versio | --versi | --vers | -V)
1170
    ac_init_version=: ;;
1171
1172
  -with-* | --with-*)
1173
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174
    # Reject names that are not valid shell variable names.
1175
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1176
      as_fn_error $? "invalid package name: $ac_useropt"
1177
    ac_useropt_orig=$ac_useropt
1178
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179
    case $ac_user_opts in
1180
      *"
1181
"with_$ac_useropt"
1182
"*) ;;
1183
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184
	 ac_unrecognized_sep=', ';;
1185
    esac
1186
    eval with_$ac_useropt=\$ac_optarg ;;
1187
1188
  -without-* | --without-*)
1189
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190
    # Reject names that are not valid shell variable names.
1191
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1192
      as_fn_error $? "invalid package name: $ac_useropt"
1193
    ac_useropt_orig=$ac_useropt
1194
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195
    case $ac_user_opts in
1196
      *"
1197
"with_$ac_useropt"
1198
"*) ;;
1199
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200
	 ac_unrecognized_sep=', ';;
1201
    esac
1202
    eval with_$ac_useropt=no ;;
1203
1204
  --x)
1205
    # Obsolete; use --with-x.
1206
    with_x=yes ;;
1207
1208
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1209
  | --x-incl | --x-inc | --x-in | --x-i)
1210
    ac_prev=x_includes ;;
1211
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1212
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1213
    x_includes=$ac_optarg ;;
1214
1215
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1216
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1217
    ac_prev=x_libraries ;;
1218
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1219
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1220
    x_libraries=$ac_optarg ;;
1221
1222
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1223
Try \`$0 --help' for more information"
1224
    ;;
1225
1226
  *=*)
1227
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1228
    # Reject names that are not valid shell variable names.
1229
    case $ac_envvar in #(
1230
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1231
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1232
    esac
1233
    eval $ac_envvar=\$ac_optarg
1234
    export $ac_envvar ;;
1235
1236
  *)
1237
    # FIXME: should be removed in autoconf 3.0.
1238
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1240
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
56 by Osmo Antero
Version 0.5
1241
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1242
    ;;
1243
1244
  esac
1245
done
1246
1247
if test -n "$ac_prev"; then
1248
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1249
  as_fn_error $? "missing argument to $ac_option"
1250
fi
1251
1252
if test -n "$ac_unrecognized_opts"; then
1253
  case $enable_option_checking in
1254
    no) ;;
1255
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1256
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257
  esac
1258
fi
1259
1260
# Check all directory arguments for consistency.
1261
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262
		datadir sysconfdir sharedstatedir localstatedir includedir \
1263
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
1264
		libdir localedir mandir runstatedir
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1265
do
1266
  eval ac_val=\$$ac_var
1267
  # Remove trailing slashes.
1268
  case $ac_val in
1269
    */ )
1270
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271
      eval $ac_var=\$ac_val;;
1272
  esac
1273
  # Be sure to have absolute directory names.
1274
  case $ac_val in
1275
    [\\/$]* | ?:[\\/]* )  continue;;
1276
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1277
  esac
1278
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279
done
1280
1281
# There might be people who depend on the old broken behavior: `$host'
1282
# used to hold the argument of --host etc.
1283
# FIXME: To remove some day.
1284
build=$build_alias
1285
host=$host_alias
1286
target=$target_alias
1287
1288
# FIXME: To remove some day.
1289
if test "x$host_alias" != x; then
1290
  if test "x$build_alias" = x; then
1291
    cross_compiling=maybe
1292
  elif test "x$build_alias" != "x$host_alias"; then
1293
    cross_compiling=yes
1294
  fi
1295
fi
1296
1297
ac_tool_prefix=
1298
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299
1300
test "$silent" = yes && exec 6>/dev/null
1301
1302
1303
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1304
ac_ls_di=`ls -di .` &&
1305
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1306
  as_fn_error $? "working directory cannot be determined"
1307
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308
  as_fn_error $? "pwd does not report name of working directory"
1309
1310
1311
# Find the source files, if location was not specified.
1312
if test -z "$srcdir"; then
1313
  ac_srcdir_defaulted=yes
1314
  # Try the directory containing this script, then the parent directory.
1315
  ac_confdir=`$as_dirname -- "$as_myself" ||
1316
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1318
	 X"$as_myself" : 'X\(//\)$' \| \
1319
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320
$as_echo X"$as_myself" |
1321
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1322
	    s//\1/
1323
	    q
1324
	  }
1325
	  /^X\(\/\/\)[^/].*/{
1326
	    s//\1/
1327
	    q
1328
	  }
1329
	  /^X\(\/\/\)$/{
1330
	    s//\1/
1331
	    q
1332
	  }
1333
	  /^X\(\/\).*/{
1334
	    s//\1/
1335
	    q
1336
	  }
1337
	  s/.*/./; q'`
1338
  srcdir=$ac_confdir
1339
  if test ! -r "$srcdir/$ac_unique_file"; then
1340
    srcdir=..
1341
  fi
1342
else
1343
  ac_srcdir_defaulted=no
1344
fi
1345
if test ! -r "$srcdir/$ac_unique_file"; then
1346
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1347
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348
fi
1349
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350
ac_abs_confdir=`(
1351
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352
	pwd)`
1353
# When building in place, set srcdir=.
1354
if test "$ac_abs_confdir" = "$ac_pwd"; then
1355
  srcdir=.
1356
fi
1357
# Remove unnecessary trailing slashes from srcdir.
1358
# Double slashes in file names in object file debugging info
1359
# mess up M-x gdb in Emacs.
1360
case $srcdir in
1361
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362
esac
1363
for ac_var in $ac_precious_vars; do
1364
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1365
  eval ac_env_${ac_var}_value=\$${ac_var}
1366
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1367
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1368
done
1369
1370
#
1371
# Report the --help message.
1372
#
1373
if test "$ac_init_help" = "long"; then
1374
  # Omit some internal or obsolete options to make the list less imposing.
1375
  # This message is too long to be a string in the A/UX 3.1 sh.
1376
  cat <<_ACEOF
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
1377
\`configure' configures Audio Recorder 3.2.0 to adapt to many kinds of systems.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1378
1379
Usage: $0 [OPTION]... [VAR=VALUE]...
1380
1381
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382
VAR=VALUE.  See below for descriptions of some of the useful variables.
1383
1384
Defaults for the options are specified in brackets.
1385
1386
Configuration:
1387
  -h, --help              display this help and exit
1388
      --help=short        display options specific to this package
1389
      --help=recursive    display the short help of all the included packages
1390
  -V, --version           display version information and exit
1391
  -q, --quiet, --silent   do not print \`checking ...' messages
1392
      --cache-file=FILE   cache test results in FILE [disabled]
1393
  -C, --config-cache      alias for \`--cache-file=config.cache'
1394
  -n, --no-create         do not create output files
1395
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1396
1397
Installation directories:
1398
  --prefix=PREFIX         install architecture-independent files in PREFIX
1399
                          [$ac_default_prefix]
1400
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1401
                          [PREFIX]
1402
1403
By default, \`make install' will install all the files in
1404
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1405
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406
for instance \`--prefix=\$HOME'.
1407
1408
For better control, use the options below.
1409
1410
Fine tuning of the installation directories:
1411
  --bindir=DIR            user executables [EPREFIX/bin]
1412
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1413
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1414
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1415
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1416
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
1417
  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1418
  --libdir=DIR            object code libraries [EPREFIX/lib]
1419
  --includedir=DIR        C header files [PREFIX/include]
1420
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1421
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1422
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1423
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1424
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1425
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1426
  --docdir=DIR            documentation root [DATAROOTDIR/doc/audio-recorder]
1427
  --htmldir=DIR           html documentation [DOCDIR]
1428
  --dvidir=DIR            dvi documentation [DOCDIR]
1429
  --pdfdir=DIR            pdf documentation [DOCDIR]
1430
  --psdir=DIR             ps documentation [DOCDIR]
1431
_ACEOF
1432
1433
  cat <<\_ACEOF
1434
1435
Program names:
1436
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1437
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1438
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1439
_ACEOF
1440
fi
1441
1442
if test -n "$ac_init_help"; then
1443
  case $ac_init_help in
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
1444
     short | recursive ) echo "Configuration of Audio Recorder 3.2.0:";;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1445
   esac
1446
  cat <<\_ACEOF
1447
1448
Optional Features:
1449
  --disable-option-checking  ignore unrecognized --enable/--with options
1450
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1451
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
1452
  --enable-silent-rules   less verbose build output (undo: "make V=1")
1453
  --disable-silent-rules  verbose build output (undo: "make V=0")
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
1454
  --enable-dependency-tracking
1455
                          do not reject slow dependency extractors
1456
  --disable-dependency-tracking
1457
                          speeds up one-time build
1458
  --enable-maintainer-mode
1459
                          enable make rules and dependencies not useful (and
1460
                          sometimes confusing) to the casual installer
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1461
  --disable-nls           do not use Native Language Support
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
1462
  --disable-schemas-compile
1463
                          Disable regeneration of gschemas.compiled on install
1464
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1465
Some influential environment variables:
1466
  CC          C compiler command
1467
  CFLAGS      C compiler flags
1468
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1469
              nonstandard directory <lib dir>
1470
  LIBS        libraries to pass to the linker, e.g. -l<library>
1471
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1472
              you have headers in a nonstandard directory <include dir>
1473
  CPP         C preprocessor
1474
  CXX         C++ compiler command
1475
  CXXFLAGS    C++ compiler flags
1476
  PKG_CONFIG  path to pkg-config utility
1477
  PKG_CONFIG_PATH
1478
              directories to add to pkg-config's search path
1479
  PKG_CONFIG_LIBDIR
1480
              path overriding pkg-config's built-in search path
1481
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1482
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
1483
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1484
  GIO_LIBS    linker flags for GIO, overriding pkg-config
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1485
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1486
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1487
  GSTREAMER_CFLAGS
1488
              C compiler flags for GSTREAMER, overriding pkg-config
1489
  GSTREAMER_LIBS
1490
              linker flags for GSTREAMER, overriding pkg-config
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
1491
  GSTREAMER_PBUTILS_CFLAGS
1492
              C compiler flags for GSTREAMER_PBUTILS, overriding pkg-config
1493
  GSTREAMER_PBUTILS_LIBS
1494
              linker flags for GSTREAMER_PBUTILS, overriding pkg-config
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1495
  GTHREAD_CFLAGS
1496
              C compiler flags for GTHREAD, overriding pkg-config
1497
  GTHREAD_LIBS
1498
              linker flags for GTHREAD, overriding pkg-config
1499
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1500
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1501
  APP_INDICATOR_CFLAGS
1502
              C compiler flags for APP_INDICATOR, overriding pkg-config
1503
  APP_INDICATOR_LIBS
1504
              linker flags for APP_INDICATOR, overriding pkg-config
1427 by Osmo Antero
Version 3.0.2
1505
  GLIB_COMPILE_SCHEMAS
1506
              value of glib_compile_schemas for gio-2.0, overriding pkg-config
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1507
1508
Use these variables to override the choices made by `configure' or to help
1509
it to find libraries and programs with nonstandard names/locations.
1510
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
1511
Report bugs to <https://bugs.launchpad.net/~audio-recorder>.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1512
_ACEOF
1513
ac_status=$?
1514
fi
1515
1516
if test "$ac_init_help" = "recursive"; then
1517
  # If there are subdirs, report their specific --help.
1518
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1519
    test -d "$ac_dir" ||
1520
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1521
      continue
1522
    ac_builddir=.
1523
1524
case "$ac_dir" in
1525
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526
*)
1527
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1528
  # A ".." for each directory in $ac_dir_suffix.
1529
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1530
  case $ac_top_builddir_sub in
1531
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1533
  esac ;;
1534
esac
1535
ac_abs_top_builddir=$ac_pwd
1536
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1537
# for backward compatibility:
1538
ac_top_builddir=$ac_top_build_prefix
1539
1540
case $srcdir in
1541
  .)  # We are building in place.
1542
    ac_srcdir=.
1543
    ac_top_srcdir=$ac_top_builddir_sub
1544
    ac_abs_top_srcdir=$ac_pwd ;;
1545
  [\\/]* | ?:[\\/]* )  # Absolute name.
1546
    ac_srcdir=$srcdir$ac_dir_suffix;
1547
    ac_top_srcdir=$srcdir
1548
    ac_abs_top_srcdir=$srcdir ;;
1549
  *) # Relative name.
1550
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1551
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1552
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1553
esac
1554
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555
1556
    cd "$ac_dir" || { ac_status=$?; continue; }
1557
    # Check for guested configure.
1558
    if test -f "$ac_srcdir/configure.gnu"; then
1559
      echo &&
1560
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1561
    elif test -f "$ac_srcdir/configure"; then
1562
      echo &&
1563
      $SHELL "$ac_srcdir/configure" --help=recursive
1564
    else
1565
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566
    fi || ac_status=$?
1567
    cd "$ac_pwd" || { ac_status=$?; break; }
1568
  done
1569
fi
1570
1571
test -n "$ac_init_help" && exit $ac_status
1572
if $ac_init_version; then
1573
  cat <<\_ACEOF
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
1574
Audio Recorder configure 3.2.0
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1575
generated by GNU Autoconf 2.69
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1576
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1577
Copyright (C) 2012 Free Software Foundation, Inc.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1578
This configure script is free software; the Free Software Foundation
1579
gives unlimited permission to copy, distribute and modify it.
1580
_ACEOF
1581
  exit
1582
fi
1583
1584
## ------------------------ ##
1585
## Autoconf initialization. ##
1586
## ------------------------ ##
1587
1588
# ac_fn_c_try_compile LINENO
1589
# --------------------------
1590
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1591
ac_fn_c_try_compile ()
1592
{
1593
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594
  rm -f conftest.$ac_objext
1595
  if { { ac_try="$ac_compile"
1596
case "(($ac_try" in
1597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598
  *) ac_try_echo=$ac_try;;
1599
esac
1600
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601
$as_echo "$ac_try_echo"; } >&5
1602
  (eval "$ac_compile") 2>conftest.err
1603
  ac_status=$?
1604
  if test -s conftest.err; then
1605
    grep -v '^ *+' conftest.err >conftest.er1
1606
    cat conftest.er1 >&5
1607
    mv -f conftest.er1 conftest.err
1608
  fi
1609
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610
  test $ac_status = 0; } && {
1611
	 test -z "$ac_c_werror_flag" ||
1612
	 test ! -s conftest.err
1613
       } && test -s conftest.$ac_objext; then :
1614
  ac_retval=0
1615
else
1616
  $as_echo "$as_me: failed program was:" >&5
1617
sed 's/^/| /' conftest.$ac_ext >&5
1618
1619
	ac_retval=1
1620
fi
56 by Osmo Antero
Version 0.5
1621
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1622
  as_fn_set_status $ac_retval
1623
1624
} # ac_fn_c_try_compile
1625
1626
# ac_fn_c_try_cpp LINENO
1627
# ----------------------
1628
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1629
ac_fn_c_try_cpp ()
1630
{
1631
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1633
case "(($ac_try" in
1634
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635
  *) ac_try_echo=$ac_try;;
1636
esac
1637
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638
$as_echo "$ac_try_echo"; } >&5
1639
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1640
  ac_status=$?
1641
  if test -s conftest.err; then
1642
    grep -v '^ *+' conftest.err >conftest.er1
1643
    cat conftest.er1 >&5
1644
    mv -f conftest.er1 conftest.err
1645
  fi
1646
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647
  test $ac_status = 0; } > conftest.i && {
1648
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1649
	 test ! -s conftest.err
1650
       }; then :
1651
  ac_retval=0
1652
else
1653
  $as_echo "$as_me: failed program was:" >&5
1654
sed 's/^/| /' conftest.$ac_ext >&5
1655
1656
    ac_retval=1
1657
fi
56 by Osmo Antero
Version 0.5
1658
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1659
  as_fn_set_status $ac_retval
1660
1661
} # ac_fn_c_try_cpp
1662
1663
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1664
# -------------------------------------------------------
1665
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1666
# the include files in INCLUDES and setting the cache variable VAR
1667
# accordingly.
1668
ac_fn_c_check_header_mongrel ()
1669
{
1670
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
56 by Osmo Antero
Version 0.5
1671
  if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1672
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1674
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1675
  $as_echo_n "(cached) " >&6
1676
fi
1677
eval ac_res=\$$3
1678
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679
$as_echo "$ac_res" >&6; }
1680
else
1681
  # Is the header compilable?
1682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1683
$as_echo_n "checking $2 usability... " >&6; }
1684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685
/* end confdefs.h.  */
1686
$4
1687
#include <$2>
1688
_ACEOF
1689
if ac_fn_c_try_compile "$LINENO"; then :
1690
  ac_header_compiler=yes
1691
else
1692
  ac_header_compiler=no
1693
fi
1694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1696
$as_echo "$ac_header_compiler" >&6; }
1697
1698
# Is the header present?
1699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1700
$as_echo_n "checking $2 presence... " >&6; }
1701
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1702
/* end confdefs.h.  */
1703
#include <$2>
1704
_ACEOF
1705
if ac_fn_c_try_cpp "$LINENO"; then :
1706
  ac_header_preproc=yes
1707
else
1708
  ac_header_preproc=no
1709
fi
1710
rm -f conftest.err conftest.i conftest.$ac_ext
1711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1712
$as_echo "$ac_header_preproc" >&6; }
1713
1714
# So?  What about this header?
1715
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1716
  yes:no: )
1717
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1718
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1719
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1720
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1721
    ;;
1722
  no:yes:* )
1723
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1724
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1725
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1726
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1727
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1728
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1729
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1730
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1731
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1732
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
1733
( $as_echo "## --------------------------------------------------------- ##
1734
## Report this to https://bugs.launchpad.net/~audio-recorder ##
1735
## --------------------------------------------------------- ##"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1736
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1737
    ;;
1738
esac
1739
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1741
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1742
  $as_echo_n "(cached) " >&6
1743
else
1744
  eval "$3=\$ac_header_compiler"
1745
fi
1746
eval ac_res=\$$3
1747
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748
$as_echo "$ac_res" >&6; }
1749
fi
56 by Osmo Antero
Version 0.5
1750
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1751
1752
} # ac_fn_c_check_header_mongrel
1753
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
1754
# ac_fn_c_try_run LINENO
1755
# ----------------------
1756
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757
# that executables *can* be run.
1758
ac_fn_c_try_run ()
1759
{
1760
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761
  if { { ac_try="$ac_link"
1762
case "(($ac_try" in
1763
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764
  *) ac_try_echo=$ac_try;;
1765
esac
1766
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767
$as_echo "$ac_try_echo"; } >&5
1768
  (eval "$ac_link") 2>&5
1769
  ac_status=$?
1770
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1772
  { { case "(($ac_try" in
1773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774
  *) ac_try_echo=$ac_try;;
1775
esac
1776
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777
$as_echo "$ac_try_echo"; } >&5
1778
  (eval "$ac_try") 2>&5
1779
  ac_status=$?
1780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781
  test $ac_status = 0; }; }; then :
1782
  ac_retval=0
1783
else
1784
  $as_echo "$as_me: program exited with status $ac_status" >&5
1785
       $as_echo "$as_me: failed program was:" >&5
1786
sed 's/^/| /' conftest.$ac_ext >&5
1787
1788
       ac_retval=$ac_status
1789
fi
1790
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792
  as_fn_set_status $ac_retval
1793
1794
} # ac_fn_c_try_run
1795
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1796
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797
# -------------------------------------------------------
1798
# Tests whether HEADER exists and can be compiled using the include files in
1799
# INCLUDES, setting the cache variable VAR accordingly.
1800
ac_fn_c_check_header_compile ()
1801
{
1802
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1805
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1806
  $as_echo_n "(cached) " >&6
1807
else
1808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809
/* end confdefs.h.  */
1810
$4
1811
#include <$2>
1812
_ACEOF
1813
if ac_fn_c_try_compile "$LINENO"; then :
1814
  eval "$3=yes"
1815
else
1816
  eval "$3=no"
1817
fi
1818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819
fi
1820
eval ac_res=\$$3
1821
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822
$as_echo "$ac_res" >&6; }
56 by Osmo Antero
Version 0.5
1823
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1824
1825
} # ac_fn_c_check_header_compile
1826
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
1827
# ac_fn_cxx_try_compile LINENO
1828
# ----------------------------
1829
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1830
ac_fn_cxx_try_compile ()
1831
{
1832
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
  rm -f conftest.$ac_objext
1834
  if { { ac_try="$ac_compile"
1835
case "(($ac_try" in
1836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837
  *) ac_try_echo=$ac_try;;
1838
esac
1839
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840
$as_echo "$ac_try_echo"; } >&5
1841
  (eval "$ac_compile") 2>conftest.err
1842
  ac_status=$?
1843
  if test -s conftest.err; then
1844
    grep -v '^ *+' conftest.err >conftest.er1
1845
    cat conftest.er1 >&5
1846
    mv -f conftest.er1 conftest.err
1847
  fi
1848
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849
  test $ac_status = 0; } && {
1850
	 test -z "$ac_cxx_werror_flag" ||
1851
	 test ! -s conftest.err
1852
       } && test -s conftest.$ac_objext; then :
1853
  ac_retval=0
1854
else
1855
  $as_echo "$as_me: failed program was:" >&5
1856
sed 's/^/| /' conftest.$ac_ext >&5
1857
1858
	ac_retval=1
1859
fi
1860
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861
  as_fn_set_status $ac_retval
1862
1863
} # ac_fn_cxx_try_compile
1864
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1865
# ac_fn_c_try_link LINENO
1866
# -----------------------
1867
# Try to link conftest.$ac_ext, and return whether this succeeded.
1868
ac_fn_c_try_link ()
1869
{
1870
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871
  rm -f conftest.$ac_objext conftest$ac_exeext
1872
  if { { ac_try="$ac_link"
1873
case "(($ac_try" in
1874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875
  *) ac_try_echo=$ac_try;;
1876
esac
1877
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878
$as_echo "$ac_try_echo"; } >&5
1879
  (eval "$ac_link") 2>conftest.err
1880
  ac_status=$?
1881
  if test -s conftest.err; then
1882
    grep -v '^ *+' conftest.err >conftest.er1
1883
    cat conftest.er1 >&5
1884
    mv -f conftest.er1 conftest.err
1885
  fi
1886
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887
  test $ac_status = 0; } && {
1888
	 test -z "$ac_c_werror_flag" ||
1889
	 test ! -s conftest.err
1890
       } && test -s conftest$ac_exeext && {
1891
	 test "$cross_compiling" = yes ||
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1892
	 test -x conftest$ac_exeext
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1893
       }; then :
1894
  ac_retval=0
1895
else
1896
  $as_echo "$as_me: failed program was:" >&5
1897
sed 's/^/| /' conftest.$ac_ext >&5
1898
1899
	ac_retval=1
1900
fi
1901
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1902
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1903
  # interfere with the next link command; also delete a directory that is
1904
  # left behind by Apple's compiler.  We do this before executing the actions.
1905
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
56 by Osmo Antero
Version 0.5
1906
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1907
  as_fn_set_status $ac_retval
1908
1909
} # ac_fn_c_try_link
1910
1911
# ac_fn_c_check_func LINENO FUNC VAR
1912
# ----------------------------------
1913
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1914
ac_fn_c_check_func ()
1915
{
1916
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1919
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1920
  $as_echo_n "(cached) " >&6
1921
else
1922
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923
/* end confdefs.h.  */
1924
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1925
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1926
#define $2 innocuous_$2
1927
1928
/* System header to define __stub macros and hopefully few prototypes,
1929
    which can conflict with char $2 (); below.
1930
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1931
    <limits.h> exists even on freestanding compilers.  */
1932
1933
#ifdef __STDC__
1934
# include <limits.h>
1935
#else
1936
# include <assert.h>
1937
#endif
1938
1939
#undef $2
1940
1941
/* Override any GCC internal prototype to avoid an error.
1942
   Use char because int might match the return type of a GCC
1943
   builtin and then its argument prototype would still apply.  */
1944
#ifdef __cplusplus
1945
extern "C"
1946
#endif
1947
char $2 ();
1948
/* The GNU C library defines this for functions which it implements
1949
    to always fail with ENOSYS.  Some functions are actually named
1950
    something starting with __ and the normal name is an alias.  */
1951
#if defined __stub_$2 || defined __stub___$2
1952
choke me
1953
#endif
1954
1955
int
1956
main ()
1957
{
1958
return $2 ();
1959
  ;
1960
  return 0;
1961
}
1962
_ACEOF
1963
if ac_fn_c_try_link "$LINENO"; then :
1964
  eval "$3=yes"
1965
else
1966
  eval "$3=no"
1967
fi
1968
rm -f core conftest.err conftest.$ac_objext \
1969
    conftest$ac_exeext conftest.$ac_ext
1970
fi
1971
eval ac_res=\$$3
1972
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973
$as_echo "$ac_res" >&6; }
56 by Osmo Antero
Version 0.5
1974
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1975
1976
} # ac_fn_c_check_func
1977
cat >config.log <<_ACEOF
1978
This file contains any messages produced by compilers while
1979
running configure, to aid debugging if configure makes a mistake.
1980
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
1981
It was created by Audio Recorder $as_me 3.2.0, which was
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1982
generated by GNU Autoconf 2.69.  Invocation command line was
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1983
1984
  $ $0 $@
1985
1986
_ACEOF
1987
exec 5>>config.log
1988
{
1989
cat <<_ASUNAME
1990
## --------- ##
1991
## Platform. ##
1992
## --------- ##
1993
1994
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1995
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1996
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1997
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1998
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1999
2000
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2001
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2002
2003
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2004
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2005
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2006
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2007
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2008
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2009
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2010
2011
_ASUNAME
2012
2013
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014
for as_dir in $PATH
2015
do
2016
  IFS=$as_save_IFS
2017
  test -z "$as_dir" && as_dir=.
2018
    $as_echo "PATH: $as_dir"
2019
  done
2020
IFS=$as_save_IFS
2021
2022
} >&5
2023
2024
cat >&5 <<_ACEOF
2025
2026
2027
## ----------- ##
2028
## Core tests. ##
2029
## ----------- ##
2030
2031
_ACEOF
2032
2033
2034
# Keep a trace of the command line.
2035
# Strip out --no-create and --no-recursion so they do not pile up.
2036
# Strip out --silent because we don't want to record it for future runs.
2037
# Also quote any args containing shell meta-characters.
2038
# Make two passes to allow for proper duplicate-argument suppression.
2039
ac_configure_args=
2040
ac_configure_args0=
2041
ac_configure_args1=
2042
ac_must_keep_next=false
2043
for ac_pass in 1 2
2044
do
2045
  for ac_arg
2046
  do
2047
    case $ac_arg in
2048
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2049
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2050
    | -silent | --silent | --silen | --sile | --sil)
2051
      continue ;;
2052
    *\'*)
2053
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2054
    esac
2055
    case $ac_pass in
2056
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2057
    2)
2058
      as_fn_append ac_configure_args1 " '$ac_arg'"
2059
      if test $ac_must_keep_next = true; then
2060
	ac_must_keep_next=false # Got value, back to normal.
2061
      else
2062
	case $ac_arg in
2063
	  *=* | --config-cache | -C | -disable-* | --disable-* \
2064
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2065
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2066
	  | -with-* | --with-* | -without-* | --without-* | --x)
2067
	    case "$ac_configure_args0 " in
2068
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2069
	    esac
2070
	    ;;
2071
	  -* ) ac_must_keep_next=true ;;
2072
	esac
2073
      fi
2074
      as_fn_append ac_configure_args " '$ac_arg'"
2075
      ;;
2076
    esac
2077
  done
2078
done
2079
{ ac_configure_args0=; unset ac_configure_args0;}
2080
{ ac_configure_args1=; unset ac_configure_args1;}
2081
2082
# When interrupted or exit'd, cleanup temporary files, and complete
2083
# config.log.  We remove comments because anyway the quotes in there
2084
# would cause problems or look ugly.
2085
# WARNING: Use '\'' to represent an apostrophe within the trap.
2086
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2087
trap 'exit_status=$?
2088
  # Save into config.log some information that might help in debugging.
2089
  {
2090
    echo
2091
2092
    $as_echo "## ---------------- ##
2093
## Cache variables. ##
2094
## ---------------- ##"
2095
    echo
2096
    # The following way of writing the cache mishandles newlines in values,
2097
(
2098
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2099
    eval ac_val=\$$ac_var
2100
    case $ac_val in #(
2101
    *${as_nl}*)
2102
      case $ac_var in #(
2103
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2104
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2105
      esac
2106
      case $ac_var in #(
2107
      _ | IFS | as_nl) ;; #(
2108
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2109
      *) { eval $ac_var=; unset $ac_var;} ;;
2110
      esac ;;
2111
    esac
2112
  done
2113
  (set) 2>&1 |
2114
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2115
    *${as_nl}ac_space=\ *)
2116
      sed -n \
2117
	"s/'\''/'\''\\\\'\'''\''/g;
2118
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2119
      ;; #(
2120
    *)
2121
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2122
      ;;
2123
    esac |
2124
    sort
2125
)
2126
    echo
2127
2128
    $as_echo "## ----------------- ##
2129
## Output variables. ##
2130
## ----------------- ##"
2131
    echo
2132
    for ac_var in $ac_subst_vars
2133
    do
2134
      eval ac_val=\$$ac_var
2135
      case $ac_val in
2136
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2137
      esac
2138
      $as_echo "$ac_var='\''$ac_val'\''"
2139
    done | sort
2140
    echo
2141
2142
    if test -n "$ac_subst_files"; then
2143
      $as_echo "## ------------------- ##
2144
## File substitutions. ##
2145
## ------------------- ##"
2146
      echo
2147
      for ac_var in $ac_subst_files
2148
      do
2149
	eval ac_val=\$$ac_var
2150
	case $ac_val in
2151
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2152
	esac
2153
	$as_echo "$ac_var='\''$ac_val'\''"
2154
      done | sort
2155
      echo
2156
    fi
2157
2158
    if test -s confdefs.h; then
2159
      $as_echo "## ----------- ##
2160
## confdefs.h. ##
2161
## ----------- ##"
2162
      echo
2163
      cat confdefs.h
2164
      echo
2165
    fi
2166
    test "$ac_signal" != 0 &&
2167
      $as_echo "$as_me: caught signal $ac_signal"
2168
    $as_echo "$as_me: exit $exit_status"
2169
  } >&5
2170
  rm -f core *.core core.conftest.* &&
2171
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2172
    exit $exit_status
2173
' 0
2174
for ac_signal in 1 2 13 15; do
2175
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2176
done
2177
ac_signal=0
2178
2179
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2180
rm -f -r conftest* confdefs.h
2181
2182
$as_echo "/* confdefs.h */" > confdefs.h
2183
2184
# Predefined preprocessor variables.
2185
2186
cat >>confdefs.h <<_ACEOF
2187
#define PACKAGE_NAME "$PACKAGE_NAME"
2188
_ACEOF
2189
2190
cat >>confdefs.h <<_ACEOF
2191
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2192
_ACEOF
2193
2194
cat >>confdefs.h <<_ACEOF
2195
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2196
_ACEOF
2197
2198
cat >>confdefs.h <<_ACEOF
2199
#define PACKAGE_STRING "$PACKAGE_STRING"
2200
_ACEOF
2201
2202
cat >>confdefs.h <<_ACEOF
2203
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2204
_ACEOF
2205
2206
cat >>confdefs.h <<_ACEOF
2207
#define PACKAGE_URL "$PACKAGE_URL"
2208
_ACEOF
2209
2210
2211
# Let the site file select an alternate cache file if it wants to.
2212
# Prefer an explicitly selected file to automatically selected ones.
2213
ac_site_file1=NONE
2214
ac_site_file2=NONE
2215
if test -n "$CONFIG_SITE"; then
2216
  # We do not want a PATH search for config.site.
2217
  case $CONFIG_SITE in #((
2218
    -*)  ac_site_file1=./$CONFIG_SITE;;
2219
    */*) ac_site_file1=$CONFIG_SITE;;
2220
    *)   ac_site_file1=./$CONFIG_SITE;;
2221
  esac
2222
elif test "x$prefix" != xNONE; then
2223
  ac_site_file1=$prefix/share/config.site
2224
  ac_site_file2=$prefix/etc/config.site
2225
else
2226
  ac_site_file1=$ac_default_prefix/share/config.site
2227
  ac_site_file2=$ac_default_prefix/etc/config.site
2228
fi
2229
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2230
do
2231
  test "x$ac_site_file" = xNONE && continue
2232
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2233
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2234
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2235
    sed 's/^/| /' "$ac_site_file" >&5
2236
    . "$ac_site_file" \
2237
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2238
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2239
as_fn_error $? "failed to load site script $ac_site_file
56 by Osmo Antero
Version 0.5
2240
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2241
  fi
2242
done
2243
2244
if test -r "$cache_file"; then
2245
  # Some versions of bash will fail to source /dev/null (special files
2246
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2247
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2248
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2249
$as_echo "$as_me: loading cache $cache_file" >&6;}
2250
    case $cache_file in
2251
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2252
      *)                      . "./$cache_file";;
2253
    esac
2254
  fi
2255
else
2256
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2257
$as_echo "$as_me: creating cache $cache_file" >&6;}
2258
  >$cache_file
2259
fi
2260
2261
# Check that the precious variables saved in the cache have kept the same
2262
# value.
2263
ac_cache_corrupted=false
2264
for ac_var in $ac_precious_vars; do
2265
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2266
  eval ac_new_set=\$ac_env_${ac_var}_set
2267
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2268
  eval ac_new_val=\$ac_env_${ac_var}_value
2269
  case $ac_old_set,$ac_new_set in
2270
    set,)
2271
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2272
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2273
      ac_cache_corrupted=: ;;
2274
    ,set)
2275
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2276
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2277
      ac_cache_corrupted=: ;;
2278
    ,);;
2279
    *)
2280
      if test "x$ac_old_val" != "x$ac_new_val"; then
2281
	# differences in whitespace do not lead to failure.
2282
	ac_old_val_w=`echo x $ac_old_val`
2283
	ac_new_val_w=`echo x $ac_new_val`
2284
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2285
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2286
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2287
	  ac_cache_corrupted=:
2288
	else
2289
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2290
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2291
	  eval $ac_var=\$ac_old_val
2292
	fi
2293
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2294
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2295
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2296
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2297
      fi;;
2298
  esac
2299
  # Pass precious variables to config.status.
2300
  if test "$ac_new_set" = set; then
2301
    case $ac_new_val in
2302
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2303
    *) ac_arg=$ac_var=$ac_new_val ;;
2304
    esac
2305
    case " $ac_configure_args " in
2306
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2307
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2308
    esac
2309
  fi
2310
done
2311
if $ac_cache_corrupted; then
2312
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2313
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2314
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2315
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2316
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2317
fi
2318
## -------------------- ##
2319
## Main body of script. ##
2320
## -------------------- ##
2321
2322
ac_ext=c
2323
ac_cpp='$CPP $CPPFLAGS'
2324
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2325
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2326
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2327
2328
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2329
am__api_version='1.16'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2330
2331
ac_aux_dir=
2332
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2333
  if test -f "$ac_dir/install-sh"; then
2334
    ac_aux_dir=$ac_dir
2335
    ac_install_sh="$ac_aux_dir/install-sh -c"
2336
    break
2337
  elif test -f "$ac_dir/install.sh"; then
2338
    ac_aux_dir=$ac_dir
2339
    ac_install_sh="$ac_aux_dir/install.sh -c"
2340
    break
2341
  elif test -f "$ac_dir/shtool"; then
2342
    ac_aux_dir=$ac_dir
2343
    ac_install_sh="$ac_aux_dir/shtool install -c"
2344
    break
2345
  fi
2346
done
2347
if test -z "$ac_aux_dir"; then
2348
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2349
fi
2350
2351
# These three variables are undocumented and unsupported,
2352
# and are intended to be withdrawn in a future Autoconf release.
2353
# They can cause serious problems if a builder's source tree is in a directory
2354
# whose full name contains unusual characters.
2355
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2356
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2357
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2358
2359
2360
# Find a good install program.  We prefer a C program (faster),
2361
# so one script is as good as another.  But avoid the broken or
2362
# incompatible versions:
2363
# SysV /etc/install, /usr/sbin/install
2364
# SunOS /usr/etc/install
2365
# IRIX /sbin/install
2366
# AIX /bin/install
2367
# AmigaOS /C/install, which installs bootblocks on floppy discs
2368
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2369
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2370
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2371
# OS/2's system install, which has a completely different semantic
2372
# ./install, which can be erroneously created by make from ./install.sh.
2373
# Reject install programs that cannot install multiple files.
2374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2375
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2376
if test -z "$INSTALL"; then
56 by Osmo Antero
Version 0.5
2377
if ${ac_cv_path_install+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2378
  $as_echo_n "(cached) " >&6
2379
else
2380
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381
for as_dir in $PATH
2382
do
2383
  IFS=$as_save_IFS
2384
  test -z "$as_dir" && as_dir=.
2385
    # Account for people who put trailing slashes in PATH elements.
2386
case $as_dir/ in #((
2387
  ./ | .// | /[cC]/* | \
2388
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2389
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2390
  /usr/ucb/* ) ;;
2391
  *)
2392
    # OSF1 and SCO ODT 3.0 have their own names for install.
2393
    # Don't use installbsd from OSF since it installs stuff as root
2394
    # by default.
2395
    for ac_prog in ginstall scoinst install; do
2396
      for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2397
	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2398
	  if test $ac_prog = install &&
2399
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2400
	    # AIX install.  It has an incompatible calling convention.
2401
	    :
2402
	  elif test $ac_prog = install &&
2403
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2404
	    # program-specific install script used by HP pwplus--don't use.
2405
	    :
2406
	  else
2407
	    rm -rf conftest.one conftest.two conftest.dir
2408
	    echo one > conftest.one
2409
	    echo two > conftest.two
2410
	    mkdir conftest.dir
2411
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2412
	      test -s conftest.one && test -s conftest.two &&
2413
	      test -s conftest.dir/conftest.one &&
2414
	      test -s conftest.dir/conftest.two
2415
	    then
2416
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2417
	      break 3
2418
	    fi
2419
	  fi
2420
	fi
2421
      done
2422
    done
2423
    ;;
2424
esac
2425
2426
  done
2427
IFS=$as_save_IFS
2428
2429
rm -rf conftest.one conftest.two conftest.dir
2430
2431
fi
2432
  if test "${ac_cv_path_install+set}" = set; then
2433
    INSTALL=$ac_cv_path_install
2434
  else
2435
    # As a last resort, use the slow shell script.  Don't cache a
2436
    # value for INSTALL within a source directory, because that will
2437
    # break other packages using the cache if that directory is
2438
    # removed, or if the value is a relative name.
2439
    INSTALL=$ac_install_sh
2440
  fi
2441
fi
2442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2443
$as_echo "$INSTALL" >&6; }
2444
2445
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2446
# It thinks the first close brace ends the variable substitution.
2447
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2448
2449
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2450
2451
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2452
2453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2454
$as_echo_n "checking whether build environment is sane... " >&6; }
2455
# Reject unsafe characters in $srcdir or the absolute working directory
2456
# name.  Accept space and tab only in the latter.
2457
am_lf='
2458
'
2459
case `pwd` in
2460
  *[\\\"\#\$\&\'\`$am_lf]*)
56 by Osmo Antero
Version 0.5
2461
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2462
esac
2463
case $srcdir in
2464
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2465
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2466
esac
2467
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2468
# Do 'set' in a subshell so we don't clobber the current shell's
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2469
# arguments.  Must try -L first in case configure is actually a
2470
# symlink; some systems play weird games with the mod time of symlinks
2471
# (eg FreeBSD returns the mod time of the symlink's containing
2472
# directory).
2473
if (
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2474
   am_has_slept=no
2475
   for am_try in 1 2; do
2476
     echo "timestamp, slept: $am_has_slept" > conftest.file
2477
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2478
     if test "$*" = "X"; then
2479
	# -L didn't work.
2480
	set X `ls -t "$srcdir/configure" conftest.file`
2481
     fi
2482
     if test "$*" != "X $srcdir/configure conftest.file" \
2483
	&& test "$*" != "X conftest.file $srcdir/configure"; then
2484
2485
	# If neither matched, then we have a broken ls.  This can happen
2486
	# if, for instance, CONFIG_SHELL is bash and it inherits a
2487
	# broken ls alias from the environment.  This has actually
2488
	# happened.  Such a system could not be considered "sane".
2489
	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2490
  alias in your environment" "$LINENO" 5
2491
     fi
2492
     if test "$2" = conftest.file || test $am_try -eq 2; then
2493
       break
2494
     fi
2495
     # Just in case.
2496
     sleep 1
2497
     am_has_slept=yes
2498
   done
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2499
   test "$2" = conftest.file
2500
   )
2501
then
2502
   # Ok.
2503
   :
2504
else
2505
   as_fn_error $? "newly created file is older than distributed files!
2506
Check your system clock" "$LINENO" 5
2507
fi
2508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2509
$as_echo "yes" >&6; }
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2510
# If we didn't sleep, we still need to ensure time stamps of config.status and
2511
# generated files are strictly newer.
2512
am_sleep_pid=
2513
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2514
  ( sleep 1 ) &
2515
  am_sleep_pid=$!
2516
fi
2517
2518
rm -f conftest.file
2519
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2520
test "$program_prefix" != NONE &&
2521
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2522
# Use a double $ so make ignores it.
2523
test "$program_suffix" != NONE &&
2524
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2525
# Double any \ or $.
2526
# By default was `s,x,x', remove it if useless.
2527
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2528
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2529
470.2.9 by Osmo Antero
Fixed bug with long file names. Show correct version number in about dialog.
2530
# Expand $ac_aux_dir to an absolute path.
2531
am_aux_dir=`cd "$ac_aux_dir" && pwd`
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2532
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2533
if test x"${MISSING+set}" != xset; then
2534
  case $am_aux_dir in
2535
  *\ * | *\	*)
2536
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2537
  *)
2538
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2539
  esac
2540
fi
2541
# Use eval to expand $SHELL
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2542
if eval "$MISSING --is-lightweight"; then
2543
  am_missing_run="$MISSING "
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2544
else
2545
  am_missing_run=
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2546
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2547
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2548
fi
2549
470.2.9 by Osmo Antero
Fixed bug with long file names. Show correct version number in about dialog.
2550
if test x"${install_sh+set}" != xset; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2551
  case $am_aux_dir in
2552
  *\ * | *\	*)
2553
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2554
  *)
2555
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2556
  esac
2557
fi
2558
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2559
# Installed binaries are usually stripped using 'strip' when the user
2560
# run "make install-strip".  However 'strip' might not be the right
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2561
# tool to use in cross-compilation environments, therefore Automake
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2562
# will honor the 'STRIP' environment variable to overrule this program.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2563
if test "$cross_compiling" != no; then
2564
  if test -n "$ac_tool_prefix"; then
2565
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2566
set dummy ${ac_tool_prefix}strip; ac_word=$2
2567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
2569
if ${ac_cv_prog_STRIP+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2570
  $as_echo_n "(cached) " >&6
2571
else
2572
  if test -n "$STRIP"; then
2573
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2574
else
2575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576
for as_dir in $PATH
2577
do
2578
  IFS=$as_save_IFS
2579
  test -z "$as_dir" && as_dir=.
2580
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2581
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2582
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2583
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584
    break 2
2585
  fi
2586
done
2587
  done
2588
IFS=$as_save_IFS
2589
2590
fi
2591
fi
2592
STRIP=$ac_cv_prog_STRIP
2593
if test -n "$STRIP"; then
2594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2595
$as_echo "$STRIP" >&6; }
2596
else
2597
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598
$as_echo "no" >&6; }
2599
fi
2600
2601
2602
fi
2603
if test -z "$ac_cv_prog_STRIP"; then
2604
  ac_ct_STRIP=$STRIP
2605
  # Extract the first word of "strip", so it can be a program name with args.
2606
set dummy strip; ac_word=$2
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
2609
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2610
  $as_echo_n "(cached) " >&6
2611
else
2612
  if test -n "$ac_ct_STRIP"; then
2613
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2614
else
2615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616
for as_dir in $PATH
2617
do
2618
  IFS=$as_save_IFS
2619
  test -z "$as_dir" && as_dir=.
2620
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2621
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2622
    ac_cv_prog_ac_ct_STRIP="strip"
2623
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624
    break 2
2625
  fi
2626
done
2627
  done
2628
IFS=$as_save_IFS
2629
2630
fi
2631
fi
2632
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2633
if test -n "$ac_ct_STRIP"; then
2634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2635
$as_echo "$ac_ct_STRIP" >&6; }
2636
else
2637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638
$as_echo "no" >&6; }
2639
fi
2640
2641
  if test "x$ac_ct_STRIP" = x; then
2642
    STRIP=":"
2643
  else
2644
    case $cross_compiling:$ac_tool_warned in
2645
yes:)
2646
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2647
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2648
ac_tool_warned=yes ;;
2649
esac
2650
    STRIP=$ac_ct_STRIP
2651
  fi
2652
else
2653
  STRIP="$ac_cv_prog_STRIP"
2654
fi
2655
2656
fi
2657
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2658
2659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2660
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2661
if test -z "$MKDIR_P"; then
56 by Osmo Antero
Version 0.5
2662
  if ${ac_cv_path_mkdir+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2663
  $as_echo_n "(cached) " >&6
2664
else
2665
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2667
do
2668
  IFS=$as_save_IFS
2669
  test -z "$as_dir" && as_dir=.
2670
    for ac_prog in mkdir gmkdir; do
2671
	 for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2672
	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2673
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2674
	     'mkdir (GNU coreutils) '* | \
2675
	     'mkdir (coreutils) '* | \
2676
	     'mkdir (fileutils) '4.1*)
2677
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2678
	       break 3;;
2679
	   esac
2680
	 done
2681
       done
2682
  done
2683
IFS=$as_save_IFS
2684
2685
fi
2686
2687
  test -d ./--version && rmdir ./--version
2688
  if test "${ac_cv_path_mkdir+set}" = set; then
2689
    MKDIR_P="$ac_cv_path_mkdir -p"
2690
  else
2691
    # As a last resort, use the slow shell script.  Don't cache a
2692
    # value for MKDIR_P within a source directory, because that will
2693
    # break other packages using the cache if that directory is
2694
    # removed, or if the value is a relative name.
2695
    MKDIR_P="$ac_install_sh -d"
2696
  fi
2697
fi
2698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2699
$as_echo "$MKDIR_P" >&6; }
2700
2701
for ac_prog in gawk mawk nawk awk
2702
do
2703
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2704
set dummy $ac_prog; ac_word=$2
2705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2706
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
2707
if ${ac_cv_prog_AWK+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2708
  $as_echo_n "(cached) " >&6
2709
else
2710
  if test -n "$AWK"; then
2711
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2712
else
2713
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714
for as_dir in $PATH
2715
do
2716
  IFS=$as_save_IFS
2717
  test -z "$as_dir" && as_dir=.
2718
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2719
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2720
    ac_cv_prog_AWK="$ac_prog"
2721
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722
    break 2
2723
  fi
2724
done
2725
  done
2726
IFS=$as_save_IFS
2727
2728
fi
2729
fi
2730
AWK=$ac_cv_prog_AWK
2731
if test -n "$AWK"; then
2732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2733
$as_echo "$AWK" >&6; }
2734
else
2735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736
$as_echo "no" >&6; }
2737
fi
2738
2739
2740
  test -n "$AWK" && break
2741
done
2742
2743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2744
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2745
set x ${MAKE-make}
2746
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
56 by Osmo Antero
Version 0.5
2747
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2748
  $as_echo_n "(cached) " >&6
2749
else
2750
  cat >conftest.make <<\_ACEOF
2751
SHELL = /bin/sh
2752
all:
2753
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2754
_ACEOF
2755
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2756
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2757
  *@@@%%%=?*=@@@%%%*)
2758
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2759
  *)
2760
    eval ac_cv_prog_make_${ac_make}_set=no;;
2761
esac
2762
rm -f conftest.make
2763
fi
2764
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2766
$as_echo "yes" >&6; }
2767
  SET_MAKE=
2768
else
2769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770
$as_echo "no" >&6; }
2771
  SET_MAKE="MAKE=${MAKE-make}"
2772
fi
2773
2774
rm -rf .tst 2>/dev/null
2775
mkdir .tst 2>/dev/null
2776
if test -d .tst; then
2777
  am__leading_dot=.
2778
else
2779
  am__leading_dot=_
2780
fi
2781
rmdir .tst 2>/dev/null
2782
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2783
# Check whether --enable-silent-rules was given.
2784
if test "${enable_silent_rules+set}" = set; then :
2785
  enableval=$enable_silent_rules;
2786
fi
2787
2788
case $enable_silent_rules in # (((
2789
  yes) AM_DEFAULT_VERBOSITY=0;;
2790
   no) AM_DEFAULT_VERBOSITY=1;;
2791
    *) AM_DEFAULT_VERBOSITY=1;;
2792
esac
2793
am_make=${MAKE-make}
2794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2795
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2796
if ${am_cv_make_support_nested_variables+:} false; then :
2797
  $as_echo_n "(cached) " >&6
2798
else
2799
  if $as_echo 'TRUE=$(BAR$(V))
2800
BAR0=false
2801
BAR1=true
2802
V=1
2803
am__doit:
2804
	@$(TRUE)
2805
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2806
  am_cv_make_support_nested_variables=yes
2807
else
2808
  am_cv_make_support_nested_variables=no
2809
fi
2810
fi
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2812
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2813
if test $am_cv_make_support_nested_variables = yes; then
2814
    AM_V='$(V)'
2815
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2816
else
2817
  AM_V=$AM_DEFAULT_VERBOSITY
2818
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2819
fi
2820
AM_BACKSLASH='\'
2821
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2822
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2823
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2824
  # is not polluted with repeated "-I."
2825
  am__isrc=' -I$(srcdir)'
2826
  # test to see if srcdir already configured
2827
  if test -f $srcdir/config.status; then
2828
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2829
  fi
2830
fi
2831
2832
# test whether we have cygpath
2833
if test -z "$CYGPATH_W"; then
2834
  if (cygpath --version) >/dev/null 2>/dev/null; then
2835
    CYGPATH_W='cygpath -w'
2836
  else
2837
    CYGPATH_W=echo
2838
  fi
2839
fi
2840
2841
2842
# Define the identity of the package.
2843
 PACKAGE='audio-recorder'
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
2844
 VERSION='3.2.0'
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2845
2846
2847
cat >>confdefs.h <<_ACEOF
2848
#define PACKAGE "$PACKAGE"
2849
_ACEOF
2850
2851
2852
cat >>confdefs.h <<_ACEOF
2853
#define VERSION "$VERSION"
2854
_ACEOF
2855
2856
# Some tools Automake needs.
2857
2858
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2859
2860
2861
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2862
2863
2864
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2865
2866
2867
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2868
2869
2870
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2871
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2872
# For better backward compatibility.  To be removed once Automake 1.9.x
2873
# dies out for good.  For more background, see:
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2874
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2875
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2876
mkdir_p='$(MKDIR_P)'
2877
470.2.9 by Osmo Antero
Fixed bug with long file names. Show correct version number in about dialog.
2878
# We need awk for the "check" target (and possibly the TAP driver).  The
2879
# system "awk" is bad on some platforms.
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2880
# Always define AMTAR for backward compatibility.  Yes, it's still used
2881
# in the wild :-(  We should find a proper way to deprecate it ...
2882
AMTAR='$${TAR-tar}'
2883
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2884
2885
# We'll loop over all known methods to create a tar archive until one works.
2886
_am_tools='gnutar  pax cpio none'
2887
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2888
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2889
2890
2891
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2892
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2893
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2894
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
2895
# POSIX will say in a future version that running "rm -f" with no argument
2896
# is OK; and we want to be able to make that assumption in our Makefile
2897
# recipes.  So use an aggressive probe to check that the usage we want is
2898
# actually supported "in the wild" to an acceptable degree.
2899
# See automake bug#10828.
2900
# To make any issue more visible, cause the running configure to be aborted
2901
# by default if the 'rm' program in use doesn't match our expectations; the
2902
# user can still override this though.
2903
if rm -f && rm -fr && rm -rf; then : OK; else
2904
  cat >&2 <<'END'
2905
Oops!
2906
2907
Your 'rm' program seems unable to run without file operands specified
2908
on the command line, even when the '-f' option is present.  This is contrary
2909
to the behaviour of most rm programs out there, and not conforming with
2910
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2911
2912
Please tell bug-automake@gnu.org about your system, including the value
2913
of your $PATH and any error possibly output before this message.  This
2914
can help us improve future automake versions.
2915
2916
END
2917
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2918
    echo 'Configuration will proceed anyway, since you have set the' >&2
2919
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2920
    echo >&2
2921
  else
2922
    cat >&2 <<'END'
2923
Aborting the configuration process, to ensure you take notice of the issue.
2924
2925
You can download and install GNU coreutils to get an 'rm' implementation
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2926
that behaves properly: <https://www.gnu.org/software/coreutils/>.
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
2927
2928
If you want to complete the configuration process using your problematic
2929
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2930
to "yes", and re-run configure.
2931
2932
END
2933
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2934
  fi
2935
fi
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2936
402 by Osmo Antero
Modifications towards version 1.5. Please see ChangeLog file.
2937
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2938
DEPDIR="${am__leading_dot}deps"
2939
2940
ac_config_commands="$ac_config_commands depfiles"
2941
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2943
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2944
cat > confinc.mk << 'END'
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2945
am__doit:
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2946
	@echo this is the am__doit target >confinc.out
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2947
.PHONY: am__doit
2948
END
2949
am__include="#"
2950
am__quote=
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2951
# BSD make does it like this.
2952
echo '.include "confinc.mk" # ignored' > confmf.BSD
2953
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
2954
echo 'include confinc.mk # ignored' > confmf.GNU
2955
_am_result=no
2956
for s in GNU BSD; do
2957
  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2958
   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2959
   ac_status=$?
2960
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961
   (exit $ac_status); }
2962
  case $?:`cat confinc.out 2>/dev/null` in #(
2963
  '0:this is the am__doit target') :
2964
    case $s in #(
2965
  BSD) :
2966
    am__include='.include' am__quote='"' ;; #(
2967
  *) :
2968
    am__include='include' am__quote='' ;;
2969
esac ;; #(
2970
  *) :
2971
     ;;
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2972
esac
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2973
  if test "$am__include" != "#"; then
2974
    _am_result="yes ($s style)"
2975
    break
2976
  fi
2977
done
2978
rm -f confinc.* confmf.*
2979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2980
$as_echo "${_am_result}" >&6; }
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2981
2982
# Check whether --enable-dependency-tracking was given.
2983
if test "${enable_dependency_tracking+set}" = set; then :
2984
  enableval=$enable_dependency_tracking;
2985
fi
2986
2987
if test "x$enable_dependency_tracking" != xno; then
2988
  am_depcomp="$ac_aux_dir/depcomp"
2989
  AMDEPBACKSLASH='\'
2990
  am__nodep='_no'
2991
fi
2992
 if test "x$enable_dependency_tracking" != xno; then
2993
  AMDEP_TRUE=
2994
  AMDEP_FALSE='#'
2995
else
2996
  AMDEP_TRUE='#'
2997
  AMDEP_FALSE=
2998
fi
2999
3000
3001
ac_ext=c
3002
ac_cpp='$CPP $CPPFLAGS'
3003
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3005
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3006
if test -n "$ac_tool_prefix"; then
3007
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3008
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010
$as_echo_n "checking for $ac_word... " >&6; }
3011
if ${ac_cv_prog_CC+:} false; then :
3012
  $as_echo_n "(cached) " >&6
3013
else
3014
  if test -n "$CC"; then
3015
  ac_cv_prog_CC="$CC" # Let the user override the test.
3016
else
3017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018
for as_dir in $PATH
3019
do
3020
  IFS=$as_save_IFS
3021
  test -z "$as_dir" && as_dir=.
3022
    for ac_exec_ext in '' $ac_executable_extensions; do
3023
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3025
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026
    break 2
3027
  fi
3028
done
3029
  done
3030
IFS=$as_save_IFS
3031
3032
fi
3033
fi
3034
CC=$ac_cv_prog_CC
3035
if test -n "$CC"; then
3036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3037
$as_echo "$CC" >&6; }
3038
else
3039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040
$as_echo "no" >&6; }
3041
fi
3042
3043
3044
fi
3045
if test -z "$ac_cv_prog_CC"; then
3046
  ac_ct_CC=$CC
3047
  # Extract the first word of "gcc", so it can be a program name with args.
3048
set dummy gcc; ac_word=$2
3049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050
$as_echo_n "checking for $ac_word... " >&6; }
3051
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3052
  $as_echo_n "(cached) " >&6
3053
else
3054
  if test -n "$ac_ct_CC"; then
3055
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3056
else
3057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058
for as_dir in $PATH
3059
do
3060
  IFS=$as_save_IFS
3061
  test -z "$as_dir" && as_dir=.
3062
    for ac_exec_ext in '' $ac_executable_extensions; do
3063
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064
    ac_cv_prog_ac_ct_CC="gcc"
3065
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066
    break 2
3067
  fi
3068
done
3069
  done
3070
IFS=$as_save_IFS
3071
3072
fi
3073
fi
3074
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3075
if test -n "$ac_ct_CC"; then
3076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3077
$as_echo "$ac_ct_CC" >&6; }
3078
else
3079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080
$as_echo "no" >&6; }
3081
fi
3082
3083
  if test "x$ac_ct_CC" = x; then
3084
    CC=""
3085
  else
3086
    case $cross_compiling:$ac_tool_warned in
3087
yes:)
3088
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3089
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3090
ac_tool_warned=yes ;;
3091
esac
3092
    CC=$ac_ct_CC
3093
  fi
3094
else
3095
  CC="$ac_cv_prog_CC"
3096
fi
3097
3098
if test -z "$CC"; then
3099
          if test -n "$ac_tool_prefix"; then
3100
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3101
set dummy ${ac_tool_prefix}cc; ac_word=$2
3102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3103
$as_echo_n "checking for $ac_word... " >&6; }
3104
if ${ac_cv_prog_CC+:} false; then :
3105
  $as_echo_n "(cached) " >&6
3106
else
3107
  if test -n "$CC"; then
3108
  ac_cv_prog_CC="$CC" # Let the user override the test.
3109
else
3110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3111
for as_dir in $PATH
3112
do
3113
  IFS=$as_save_IFS
3114
  test -z "$as_dir" && as_dir=.
3115
    for ac_exec_ext in '' $ac_executable_extensions; do
3116
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3118
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119
    break 2
3120
  fi
3121
done
3122
  done
3123
IFS=$as_save_IFS
3124
3125
fi
3126
fi
3127
CC=$ac_cv_prog_CC
3128
if test -n "$CC"; then
3129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130
$as_echo "$CC" >&6; }
3131
else
3132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133
$as_echo "no" >&6; }
3134
fi
3135
3136
3137
  fi
3138
fi
3139
if test -z "$CC"; then
3140
  # Extract the first word of "cc", so it can be a program name with args.
3141
set dummy cc; ac_word=$2
3142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143
$as_echo_n "checking for $ac_word... " >&6; }
3144
if ${ac_cv_prog_CC+:} false; then :
3145
  $as_echo_n "(cached) " >&6
3146
else
3147
  if test -n "$CC"; then
3148
  ac_cv_prog_CC="$CC" # Let the user override the test.
3149
else
3150
  ac_prog_rejected=no
3151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152
for as_dir in $PATH
3153
do
3154
  IFS=$as_save_IFS
3155
  test -z "$as_dir" && as_dir=.
3156
    for ac_exec_ext in '' $ac_executable_extensions; do
3157
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3158
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3159
       ac_prog_rejected=yes
3160
       continue
3161
     fi
3162
    ac_cv_prog_CC="cc"
3163
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164
    break 2
3165
  fi
3166
done
3167
  done
3168
IFS=$as_save_IFS
3169
3170
if test $ac_prog_rejected = yes; then
3171
  # We found a bogon in the path, so make sure we never use it.
3172
  set dummy $ac_cv_prog_CC
3173
  shift
3174
  if test $# != 0; then
3175
    # We chose a different compiler from the bogus one.
3176
    # However, it has the same basename, so the bogon will be chosen
3177
    # first if we set CC to just the basename; use the full file name.
3178
    shift
3179
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3180
  fi
3181
fi
3182
fi
3183
fi
3184
CC=$ac_cv_prog_CC
3185
if test -n "$CC"; then
3186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3187
$as_echo "$CC" >&6; }
3188
else
3189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190
$as_echo "no" >&6; }
3191
fi
3192
3193
3194
fi
3195
if test -z "$CC"; then
3196
  if test -n "$ac_tool_prefix"; then
3197
  for ac_prog in cl.exe
3198
  do
3199
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3200
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202
$as_echo_n "checking for $ac_word... " >&6; }
3203
if ${ac_cv_prog_CC+:} false; then :
3204
  $as_echo_n "(cached) " >&6
3205
else
3206
  if test -n "$CC"; then
3207
  ac_cv_prog_CC="$CC" # Let the user override the test.
3208
else
3209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3210
for as_dir in $PATH
3211
do
3212
  IFS=$as_save_IFS
3213
  test -z "$as_dir" && as_dir=.
3214
    for ac_exec_ext in '' $ac_executable_extensions; do
3215
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3217
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218
    break 2
3219
  fi
3220
done
3221
  done
3222
IFS=$as_save_IFS
3223
3224
fi
3225
fi
3226
CC=$ac_cv_prog_CC
3227
if test -n "$CC"; then
3228
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3229
$as_echo "$CC" >&6; }
3230
else
3231
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3232
$as_echo "no" >&6; }
3233
fi
3234
3235
3236
    test -n "$CC" && break
3237
  done
3238
fi
3239
if test -z "$CC"; then
3240
  ac_ct_CC=$CC
3241
  for ac_prog in cl.exe
3242
do
3243
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3244
set dummy $ac_prog; ac_word=$2
3245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246
$as_echo_n "checking for $ac_word... " >&6; }
3247
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3248
  $as_echo_n "(cached) " >&6
3249
else
3250
  if test -n "$ac_ct_CC"; then
3251
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3252
else
3253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254
for as_dir in $PATH
3255
do
3256
  IFS=$as_save_IFS
3257
  test -z "$as_dir" && as_dir=.
3258
    for ac_exec_ext in '' $ac_executable_extensions; do
3259
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3260
    ac_cv_prog_ac_ct_CC="$ac_prog"
3261
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262
    break 2
3263
  fi
3264
done
3265
  done
3266
IFS=$as_save_IFS
3267
3268
fi
3269
fi
3270
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3271
if test -n "$ac_ct_CC"; then
3272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3273
$as_echo "$ac_ct_CC" >&6; }
3274
else
3275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276
$as_echo "no" >&6; }
3277
fi
3278
3279
3280
  test -n "$ac_ct_CC" && break
3281
done
3282
3283
  if test "x$ac_ct_CC" = x; then
3284
    CC=""
3285
  else
3286
    case $cross_compiling:$ac_tool_warned in
3287
yes:)
3288
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3289
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290
ac_tool_warned=yes ;;
3291
esac
3292
    CC=$ac_ct_CC
3293
  fi
3294
fi
3295
3296
fi
3297
3298
3299
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301
as_fn_error $? "no acceptable C compiler found in \$PATH
3302
See \`config.log' for more details" "$LINENO" 5; }
3303
3304
# Provide some information about the compiler.
3305
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3306
set X $ac_compile
3307
ac_compiler=$2
3308
for ac_option in --version -v -V -qversion; do
3309
  { { ac_try="$ac_compiler $ac_option >&5"
3310
case "(($ac_try" in
3311
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312
  *) ac_try_echo=$ac_try;;
3313
esac
3314
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315
$as_echo "$ac_try_echo"; } >&5
3316
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3317
  ac_status=$?
3318
  if test -s conftest.err; then
3319
    sed '10a\
3320
... rest of stderr output deleted ...
3321
         10q' conftest.err >conftest.er1
3322
    cat conftest.er1 >&5
3323
  fi
3324
  rm -f conftest.er1 conftest.err
3325
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326
  test $ac_status = 0; }
3327
done
3328
3329
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330
/* end confdefs.h.  */
3331
3332
int
3333
main ()
3334
{
3335
3336
  ;
3337
  return 0;
3338
}
3339
_ACEOF
3340
ac_clean_files_save=$ac_clean_files
3341
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3342
# Try to create an executable without -o first, disregard a.out.
3343
# It will help us diagnose broken compilers, and finding out an intuition
3344
# of exeext.
3345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3346
$as_echo_n "checking whether the C compiler works... " >&6; }
3347
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3348
3349
# The possible output files:
3350
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3351
3352
ac_rmfiles=
3353
for ac_file in $ac_files
3354
do
3355
  case $ac_file in
3356
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3357
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3358
  esac
3359
done
3360
rm -f $ac_rmfiles
3361
3362
if { { ac_try="$ac_link_default"
3363
case "(($ac_try" in
3364
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365
  *) ac_try_echo=$ac_try;;
3366
esac
3367
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368
$as_echo "$ac_try_echo"; } >&5
3369
  (eval "$ac_link_default") 2>&5
3370
  ac_status=$?
3371
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372
  test $ac_status = 0; }; then :
3373
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3374
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3375
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3376
# so that the user can short-circuit this test for compilers unknown to
3377
# Autoconf.
3378
for ac_file in $ac_files ''
3379
do
3380
  test -f "$ac_file" || continue
3381
  case $ac_file in
3382
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3383
	;;
3384
    [ab].out )
3385
	# We found the default executable, but exeext='' is most
3386
	# certainly right.
3387
	break;;
3388
    *.* )
3389
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3390
	then :; else
3391
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3392
	fi
3393
	# We set ac_cv_exeext here because the later test for it is not
3394
	# safe: cross compilers may not add the suffix if given an `-o'
3395
	# argument, so we may need to know it at that point already.
3396
	# Even if this section looks crufty: it has the advantage of
3397
	# actually working.
3398
	break;;
3399
    * )
3400
	break;;
3401
  esac
3402
done
3403
test "$ac_cv_exeext" = no && ac_cv_exeext=
3404
3405
else
3406
  ac_file=''
3407
fi
3408
if test -z "$ac_file"; then :
3409
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410
$as_echo "no" >&6; }
3411
$as_echo "$as_me: failed program was:" >&5
3412
sed 's/^/| /' conftest.$ac_ext >&5
3413
3414
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3416
as_fn_error 77 "C compiler cannot create executables
3417
See \`config.log' for more details" "$LINENO" 5; }
3418
else
3419
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3420
$as_echo "yes" >&6; }
3421
fi
3422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3423
$as_echo_n "checking for C compiler default output file name... " >&6; }
3424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3425
$as_echo "$ac_file" >&6; }
3426
ac_exeext=$ac_cv_exeext
3427
3428
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3429
ac_clean_files=$ac_clean_files_save
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3431
$as_echo_n "checking for suffix of executables... " >&6; }
3432
if { { ac_try="$ac_link"
3433
case "(($ac_try" in
3434
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435
  *) ac_try_echo=$ac_try;;
3436
esac
3437
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438
$as_echo "$ac_try_echo"; } >&5
3439
  (eval "$ac_link") 2>&5
3440
  ac_status=$?
3441
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442
  test $ac_status = 0; }; then :
3443
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3444
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3445
# work properly (i.e., refer to `conftest.exe'), while it won't with
3446
# `rm'.
3447
for ac_file in conftest.exe conftest conftest.*; do
3448
  test -f "$ac_file" || continue
3449
  case $ac_file in
3450
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3451
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3452
	  break;;
3453
    * ) break;;
3454
  esac
3455
done
3456
else
3457
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3460
See \`config.log' for more details" "$LINENO" 5; }
3461
fi
3462
rm -f conftest conftest$ac_cv_exeext
3463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3464
$as_echo "$ac_cv_exeext" >&6; }
3465
3466
rm -f conftest.$ac_ext
3467
EXEEXT=$ac_cv_exeext
3468
ac_exeext=$EXEEXT
3469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470
/* end confdefs.h.  */
3471
#include <stdio.h>
3472
int
3473
main ()
3474
{
3475
FILE *f = fopen ("conftest.out", "w");
3476
 return ferror (f) || fclose (f) != 0;
3477
3478
  ;
3479
  return 0;
3480
}
3481
_ACEOF
3482
ac_clean_files="$ac_clean_files conftest.out"
3483
# Check that the compiler produces executables we can run.  If not, either
3484
# the compiler is broken, or we cross compile.
3485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3486
$as_echo_n "checking whether we are cross compiling... " >&6; }
3487
if test "$cross_compiling" != yes; then
3488
  { { ac_try="$ac_link"
3489
case "(($ac_try" in
3490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491
  *) ac_try_echo=$ac_try;;
3492
esac
3493
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494
$as_echo "$ac_try_echo"; } >&5
3495
  (eval "$ac_link") 2>&5
3496
  ac_status=$?
3497
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498
  test $ac_status = 0; }
3499
  if { ac_try='./conftest$ac_cv_exeext'
3500
  { { case "(($ac_try" in
3501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502
  *) ac_try_echo=$ac_try;;
3503
esac
3504
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3505
$as_echo "$ac_try_echo"; } >&5
3506
  (eval "$ac_try") 2>&5
3507
  ac_status=$?
3508
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3509
  test $ac_status = 0; }; }; then
3510
    cross_compiling=no
3511
  else
3512
    if test "$cross_compiling" = maybe; then
3513
	cross_compiling=yes
3514
    else
3515
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3516
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3517
as_fn_error $? "cannot run C compiled programs.
3518
If you meant to cross compile, use \`--host'.
3519
See \`config.log' for more details" "$LINENO" 5; }
3520
    fi
3521
  fi
3522
fi
3523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3524
$as_echo "$cross_compiling" >&6; }
3525
3526
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3527
ac_clean_files=$ac_clean_files_save
3528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3529
$as_echo_n "checking for suffix of object files... " >&6; }
3530
if ${ac_cv_objext+:} false; then :
3531
  $as_echo_n "(cached) " >&6
3532
else
3533
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534
/* end confdefs.h.  */
3535
3536
int
3537
main ()
3538
{
3539
3540
  ;
3541
  return 0;
3542
}
3543
_ACEOF
3544
rm -f conftest.o conftest.obj
3545
if { { ac_try="$ac_compile"
3546
case "(($ac_try" in
3547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548
  *) ac_try_echo=$ac_try;;
3549
esac
3550
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551
$as_echo "$ac_try_echo"; } >&5
3552
  (eval "$ac_compile") 2>&5
3553
  ac_status=$?
3554
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555
  test $ac_status = 0; }; then :
3556
  for ac_file in conftest.o conftest.obj conftest.*; do
3557
  test -f "$ac_file" || continue;
3558
  case $ac_file in
3559
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3560
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3561
       break;;
3562
  esac
3563
done
3564
else
3565
  $as_echo "$as_me: failed program was:" >&5
3566
sed 's/^/| /' conftest.$ac_ext >&5
3567
3568
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3569
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3570
as_fn_error $? "cannot compute suffix of object files: cannot compile
3571
See \`config.log' for more details" "$LINENO" 5; }
3572
fi
3573
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3574
fi
3575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3576
$as_echo "$ac_cv_objext" >&6; }
3577
OBJEXT=$ac_cv_objext
3578
ac_objext=$OBJEXT
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3580
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3581
if ${ac_cv_c_compiler_gnu+:} false; then :
3582
  $as_echo_n "(cached) " >&6
3583
else
3584
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585
/* end confdefs.h.  */
3586
3587
int
3588
main ()
3589
{
3590
#ifndef __GNUC__
3591
       choke me
3592
#endif
3593
3594
  ;
3595
  return 0;
3596
}
3597
_ACEOF
3598
if ac_fn_c_try_compile "$LINENO"; then :
3599
  ac_compiler_gnu=yes
3600
else
3601
  ac_compiler_gnu=no
3602
fi
3603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3605
3606
fi
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3608
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3609
if test $ac_compiler_gnu = yes; then
3610
  GCC=yes
3611
else
3612
  GCC=
3613
fi
3614
ac_test_CFLAGS=${CFLAGS+set}
3615
ac_save_CFLAGS=$CFLAGS
3616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3617
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3618
if ${ac_cv_prog_cc_g+:} false; then :
3619
  $as_echo_n "(cached) " >&6
3620
else
3621
  ac_save_c_werror_flag=$ac_c_werror_flag
3622
   ac_c_werror_flag=yes
3623
   ac_cv_prog_cc_g=no
3624
   CFLAGS="-g"
3625
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626
/* end confdefs.h.  */
3627
3628
int
3629
main ()
3630
{
3631
3632
  ;
3633
  return 0;
3634
}
3635
_ACEOF
3636
if ac_fn_c_try_compile "$LINENO"; then :
3637
  ac_cv_prog_cc_g=yes
3638
else
3639
  CFLAGS=""
3640
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641
/* end confdefs.h.  */
3642
3643
int
3644
main ()
3645
{
3646
3647
  ;
3648
  return 0;
3649
}
3650
_ACEOF
3651
if ac_fn_c_try_compile "$LINENO"; then :
3652
3653
else
3654
  ac_c_werror_flag=$ac_save_c_werror_flag
3655
	 CFLAGS="-g"
3656
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657
/* end confdefs.h.  */
3658
3659
int
3660
main ()
3661
{
3662
3663
  ;
3664
  return 0;
3665
}
3666
_ACEOF
3667
if ac_fn_c_try_compile "$LINENO"; then :
3668
  ac_cv_prog_cc_g=yes
3669
fi
3670
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3671
fi
3672
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3673
fi
3674
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675
   ac_c_werror_flag=$ac_save_c_werror_flag
3676
fi
3677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3678
$as_echo "$ac_cv_prog_cc_g" >&6; }
3679
if test "$ac_test_CFLAGS" = set; then
3680
  CFLAGS=$ac_save_CFLAGS
3681
elif test $ac_cv_prog_cc_g = yes; then
3682
  if test "$GCC" = yes; then
3683
    CFLAGS="-g -O2"
3684
  else
3685
    CFLAGS="-g"
3686
  fi
3687
else
3688
  if test "$GCC" = yes; then
3689
    CFLAGS="-O2"
3690
  else
3691
    CFLAGS=
3692
  fi
3693
fi
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3695
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3696
if ${ac_cv_prog_cc_c89+:} false; then :
3697
  $as_echo_n "(cached) " >&6
3698
else
3699
  ac_cv_prog_cc_c89=no
3700
ac_save_CC=$CC
3701
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702
/* end confdefs.h.  */
3703
#include <stdarg.h>
3704
#include <stdio.h>
3705
struct stat;
3706
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3707
struct buf { int x; };
3708
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3709
static char *e (p, i)
3710
     char **p;
3711
     int i;
3712
{
3713
  return p[i];
3714
}
3715
static char *f (char * (*g) (char **, int), char **p, ...)
3716
{
3717
  char *s;
3718
  va_list v;
3719
  va_start (v,p);
3720
  s = g (p, va_arg (v,int));
3721
  va_end (v);
3722
  return s;
3723
}
3724
3725
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3726
   function prototypes and stuff, but not '\xHH' hex character constants.
3727
   These don't provoke an error unfortunately, instead are silently treated
3728
   as 'x'.  The following induces an error, until -std is added to get
3729
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3730
   array size at least.  It's necessary to write '\x00'==0 to get something
3731
   that's true only with -std.  */
3732
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3733
3734
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3735
   inside strings and character constants.  */
3736
#define FOO(x) 'x'
3737
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3738
3739
int test (int i, double x);
3740
struct s1 {int (*f) (int a);};
3741
struct s2 {int (*f) (double a);};
3742
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3743
int argc;
3744
char **argv;
3745
int
3746
main ()
3747
{
3748
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3749
  ;
3750
  return 0;
3751
}
3752
_ACEOF
3753
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3754
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3755
do
3756
  CC="$ac_save_CC $ac_arg"
3757
  if ac_fn_c_try_compile "$LINENO"; then :
3758
  ac_cv_prog_cc_c89=$ac_arg
3759
fi
3760
rm -f core conftest.err conftest.$ac_objext
3761
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3762
done
3763
rm -f conftest.$ac_ext
3764
CC=$ac_save_CC
3765
3766
fi
3767
# AC_CACHE_VAL
3768
case "x$ac_cv_prog_cc_c89" in
3769
  x)
3770
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3771
$as_echo "none needed" >&6; } ;;
3772
  xno)
3773
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3774
$as_echo "unsupported" >&6; } ;;
3775
  *)
3776
    CC="$CC $ac_cv_prog_cc_c89"
3777
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3778
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3779
esac
3780
if test "x$ac_cv_prog_cc_c89" != xno; then :
3781
3782
fi
3783
3784
ac_ext=c
3785
ac_cpp='$CPP $CPPFLAGS'
3786
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3787
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3788
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3789
3790
ac_ext=c
3791
ac_cpp='$CPP $CPPFLAGS'
3792
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3796
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3797
if ${am_cv_prog_cc_c_o+:} false; then :
3798
  $as_echo_n "(cached) " >&6
3799
else
3800
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801
/* end confdefs.h.  */
3802
3803
int
3804
main ()
3805
{
3806
3807
  ;
3808
  return 0;
3809
}
3810
_ACEOF
3811
  # Make sure it works both with $CC and with simple cc.
3812
  # Following AC_PROG_CC_C_O, we do the test twice because some
3813
  # compilers refuse to overwrite an existing .o file with -o,
3814
  # though they will create one.
3815
  am_cv_prog_cc_c_o=yes
3816
  for am_i in 1 2; do
3817
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3818
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3819
   ac_status=$?
3820
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821
   (exit $ac_status); } \
3822
         && test -f conftest2.$ac_objext; then
3823
      : OK
3824
    else
3825
      am_cv_prog_cc_c_o=no
3826
      break
3827
    fi
3828
  done
3829
  rm -f core conftest*
3830
  unset am_i
3831
fi
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3833
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3834
if test "$am_cv_prog_cc_c_o" != yes; then
3835
   # Losing compiler, so override with the script.
3836
   # FIXME: It is wrong to rewrite CC.
3837
   # But if we don't then we get into trouble of one sort or another.
3838
   # A longer-term fix would be to have automake use am__CC in this case,
3839
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3840
   CC="$am_aux_dir/compile $CC"
3841
fi
3842
ac_ext=c
3843
ac_cpp='$CPP $CPPFLAGS'
3844
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3845
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3846
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847
3848
3849
depcc="$CC"   am_compiler_list=
3850
3851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3852
$as_echo_n "checking dependency style of $depcc... " >&6; }
3853
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3854
  $as_echo_n "(cached) " >&6
3855
else
3856
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3857
  # We make a subdir and do the tests there.  Otherwise we can end up
3858
  # making bogus files that we don't know about and never remove.  For
3859
  # instance it was reported that on HP-UX the gcc test will end up
3860
  # making a dummy file named 'D' -- because '-MD' means "put the output
3861
  # in D".
3862
  rm -rf conftest.dir
3863
  mkdir conftest.dir
3864
  # Copy depcomp to subdir because otherwise we won't find it if we're
3865
  # using a relative directory.
3866
  cp "$am_depcomp" conftest.dir
3867
  cd conftest.dir
3868
  # We will build objects and dependencies in a subdirectory because
3869
  # it helps to detect inapplicable dependency modes.  For instance
3870
  # both Tru64's cc and ICC support -MD to output dependencies as a
3871
  # side effect of compilation, but ICC will put the dependencies in
3872
  # the current directory while Tru64 will put them in the object
3873
  # directory.
3874
  mkdir sub
3875
3876
  am_cv_CC_dependencies_compiler_type=none
3877
  if test "$am_compiler_list" = ""; then
3878
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3879
  fi
3880
  am__universal=false
3881
  case " $depcc " in #(
3882
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3883
     esac
3884
3885
  for depmode in $am_compiler_list; do
3886
    # Setup a source with many dependencies, because some compilers
3887
    # like to wrap large dependency lists on column 80 (with \), and
3888
    # we should not choose a depcomp mode which is confused by this.
3889
    #
3890
    # We need to recreate these files for each test, as the compiler may
3891
    # overwrite some of them when testing with obscure command lines.
3892
    # This happens at least with the AIX C compiler.
3893
    : > sub/conftest.c
3894
    for i in 1 2 3 4 5 6; do
3895
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3896
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3897
      # Solaris 10 /bin/sh.
3898
      echo '/* dummy */' > sub/conftst$i.h
3899
    done
3900
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3901
3902
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3903
    # mode.  It turns out that the SunPro C++ compiler does not properly
3904
    # handle '-M -o', and we need to detect this.  Also, some Intel
3905
    # versions had trouble with output in subdirs.
3906
    am__obj=sub/conftest.${OBJEXT-o}
3907
    am__minus_obj="-o $am__obj"
3908
    case $depmode in
3909
    gcc)
3910
      # This depmode causes a compiler race in universal mode.
3911
      test "$am__universal" = false || continue
3912
      ;;
3913
    nosideeffect)
3914
      # After this tag, mechanisms are not by side-effect, so they'll
3915
      # only be used when explicitly requested.
3916
      if test "x$enable_dependency_tracking" = xyes; then
3917
	continue
3918
      else
3919
	break
3920
      fi
3921
      ;;
3922
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3923
      # This compiler won't grok '-c -o', but also, the minuso test has
3924
      # not run yet.  These depmodes are late enough in the game, and
3925
      # so weak that their functioning should not be impacted.
3926
      am__obj=conftest.${OBJEXT-o}
3927
      am__minus_obj=
3928
      ;;
3929
    none) break ;;
3930
    esac
3931
    if depmode=$depmode \
3932
       source=sub/conftest.c object=$am__obj \
3933
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3934
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3935
         >/dev/null 2>conftest.err &&
3936
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3937
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3938
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3939
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3940
      # icc doesn't choke on unknown options, it will just issue warnings
3941
      # or remarks (even with -Werror).  So we grep stderr for any message
3942
      # that says an option was ignored or not supported.
3943
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3944
      #   icc: Command line warning: ignoring option '-M'; no argument required
3945
      # The diagnosis changed in icc 8.0:
3946
      #   icc: Command line remark: option '-MP' not supported
3947
      if (grep 'ignoring option' conftest.err ||
3948
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3949
        am_cv_CC_dependencies_compiler_type=$depmode
3950
        break
3951
      fi
3952
    fi
3953
  done
3954
3955
  cd ..
3956
  rm -rf conftest.dir
3957
else
3958
  am_cv_CC_dependencies_compiler_type=none
3959
fi
3960
3961
fi
3962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3963
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3964
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3965
3966
 if
3967
  test "x$enable_dependency_tracking" != xno \
3968
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3969
  am__fastdepCC_TRUE=
3970
  am__fastdepCC_FALSE='#'
3971
else
3972
  am__fastdepCC_TRUE='#'
3973
  am__fastdepCC_FALSE=
3974
fi
3975
3976
3977
3978
ac_ext=c
3979
ac_cpp='$CPP $CPPFLAGS'
3980
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3984
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3985
# On Suns, sometimes $CPP names a directory.
3986
if test -n "$CPP" && test -d "$CPP"; then
3987
  CPP=
3988
fi
3989
if test -z "$CPP"; then
3990
  if ${ac_cv_prog_CPP+:} false; then :
3991
  $as_echo_n "(cached) " >&6
3992
else
3993
      # Double quotes because CPP needs to be expanded
3994
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3995
    do
3996
      ac_preproc_ok=false
3997
for ac_c_preproc_warn_flag in '' yes
3998
do
3999
  # Use a header file that comes with gcc, so configuring glibc
4000
  # with a fresh cross-compiler works.
4001
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4002
  # <limits.h> exists even on freestanding compilers.
4003
  # On the NeXT, cc -E runs the code through the compiler's parser,
4004
  # not just through cpp. "Syntax error" is here to catch this case.
4005
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006
/* end confdefs.h.  */
4007
#ifdef __STDC__
4008
# include <limits.h>
4009
#else
4010
# include <assert.h>
4011
#endif
4012
		     Syntax error
4013
_ACEOF
4014
if ac_fn_c_try_cpp "$LINENO"; then :
4015
4016
else
4017
  # Broken: fails on valid input.
4018
continue
4019
fi
4020
rm -f conftest.err conftest.i conftest.$ac_ext
4021
4022
  # OK, works on sane cases.  Now check whether nonexistent headers
4023
  # can be detected and how.
4024
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025
/* end confdefs.h.  */
4026
#include <ac_nonexistent.h>
4027
_ACEOF
4028
if ac_fn_c_try_cpp "$LINENO"; then :
4029
  # Broken: success on invalid input.
4030
continue
4031
else
4032
  # Passes both tests.
4033
ac_preproc_ok=:
4034
break
4035
fi
4036
rm -f conftest.err conftest.i conftest.$ac_ext
4037
4038
done
4039
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4040
rm -f conftest.i conftest.err conftest.$ac_ext
4041
if $ac_preproc_ok; then :
4042
  break
4043
fi
4044
4045
    done
4046
    ac_cv_prog_CPP=$CPP
4047
4048
fi
4049
  CPP=$ac_cv_prog_CPP
4050
else
4051
  ac_cv_prog_CPP=$CPP
4052
fi
4053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4054
$as_echo "$CPP" >&6; }
4055
ac_preproc_ok=false
4056
for ac_c_preproc_warn_flag in '' yes
4057
do
4058
  # Use a header file that comes with gcc, so configuring glibc
4059
  # with a fresh cross-compiler works.
4060
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4061
  # <limits.h> exists even on freestanding compilers.
4062
  # On the NeXT, cc -E runs the code through the compiler's parser,
4063
  # not just through cpp. "Syntax error" is here to catch this case.
4064
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065
/* end confdefs.h.  */
4066
#ifdef __STDC__
4067
# include <limits.h>
4068
#else
4069
# include <assert.h>
4070
#endif
4071
		     Syntax error
4072
_ACEOF
4073
if ac_fn_c_try_cpp "$LINENO"; then :
4074
4075
else
4076
  # Broken: fails on valid input.
4077
continue
4078
fi
4079
rm -f conftest.err conftest.i conftest.$ac_ext
4080
4081
  # OK, works on sane cases.  Now check whether nonexistent headers
4082
  # can be detected and how.
4083
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084
/* end confdefs.h.  */
4085
#include <ac_nonexistent.h>
4086
_ACEOF
4087
if ac_fn_c_try_cpp "$LINENO"; then :
4088
  # Broken: success on invalid input.
4089
continue
4090
else
4091
  # Passes both tests.
4092
ac_preproc_ok=:
4093
break
4094
fi
4095
rm -f conftest.err conftest.i conftest.$ac_ext
4096
4097
done
4098
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4099
rm -f conftest.i conftest.err conftest.$ac_ext
4100
if $ac_preproc_ok; then :
4101
4102
else
4103
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4104
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4105
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4106
See \`config.log' for more details" "$LINENO" 5; }
4107
fi
4108
4109
ac_ext=c
4110
ac_cpp='$CPP $CPPFLAGS'
4111
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114
4115
4116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4117
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4118
if ${ac_cv_path_GREP+:} false; then :
4119
  $as_echo_n "(cached) " >&6
4120
else
4121
  if test -z "$GREP"; then
4122
  ac_path_GREP_found=false
4123
  # Loop through the user's path and test for each of PROGNAME-LIST
4124
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4126
do
4127
  IFS=$as_save_IFS
4128
  test -z "$as_dir" && as_dir=.
4129
    for ac_prog in grep ggrep; do
4130
    for ac_exec_ext in '' $ac_executable_extensions; do
4131
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4132
      as_fn_executable_p "$ac_path_GREP" || continue
4133
# Check for GNU ac_path_GREP and select it if it is found.
4134
  # Check for GNU $ac_path_GREP
4135
case `"$ac_path_GREP" --version 2>&1` in
4136
*GNU*)
4137
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4138
*)
4139
  ac_count=0
4140
  $as_echo_n 0123456789 >"conftest.in"
4141
  while :
4142
  do
4143
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4144
    mv "conftest.tmp" "conftest.in"
4145
    cp "conftest.in" "conftest.nl"
4146
    $as_echo 'GREP' >> "conftest.nl"
4147
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4148
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4149
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4150
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4151
      # Best one so far, save it but keep looking for a better one
4152
      ac_cv_path_GREP="$ac_path_GREP"
4153
      ac_path_GREP_max=$ac_count
4154
    fi
4155
    # 10*(2^10) chars as input seems more than enough
4156
    test $ac_count -gt 10 && break
4157
  done
4158
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4159
esac
4160
4161
      $ac_path_GREP_found && break 3
4162
    done
4163
  done
4164
  done
4165
IFS=$as_save_IFS
4166
  if test -z "$ac_cv_path_GREP"; then
4167
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4168
  fi
4169
else
4170
  ac_cv_path_GREP=$GREP
4171
fi
4172
4173
fi
4174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4175
$as_echo "$ac_cv_path_GREP" >&6; }
4176
 GREP="$ac_cv_path_GREP"
4177
4178
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4180
$as_echo_n "checking for egrep... " >&6; }
4181
if ${ac_cv_path_EGREP+:} false; then :
4182
  $as_echo_n "(cached) " >&6
4183
else
4184
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4185
   then ac_cv_path_EGREP="$GREP -E"
4186
   else
4187
     if test -z "$EGREP"; then
4188
  ac_path_EGREP_found=false
4189
  # Loop through the user's path and test for each of PROGNAME-LIST
4190
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4192
do
4193
  IFS=$as_save_IFS
4194
  test -z "$as_dir" && as_dir=.
4195
    for ac_prog in egrep; do
4196
    for ac_exec_ext in '' $ac_executable_extensions; do
4197
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4198
      as_fn_executable_p "$ac_path_EGREP" || continue
4199
# Check for GNU ac_path_EGREP and select it if it is found.
4200
  # Check for GNU $ac_path_EGREP
4201
case `"$ac_path_EGREP" --version 2>&1` in
4202
*GNU*)
4203
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4204
*)
4205
  ac_count=0
4206
  $as_echo_n 0123456789 >"conftest.in"
4207
  while :
4208
  do
4209
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4210
    mv "conftest.tmp" "conftest.in"
4211
    cp "conftest.in" "conftest.nl"
4212
    $as_echo 'EGREP' >> "conftest.nl"
4213
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4214
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4215
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4216
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4217
      # Best one so far, save it but keep looking for a better one
4218
      ac_cv_path_EGREP="$ac_path_EGREP"
4219
      ac_path_EGREP_max=$ac_count
4220
    fi
4221
    # 10*(2^10) chars as input seems more than enough
4222
    test $ac_count -gt 10 && break
4223
  done
4224
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4225
esac
4226
4227
      $ac_path_EGREP_found && break 3
4228
    done
4229
  done
4230
  done
4231
IFS=$as_save_IFS
4232
  if test -z "$ac_cv_path_EGREP"; then
4233
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4234
  fi
4235
else
4236
  ac_cv_path_EGREP=$EGREP
4237
fi
4238
4239
   fi
4240
fi
4241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4242
$as_echo "$ac_cv_path_EGREP" >&6; }
4243
 EGREP="$ac_cv_path_EGREP"
4244
4245
4246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4247
$as_echo_n "checking for ANSI C header files... " >&6; }
4248
if ${ac_cv_header_stdc+:} false; then :
4249
  $as_echo_n "(cached) " >&6
4250
else
4251
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252
/* end confdefs.h.  */
4253
#include <stdlib.h>
4254
#include <stdarg.h>
4255
#include <string.h>
4256
#include <float.h>
4257
4258
int
4259
main ()
4260
{
4261
4262
  ;
4263
  return 0;
4264
}
4265
_ACEOF
4266
if ac_fn_c_try_compile "$LINENO"; then :
4267
  ac_cv_header_stdc=yes
4268
else
4269
  ac_cv_header_stdc=no
4270
fi
4271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272
4273
if test $ac_cv_header_stdc = yes; then
4274
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4275
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276
/* end confdefs.h.  */
4277
#include <string.h>
4278
4279
_ACEOF
4280
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4281
  $EGREP "memchr" >/dev/null 2>&1; then :
4282
4283
else
4284
  ac_cv_header_stdc=no
4285
fi
4286
rm -f conftest*
4287
4288
fi
4289
4290
if test $ac_cv_header_stdc = yes; then
4291
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4292
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293
/* end confdefs.h.  */
4294
#include <stdlib.h>
4295
4296
_ACEOF
4297
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4298
  $EGREP "free" >/dev/null 2>&1; then :
4299
4300
else
4301
  ac_cv_header_stdc=no
4302
fi
4303
rm -f conftest*
4304
4305
fi
4306
4307
if test $ac_cv_header_stdc = yes; then
4308
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4309
  if test "$cross_compiling" = yes; then :
4310
  :
4311
else
4312
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313
/* end confdefs.h.  */
4314
#include <ctype.h>
4315
#include <stdlib.h>
4316
#if ((' ' & 0x0FF) == 0x020)
4317
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4318
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4319
#else
4320
# define ISLOWER(c) \
4321
		   (('a' <= (c) && (c) <= 'i') \
4322
		     || ('j' <= (c) && (c) <= 'r') \
4323
		     || ('s' <= (c) && (c) <= 'z'))
4324
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4325
#endif
4326
4327
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4328
int
4329
main ()
4330
{
4331
  int i;
4332
  for (i = 0; i < 256; i++)
4333
    if (XOR (islower (i), ISLOWER (i))
4334
	|| toupper (i) != TOUPPER (i))
4335
      return 2;
4336
  return 0;
4337
}
4338
_ACEOF
4339
if ac_fn_c_try_run "$LINENO"; then :
4340
4341
else
4342
  ac_cv_header_stdc=no
4343
fi
4344
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4345
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4346
fi
4347
4348
fi
4349
fi
4350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4351
$as_echo "$ac_cv_header_stdc" >&6; }
4352
if test $ac_cv_header_stdc = yes; then
4353
4354
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4355
4356
fi
4357
4358
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4359
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4360
		  inttypes.h stdint.h unistd.h
4361
do :
4362
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4363
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4364
"
4365
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4366
  cat >>confdefs.h <<_ACEOF
4367
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4368
_ACEOF
4369
4370
fi
4371
4372
done
4373
4374
4375
4376
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4377
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4378
  MINIX=yes
4379
else
4380
  MINIX=
4381
fi
4382
4383
4384
  if test "$MINIX" = yes; then
4385
4386
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4387
4388
4389
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4390
4391
4392
$as_echo "#define _MINIX 1" >>confdefs.h
4393
4394
  fi
4395
4396
4397
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4398
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4399
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4400
  $as_echo_n "(cached) " >&6
4401
else
4402
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403
/* end confdefs.h.  */
4404
4405
#         define __EXTENSIONS__ 1
4406
          $ac_includes_default
4407
int
4408
main ()
4409
{
4410
4411
  ;
4412
  return 0;
4413
}
4414
_ACEOF
4415
if ac_fn_c_try_compile "$LINENO"; then :
4416
  ac_cv_safe_to_define___extensions__=yes
4417
else
4418
  ac_cv_safe_to_define___extensions__=no
4419
fi
4420
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421
fi
4422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4423
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4424
  test $ac_cv_safe_to_define___extensions__ = yes &&
4425
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4426
4427
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4428
4429
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4430
4431
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4432
4433
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4434
4435
4436
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
4437
#AC_CONFIG_HEADERS([src/config.h])
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4438
4439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4440
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4441
    # Check whether --enable-maintainer-mode was given.
4442
if test "${enable_maintainer_mode+set}" = set; then :
4443
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4444
else
4445
  USE_MAINTAINER_MODE=no
4446
fi
4447
4448
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4449
$as_echo "$USE_MAINTAINER_MODE" >&6; }
4450
   if test $USE_MAINTAINER_MODE = yes; then
4451
  MAINTAINER_MODE_TRUE=
4452
  MAINTAINER_MODE_FALSE='#'
4453
else
4454
  MAINTAINER_MODE_TRUE='#'
4455
  MAINTAINER_MODE_FALSE=
4456
fi
4457
4458
  MAINT=$MAINTAINER_MODE_TRUE
4459
4460
4461
4462
# ============== basic compiler settings ============= #
1 by Osmo Antero Maatta
Initial import 17.jan.2011
4463
ac_ext=c
4464
ac_cpp='$CPP $CPPFLAGS'
4465
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467
ac_compiler_gnu=$ac_cv_c_compiler_gnu
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4468
if test -n "$ac_tool_prefix"; then
4469
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4470
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472
$as_echo_n "checking for $ac_word... " >&6; }
4473
if ${ac_cv_prog_CC+:} false; then :
4474
  $as_echo_n "(cached) " >&6
4475
else
4476
  if test -n "$CC"; then
4477
  ac_cv_prog_CC="$CC" # Let the user override the test.
4478
else
4479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480
for as_dir in $PATH
4481
do
4482
  IFS=$as_save_IFS
4483
  test -z "$as_dir" && as_dir=.
4484
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4485
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4486
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4487
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488
    break 2
4489
  fi
4490
done
4491
  done
4492
IFS=$as_save_IFS
4493
4494
fi
4495
fi
4496
CC=$ac_cv_prog_CC
4497
if test -n "$CC"; then
4498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4499
$as_echo "$CC" >&6; }
4500
else
4501
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502
$as_echo "no" >&6; }
4503
fi
4504
4505
4506
fi
4507
if test -z "$ac_cv_prog_CC"; then
4508
  ac_ct_CC=$CC
4509
  # Extract the first word of "gcc", so it can be a program name with args.
4510
set dummy gcc; ac_word=$2
4511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512
$as_echo_n "checking for $ac_word... " >&6; }
4513
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4514
  $as_echo_n "(cached) " >&6
4515
else
4516
  if test -n "$ac_ct_CC"; then
4517
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4518
else
4519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520
for as_dir in $PATH
4521
do
4522
  IFS=$as_save_IFS
4523
  test -z "$as_dir" && as_dir=.
4524
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4525
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4526
    ac_cv_prog_ac_ct_CC="gcc"
4527
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528
    break 2
4529
  fi
4530
done
4531
  done
4532
IFS=$as_save_IFS
4533
4534
fi
4535
fi
4536
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4537
if test -n "$ac_ct_CC"; then
4538
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4539
$as_echo "$ac_ct_CC" >&6; }
4540
else
4541
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542
$as_echo "no" >&6; }
4543
fi
4544
4545
  if test "x$ac_ct_CC" = x; then
4546
    CC=""
4547
  else
4548
    case $cross_compiling:$ac_tool_warned in
4549
yes:)
4550
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552
ac_tool_warned=yes ;;
4553
esac
4554
    CC=$ac_ct_CC
4555
  fi
4556
else
4557
  CC="$ac_cv_prog_CC"
4558
fi
4559
4560
if test -z "$CC"; then
4561
          if test -n "$ac_tool_prefix"; then
4562
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4563
set dummy ${ac_tool_prefix}cc; ac_word=$2
4564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565
$as_echo_n "checking for $ac_word... " >&6; }
4566
if ${ac_cv_prog_CC+:} false; then :
4567
  $as_echo_n "(cached) " >&6
4568
else
4569
  if test -n "$CC"; then
4570
  ac_cv_prog_CC="$CC" # Let the user override the test.
4571
else
4572
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573
for as_dir in $PATH
4574
do
4575
  IFS=$as_save_IFS
4576
  test -z "$as_dir" && as_dir=.
4577
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4578
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4579
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4580
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581
    break 2
4582
  fi
4583
done
4584
  done
4585
IFS=$as_save_IFS
4586
4587
fi
4588
fi
4589
CC=$ac_cv_prog_CC
4590
if test -n "$CC"; then
4591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4592
$as_echo "$CC" >&6; }
4593
else
4594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595
$as_echo "no" >&6; }
4596
fi
4597
4598
4599
  fi
4600
fi
4601
if test -z "$CC"; then
4602
  # Extract the first word of "cc", so it can be a program name with args.
4603
set dummy cc; ac_word=$2
4604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605
$as_echo_n "checking for $ac_word... " >&6; }
4606
if ${ac_cv_prog_CC+:} false; then :
4607
  $as_echo_n "(cached) " >&6
4608
else
4609
  if test -n "$CC"; then
4610
  ac_cv_prog_CC="$CC" # Let the user override the test.
4611
else
4612
  ac_prog_rejected=no
4613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614
for as_dir in $PATH
4615
do
4616
  IFS=$as_save_IFS
4617
  test -z "$as_dir" && as_dir=.
4618
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4619
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4620
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4621
       ac_prog_rejected=yes
4622
       continue
4623
     fi
4624
    ac_cv_prog_CC="cc"
4625
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4626
    break 2
4627
  fi
4628
done
4629
  done
4630
IFS=$as_save_IFS
4631
4632
if test $ac_prog_rejected = yes; then
4633
  # We found a bogon in the path, so make sure we never use it.
4634
  set dummy $ac_cv_prog_CC
4635
  shift
4636
  if test $# != 0; then
4637
    # We chose a different compiler from the bogus one.
4638
    # However, it has the same basename, so the bogon will be chosen
4639
    # first if we set CC to just the basename; use the full file name.
4640
    shift
4641
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4642
  fi
4643
fi
4644
fi
4645
fi
4646
CC=$ac_cv_prog_CC
4647
if test -n "$CC"; then
4648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4649
$as_echo "$CC" >&6; }
4650
else
4651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652
$as_echo "no" >&6; }
4653
fi
4654
4655
4656
fi
4657
if test -z "$CC"; then
4658
  if test -n "$ac_tool_prefix"; then
4659
  for ac_prog in cl.exe
4660
  do
4661
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4662
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664
$as_echo_n "checking for $ac_word... " >&6; }
4665
if ${ac_cv_prog_CC+:} false; then :
4666
  $as_echo_n "(cached) " >&6
4667
else
4668
  if test -n "$CC"; then
4669
  ac_cv_prog_CC="$CC" # Let the user override the test.
4670
else
4671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672
for as_dir in $PATH
4673
do
4674
  IFS=$as_save_IFS
4675
  test -z "$as_dir" && as_dir=.
4676
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4677
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4678
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4679
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680
    break 2
4681
  fi
4682
done
4683
  done
4684
IFS=$as_save_IFS
4685
4686
fi
4687
fi
4688
CC=$ac_cv_prog_CC
4689
if test -n "$CC"; then
4690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4691
$as_echo "$CC" >&6; }
4692
else
4693
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694
$as_echo "no" >&6; }
4695
fi
4696
4697
4698
    test -n "$CC" && break
4699
  done
4700
fi
4701
if test -z "$CC"; then
4702
  ac_ct_CC=$CC
4703
  for ac_prog in cl.exe
4704
do
4705
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4706
set dummy $ac_prog; ac_word=$2
4707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708
$as_echo_n "checking for $ac_word... " >&6; }
4709
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4710
  $as_echo_n "(cached) " >&6
4711
else
4712
  if test -n "$ac_ct_CC"; then
4713
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4714
else
4715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716
for as_dir in $PATH
4717
do
4718
  IFS=$as_save_IFS
4719
  test -z "$as_dir" && as_dir=.
4720
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4721
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4722
    ac_cv_prog_ac_ct_CC="$ac_prog"
4723
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724
    break 2
4725
  fi
4726
done
4727
  done
4728
IFS=$as_save_IFS
4729
4730
fi
4731
fi
4732
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4733
if test -n "$ac_ct_CC"; then
4734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4735
$as_echo "$ac_ct_CC" >&6; }
4736
else
4737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738
$as_echo "no" >&6; }
4739
fi
4740
4741
4742
  test -n "$ac_ct_CC" && break
4743
done
4744
4745
  if test "x$ac_ct_CC" = x; then
4746
    CC=""
4747
  else
4748
    case $cross_compiling:$ac_tool_warned in
4749
yes:)
4750
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4751
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4752
ac_tool_warned=yes ;;
4753
esac
4754
    CC=$ac_ct_CC
4755
  fi
4756
fi
4757
4758
fi
4759
4760
4761
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
4762
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4763
as_fn_error $? "no acceptable C compiler found in \$PATH
56 by Osmo Antero
Version 0.5
4764
See \`config.log' for more details" "$LINENO" 5; }
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4765
4766
# Provide some information about the compiler.
4767
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4768
set X $ac_compile
4769
ac_compiler=$2
4770
for ac_option in --version -v -V -qversion; do
4771
  { { ac_try="$ac_compiler $ac_option >&5"
4772
case "(($ac_try" in
4773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774
  *) ac_try_echo=$ac_try;;
4775
esac
4776
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4777
$as_echo "$ac_try_echo"; } >&5
4778
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4779
  ac_status=$?
4780
  if test -s conftest.err; then
4781
    sed '10a\
4782
... rest of stderr output deleted ...
4783
         10q' conftest.err >conftest.er1
4784
    cat conftest.er1 >&5
4785
  fi
4786
  rm -f conftest.er1 conftest.err
4787
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788
  test $ac_status = 0; }
4789
done
4790
4791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4792
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4793
if ${ac_cv_c_compiler_gnu+:} false; then :
4794
  $as_echo_n "(cached) " >&6
4795
else
4796
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797
/* end confdefs.h.  */
4798
4799
int
4800
main ()
4801
{
4802
#ifndef __GNUC__
4803
       choke me
4804
#endif
4805
4806
  ;
4807
  return 0;
4808
}
4809
_ACEOF
4810
if ac_fn_c_try_compile "$LINENO"; then :
4811
  ac_compiler_gnu=yes
4812
else
4813
  ac_compiler_gnu=no
4814
fi
4815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4817
4818
fi
4819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4820
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4821
if test $ac_compiler_gnu = yes; then
4822
  GCC=yes
4823
else
4824
  GCC=
4825
fi
4826
ac_test_CFLAGS=${CFLAGS+set}
4827
ac_save_CFLAGS=$CFLAGS
4828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4829
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4830
if ${ac_cv_prog_cc_g+:} false; then :
4831
  $as_echo_n "(cached) " >&6
4832
else
4833
  ac_save_c_werror_flag=$ac_c_werror_flag
4834
   ac_c_werror_flag=yes
4835
   ac_cv_prog_cc_g=no
4836
   CFLAGS="-g"
4837
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838
/* end confdefs.h.  */
4839
4840
int
4841
main ()
4842
{
4843
4844
  ;
4845
  return 0;
4846
}
4847
_ACEOF
4848
if ac_fn_c_try_compile "$LINENO"; then :
4849
  ac_cv_prog_cc_g=yes
4850
else
4851
  CFLAGS=""
4852
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853
/* end confdefs.h.  */
4854
4855
int
4856
main ()
4857
{
4858
4859
  ;
4860
  return 0;
4861
}
4862
_ACEOF
4863
if ac_fn_c_try_compile "$LINENO"; then :
4864
4865
else
4866
  ac_c_werror_flag=$ac_save_c_werror_flag
4867
	 CFLAGS="-g"
4868
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869
/* end confdefs.h.  */
4870
4871
int
4872
main ()
4873
{
4874
4875
  ;
4876
  return 0;
4877
}
4878
_ACEOF
4879
if ac_fn_c_try_compile "$LINENO"; then :
4880
  ac_cv_prog_cc_g=yes
4881
fi
4882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883
fi
4884
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885
fi
4886
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4887
   ac_c_werror_flag=$ac_save_c_werror_flag
4888
fi
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4890
$as_echo "$ac_cv_prog_cc_g" >&6; }
4891
if test "$ac_test_CFLAGS" = set; then
4892
  CFLAGS=$ac_save_CFLAGS
4893
elif test $ac_cv_prog_cc_g = yes; then
4894
  if test "$GCC" = yes; then
4895
    CFLAGS="-g -O2"
4896
  else
4897
    CFLAGS="-g"
4898
  fi
4899
else
4900
  if test "$GCC" = yes; then
4901
    CFLAGS="-O2"
4902
  else
4903
    CFLAGS=
4904
  fi
4905
fi
4906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4907
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4908
if ${ac_cv_prog_cc_c89+:} false; then :
4909
  $as_echo_n "(cached) " >&6
4910
else
4911
  ac_cv_prog_cc_c89=no
4912
ac_save_CC=$CC
4913
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914
/* end confdefs.h.  */
4915
#include <stdarg.h>
4916
#include <stdio.h>
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4917
struct stat;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4918
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4919
struct buf { int x; };
4920
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4921
static char *e (p, i)
4922
     char **p;
4923
     int i;
4924
{
4925
  return p[i];
4926
}
4927
static char *f (char * (*g) (char **, int), char **p, ...)
4928
{
4929
  char *s;
4930
  va_list v;
4931
  va_start (v,p);
4932
  s = g (p, va_arg (v,int));
4933
  va_end (v);
4934
  return s;
4935
}
4936
4937
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4938
   function prototypes and stuff, but not '\xHH' hex character constants.
4939
   These don't provoke an error unfortunately, instead are silently treated
4940
   as 'x'.  The following induces an error, until -std is added to get
4941
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4942
   array size at least.  It's necessary to write '\x00'==0 to get something
4943
   that's true only with -std.  */
4944
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4945
4946
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4947
   inside strings and character constants.  */
4948
#define FOO(x) 'x'
4949
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4950
4951
int test (int i, double x);
4952
struct s1 {int (*f) (int a);};
4953
struct s2 {int (*f) (double a);};
4954
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4955
int argc;
4956
char **argv;
4957
int
4958
main ()
4959
{
4960
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4961
  ;
4962
  return 0;
4963
}
4964
_ACEOF
4965
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4966
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4967
do
4968
  CC="$ac_save_CC $ac_arg"
4969
  if ac_fn_c_try_compile "$LINENO"; then :
4970
  ac_cv_prog_cc_c89=$ac_arg
4971
fi
4972
rm -f core conftest.err conftest.$ac_objext
4973
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4974
done
4975
rm -f conftest.$ac_ext
4976
CC=$ac_save_CC
4977
4978
fi
4979
# AC_CACHE_VAL
4980
case "x$ac_cv_prog_cc_c89" in
4981
  x)
4982
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4983
$as_echo "none needed" >&6; } ;;
4984
  xno)
4985
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4986
$as_echo "unsupported" >&6; } ;;
4987
  *)
4988
    CC="$CC $ac_cv_prog_cc_c89"
4989
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4990
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4991
esac
4992
if test "x$ac_cv_prog_cc_c89" != xno; then :
4993
1 by Osmo Antero Maatta
Initial import 17.jan.2011
4994
fi
4995
4996
ac_ext=c
4997
ac_cpp='$CPP $CPPFLAGS'
4998
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5001
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
5002
ac_ext=c
5003
ac_cpp='$CPP $CPPFLAGS'
5004
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5005
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5006
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5008
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5009
if ${am_cv_prog_cc_c_o+:} false; then :
5010
  $as_echo_n "(cached) " >&6
5011
else
5012
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013
/* end confdefs.h.  */
5014
5015
int
5016
main ()
5017
{
5018
5019
  ;
5020
  return 0;
5021
}
5022
_ACEOF
5023
  # Make sure it works both with $CC and with simple cc.
5024
  # Following AC_PROG_CC_C_O, we do the test twice because some
5025
  # compilers refuse to overwrite an existing .o file with -o,
5026
  # though they will create one.
5027
  am_cv_prog_cc_c_o=yes
5028
  for am_i in 1 2; do
5029
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5030
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5031
   ac_status=$?
5032
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033
   (exit $ac_status); } \
5034
         && test -f conftest2.$ac_objext; then
5035
      : OK
5036
    else
5037
      am_cv_prog_cc_c_o=no
5038
      break
5039
    fi
5040
  done
5041
  rm -f core conftest*
5042
  unset am_i
5043
fi
5044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5045
$as_echo "$am_cv_prog_cc_c_o" >&6; }
5046
if test "$am_cv_prog_cc_c_o" != yes; then
5047
   # Losing compiler, so override with the script.
5048
   # FIXME: It is wrong to rewrite CC.
5049
   # But if we don't then we get into trouble of one sort or another.
5050
   # A longer-term fix would be to have automake use am__CC in this case,
5051
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5052
   CC="$am_aux_dir/compile $CC"
5053
fi
5054
ac_ext=c
5055
ac_cpp='$CPP $CPPFLAGS'
5056
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5057
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5058
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5059
5060
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
5061
depcc="$CC"   am_compiler_list=
5062
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5064
$as_echo_n "checking dependency style of $depcc... " >&6; }
5065
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5066
  $as_echo_n "(cached) " >&6
5067
else
5068
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5069
  # We make a subdir and do the tests there.  Otherwise we can end up
5070
  # making bogus files that we don't know about and never remove.  For
5071
  # instance it was reported that on HP-UX the gcc test will end up
5072
  # making a dummy file named 'D' -- because '-MD' means "put the output
5073
  # in D".
5074
  rm -rf conftest.dir
5075
  mkdir conftest.dir
5076
  # Copy depcomp to subdir because otherwise we won't find it if we're
5077
  # using a relative directory.
5078
  cp "$am_depcomp" conftest.dir
5079
  cd conftest.dir
5080
  # We will build objects and dependencies in a subdirectory because
5081
  # it helps to detect inapplicable dependency modes.  For instance
5082
  # both Tru64's cc and ICC support -MD to output dependencies as a
5083
  # side effect of compilation, but ICC will put the dependencies in
5084
  # the current directory while Tru64 will put them in the object
5085
  # directory.
5086
  mkdir sub
5087
5088
  am_cv_CC_dependencies_compiler_type=none
5089
  if test "$am_compiler_list" = ""; then
5090
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5091
  fi
5092
  am__universal=false
5093
  case " $depcc " in #(
5094
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5095
     esac
5096
5097
  for depmode in $am_compiler_list; do
5098
    # Setup a source with many dependencies, because some compilers
5099
    # like to wrap large dependency lists on column 80 (with \), and
5100
    # we should not choose a depcomp mode which is confused by this.
5101
    #
5102
    # We need to recreate these files for each test, as the compiler may
5103
    # overwrite some of them when testing with obscure command lines.
5104
    # This happens at least with the AIX C compiler.
5105
    : > sub/conftest.c
5106
    for i in 1 2 3 4 5 6; do
5107
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5108
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5109
      # Solaris 10 /bin/sh.
5110
      echo '/* dummy */' > sub/conftst$i.h
5111
    done
5112
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5113
5114
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5115
    # mode.  It turns out that the SunPro C++ compiler does not properly
5116
    # handle '-M -o', and we need to detect this.  Also, some Intel
5117
    # versions had trouble with output in subdirs.
5118
    am__obj=sub/conftest.${OBJEXT-o}
5119
    am__minus_obj="-o $am__obj"
5120
    case $depmode in
5121
    gcc)
5122
      # This depmode causes a compiler race in universal mode.
5123
      test "$am__universal" = false || continue
5124
      ;;
5125
    nosideeffect)
5126
      # After this tag, mechanisms are not by side-effect, so they'll
5127
      # only be used when explicitly requested.
5128
      if test "x$enable_dependency_tracking" = xyes; then
5129
	continue
5130
      else
5131
	break
5132
      fi
5133
      ;;
5134
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5135
      # This compiler won't grok '-c -o', but also, the minuso test has
5136
      # not run yet.  These depmodes are late enough in the game, and
5137
      # so weak that their functioning should not be impacted.
5138
      am__obj=conftest.${OBJEXT-o}
5139
      am__minus_obj=
5140
      ;;
5141
    none) break ;;
5142
    esac
5143
    if depmode=$depmode \
5144
       source=sub/conftest.c object=$am__obj \
5145
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5146
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5147
         >/dev/null 2>conftest.err &&
5148
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5149
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5150
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5151
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5152
      # icc doesn't choke on unknown options, it will just issue warnings
5153
      # or remarks (even with -Werror).  So we grep stderr for any message
5154
      # that says an option was ignored or not supported.
5155
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5156
      #   icc: Command line warning: ignoring option '-M'; no argument required
5157
      # The diagnosis changed in icc 8.0:
5158
      #   icc: Command line remark: option '-MP' not supported
5159
      if (grep 'ignoring option' conftest.err ||
5160
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5161
        am_cv_CC_dependencies_compiler_type=$depmode
5162
        break
5163
      fi
5164
    fi
5165
  done
5166
5167
  cd ..
5168
  rm -rf conftest.dir
5169
else
5170
  am_cv_CC_dependencies_compiler_type=none
5171
fi
5172
5173
fi
5174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5175
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5176
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5177
5178
 if
5179
  test "x$enable_dependency_tracking" != xno \
5180
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5181
  am__fastdepCC_TRUE=
5182
  am__fastdepCC_FALSE='#'
5183
else
5184
  am__fastdepCC_TRUE='#'
5185
  am__fastdepCC_FALSE=
5186
fi
5187
5188
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5190
$as_echo_n "checking for ANSI C header files... " >&6; }
56 by Osmo Antero
Version 0.5
5191
if ${ac_cv_header_stdc+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5192
  $as_echo_n "(cached) " >&6
5193
else
5194
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195
/* end confdefs.h.  */
5196
#include <stdlib.h>
5197
#include <stdarg.h>
5198
#include <string.h>
5199
#include <float.h>
5200
5201
int
5202
main ()
5203
{
5204
5205
  ;
5206
  return 0;
5207
}
5208
_ACEOF
5209
if ac_fn_c_try_compile "$LINENO"; then :
5210
  ac_cv_header_stdc=yes
5211
else
5212
  ac_cv_header_stdc=no
5213
fi
5214
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5215
5216
if test $ac_cv_header_stdc = yes; then
5217
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5218
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219
/* end confdefs.h.  */
5220
#include <string.h>
5221
5222
_ACEOF
5223
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5224
  $EGREP "memchr" >/dev/null 2>&1; then :
5225
5226
else
5227
  ac_cv_header_stdc=no
5228
fi
5229
rm -f conftest*
5230
5231
fi
5232
5233
if test $ac_cv_header_stdc = yes; then
5234
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5235
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236
/* end confdefs.h.  */
5237
#include <stdlib.h>
5238
5239
_ACEOF
5240
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5241
  $EGREP "free" >/dev/null 2>&1; then :
5242
5243
else
5244
  ac_cv_header_stdc=no
5245
fi
5246
rm -f conftest*
5247
5248
fi
5249
5250
if test $ac_cv_header_stdc = yes; then
5251
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5252
  if test "$cross_compiling" = yes; then :
5253
  :
5254
else
5255
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256
/* end confdefs.h.  */
5257
#include <ctype.h>
5258
#include <stdlib.h>
5259
#if ((' ' & 0x0FF) == 0x020)
5260
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5261
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5262
#else
5263
# define ISLOWER(c) \
5264
		   (('a' <= (c) && (c) <= 'i') \
5265
		     || ('j' <= (c) && (c) <= 'r') \
5266
		     || ('s' <= (c) && (c) <= 'z'))
5267
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5268
#endif
5269
5270
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5271
int
5272
main ()
5273
{
5274
  int i;
5275
  for (i = 0; i < 256; i++)
5276
    if (XOR (islower (i), ISLOWER (i))
5277
	|| toupper (i) != TOUPPER (i))
5278
      return 2;
5279
  return 0;
5280
}
5281
_ACEOF
5282
if ac_fn_c_try_run "$LINENO"; then :
5283
5284
else
5285
  ac_cv_header_stdc=no
5286
fi
5287
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5288
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5289
fi
5290
5291
fi
5292
fi
5293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5294
$as_echo "$ac_cv_header_stdc" >&6; }
5295
if test $ac_cv_header_stdc = yes; then
5296
5297
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5298
5299
fi
5300
5301
5302
# *************************
5303
# Checks for programs.
5304
# *************************
5305
ac_ext=cpp
5306
ac_cpp='$CXXCPP $CPPFLAGS'
5307
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5308
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5309
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5310
if test -z "$CXX"; then
5311
  if test -n "$CCC"; then
5312
    CXX=$CCC
5313
  else
5314
    if test -n "$ac_tool_prefix"; then
5315
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5316
  do
5317
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5318
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5321
if ${ac_cv_prog_CXX+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5322
  $as_echo_n "(cached) " >&6
5323
else
5324
  if test -n "$CXX"; then
5325
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5326
else
5327
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328
for as_dir in $PATH
5329
do
5330
  IFS=$as_save_IFS
5331
  test -z "$as_dir" && as_dir=.
5332
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5333
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5334
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5335
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336
    break 2
5337
  fi
5338
done
5339
  done
5340
IFS=$as_save_IFS
5341
5342
fi
5343
fi
5344
CXX=$ac_cv_prog_CXX
5345
if test -n "$CXX"; then
5346
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5347
$as_echo "$CXX" >&6; }
5348
else
5349
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350
$as_echo "no" >&6; }
5351
fi
5352
5353
5354
    test -n "$CXX" && break
5355
  done
5356
fi
5357
if test -z "$CXX"; then
5358
  ac_ct_CXX=$CXX
5359
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5360
do
5361
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5362
set dummy $ac_prog; ac_word=$2
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5365
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5366
  $as_echo_n "(cached) " >&6
5367
else
5368
  if test -n "$ac_ct_CXX"; then
5369
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5370
else
5371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372
for as_dir in $PATH
5373
do
5374
  IFS=$as_save_IFS
5375
  test -z "$as_dir" && as_dir=.
5376
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5377
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5378
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5379
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380
    break 2
5381
  fi
5382
done
5383
  done
5384
IFS=$as_save_IFS
5385
5386
fi
5387
fi
5388
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5389
if test -n "$ac_ct_CXX"; then
5390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5391
$as_echo "$ac_ct_CXX" >&6; }
5392
else
5393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394
$as_echo "no" >&6; }
5395
fi
5396
5397
5398
  test -n "$ac_ct_CXX" && break
5399
done
5400
5401
  if test "x$ac_ct_CXX" = x; then
5402
    CXX="g++"
5403
  else
5404
    case $cross_compiling:$ac_tool_warned in
5405
yes:)
5406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408
ac_tool_warned=yes ;;
5409
esac
5410
    CXX=$ac_ct_CXX
5411
  fi
5412
fi
5413
5414
  fi
5415
fi
5416
# Provide some information about the compiler.
5417
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5418
set X $ac_compile
5419
ac_compiler=$2
5420
for ac_option in --version -v -V -qversion; do
5421
  { { ac_try="$ac_compiler $ac_option >&5"
5422
case "(($ac_try" in
5423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5424
  *) ac_try_echo=$ac_try;;
5425
esac
5426
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5427
$as_echo "$ac_try_echo"; } >&5
5428
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5429
  ac_status=$?
5430
  if test -s conftest.err; then
5431
    sed '10a\
5432
... rest of stderr output deleted ...
5433
         10q' conftest.err >conftest.er1
5434
    cat conftest.er1 >&5
5435
  fi
5436
  rm -f conftest.er1 conftest.err
5437
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5438
  test $ac_status = 0; }
5439
done
5440
5441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5442
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
56 by Osmo Antero
Version 0.5
5443
if ${ac_cv_cxx_compiler_gnu+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5444
  $as_echo_n "(cached) " >&6
5445
else
5446
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447
/* end confdefs.h.  */
5448
5449
int
5450
main ()
5451
{
5452
#ifndef __GNUC__
5453
       choke me
5454
#endif
5455
5456
  ;
5457
  return 0;
5458
}
5459
_ACEOF
5460
if ac_fn_cxx_try_compile "$LINENO"; then :
5461
  ac_compiler_gnu=yes
5462
else
5463
  ac_compiler_gnu=no
5464
fi
5465
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5467
5468
fi
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5470
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5471
if test $ac_compiler_gnu = yes; then
5472
  GXX=yes
5473
else
5474
  GXX=
5475
fi
5476
ac_test_CXXFLAGS=${CXXFLAGS+set}
5477
ac_save_CXXFLAGS=$CXXFLAGS
5478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5479
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
56 by Osmo Antero
Version 0.5
5480
if ${ac_cv_prog_cxx_g+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5481
  $as_echo_n "(cached) " >&6
5482
else
5483
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5484
   ac_cxx_werror_flag=yes
5485
   ac_cv_prog_cxx_g=no
5486
   CXXFLAGS="-g"
5487
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488
/* end confdefs.h.  */
5489
5490
int
5491
main ()
5492
{
5493
5494
  ;
5495
  return 0;
5496
}
5497
_ACEOF
5498
if ac_fn_cxx_try_compile "$LINENO"; then :
5499
  ac_cv_prog_cxx_g=yes
5500
else
5501
  CXXFLAGS=""
5502
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503
/* end confdefs.h.  */
5504
5505
int
5506
main ()
5507
{
5508
5509
  ;
5510
  return 0;
5511
}
5512
_ACEOF
5513
if ac_fn_cxx_try_compile "$LINENO"; then :
5514
5515
else
5516
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5517
	 CXXFLAGS="-g"
5518
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5519
/* end confdefs.h.  */
5520
5521
int
5522
main ()
5523
{
5524
5525
  ;
5526
  return 0;
5527
}
5528
_ACEOF
5529
if ac_fn_cxx_try_compile "$LINENO"; then :
5530
  ac_cv_prog_cxx_g=yes
5531
fi
5532
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5533
fi
5534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5535
fi
5536
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5538
fi
5539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5540
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5541
if test "$ac_test_CXXFLAGS" = set; then
5542
  CXXFLAGS=$ac_save_CXXFLAGS
5543
elif test $ac_cv_prog_cxx_g = yes; then
5544
  if test "$GXX" = yes; then
5545
    CXXFLAGS="-g -O2"
5546
  else
5547
    CXXFLAGS="-g"
5548
  fi
5549
else
5550
  if test "$GXX" = yes; then
5551
    CXXFLAGS="-O2"
5552
  else
5553
    CXXFLAGS=
5554
  fi
5555
fi
5556
ac_ext=c
5557
ac_cpp='$CPP $CPPFLAGS'
5558
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5559
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5560
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5561
5562
depcc="$CXX"  am_compiler_list=
5563
5564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5565
$as_echo_n "checking dependency style of $depcc... " >&6; }
56 by Osmo Antero
Version 0.5
5566
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5567
  $as_echo_n "(cached) " >&6
5568
else
5569
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5570
  # We make a subdir and do the tests there.  Otherwise we can end up
5571
  # making bogus files that we don't know about and never remove.  For
5572
  # instance it was reported that on HP-UX the gcc test will end up
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5573
  # making a dummy file named 'D' -- because '-MD' means "put the output
5574
  # in D".
91 by Osmo Antero
Added packaging file for Fedora (fedora/audio-recorder.spec).
5575
  rm -rf conftest.dir
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5576
  mkdir conftest.dir
5577
  # Copy depcomp to subdir because otherwise we won't find it if we're
5578
  # using a relative directory.
5579
  cp "$am_depcomp" conftest.dir
5580
  cd conftest.dir
5581
  # We will build objects and dependencies in a subdirectory because
5582
  # it helps to detect inapplicable dependency modes.  For instance
5583
  # both Tru64's cc and ICC support -MD to output dependencies as a
5584
  # side effect of compilation, but ICC will put the dependencies in
5585
  # the current directory while Tru64 will put them in the object
5586
  # directory.
5587
  mkdir sub
5588
5589
  am_cv_CXX_dependencies_compiler_type=none
5590
  if test "$am_compiler_list" = ""; then
5591
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5592
  fi
5593
  am__universal=false
5594
  case " $depcc " in #(
5595
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5596
     esac
5597
5598
  for depmode in $am_compiler_list; do
5599
    # Setup a source with many dependencies, because some compilers
5600
    # like to wrap large dependency lists on column 80 (with \), and
5601
    # we should not choose a depcomp mode which is confused by this.
5602
    #
5603
    # We need to recreate these files for each test, as the compiler may
5604
    # overwrite some of them when testing with obscure command lines.
5605
    # This happens at least with the AIX C compiler.
5606
    : > sub/conftest.c
5607
    for i in 1 2 3 4 5 6; do
5608
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5609
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5610
      # Solaris 10 /bin/sh.
5611
      echo '/* dummy */' > sub/conftst$i.h
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5612
    done
5613
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5614
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5615
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5616
    # mode.  It turns out that the SunPro C++ compiler does not properly
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5617
    # handle '-M -o', and we need to detect this.  Also, some Intel
5618
    # versions had trouble with output in subdirs.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5619
    am__obj=sub/conftest.${OBJEXT-o}
5620
    am__minus_obj="-o $am__obj"
5621
    case $depmode in
5622
    gcc)
5623
      # This depmode causes a compiler race in universal mode.
5624
      test "$am__universal" = false || continue
5625
      ;;
5626
    nosideeffect)
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5627
      # After this tag, mechanisms are not by side-effect, so they'll
5628
      # only be used when explicitly requested.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5629
      if test "x$enable_dependency_tracking" = xyes; then
5630
	continue
5631
      else
5632
	break
5633
      fi
5634
      ;;
91 by Osmo Antero
Added packaging file for Fedora (fedora/audio-recorder.spec).
5635
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5636
      # This compiler won't grok '-c -o', but also, the minuso test has
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5637
      # not run yet.  These depmodes are late enough in the game, and
5638
      # so weak that their functioning should not be impacted.
5639
      am__obj=conftest.${OBJEXT-o}
5640
      am__minus_obj=
5641
      ;;
5642
    none) break ;;
5643
    esac
5644
    if depmode=$depmode \
5645
       source=sub/conftest.c object=$am__obj \
5646
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5647
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5648
         >/dev/null 2>conftest.err &&
5649
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5650
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5651
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5652
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5653
      # icc doesn't choke on unknown options, it will just issue warnings
5654
      # or remarks (even with -Werror).  So we grep stderr for any message
5655
      # that says an option was ignored or not supported.
5656
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5657
      #   icc: Command line warning: ignoring option '-M'; no argument required
5658
      # The diagnosis changed in icc 8.0:
5659
      #   icc: Command line remark: option '-MP' not supported
5660
      if (grep 'ignoring option' conftest.err ||
5661
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5662
        am_cv_CXX_dependencies_compiler_type=$depmode
5663
        break
5664
      fi
5665
    fi
5666
  done
5667
5668
  cd ..
5669
  rm -rf conftest.dir
5670
else
5671
  am_cv_CXX_dependencies_compiler_type=none
5672
fi
5673
5674
fi
5675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5676
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5677
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5678
5679
 if
5680
  test "x$enable_dependency_tracking" != xno \
5681
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5682
  am__fastdepCXX_TRUE=
5683
  am__fastdepCXX_FALSE='#'
5684
else
5685
  am__fastdepCXX_TRUE='#'
5686
  am__fastdepCXX_FALSE=
5687
fi
5688
5689
5690
ac_ext=c
5691
ac_cpp='$CPP $CPPFLAGS'
5692
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5693
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5694
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5695
if test -n "$ac_tool_prefix"; then
5696
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5697
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5700
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5701
  $as_echo_n "(cached) " >&6
5702
else
5703
  if test -n "$CC"; then
5704
  ac_cv_prog_CC="$CC" # Let the user override the test.
5705
else
5706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707
for as_dir in $PATH
5708
do
5709
  IFS=$as_save_IFS
5710
  test -z "$as_dir" && as_dir=.
5711
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5712
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5713
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5714
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715
    break 2
5716
  fi
5717
done
5718
  done
5719
IFS=$as_save_IFS
5720
5721
fi
5722
fi
5723
CC=$ac_cv_prog_CC
5724
if test -n "$CC"; then
5725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5726
$as_echo "$CC" >&6; }
5727
else
5728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729
$as_echo "no" >&6; }
5730
fi
5731
5732
5733
fi
5734
if test -z "$ac_cv_prog_CC"; then
5735
  ac_ct_CC=$CC
5736
  # Extract the first word of "gcc", so it can be a program name with args.
5737
set dummy gcc; ac_word=$2
5738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5740
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5741
  $as_echo_n "(cached) " >&6
5742
else
5743
  if test -n "$ac_ct_CC"; then
5744
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5745
else
5746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747
for as_dir in $PATH
5748
do
5749
  IFS=$as_save_IFS
5750
  test -z "$as_dir" && as_dir=.
5751
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5752
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5753
    ac_cv_prog_ac_ct_CC="gcc"
5754
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755
    break 2
5756
  fi
5757
done
5758
  done
5759
IFS=$as_save_IFS
5760
5761
fi
5762
fi
5763
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5764
if test -n "$ac_ct_CC"; then
5765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5766
$as_echo "$ac_ct_CC" >&6; }
5767
else
5768
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769
$as_echo "no" >&6; }
5770
fi
5771
5772
  if test "x$ac_ct_CC" = x; then
5773
    CC=""
5774
  else
5775
    case $cross_compiling:$ac_tool_warned in
5776
yes:)
5777
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5778
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5779
ac_tool_warned=yes ;;
5780
esac
5781
    CC=$ac_ct_CC
5782
  fi
5783
else
5784
  CC="$ac_cv_prog_CC"
5785
fi
5786
5787
if test -z "$CC"; then
5788
          if test -n "$ac_tool_prefix"; then
5789
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5790
set dummy ${ac_tool_prefix}cc; ac_word=$2
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5793
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5794
  $as_echo_n "(cached) " >&6
5795
else
5796
  if test -n "$CC"; then
5797
  ac_cv_prog_CC="$CC" # Let the user override the test.
5798
else
5799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800
for as_dir in $PATH
5801
do
5802
  IFS=$as_save_IFS
5803
  test -z "$as_dir" && as_dir=.
5804
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5805
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5806
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5807
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808
    break 2
5809
  fi
5810
done
5811
  done
5812
IFS=$as_save_IFS
5813
5814
fi
5815
fi
5816
CC=$ac_cv_prog_CC
5817
if test -n "$CC"; then
5818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5819
$as_echo "$CC" >&6; }
5820
else
5821
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822
$as_echo "no" >&6; }
5823
fi
5824
5825
5826
  fi
5827
fi
5828
if test -z "$CC"; then
5829
  # Extract the first word of "cc", so it can be a program name with args.
5830
set dummy cc; ac_word=$2
5831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5833
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5834
  $as_echo_n "(cached) " >&6
5835
else
5836
  if test -n "$CC"; then
5837
  ac_cv_prog_CC="$CC" # Let the user override the test.
5838
else
5839
  ac_prog_rejected=no
5840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841
for as_dir in $PATH
5842
do
5843
  IFS=$as_save_IFS
5844
  test -z "$as_dir" && as_dir=.
5845
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5846
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5847
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5848
       ac_prog_rejected=yes
5849
       continue
5850
     fi
5851
    ac_cv_prog_CC="cc"
5852
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853
    break 2
5854
  fi
5855
done
5856
  done
5857
IFS=$as_save_IFS
5858
5859
if test $ac_prog_rejected = yes; then
5860
  # We found a bogon in the path, so make sure we never use it.
5861
  set dummy $ac_cv_prog_CC
5862
  shift
5863
  if test $# != 0; then
5864
    # We chose a different compiler from the bogus one.
5865
    # However, it has the same basename, so the bogon will be chosen
5866
    # first if we set CC to just the basename; use the full file name.
5867
    shift
5868
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5869
  fi
5870
fi
5871
fi
5872
fi
5873
CC=$ac_cv_prog_CC
5874
if test -n "$CC"; then
5875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5876
$as_echo "$CC" >&6; }
5877
else
5878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879
$as_echo "no" >&6; }
5880
fi
5881
5882
5883
fi
5884
if test -z "$CC"; then
5885
  if test -n "$ac_tool_prefix"; then
5886
  for ac_prog in cl.exe
5887
  do
5888
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5889
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5892
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5893
  $as_echo_n "(cached) " >&6
5894
else
5895
  if test -n "$CC"; then
5896
  ac_cv_prog_CC="$CC" # Let the user override the test.
5897
else
5898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899
for as_dir in $PATH
5900
do
5901
  IFS=$as_save_IFS
5902
  test -z "$as_dir" && as_dir=.
5903
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5904
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5905
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5906
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907
    break 2
5908
  fi
5909
done
5910
  done
5911
IFS=$as_save_IFS
5912
5913
fi
5914
fi
5915
CC=$ac_cv_prog_CC
5916
if test -n "$CC"; then
5917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5918
$as_echo "$CC" >&6; }
5919
else
5920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921
$as_echo "no" >&6; }
5922
fi
5923
5924
5925
    test -n "$CC" && break
5926
  done
5927
fi
5928
if test -z "$CC"; then
5929
  ac_ct_CC=$CC
5930
  for ac_prog in cl.exe
5931
do
5932
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5933
set dummy $ac_prog; ac_word=$2
5934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5936
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5937
  $as_echo_n "(cached) " >&6
5938
else
5939
  if test -n "$ac_ct_CC"; then
5940
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5941
else
5942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943
for as_dir in $PATH
5944
do
5945
  IFS=$as_save_IFS
5946
  test -z "$as_dir" && as_dir=.
5947
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5948
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5949
    ac_cv_prog_ac_ct_CC="$ac_prog"
5950
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951
    break 2
5952
  fi
5953
done
5954
  done
5955
IFS=$as_save_IFS
5956
5957
fi
5958
fi
5959
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5960
if test -n "$ac_ct_CC"; then
5961
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5962
$as_echo "$ac_ct_CC" >&6; }
5963
else
5964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965
$as_echo "no" >&6; }
5966
fi
5967
5968
5969
  test -n "$ac_ct_CC" && break
5970
done
5971
5972
  if test "x$ac_ct_CC" = x; then
5973
    CC=""
5974
  else
5975
    case $cross_compiling:$ac_tool_warned in
5976
yes:)
5977
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5978
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5979
ac_tool_warned=yes ;;
5980
esac
5981
    CC=$ac_ct_CC
5982
  fi
5983
fi
5984
5985
fi
5986
5987
5988
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5989
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5990
as_fn_error $? "no acceptable C compiler found in \$PATH
56 by Osmo Antero
Version 0.5
5991
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5992
5993
# Provide some information about the compiler.
5994
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5995
set X $ac_compile
5996
ac_compiler=$2
5997
for ac_option in --version -v -V -qversion; do
5998
  { { ac_try="$ac_compiler $ac_option >&5"
5999
case "(($ac_try" in
6000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6001
  *) ac_try_echo=$ac_try;;
6002
esac
6003
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6004
$as_echo "$ac_try_echo"; } >&5
6005
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6006
  ac_status=$?
6007
  if test -s conftest.err; then
6008
    sed '10a\
6009
... rest of stderr output deleted ...
6010
         10q' conftest.err >conftest.er1
6011
    cat conftest.er1 >&5
6012
  fi
6013
  rm -f conftest.er1 conftest.err
6014
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6015
  test $ac_status = 0; }
6016
done
6017
6018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6019
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
56 by Osmo Antero
Version 0.5
6020
if ${ac_cv_c_compiler_gnu+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6021
  $as_echo_n "(cached) " >&6
6022
else
6023
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6024
/* end confdefs.h.  */
6025
6026
int
6027
main ()
6028
{
6029
#ifndef __GNUC__
6030
       choke me
6031
#endif
6032
6033
  ;
6034
  return 0;
6035
}
6036
_ACEOF
6037
if ac_fn_c_try_compile "$LINENO"; then :
6038
  ac_compiler_gnu=yes
6039
else
6040
  ac_compiler_gnu=no
6041
fi
6042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6043
ac_cv_c_compiler_gnu=$ac_compiler_gnu
6044
6045
fi
6046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6047
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
6048
if test $ac_compiler_gnu = yes; then
6049
  GCC=yes
6050
else
6051
  GCC=
6052
fi
6053
ac_test_CFLAGS=${CFLAGS+set}
6054
ac_save_CFLAGS=$CFLAGS
6055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6056
$as_echo_n "checking whether $CC accepts -g... " >&6; }
56 by Osmo Antero
Version 0.5
6057
if ${ac_cv_prog_cc_g+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6058
  $as_echo_n "(cached) " >&6
6059
else
6060
  ac_save_c_werror_flag=$ac_c_werror_flag
6061
   ac_c_werror_flag=yes
6062
   ac_cv_prog_cc_g=no
6063
   CFLAGS="-g"
6064
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6065
/* end confdefs.h.  */
6066
6067
int
6068
main ()
6069
{
6070
6071
  ;
6072
  return 0;
6073
}
6074
_ACEOF
6075
if ac_fn_c_try_compile "$LINENO"; then :
6076
  ac_cv_prog_cc_g=yes
6077
else
6078
  CFLAGS=""
6079
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080
/* end confdefs.h.  */
6081
6082
int
6083
main ()
6084
{
6085
6086
  ;
6087
  return 0;
6088
}
6089
_ACEOF
6090
if ac_fn_c_try_compile "$LINENO"; then :
6091
6092
else
6093
  ac_c_werror_flag=$ac_save_c_werror_flag
6094
	 CFLAGS="-g"
6095
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6096
/* end confdefs.h.  */
6097
6098
int
6099
main ()
6100
{
6101
6102
  ;
6103
  return 0;
6104
}
6105
_ACEOF
6106
if ac_fn_c_try_compile "$LINENO"; then :
6107
  ac_cv_prog_cc_g=yes
6108
fi
6109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110
fi
6111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6112
fi
6113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6114
   ac_c_werror_flag=$ac_save_c_werror_flag
6115
fi
6116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6117
$as_echo "$ac_cv_prog_cc_g" >&6; }
6118
if test "$ac_test_CFLAGS" = set; then
6119
  CFLAGS=$ac_save_CFLAGS
6120
elif test $ac_cv_prog_cc_g = yes; then
6121
  if test "$GCC" = yes; then
6122
    CFLAGS="-g -O2"
6123
  else
6124
    CFLAGS="-g"
6125
  fi
6126
else
6127
  if test "$GCC" = yes; then
6128
    CFLAGS="-O2"
6129
  else
6130
    CFLAGS=
6131
  fi
6132
fi
6133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6134
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
56 by Osmo Antero
Version 0.5
6135
if ${ac_cv_prog_cc_c89+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6136
  $as_echo_n "(cached) " >&6
6137
else
6138
  ac_cv_prog_cc_c89=no
6139
ac_save_CC=$CC
6140
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6141
/* end confdefs.h.  */
6142
#include <stdarg.h>
6143
#include <stdio.h>
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
6144
struct stat;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6145
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6146
struct buf { int x; };
6147
FILE * (*rcsopen) (struct buf *, struct stat *, int);
6148
static char *e (p, i)
6149
     char **p;
6150
     int i;
6151
{
6152
  return p[i];
6153
}
6154
static char *f (char * (*g) (char **, int), char **p, ...)
6155
{
6156
  char *s;
6157
  va_list v;
6158
  va_start (v,p);
6159
  s = g (p, va_arg (v,int));
6160
  va_end (v);
6161
  return s;
6162
}
6163
6164
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6165
   function prototypes and stuff, but not '\xHH' hex character constants.
6166
   These don't provoke an error unfortunately, instead are silently treated
6167
   as 'x'.  The following induces an error, until -std is added to get
6168
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6169
   array size at least.  It's necessary to write '\x00'==0 to get something
6170
   that's true only with -std.  */
6171
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6172
6173
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6174
   inside strings and character constants.  */
6175
#define FOO(x) 'x'
6176
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6177
6178
int test (int i, double x);
6179
struct s1 {int (*f) (int a);};
6180
struct s2 {int (*f) (double a);};
6181
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6182
int argc;
6183
char **argv;
6184
int
6185
main ()
6186
{
6187
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6188
  ;
6189
  return 0;
6190
}
6191
_ACEOF
6192
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6193
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6194
do
6195
  CC="$ac_save_CC $ac_arg"
6196
  if ac_fn_c_try_compile "$LINENO"; then :
6197
  ac_cv_prog_cc_c89=$ac_arg
6198
fi
6199
rm -f core conftest.err conftest.$ac_objext
6200
  test "x$ac_cv_prog_cc_c89" != "xno" && break
6201
done
6202
rm -f conftest.$ac_ext
6203
CC=$ac_save_CC
6204
6205
fi
6206
# AC_CACHE_VAL
6207
case "x$ac_cv_prog_cc_c89" in
6208
  x)
6209
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6210
$as_echo "none needed" >&6; } ;;
6211
  xno)
6212
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6213
$as_echo "unsupported" >&6; } ;;
6214
  *)
6215
    CC="$CC $ac_cv_prog_cc_c89"
6216
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6217
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6218
esac
6219
if test "x$ac_cv_prog_cc_c89" != xno; then :
6220
6221
fi
6222
6223
ac_ext=c
6224
ac_cpp='$CPP $CPPFLAGS'
6225
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6226
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6227
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6228
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
6229
ac_ext=c
6230
ac_cpp='$CPP $CPPFLAGS'
6231
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6232
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6233
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6235
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6236
if ${am_cv_prog_cc_c_o+:} false; then :
6237
  $as_echo_n "(cached) " >&6
6238
else
6239
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6240
/* end confdefs.h.  */
6241
6242
int
6243
main ()
6244
{
6245
6246
  ;
6247
  return 0;
6248
}
6249
_ACEOF
6250
  # Make sure it works both with $CC and with simple cc.
6251
  # Following AC_PROG_CC_C_O, we do the test twice because some
6252
  # compilers refuse to overwrite an existing .o file with -o,
6253
  # though they will create one.
6254
  am_cv_prog_cc_c_o=yes
6255
  for am_i in 1 2; do
6256
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6257
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6258
   ac_status=$?
6259
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260
   (exit $ac_status); } \
6261
         && test -f conftest2.$ac_objext; then
6262
      : OK
6263
    else
6264
      am_cv_prog_cc_c_o=no
6265
      break
6266
    fi
6267
  done
6268
  rm -f core conftest*
6269
  unset am_i
6270
fi
6271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6272
$as_echo "$am_cv_prog_cc_c_o" >&6; }
6273
if test "$am_cv_prog_cc_c_o" != yes; then
6274
   # Losing compiler, so override with the script.
6275
   # FIXME: It is wrong to rewrite CC.
6276
   # But if we don't then we get into trouble of one sort or another.
6277
   # A longer-term fix would be to have automake use am__CC in this case,
6278
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6279
   CC="$am_aux_dir/compile $CC"
6280
fi
6281
ac_ext=c
6282
ac_cpp='$CPP $CPPFLAGS'
6283
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6284
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6285
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6286
6287
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
6288
depcc="$CC"   am_compiler_list=
6289
6290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6291
$as_echo_n "checking dependency style of $depcc... " >&6; }
6292
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6293
  $as_echo_n "(cached) " >&6
6294
else
6295
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6296
  # We make a subdir and do the tests there.  Otherwise we can end up
6297
  # making bogus files that we don't know about and never remove.  For
6298
  # instance it was reported that on HP-UX the gcc test will end up
6299
  # making a dummy file named 'D' -- because '-MD' means "put the output
6300
  # in D".
6301
  rm -rf conftest.dir
6302
  mkdir conftest.dir
6303
  # Copy depcomp to subdir because otherwise we won't find it if we're
6304
  # using a relative directory.
6305
  cp "$am_depcomp" conftest.dir
6306
  cd conftest.dir
6307
  # We will build objects and dependencies in a subdirectory because
6308
  # it helps to detect inapplicable dependency modes.  For instance
6309
  # both Tru64's cc and ICC support -MD to output dependencies as a
6310
  # side effect of compilation, but ICC will put the dependencies in
6311
  # the current directory while Tru64 will put them in the object
6312
  # directory.
6313
  mkdir sub
6314
6315
  am_cv_CC_dependencies_compiler_type=none
6316
  if test "$am_compiler_list" = ""; then
6317
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6318
  fi
6319
  am__universal=false
6320
  case " $depcc " in #(
6321
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6322
     esac
6323
6324
  for depmode in $am_compiler_list; do
6325
    # Setup a source with many dependencies, because some compilers
6326
    # like to wrap large dependency lists on column 80 (with \), and
6327
    # we should not choose a depcomp mode which is confused by this.
6328
    #
6329
    # We need to recreate these files for each test, as the compiler may
6330
    # overwrite some of them when testing with obscure command lines.
6331
    # This happens at least with the AIX C compiler.
6332
    : > sub/conftest.c
6333
    for i in 1 2 3 4 5 6; do
6334
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6335
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6336
      # Solaris 10 /bin/sh.
6337
      echo '/* dummy */' > sub/conftst$i.h
6338
    done
6339
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6340
6341
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
6342
    # mode.  It turns out that the SunPro C++ compiler does not properly
6343
    # handle '-M -o', and we need to detect this.  Also, some Intel
6344
    # versions had trouble with output in subdirs.
6345
    am__obj=sub/conftest.${OBJEXT-o}
6346
    am__minus_obj="-o $am__obj"
6347
    case $depmode in
6348
    gcc)
6349
      # This depmode causes a compiler race in universal mode.
6350
      test "$am__universal" = false || continue
6351
      ;;
6352
    nosideeffect)
6353
      # After this tag, mechanisms are not by side-effect, so they'll
6354
      # only be used when explicitly requested.
6355
      if test "x$enable_dependency_tracking" = xyes; then
6356
	continue
6357
      else
6358
	break
6359
      fi
6360
      ;;
6361
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6362
      # This compiler won't grok '-c -o', but also, the minuso test has
6363
      # not run yet.  These depmodes are late enough in the game, and
6364
      # so weak that their functioning should not be impacted.
6365
      am__obj=conftest.${OBJEXT-o}
6366
      am__minus_obj=
6367
      ;;
6368
    none) break ;;
6369
    esac
6370
    if depmode=$depmode \
6371
       source=sub/conftest.c object=$am__obj \
6372
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6373
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6374
         >/dev/null 2>conftest.err &&
6375
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6376
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6377
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6378
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6379
      # icc doesn't choke on unknown options, it will just issue warnings
6380
      # or remarks (even with -Werror).  So we grep stderr for any message
6381
      # that says an option was ignored or not supported.
6382
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6383
      #   icc: Command line warning: ignoring option '-M'; no argument required
6384
      # The diagnosis changed in icc 8.0:
6385
      #   icc: Command line remark: option '-MP' not supported
6386
      if (grep 'ignoring option' conftest.err ||
6387
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6388
        am_cv_CC_dependencies_compiler_type=$depmode
6389
        break
6390
      fi
6391
    fi
6392
  done
6393
6394
  cd ..
6395
  rm -rf conftest.dir
6396
else
6397
  am_cv_CC_dependencies_compiler_type=none
6398
fi
6399
6400
fi
6401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6402
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6403
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6404
6405
 if
6406
  test "x$enable_dependency_tracking" != xno \
6407
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6408
  am__fastdepCC_TRUE=
6409
  am__fastdepCC_FALSE='#'
6410
else
6411
  am__fastdepCC_TRUE='#'
6412
  am__fastdepCC_FALSE=
6413
fi
6414
6415
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6416
6417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6418
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6419
set x ${MAKE-make}
6420
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
56 by Osmo Antero
Version 0.5
6421
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6422
  $as_echo_n "(cached) " >&6
6423
else
6424
  cat >conftest.make <<\_ACEOF
6425
SHELL = /bin/sh
6426
all:
6427
	@echo '@@@%%%=$(MAKE)=@@@%%%'
6428
_ACEOF
6429
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6430
case `${MAKE-make} -f conftest.make 2>/dev/null` in
6431
  *@@@%%%=?*=@@@%%%*)
6432
    eval ac_cv_prog_make_${ac_make}_set=yes;;
6433
  *)
6434
    eval ac_cv_prog_make_${ac_make}_set=no;;
6435
esac
6436
rm -f conftest.make
6437
fi
6438
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6439
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6440
$as_echo "yes" >&6; }
6441
  SET_MAKE=
6442
else
6443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6444
$as_echo "no" >&6; }
6445
  SET_MAKE="MAKE=${MAKE-make}"
6446
fi
6447
6448
6449
# ---- compile with -Wall -----
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
6450
# CFLAGS="$CFLAGS -Wall -Wextra"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6451
CFLAGS="$CFLAGS -Wall"
6452
6453
# ---- lib math (-lm) -----
56 by Osmo Antero
Version 0.5
6454
# LDFLAGS="$LDFLAGS -lm"
77 by Osmo Antero
Updated version (v0.7) for Fedora 16+ and Ubuntu 12.04.
6455
# Edit: See the MATH_LIB variable below.
6456
6457
# ========== export compiler / linker options ======== #
6458
6459
6460
6461
6462
6463
# Math library -lm is required by Fedora during linking. Ubuntu can do with or without it.
6464
# But Ubuntu fails to link if -lm is in the beginning of linking list, therefore we add -lm at the end.
6465
# See src/Makefile.am
6466
MATH_LIB=-lm
6467
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6468
6469
# ============== look for dependencies =============== #
6470
# check for headers needed for standard interfaces
6471
for ac_header in stdlib.h \
6472
	string.h \
6473
	stdio.h \
6474
	unistd.h
6475
6476
do :
6477
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6478
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6479
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6480
  cat >>confdefs.h <<_ACEOF
6481
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6482
_ACEOF
6483
6484
fi
6485
6486
done
6487
6488
6489
GLIB_REQUIRED=2.14.0
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6490
GTK_REQUIRED=3.0.0
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6491
GTHREAD_REQUIRED=2.0.0
440 by Osmo Antero
Pre-version 1.6. Removing deprecated functions so it compiles well on GTK 3.14.
6492
# Notice: requires gstreamer 1.4
6493
GSTREAMER_REQUIRED=1.4
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6494
APPINDICATOR_REQUIRED=0.3
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6495
6496
6497
6498
6499
6500
6501
56 by Osmo Antero
Version 0.5
6502
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6503
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6504
	if test -n "$ac_tool_prefix"; then
6505
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6506
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
6509
if ${ac_cv_path_PKG_CONFIG+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6510
  $as_echo_n "(cached) " >&6
6511
else
6512
  case $PKG_CONFIG in
6513
  [\\/]* | ?:[\\/]*)
6514
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6515
  ;;
6516
  *)
6517
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518
for as_dir in $PATH
6519
do
6520
  IFS=$as_save_IFS
6521
  test -z "$as_dir" && as_dir=.
6522
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
6523
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6524
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6525
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526
    break 2
6527
  fi
6528
done
6529
  done
6530
IFS=$as_save_IFS
6531
6532
  ;;
6533
esac
6534
fi
6535
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6536
if test -n "$PKG_CONFIG"; then
6537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6538
$as_echo "$PKG_CONFIG" >&6; }
6539
else
6540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541
$as_echo "no" >&6; }
6542
fi
6543
6544
6545
fi
6546
if test -z "$ac_cv_path_PKG_CONFIG"; then
6547
  ac_pt_PKG_CONFIG=$PKG_CONFIG
6548
  # Extract the first word of "pkg-config", so it can be a program name with args.
6549
set dummy pkg-config; ac_word=$2
6550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
6552
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6553
  $as_echo_n "(cached) " >&6
6554
else
6555
  case $ac_pt_PKG_CONFIG in
6556
  [\\/]* | ?:[\\/]*)
6557
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6558
  ;;
6559
  *)
6560
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561
for as_dir in $PATH
6562
do
6563
  IFS=$as_save_IFS
6564
  test -z "$as_dir" && as_dir=.
6565
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
6566
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6567
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6568
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569
    break 2
6570
  fi
6571
done
6572
  done
6573
IFS=$as_save_IFS
6574
6575
  ;;
6576
esac
6577
fi
6578
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6579
if test -n "$ac_pt_PKG_CONFIG"; then
6580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6581
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6582
else
6583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584
$as_echo "no" >&6; }
6585
fi
6586
6587
  if test "x$ac_pt_PKG_CONFIG" = x; then
6588
    PKG_CONFIG=""
6589
  else
6590
    case $cross_compiling:$ac_tool_warned in
6591
yes:)
6592
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594
ac_tool_warned=yes ;;
6595
esac
6596
    PKG_CONFIG=$ac_pt_PKG_CONFIG
6597
  fi
6598
else
6599
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6600
fi
6601
6602
fi
6603
if test -n "$PKG_CONFIG"; then
6604
	_pkg_min_version=0.9.0
6605
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6606
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6607
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6608
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6609
$as_echo "yes" >&6; }
6610
	else
6611
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612
$as_echo "no" >&6; }
6613
		PKG_CONFIG=""
6614
	fi
6615
fi
6616
6617
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
6619
$as_echo_n "checking for glib-2.0 >= $GLIB_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6620
6621
if test -n "$GLIB_CFLAGS"; then
6622
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
6623
 elif test -n "$PKG_CONFIG"; then
6624
    if test -n "$PKG_CONFIG" && \
6625
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
6626
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
6627
  ac_status=$?
6628
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629
  test $ac_status = 0; }; then
6630
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6631
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6632
else
6633
  pkg_failed=yes
6634
fi
6635
 else
6636
    pkg_failed=untried
6637
fi
6638
if test -n "$GLIB_LIBS"; then
6639
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
6640
 elif test -n "$PKG_CONFIG"; then
6641
    if test -n "$PKG_CONFIG" && \
6642
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
6643
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
6644
  ac_status=$?
6645
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646
  test $ac_status = 0; }; then
6647
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6648
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6649
else
6650
  pkg_failed=yes
6651
fi
6652
 else
6653
    pkg_failed=untried
6654
fi
6655
6656
6657
6658
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6659
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6660
$as_echo "no" >&6; }
6661
6662
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6663
        _pkg_short_errors_supported=yes
6664
else
6665
        _pkg_short_errors_supported=no
6666
fi
6667
        if test $_pkg_short_errors_supported = yes; then
56 by Osmo Antero
Version 0.5
6668
	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6669
        else
56 by Osmo Antero
Version 0.5
6670
	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6671
        fi
6672
	# Put the nasty error message in config.log where it belongs
6673
	echo "$GLIB_PKG_ERRORS" >&5
6674
6675
	as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
6676
6677
$GLIB_PKG_ERRORS
6678
6679
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6680
installed software in a non-standard prefix.
6681
6682
Alternatively, you may set the environment variables GLIB_CFLAGS
6683
and GLIB_LIBS to avoid the need to call pkg-config.
6684
See the pkg-config man page for more details." "$LINENO" 5
6685
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6686
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6687
$as_echo "no" >&6; }
6688
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6689
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6690
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6691
is in your PATH or set the PKG_CONFIG environment variable to the full
6692
path to pkg-config.
6693
6694
Alternatively, you may set the environment variables GLIB_CFLAGS
6695
and GLIB_LIBS to avoid the need to call pkg-config.
6696
See the pkg-config man page for more details.
6697
6698
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
6699
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6700
else
6701
	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
6702
	GLIB_LIBS=$pkg_cv_GLIB_LIBS
6703
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6704
$as_echo "yes" >&6; }
6705
6706
fi
6707
6708
6709
6710
6711
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= $GLIB_REQUIRED" >&5
6713
$as_echo_n "checking for gio-2.0 >= $GLIB_REQUIRED... " >&6; }
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
6714
6715
if test -n "$GIO_CFLAGS"; then
6716
    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
6717
 elif test -n "$PKG_CONFIG"; then
6718
    if test -n "$PKG_CONFIG" && \
6719
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
6720
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQUIRED") 2>&5
6721
  ac_status=$?
6722
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6723
  test $ac_status = 0; }; then
6724
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
6725
		      test "x$?" != "x0" && pkg_failed=yes
6726
else
6727
  pkg_failed=yes
6728
fi
6729
 else
6730
    pkg_failed=untried
6731
fi
6732
if test -n "$GIO_LIBS"; then
6733
    pkg_cv_GIO_LIBS="$GIO_LIBS"
6734
 elif test -n "$PKG_CONFIG"; then
6735
    if test -n "$PKG_CONFIG" && \
6736
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
6737
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQUIRED") 2>&5
6738
  ac_status=$?
6739
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6740
  test $ac_status = 0; }; then
6741
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
6742
		      test "x$?" != "x0" && pkg_failed=yes
6743
else
6744
  pkg_failed=yes
6745
fi
6746
 else
6747
    pkg_failed=untried
6748
fi
6749
6750
6751
6752
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6753
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
6754
$as_echo "no" >&6; }
6755
6756
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6757
        _pkg_short_errors_supported=yes
6758
else
6759
        _pkg_short_errors_supported=no
6760
fi
6761
        if test $_pkg_short_errors_supported = yes; then
6762
	        GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= $GLIB_REQUIRED" 2>&1`
6763
        else
6764
	        GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= $GLIB_REQUIRED" 2>&1`
6765
        fi
6766
	# Put the nasty error message in config.log where it belongs
6767
	echo "$GIO_PKG_ERRORS" >&5
6768
6769
	as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQUIRED) were not met:
6770
6771
$GIO_PKG_ERRORS
6772
6773
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6774
installed software in a non-standard prefix.
6775
6776
Alternatively, you may set the environment variables GIO_CFLAGS
6777
and GIO_LIBS to avoid the need to call pkg-config.
6778
See the pkg-config man page for more details." "$LINENO" 5
6779
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6780
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
6781
$as_echo "no" >&6; }
6782
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6783
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6784
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6785
is in your PATH or set the PKG_CONFIG environment variable to the full
6786
path to pkg-config.
6787
6788
Alternatively, you may set the environment variables GIO_CFLAGS
6789
and GIO_LIBS to avoid the need to call pkg-config.
6790
See the pkg-config man page for more details.
6791
6792
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6793
See \`config.log' for more details" "$LINENO" 5; }
6794
else
6795
	GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
6796
	GIO_LIBS=$pkg_cv_GIO_LIBS
6797
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6798
$as_echo "yes" >&6; }
6799
6800
fi
6801
6802
6803
6804
6805
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= $GTK_REQUIRED" >&5
6807
$as_echo_n "checking for gtk+-3.0 >= $GTK_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6808
6809
if test -n "$GTK_CFLAGS"; then
6810
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6811
 elif test -n "$PKG_CONFIG"; then
6812
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6813
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
6814
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6815
  ac_status=$?
6816
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6817
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6818
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6819
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6820
else
6821
  pkg_failed=yes
6822
fi
6823
 else
6824
    pkg_failed=untried
6825
fi
6826
if test -n "$GTK_LIBS"; then
6827
    pkg_cv_GTK_LIBS="$GTK_LIBS"
6828
 elif test -n "$PKG_CONFIG"; then
6829
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6830
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
6831
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6832
  ac_status=$?
6833
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6834
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6835
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6836
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6837
else
6838
  pkg_failed=yes
6839
fi
6840
 else
6841
    pkg_failed=untried
6842
fi
6843
6844
6845
6846
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6847
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6848
$as_echo "no" >&6; }
6849
6850
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6851
        _pkg_short_errors_supported=yes
6852
else
6853
        _pkg_short_errors_supported=no
6854
fi
6855
        if test $_pkg_short_errors_supported = yes; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6856
	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6857
        else
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6858
	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6859
        fi
6860
	# Put the nasty error message in config.log where it belongs
6861
	echo "$GTK_PKG_ERRORS" >&5
6862
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6863
	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6864
6865
$GTK_PKG_ERRORS
6866
6867
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6868
installed software in a non-standard prefix.
6869
6870
Alternatively, you may set the environment variables GTK_CFLAGS
6871
and GTK_LIBS to avoid the need to call pkg-config.
6872
See the pkg-config man page for more details." "$LINENO" 5
6873
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6874
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6875
$as_echo "no" >&6; }
6876
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6878
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6879
is in your PATH or set the PKG_CONFIG environment variable to the full
6880
path to pkg-config.
6881
6882
Alternatively, you may set the environment variables GTK_CFLAGS
6883
and GTK_LIBS to avoid the need to call pkg-config.
6884
See the pkg-config man page for more details.
6885
6886
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
6887
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6888
else
6889
	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6890
	GTK_LIBS=$pkg_cv_GTK_LIBS
6891
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6892
$as_echo "yes" >&6; }
6893
6894
fi
6895
6896
6897
6898
6899
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-1.0 >= $GSTREAMER_REQUIRED" >&5
6901
$as_echo_n "checking for gstreamer-1.0 >= $GSTREAMER_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6902
6903
if test -n "$GSTREAMER_CFLAGS"; then
6904
    pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
6905
 elif test -n "$PKG_CONFIG"; then
6906
    if test -n "$PKG_CONFIG" && \
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6907
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
6908
  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= $GSTREAMER_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6909
  ac_status=$?
6910
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6911
  test $ac_status = 0; }; then
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6912
  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6913
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6914
else
6915
  pkg_failed=yes
6916
fi
6917
 else
6918
    pkg_failed=untried
6919
fi
6920
if test -n "$GSTREAMER_LIBS"; then
6921
    pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
6922
 elif test -n "$PKG_CONFIG"; then
6923
    if test -n "$PKG_CONFIG" && \
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6924
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
6925
  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= $GSTREAMER_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6926
  ac_status=$?
6927
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928
  test $ac_status = 0; }; then
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6929
  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6930
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6931
else
6932
  pkg_failed=yes
6933
fi
6934
 else
6935
    pkg_failed=untried
6936
fi
6937
6938
6939
6940
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6941
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6942
$as_echo "no" >&6; }
6943
6944
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6945
        _pkg_short_errors_supported=yes
6946
else
6947
        _pkg_short_errors_supported=no
6948
fi
6949
        if test $_pkg_short_errors_supported = yes; then
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6950
	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0 >= $GSTREAMER_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6951
        else
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6952
	        GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0 >= $GSTREAMER_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6953
        fi
6954
	# Put the nasty error message in config.log where it belongs
6955
	echo "$GSTREAMER_PKG_ERRORS" >&5
6956
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6957
	as_fn_error $? "Package requirements (gstreamer-1.0 >= $GSTREAMER_REQUIRED) were not met:
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6958
6959
$GSTREAMER_PKG_ERRORS
6960
6961
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6962
installed software in a non-standard prefix.
6963
6964
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
6965
and GSTREAMER_LIBS to avoid the need to call pkg-config.
6966
See the pkg-config man page for more details." "$LINENO" 5
6967
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6968
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6969
$as_echo "no" >&6; }
6970
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6971
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6972
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6973
is in your PATH or set the PKG_CONFIG environment variable to the full
6974
path to pkg-config.
6975
6976
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
6977
and GSTREAMER_LIBS to avoid the need to call pkg-config.
6978
See the pkg-config man page for more details.
6979
6980
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
6981
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6982
else
6983
	GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
6984
	GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
6985
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6986
$as_echo "yes" >&6; }
6987
6988
fi
6989
6990
6991
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
6992
# Automatic installation of gstreamer plugins
6993
6994
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
6995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" >&5
6996
$as_echo_n "checking for gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED... " >&6; }
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
6997
6998
if test -n "$GSTREAMER_PBUTILS_CFLAGS"; then
6999
    pkg_cv_GSTREAMER_PBUTILS_CFLAGS="$GSTREAMER_PBUTILS_CFLAGS"
7000
 elif test -n "$PKG_CONFIG"; then
7001
    if test -n "$PKG_CONFIG" && \
7002
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
7003
  ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED") 2>&5
7004
  ac_status=$?
7005
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006
  test $ac_status = 0; }; then
7007
  pkg_cv_GSTREAMER_PBUTILS_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
7008
		      test "x$?" != "x0" && pkg_failed=yes
7009
else
7010
  pkg_failed=yes
7011
fi
7012
 else
7013
    pkg_failed=untried
7014
fi
7015
if test -n "$GSTREAMER_PBUTILS_LIBS"; then
7016
    pkg_cv_GSTREAMER_PBUTILS_LIBS="$GSTREAMER_PBUTILS_LIBS"
7017
 elif test -n "$PKG_CONFIG"; then
7018
    if test -n "$PKG_CONFIG" && \
7019
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
7020
  ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED") 2>&5
7021
  ac_status=$?
7022
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023
  test $ac_status = 0; }; then
7024
  pkg_cv_GSTREAMER_PBUTILS_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
7025
		      test "x$?" != "x0" && pkg_failed=yes
7026
else
7027
  pkg_failed=yes
7028
fi
7029
 else
7030
    pkg_failed=untried
7031
fi
7032
7033
7034
7035
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7036
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
7037
$as_echo "no" >&6; }
7038
7039
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7040
        _pkg_short_errors_supported=yes
7041
else
7042
        _pkg_short_errors_supported=no
7043
fi
7044
        if test $_pkg_short_errors_supported = yes; then
7045
	        GSTREAMER_PBUTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>&1`
7046
        else
7047
	        GSTREAMER_PBUTILS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>&1`
7048
        fi
7049
	# Put the nasty error message in config.log where it belongs
7050
	echo "$GSTREAMER_PBUTILS_PKG_ERRORS" >&5
7051
7052
	as_fn_error $? "Package requirements (gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED) were not met:
7053
7054
$GSTREAMER_PBUTILS_PKG_ERRORS
7055
7056
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7057
installed software in a non-standard prefix.
7058
7059
Alternatively, you may set the environment variables GSTREAMER_PBUTILS_CFLAGS
7060
and GSTREAMER_PBUTILS_LIBS to avoid the need to call pkg-config.
7061
See the pkg-config man page for more details." "$LINENO" 5
7062
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7063
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
7064
$as_echo "no" >&6; }
7065
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7066
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7067
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7068
is in your PATH or set the PKG_CONFIG environment variable to the full
7069
path to pkg-config.
7070
7071
Alternatively, you may set the environment variables GSTREAMER_PBUTILS_CFLAGS
7072
and GSTREAMER_PBUTILS_LIBS to avoid the need to call pkg-config.
7073
See the pkg-config man page for more details.
7074
7075
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7076
See \`config.log' for more details" "$LINENO" 5; }
7077
else
7078
	GSTREAMER_PBUTILS_CFLAGS=$pkg_cv_GSTREAMER_PBUTILS_CFLAGS
7079
	GSTREAMER_PBUTILS_LIBS=$pkg_cv_GSTREAMER_PBUTILS_LIBS
7080
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7081
$as_echo "yes" >&6; }
7082
7083
fi
7084
7085
412 by Osmo Antero
Code cleanups.
7086
7087
7088
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= $GTHREAD_REQUIRED" >&5
7090
$as_echo_n "checking for gthread-2.0 >= $GTHREAD_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7091
7092
if test -n "$GTHREAD_CFLAGS"; then
7093
    pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
7094
 elif test -n "$PKG_CONFIG"; then
7095
    if test -n "$PKG_CONFIG" && \
7096
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GTHREAD_REQUIRED\""; } >&5
7097
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GTHREAD_REQUIRED") 2>&5
7098
  ac_status=$?
7099
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7100
  test $ac_status = 0; }; then
7101
  pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= $GTHREAD_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7102
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7103
else
7104
  pkg_failed=yes
7105
fi
7106
 else
7107
    pkg_failed=untried
7108
fi
7109
if test -n "$GTHREAD_LIBS"; then
7110
    pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
7111
 elif test -n "$PKG_CONFIG"; then
7112
    if test -n "$PKG_CONFIG" && \
7113
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GTHREAD_REQUIRED\""; } >&5
7114
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GTHREAD_REQUIRED") 2>&5
7115
  ac_status=$?
7116
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7117
  test $ac_status = 0; }; then
7118
  pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= $GTHREAD_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7119
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7120
else
7121
  pkg_failed=yes
7122
fi
7123
 else
7124
    pkg_failed=untried
7125
fi
7126
7127
7128
7129
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7130
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7131
$as_echo "no" >&6; }
7132
7133
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7134
        _pkg_short_errors_supported=yes
7135
else
7136
        _pkg_short_errors_supported=no
7137
fi
7138
        if test $_pkg_short_errors_supported = yes; then
56 by Osmo Antero
Version 0.5
7139
	        GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 >= $GTHREAD_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7140
        else
56 by Osmo Antero
Version 0.5
7141
	        GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 >= $GTHREAD_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7142
        fi
7143
	# Put the nasty error message in config.log where it belongs
7144
	echo "$GTHREAD_PKG_ERRORS" >&5
7145
7146
	as_fn_error $? "Package requirements (gthread-2.0 >= $GTHREAD_REQUIRED) were not met:
7147
7148
$GTHREAD_PKG_ERRORS
7149
7150
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7151
installed software in a non-standard prefix.
7152
7153
Alternatively, you may set the environment variables GTHREAD_CFLAGS
7154
and GTHREAD_LIBS to avoid the need to call pkg-config.
7155
See the pkg-config man page for more details." "$LINENO" 5
7156
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7157
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7158
$as_echo "no" >&6; }
7159
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7160
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7161
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7162
is in your PATH or set the PKG_CONFIG environment variable to the full
7163
path to pkg-config.
7164
7165
Alternatively, you may set the environment variables GTHREAD_CFLAGS
7166
and GTHREAD_LIBS to avoid the need to call pkg-config.
7167
See the pkg-config man page for more details.
7168
7169
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
7170
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7171
else
7172
	GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
7173
	GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
7174
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7175
$as_echo "yes" >&6; }
7176
7177
fi
7178
7179
7180
7181
7182
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 0.8" >&5
7184
$as_echo_n "checking for dbus-1 >= 0.8... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7185
7186
if test -n "$DBUS_CFLAGS"; then
7187
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
7188
 elif test -n "$PKG_CONFIG"; then
7189
    if test -n "$PKG_CONFIG" && \
7190
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.8\""; } >&5
7191
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.8") 2>&5
7192
  ac_status=$?
7193
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7194
  test $ac_status = 0; }; then
7195
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.8" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7196
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7197
else
7198
  pkg_failed=yes
7199
fi
7200
 else
7201
    pkg_failed=untried
7202
fi
7203
if test -n "$DBUS_LIBS"; then
7204
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
7205
 elif test -n "$PKG_CONFIG"; then
7206
    if test -n "$PKG_CONFIG" && \
7207
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.8\""; } >&5
7208
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.8") 2>&5
7209
  ac_status=$?
7210
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7211
  test $ac_status = 0; }; then
7212
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.8" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7213
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7214
else
7215
  pkg_failed=yes
7216
fi
7217
 else
7218
    pkg_failed=untried
7219
fi
7220
7221
7222
7223
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7224
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7225
$as_echo "no" >&6; }
7226
7227
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7228
        _pkg_short_errors_supported=yes
7229
else
7230
        _pkg_short_errors_supported=no
7231
fi
7232
        if test $_pkg_short_errors_supported = yes; then
56 by Osmo Antero
Version 0.5
7233
	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.8" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7234
        else
56 by Osmo Antero
Version 0.5
7235
	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.8" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7236
        fi
7237
	# Put the nasty error message in config.log where it belongs
7238
	echo "$DBUS_PKG_ERRORS" >&5
7239
7240
	as_fn_error $? "Package requirements (dbus-1 >= 0.8) were not met:
7241
7242
$DBUS_PKG_ERRORS
7243
7244
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7245
installed software in a non-standard prefix.
7246
7247
Alternatively, you may set the environment variables DBUS_CFLAGS
7248
and DBUS_LIBS to avoid the need to call pkg-config.
7249
See the pkg-config man page for more details." "$LINENO" 5
7250
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7251
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7252
$as_echo "no" >&6; }
7253
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7254
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7255
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7256
is in your PATH or set the PKG_CONFIG environment variable to the full
7257
path to pkg-config.
7258
7259
Alternatively, you may set the environment variables DBUS_CFLAGS
7260
and DBUS_LIBS to avoid the need to call pkg-config.
7261
See the pkg-config man page for more details.
7262
7263
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
7264
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7265
else
7266
	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
7267
	DBUS_LIBS=$pkg_cv_DBUS_LIBS
7268
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7269
$as_echo "yes" >&6; }
7270
7271
fi
7272
7273
7274
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
7275
# Support AppIndicator?
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7276
# Ref: https://launchpad.net/indicator-application
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7277
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7278
7279
pkg_failed=no
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for appindicator3-0.1 >= $APPINDICATOR_REQUIRED" >&5
7281
$as_echo_n "checking for appindicator3-0.1 >= $APPINDICATOR_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7282
7283
if test -n "$APP_INDICATOR_CFLAGS"; then
7284
    pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS"
7285
 elif test -n "$PKG_CONFIG"; then
7286
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7287
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
7288
  ($PKG_CONFIG --exists --print-errors "appindicator3-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7289
  ac_status=$?
7290
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7291
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7292
  pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7293
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7294
else
7295
  pkg_failed=yes
7296
fi
7297
 else
7298
    pkg_failed=untried
7299
fi
7300
if test -n "$APP_INDICATOR_LIBS"; then
7301
    pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS"
7302
 elif test -n "$PKG_CONFIG"; then
7303
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7304
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
7305
  ($PKG_CONFIG --exists --print-errors "appindicator3-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7306
  ac_status=$?
7307
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7308
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7309
  pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7310
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7311
else
7312
  pkg_failed=yes
7313
fi
7314
 else
7315
    pkg_failed=untried
7316
fi
7317
7318
7319
7320
if test $pkg_failed = yes; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7321
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7322
$as_echo "no" >&6; }
7323
7324
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7325
        _pkg_short_errors_supported=yes
7326
else
7327
        _pkg_short_errors_supported=no
7328
fi
7329
        if test $_pkg_short_errors_supported = yes; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7330
	        APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1 >= $APPINDICATOR_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7331
        else
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7332
	        APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1 >= $APPINDICATOR_REQUIRED" 2>&1`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7333
        fi
7334
	# Put the nasty error message in config.log where it belongs
7335
	echo "$APP_INDICATOR_PKG_ERRORS" >&5
7336
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7337
	as_fn_error $? "Package requirements (appindicator3-0.1 >= $APPINDICATOR_REQUIRED) were not met:
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7338
7339
$APP_INDICATOR_PKG_ERRORS
7340
7341
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7342
installed software in a non-standard prefix.
7343
7344
Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS
7345
and APP_INDICATOR_LIBS to avoid the need to call pkg-config.
7346
See the pkg-config man page for more details." "$LINENO" 5
7347
elif test $pkg_failed = untried; then
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
7348
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7349
$as_echo "no" >&6; }
7350
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7352
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7353
is in your PATH or set the PKG_CONFIG environment variable to the full
7354
path to pkg-config.
7355
7356
Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS
7357
and APP_INDICATOR_LIBS to avoid the need to call pkg-config.
7358
See the pkg-config man page for more details.
7359
7360
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
7361
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7362
else
7363
	APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS
7364
	APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS
7365
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7366
$as_echo "yes" >&6; }
7367
7368
fi
7369
7370
7371
7372
# *************************
7373
# Checks for library functions.
7374
# *************************
7375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
7376
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
56 by Osmo Antero
Version 0.5
7377
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7378
  $as_echo_n "(cached) " >&6
7379
else
7380
  rm -f conftest.sym conftest.file
7381
echo >conftest.file
7382
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7383
  if test "$cross_compiling" = yes; then :
7384
  ac_cv_func_lstat_dereferences_slashed_symlink=no
7385
else
7386
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387
/* end confdefs.h.  */
7388
$ac_includes_default
7389
int
7390
main ()
7391
{
7392
struct stat sbuf;
7393
     /* Linux will dereference the symlink and fail, as required by POSIX.
7394
	That is better in the sense that it means we will not
7395
	have to compile and use the lstat wrapper.  */
7396
     return lstat ("conftest.sym/", &sbuf) == 0;
7397
  ;
7398
  return 0;
7399
}
7400
_ACEOF
7401
if ac_fn_c_try_run "$LINENO"; then :
7402
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
7403
else
7404
  ac_cv_func_lstat_dereferences_slashed_symlink=no
7405
fi
7406
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7407
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7408
fi
7409
7410
else
7411
  # If the `ln -s' command failed, then we probably don't even
7412
  # have an lstat function.
7413
  ac_cv_func_lstat_dereferences_slashed_symlink=no
7414
fi
7415
rm -f conftest.sym conftest.file
7416
7417
fi
7418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7419
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7420
7421
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7422
7423
cat >>confdefs.h <<_ACEOF
7424
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7425
_ACEOF
7426
7427
7428
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
7429
  case " $LIBOBJS " in
7430
  *" lstat.$ac_objext "* ) ;;
7431
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
7432
 ;;
7433
esac
7434
7435
fi
7436
7437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
7438
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
56 by Osmo Antero
Version 0.5
7439
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7440
  $as_echo_n "(cached) " >&6
7441
else
7442
  if test "$cross_compiling" = yes; then :
7443
  ac_cv_func_stat_empty_string_bug=yes
7444
else
7445
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7446
/* end confdefs.h.  */
7447
$ac_includes_default
7448
int
7449
main ()
7450
{
7451
struct stat sbuf;
7452
  return stat ("", &sbuf) == 0;
7453
  ;
7454
  return 0;
7455
}
7456
_ACEOF
7457
if ac_fn_c_try_run "$LINENO"; then :
7458
  ac_cv_func_stat_empty_string_bug=no
7459
else
7460
  ac_cv_func_stat_empty_string_bug=yes
7461
fi
7462
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7463
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7464
fi
7465
7466
fi
7467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
7468
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
7469
if test $ac_cv_func_stat_empty_string_bug = yes; then
7470
  case " $LIBOBJS " in
7471
  *" stat.$ac_objext "* ) ;;
7472
  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7473
 ;;
7474
esac
7475
7476
7477
cat >>confdefs.h <<_ACEOF
7478
#define HAVE_STAT_EMPTY_STRING_BUG 1
7479
_ACEOF
7480
7481
fi
7482
7483
for ac_func in vprintf
7484
do :
7485
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
56 by Osmo Antero
Version 0.5
7486
if test "x$ac_cv_func_vprintf" = xyes; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7487
  cat >>confdefs.h <<_ACEOF
7488
#define HAVE_VPRINTF 1
7489
_ACEOF
7490
7491
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
56 by Osmo Antero
Version 0.5
7492
if test "x$ac_cv_func__doprnt" = xyes; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7493
7494
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
7495
7496
fi
7497
7498
fi
7499
done
7500
7501
7502
for ac_func in exp pow
7503
do :
7504
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7505
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7506
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7507
  cat >>confdefs.h <<_ACEOF
7508
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7509
_ACEOF
7510
7511
fi
7512
done
7513
7514
7515
# *************************
208 by osmoma at gmail
Fixed compilation error on Launchpad.net. Added <locale.h> to main.c.
7516
# Auto-set ALL_LINGUAS variable. See audio-recorder/po/*.po files.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7517
# *************************
193 by osmoma at gmail
Made ALL_LINGUAS in configure.in automatic so it includes all new languages in po/. Here hebrew is a new language.
7518
ALL_LINGUAS=`(cd "$srcdir/po" > /dev/null && ls *.po) | cut -d. -f1 | xargs`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7519
7520
GETTEXT_PACKAGE=audio-recorder
7521
7522
7523
7524
cat >>confdefs.h <<_ACEOF
7525
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
7526
_ACEOF
7527
7528
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7529
# For po/Makefile
7530
# Ref: https://bugs.launchpad.net/ubuntu/+source/gettext/+bug/122343
7531
top_builddir=`pwd`
7532
7533
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7534
7535
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7536
$as_echo_n "checking whether NLS is requested... " >&6; }
7537
    # Check whether --enable-nls was given.
7538
if test "${enable_nls+set}" = set; then :
7539
  enableval=$enable_nls; USE_NLS=$enableval
7540
else
7541
  USE_NLS=yes
7542
fi
7543
7544
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7545
$as_echo "$USE_NLS" >&6; }
7546
7547
7548
7549
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7550
case "$am__api_version" in
7551
    1.01234)
7552
	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
7553
    ;;
7554
    *)
7555
    ;;
7556
esac
7557
7558
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7559
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
7560
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7561
if test -n ""; then
7562
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
7563
$as_echo_n "checking for intltool >= ... " >&6; }
7564
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
7565
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
7566
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7567
	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
7568
fi
7569
7570
# Extract the first word of "intltool-update", so it can be a program name with args.
7571
set dummy intltool-update; ac_word=$2
7572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573
$as_echo_n "checking for $ac_word... " >&6; }
7574
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
7575
  $as_echo_n "(cached) " >&6
7576
else
7577
  case $INTLTOOL_UPDATE in
7578
  [\\/]* | ?:[\\/]*)
7579
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7580
  ;;
7581
  *)
7582
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583
for as_dir in $PATH
7584
do
7585
  IFS=$as_save_IFS
7586
  test -z "$as_dir" && as_dir=.
7587
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7588
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7589
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
7590
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591
    break 2
7592
  fi
7593
done
7594
  done
7595
IFS=$as_save_IFS
7596
7597
  ;;
7598
esac
7599
fi
7600
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
7601
if test -n "$INTLTOOL_UPDATE"; then
7602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
7603
$as_echo "$INTLTOOL_UPDATE" >&6; }
7604
else
7605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606
$as_echo "no" >&6; }
7607
fi
7608
7609
7610
# Extract the first word of "intltool-merge", so it can be a program name with args.
7611
set dummy intltool-merge; ac_word=$2
7612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613
$as_echo_n "checking for $ac_word... " >&6; }
7614
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
7615
  $as_echo_n "(cached) " >&6
7616
else
7617
  case $INTLTOOL_MERGE in
7618
  [\\/]* | ?:[\\/]*)
7619
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
7620
  ;;
7621
  *)
7622
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623
for as_dir in $PATH
7624
do
7625
  IFS=$as_save_IFS
7626
  test -z "$as_dir" && as_dir=.
7627
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7628
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7629
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
7630
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631
    break 2
7632
  fi
7633
done
7634
  done
7635
IFS=$as_save_IFS
7636
7637
  ;;
7638
esac
7639
fi
7640
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
7641
if test -n "$INTLTOOL_MERGE"; then
7642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
7643
$as_echo "$INTLTOOL_MERGE" >&6; }
7644
else
7645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646
$as_echo "no" >&6; }
7647
fi
7648
7649
7650
# Extract the first word of "intltool-extract", so it can be a program name with args.
7651
set dummy intltool-extract; ac_word=$2
7652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7653
$as_echo_n "checking for $ac_word... " >&6; }
7654
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
7655
  $as_echo_n "(cached) " >&6
7656
else
7657
  case $INTLTOOL_EXTRACT in
7658
  [\\/]* | ?:[\\/]*)
7659
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7660
  ;;
7661
  *)
7662
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663
for as_dir in $PATH
7664
do
7665
  IFS=$as_save_IFS
7666
  test -z "$as_dir" && as_dir=.
7667
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7668
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7669
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
7670
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671
    break 2
7672
  fi
7673
done
7674
  done
7675
IFS=$as_save_IFS
7676
7677
  ;;
7678
esac
7679
fi
7680
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
7681
if test -n "$INTLTOOL_EXTRACT"; then
7682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
7683
$as_echo "$INTLTOOL_EXTRACT" >&6; }
7684
else
7685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7686
$as_echo "no" >&6; }
7687
fi
7688
7689
7690
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7691
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
7692
fi
7693
7694
if test -z "$AM_DEFAULT_VERBOSITY"; then
7695
  AM_DEFAULT_VERBOSITY=1
7696
fi
7697
7698
7699
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
7700
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
7701
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
7702
7703
7704
7705
7706
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
7707
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
7708
intltool__v_merge_options_0='-q'
7709
7710
7711
7712
7713
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7714
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7715
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7716
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7717
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
7718
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7719
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7720
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7721
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7722
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7723
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7724
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
7725
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
7726
else
7727
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
7728
fi
7729
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7730
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7731
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7732
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7733
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7734
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7735
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
# Check the gettext tools to make sure they are GNU
7834
# Extract the first word of "xgettext", so it can be a program name with args.
7835
set dummy xgettext; ac_word=$2
7836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7837
$as_echo_n "checking for $ac_word... " >&6; }
7838
if ${ac_cv_path_XGETTEXT+:} false; then :
7839
  $as_echo_n "(cached) " >&6
7840
else
7841
  case $XGETTEXT in
7842
  [\\/]* | ?:[\\/]*)
7843
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7844
  ;;
7845
  *)
7846
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847
for as_dir in $PATH
7848
do
7849
  IFS=$as_save_IFS
7850
  test -z "$as_dir" && as_dir=.
7851
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7852
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7853
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7854
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855
    break 2
7856
  fi
7857
done
7858
  done
7859
IFS=$as_save_IFS
7860
7861
  ;;
7862
esac
7863
fi
7864
XGETTEXT=$ac_cv_path_XGETTEXT
7865
if test -n "$XGETTEXT"; then
7866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7867
$as_echo "$XGETTEXT" >&6; }
7868
else
7869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870
$as_echo "no" >&6; }
7871
fi
7872
7873
7874
# Extract the first word of "msgmerge", so it can be a program name with args.
7875
set dummy msgmerge; ac_word=$2
7876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877
$as_echo_n "checking for $ac_word... " >&6; }
7878
if ${ac_cv_path_MSGMERGE+:} false; then :
7879
  $as_echo_n "(cached) " >&6
7880
else
7881
  case $MSGMERGE in
7882
  [\\/]* | ?:[\\/]*)
7883
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7884
  ;;
7885
  *)
7886
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887
for as_dir in $PATH
7888
do
7889
  IFS=$as_save_IFS
7890
  test -z "$as_dir" && as_dir=.
7891
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7892
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7893
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7894
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895
    break 2
7896
  fi
7897
done
7898
  done
7899
IFS=$as_save_IFS
7900
7901
  ;;
7902
esac
7903
fi
7904
MSGMERGE=$ac_cv_path_MSGMERGE
7905
if test -n "$MSGMERGE"; then
7906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7907
$as_echo "$MSGMERGE" >&6; }
7908
else
7909
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910
$as_echo "no" >&6; }
7911
fi
7912
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7913
7914
# Extract the first word of "msgfmt", so it can be a program name with args.
7915
set dummy msgfmt; ac_word=$2
7916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
7918
if ${ac_cv_path_MSGFMT+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7919
  $as_echo_n "(cached) " >&6
7920
else
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7921
  case $MSGFMT in
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7922
  [\\/]* | ?:[\\/]*)
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7923
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7924
  ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7925
  *)
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7926
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927
for as_dir in $PATH
7928
do
7929
  IFS=$as_save_IFS
7930
  test -z "$as_dir" && as_dir=.
7931
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7932
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7933
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7934
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935
    break 2
7936
  fi
7937
done
7938
  done
7939
IFS=$as_save_IFS
7940
7941
  ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7942
esac
7943
fi
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7944
MSGFMT=$ac_cv_path_MSGFMT
7945
if test -n "$MSGFMT"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7947
$as_echo "$MSGFMT" >&6; }
7948
else
7949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950
$as_echo "no" >&6; }
7951
fi
7952
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7953
7954
# Extract the first word of "gmsgfmt", so it can be a program name with args.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7955
set dummy gmsgfmt; ac_word=$2
7956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
7958
if ${ac_cv_path_GMSGFMT+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7959
  $as_echo_n "(cached) " >&6
7960
else
7961
  case $GMSGFMT in
7962
  [\\/]* | ?:[\\/]*)
7963
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7964
  ;;
7965
  *)
7966
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967
for as_dir in $PATH
7968
do
7969
  IFS=$as_save_IFS
7970
  test -z "$as_dir" && as_dir=.
7971
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7972
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7973
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975
    break 2
7976
  fi
7977
done
7978
  done
7979
IFS=$as_save_IFS
7980
7981
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7982
  ;;
7983
esac
7984
fi
7985
GMSGFMT=$ac_cv_path_GMSGFMT
7986
if test -n "$GMSGFMT"; then
7987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7988
$as_echo "$GMSGFMT" >&6; }
7989
else
7990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991
$as_echo "no" >&6; }
7992
fi
7993
7994
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7995
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
7996
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
7997
fi
7998
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
7999
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8000
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8001
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8002
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8003
fi
8004
8005
# Extract the first word of "perl", so it can be a program name with args.
8006
set dummy perl; ac_word=$2
8007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008
$as_echo_n "checking for $ac_word... " >&6; }
8009
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
8010
  $as_echo_n "(cached) " >&6
8011
else
8012
  case $INTLTOOL_PERL in
8013
  [\\/]* | ?:[\\/]*)
8014
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8015
  ;;
8016
  *)
8017
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018
for as_dir in $PATH
8019
do
8020
  IFS=$as_save_IFS
8021
  test -z "$as_dir" && as_dir=.
8022
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8023
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
8024
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8025
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8026
    break 2
8027
  fi
8028
done
8029
  done
8030
IFS=$as_save_IFS
8031
8032
  ;;
8033
esac
8034
fi
8035
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8036
if test -n "$INTLTOOL_PERL"; then
8037
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
8038
$as_echo "$INTLTOOL_PERL" >&6; }
8039
else
8040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041
$as_echo "no" >&6; }
8042
fi
8043
8044
8045
if test -z "$INTLTOOL_PERL"; then
8046
   as_fn_error $? "perl not found" "$LINENO" 5
8047
fi
8048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
8049
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
8050
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
8051
if test $? -ne 0; then
8052
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
8053
else
8054
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
8055
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
8056
$as_echo "$IT_PERL_VERSION" >&6; }
8057
fi
8058
if test "x" != "xno-xml"; then
8059
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
8060
$as_echo_n "checking for XML::Parser... " >&6; }
8061
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8062
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8063
$as_echo "ok" >&6; }
8064
   else
8065
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
8066
   fi
8067
fi
8068
8069
# Substitute ALL_LINGUAS so we can use it in po/Makefile
8070
8071
8072
8073
8074
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8075
8076
# Support for GSetting schemas
8077
8078
1427 by Osmo Antero
Version 3.0.2
8079
8080
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8081
  # Check whether --enable-schemas-compile was given.
8082
if test "${enable_schemas_compile+set}" = set; then :
8083
  enableval=$enable_schemas_compile; case ${enableval} in
8084
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
8085
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
8086
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
8087
                 esac
8088
fi
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8099
	if test -n "$ac_tool_prefix"; then
8100
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8101
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103
$as_echo_n "checking for $ac_word... " >&6; }
8104
if ${ac_cv_path_PKG_CONFIG+:} false; then :
8105
  $as_echo_n "(cached) " >&6
8106
else
8107
  case $PKG_CONFIG in
8108
  [\\/]* | ?:[\\/]*)
8109
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8110
  ;;
8111
  *)
8112
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113
for as_dir in $PATH
8114
do
8115
  IFS=$as_save_IFS
8116
  test -z "$as_dir" && as_dir=.
8117
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8118
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8119
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8120
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8121
    break 2
8122
  fi
8123
done
8124
  done
8125
IFS=$as_save_IFS
8126
8127
  ;;
8128
esac
8129
fi
8130
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8131
if test -n "$PKG_CONFIG"; then
8132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8133
$as_echo "$PKG_CONFIG" >&6; }
8134
else
8135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8136
$as_echo "no" >&6; }
8137
fi
8138
8139
8140
fi
8141
if test -z "$ac_cv_path_PKG_CONFIG"; then
8142
  ac_pt_PKG_CONFIG=$PKG_CONFIG
8143
  # Extract the first word of "pkg-config", so it can be a program name with args.
8144
set dummy pkg-config; ac_word=$2
8145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8146
$as_echo_n "checking for $ac_word... " >&6; }
8147
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8148
  $as_echo_n "(cached) " >&6
8149
else
8150
  case $ac_pt_PKG_CONFIG in
8151
  [\\/]* | ?:[\\/]*)
8152
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8153
  ;;
8154
  *)
8155
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156
for as_dir in $PATH
8157
do
8158
  IFS=$as_save_IFS
8159
  test -z "$as_dir" && as_dir=.
8160
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8161
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8162
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8163
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164
    break 2
8165
  fi
8166
done
8167
  done
8168
IFS=$as_save_IFS
8169
8170
  ;;
8171
esac
8172
fi
8173
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8174
if test -n "$ac_pt_PKG_CONFIG"; then
8175
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8176
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
8177
else
8178
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179
$as_echo "no" >&6; }
8180
fi
8181
8182
  if test "x$ac_pt_PKG_CONFIG" = x; then
8183
    PKG_CONFIG=""
8184
  else
8185
    case $cross_compiling:$ac_tool_warned in
8186
yes:)
8187
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8188
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8189
ac_tool_warned=yes ;;
8190
esac
8191
    PKG_CONFIG=$ac_pt_PKG_CONFIG
8192
  fi
8193
else
8194
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8195
fi
8196
8197
fi
8198
if test -n "$PKG_CONFIG"; then
8199
	_pkg_min_version=0.16
8200
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8201
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8202
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8203
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8204
$as_echo "yes" >&6; }
8205
	else
8206
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8207
$as_echo "no" >&6; }
8208
		PKG_CONFIG=""
8209
	fi
8210
fi
8211
  gsettingsschemadir=${datadir}/glib-2.0/schemas
8212
1427 by Osmo Antero
Version 3.0.2
8213
  if test x$cross_compiling != xyes; then :
8214
8215
if test -n "$GLIB_COMPILE_SCHEMAS"; then
8216
    pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS"
8217
 elif test -n "$PKG_CONFIG"; then
8218
    if test -n "$PKG_CONFIG" && \
8219
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8220
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8221
  ac_status=$?
8222
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8223
  test $ac_status = 0; }; then
8224
  pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null`
8225
		      test "x$?" != "x0" && pkg_failed=yes
8226
else
8227
  pkg_failed=yes
8228
fi
8229
 else
8230
    pkg_failed=untried
8231
fi
8232
GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS
8233
8234
if test "x$GLIB_COMPILE_SCHEMAS" = x""; then :
8235
8236
fi
8237
else
8238
  # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8239
set dummy glib-compile-schemas; ac_word=$2
8240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241
$as_echo_n "checking for $ac_word... " >&6; }
8242
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
8243
  $as_echo_n "(cached) " >&6
8244
else
8245
  case $GLIB_COMPILE_SCHEMAS in
8246
  [\\/]* | ?:[\\/]*)
8247
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
8248
  ;;
8249
  *)
8250
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251
for as_dir in $PATH
8252
do
8253
  IFS=$as_save_IFS
8254
  test -z "$as_dir" && as_dir=.
8255
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8256
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8257
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
8258
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259
    break 2
8260
  fi
8261
done
8262
  done
8263
IFS=$as_save_IFS
8264
8265
  ;;
8266
esac
8267
fi
8268
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
8269
if test -n "$GLIB_COMPILE_SCHEMAS"; then
8270
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
8271
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
8272
else
8273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274
$as_echo "no" >&6; }
8275
fi
8276
8277
1427 by Osmo Antero
Version 3.0.2
8278
fi
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8279
8280
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
8281
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
8282
  else
8283
    :
8284
  fi
8285
8286
  GSETTINGS_RULES='
8287
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
8288
8289
mostlyclean-am: clean-gsettings-schemas
8290
8291
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
8292
8293
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
8294
	$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p $(@D) && touch $@
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8295
8296
all-am: $(gsettings_SCHEMAS:.xml=.valid)
8297
uninstall-am: uninstall-gsettings-schemas
8298
install-data-am: install-gsettings-schemas
8299
8300
.SECONDARY: $(gsettings_SCHEMAS)
8301
8302
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
8303
	@$(NORMAL_INSTALL)
8304
	if test -n "$^"; then \
8305
		test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
8306
		$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
8307
		test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
8308
	fi
8309
8310
uninstall-gsettings-schemas:
8311
	@$(NORMAL_UNINSTALL)
8312
	@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
8313
	files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
8314
	test -n "$$files" || exit 0; \
8315
	echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
8316
	cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
8317
	test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
8318
8319
clean-gsettings-schemas:
8320
	rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
8321
8322
ifdef gsettings_ENUM_NAMESPACE
8323
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
8324
	$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
8325
endif
8326
'
8327
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8328
8329
8330
8331
8332
8333
8334
# Change default from /usr/local to /usr
8335
8336
339 by Osmo Antero
Replaced fized size icons 16x16,...,64x64 with scalable svg images. The off-icon on the systray is now white-gray.
8337
ac_config_files="$ac_config_files Makefile src/Makefile pixmaps/Makefile icons/Makefile icons/hicolor/Makefile icons/hicolor/scalable/Makefile icons/hicolor/scalable/apps/Makefile icons/hicolor/scalable/status/Makefile data/Makefile po/Makefile.in po/Makefile"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8338
8339
8340
cat >confcache <<\_ACEOF
8341
# This file is a shell script that caches the results of configure
8342
# tests run on this system so they can be shared between configure
8343
# scripts and configure runs, see configure's option --config-cache.
8344
# It is not useful on other systems.  If it contains results you don't
8345
# want to keep, you may remove or edit it.
8346
#
8347
# config.status only pays attention to the cache file if you give it
8348
# the --recheck option to rerun configure.
8349
#
8350
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8351
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8352
# following values.
8353
8354
_ACEOF
8355
8356
# The following way of writing the cache mishandles newlines in values,
8357
# but we know of no workaround that is simple, portable, and efficient.
8358
# So, we kill variables containing newlines.
8359
# Ultrix sh set writes to stderr and can't be redirected directly,
8360
# and sets the high bit in the cache file unless we assign to the vars.
8361
(
8362
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8363
    eval ac_val=\$$ac_var
8364
    case $ac_val in #(
8365
    *${as_nl}*)
8366
      case $ac_var in #(
8367
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8368
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8369
      esac
8370
      case $ac_var in #(
8371
      _ | IFS | as_nl) ;; #(
8372
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8373
      *) { eval $ac_var=; unset $ac_var;} ;;
8374
      esac ;;
8375
    esac
8376
  done
8377
8378
  (set) 2>&1 |
8379
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8380
    *${as_nl}ac_space=\ *)
8381
      # `set' does not quote correctly, so add quotes: double-quote
8382
      # substitution turns \\\\ into \\, and sed turns \\ into \.
8383
      sed -n \
8384
	"s/'/'\\\\''/g;
8385
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8386
      ;; #(
8387
    *)
8388
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8389
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8390
      ;;
8391
    esac |
8392
    sort
8393
) |
8394
  sed '
8395
     /^ac_cv_env_/b end
8396
     t clear
8397
     :clear
8398
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8399
     t end
8400
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8401
     :end' >>confcache
8402
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8403
  if test -w "$cache_file"; then
56 by Osmo Antero
Version 0.5
8404
    if test "x$cache_file" != "x/dev/null"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8405
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8406
$as_echo "$as_me: updating cache $cache_file" >&6;}
56 by Osmo Antero
Version 0.5
8407
      if test ! -f "$cache_file" || test -h "$cache_file"; then
8408
	cat confcache >"$cache_file"
8409
      else
8410
        case $cache_file in #(
8411
        */* | ?:*)
8412
	  mv -f confcache "$cache_file"$$ &&
8413
	  mv -f "$cache_file"$$ "$cache_file" ;; #(
8414
        *)
8415
	  mv -f confcache "$cache_file" ;;
8416
	esac
8417
      fi
8418
    fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8419
  else
8420
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8421
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8422
  fi
8423
fi
8424
rm -f confcache
8425
8426
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8427
# Let make expand exec_prefix.
8428
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8429
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
8430
# Transform confdefs.h into DEFS.
8431
# Protect against shell expansion while executing Makefile rules.
8432
# Protect against Makefile macro expansion.
8433
#
8434
# If the first sed substitution is executed (which looks for macros that
8435
# take arguments), then branch to the quote section.  Otherwise,
8436
# look for a macro that doesn't take arguments.
8437
ac_script='
8438
:mline
8439
/\\$/{
8440
 N
8441
 s,\\\n,,
8442
 b mline
8443
}
8444
t clear
8445
:clear
8446
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
8447
t quote
8448
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
8449
t quote
8450
b any
8451
:quote
8452
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8453
s/\[/\\&/g
8454
s/\]/\\&/g
8455
s/\$/$$/g
8456
H
8457
:any
8458
${
8459
	g
8460
	s/^\n//
8461
	s/\n/ /g
8462
	p
8463
}
8464
'
8465
DEFS=`sed -n "$ac_script" confdefs.h`
8466
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8467
8468
ac_libobjs=
8469
ac_ltlibobjs=
8470
U=
8471
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8472
  # 1. Remove the extension, and $U if already installed.
8473
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8474
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8475
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8476
  #    will be set to the directory where LIBOBJS objects are built.
8477
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8478
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8479
done
8480
LIBOBJS=$ac_libobjs
8481
8482
LTLIBOBJS=$ac_ltlibobjs
8483
8484
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
8485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8486
$as_echo_n "checking that generated files are newer than configure... " >&6; }
8487
   if test -n "$am_sleep_pid"; then
8488
     # Hide warnings about reused PIDs.
8489
     wait $am_sleep_pid 2>/dev/null
8490
   fi
8491
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8492
$as_echo "done" >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8493
 if test -n "$EXEEXT"; then
8494
  am__EXEEXT_TRUE=
8495
  am__EXEEXT_FALSE='#'
8496
else
8497
  am__EXEEXT_TRUE='#'
8498
  am__EXEEXT_FALSE=
8499
fi
8500
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
8501
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8502
  as_fn_error $? "conditional \"AMDEP\" was never defined.
8503
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8504
fi
8505
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8506
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8507
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8508
fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8509
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8510
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8511
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8512
fi
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
8513
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8514
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8515
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8516
fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8517
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8518
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
8519
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8520
fi
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
8521
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8522
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8523
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8524
fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8525
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
8526
  ac_config_commands="$ac_config_commands po/stamp-it"
8527
8528
8529
56 by Osmo Antero
Version 0.5
8530
: "${CONFIG_STATUS=./config.status}"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8531
ac_write_fail=0
8532
ac_clean_files_save=$ac_clean_files
8533
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8534
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8535
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8536
as_write_fail=0
8537
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8538
#! $SHELL
8539
# Generated by $as_me.
8540
# Run this file to recreate the current configuration.
8541
# Compiler output produced by configure, useful for debugging
8542
# configure, is in config.log if it exists.
8543
8544
debug=false
8545
ac_cs_recheck=false
8546
ac_cs_silent=false
8547
8548
SHELL=\${CONFIG_SHELL-$SHELL}
8549
export SHELL
8550
_ASEOF
8551
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8552
## -------------------- ##
8553
## M4sh Initialization. ##
8554
## -------------------- ##
8555
8556
# Be more Bourne compatible
8557
DUALCASE=1; export DUALCASE # for MKS sh
8558
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8559
  emulate sh
8560
  NULLCMD=:
8561
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8562
  # is contrary to our usage.  Disable this feature.
8563
  alias -g '${1+"$@"}'='"$@"'
8564
  setopt NO_GLOB_SUBST
8565
else
8566
  case `(set -o) 2>/dev/null` in #(
8567
  *posix*) :
8568
    set -o posix ;; #(
8569
  *) :
8570
     ;;
8571
esac
8572
fi
8573
8574
8575
as_nl='
8576
'
8577
export as_nl
8578
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8579
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8580
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8581
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8582
# Prefer a ksh shell builtin over an external printf program on Solaris,
8583
# but without wasting forks for bash or zsh.
8584
if test -z "$BASH_VERSION$ZSH_VERSION" \
8585
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8586
  as_echo='print -r --'
8587
  as_echo_n='print -rn --'
8588
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8589
  as_echo='printf %s\n'
8590
  as_echo_n='printf %s'
8591
else
8592
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8593
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8594
    as_echo_n='/usr/ucb/echo -n'
8595
  else
8596
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8597
    as_echo_n_body='eval
8598
      arg=$1;
8599
      case $arg in #(
8600
      *"$as_nl"*)
8601
	expr "X$arg" : "X\\(.*\\)$as_nl";
8602
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8603
      esac;
8604
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8605
    '
8606
    export as_echo_n_body
8607
    as_echo_n='sh -c $as_echo_n_body as_echo'
8608
  fi
8609
  export as_echo_body
8610
  as_echo='sh -c $as_echo_body as_echo'
8611
fi
8612
8613
# The user is always right.
8614
if test "${PATH_SEPARATOR+set}" != set; then
8615
  PATH_SEPARATOR=:
8616
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8617
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8618
      PATH_SEPARATOR=';'
8619
  }
8620
fi
8621
8622
8623
# IFS
8624
# We need space, tab and new line, in precisely that order.  Quoting is
8625
# there to prevent editors from complaining about space-tab.
8626
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8627
# splitting by setting IFS to empty value.)
8628
IFS=" ""	$as_nl"
8629
8630
# Find who we are.  Look in the path if we contain no directory separator.
56 by Osmo Antero
Version 0.5
8631
as_myself=
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8632
case $0 in #((
8633
  *[\\/]* ) as_myself=$0 ;;
8634
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8635
for as_dir in $PATH
8636
do
8637
  IFS=$as_save_IFS
8638
  test -z "$as_dir" && as_dir=.
8639
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8640
  done
8641
IFS=$as_save_IFS
8642
8643
     ;;
8644
esac
8645
# We did not find ourselves, most probably we were run as `sh COMMAND'
8646
# in which case we are not to be found in the path.
8647
if test "x$as_myself" = x; then
8648
  as_myself=$0
8649
fi
8650
if test ! -f "$as_myself"; then
8651
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8652
  exit 1
8653
fi
8654
8655
# Unset variables that we do not need and which cause bugs (e.g. in
8656
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
8657
# suppresses any "Segmentation fault" message there.  '((' could
8658
# trigger a bug in pdksh 5.2.14.
8659
for as_var in BASH_ENV ENV MAIL MAILPATH
8660
do eval test x\${$as_var+set} = xset \
8661
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8662
done
8663
PS1='$ '
8664
PS2='> '
8665
PS4='+ '
8666
8667
# NLS nuisances.
8668
LC_ALL=C
8669
export LC_ALL
8670
LANGUAGE=C
8671
export LANGUAGE
8672
8673
# CDPATH.
8674
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8675
8676
8677
# as_fn_error STATUS ERROR [LINENO LOG_FD]
8678
# ----------------------------------------
8679
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8680
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8681
# script with STATUS, using 1 if that was 0.
8682
as_fn_error ()
8683
{
8684
  as_status=$1; test $as_status -eq 0 && as_status=1
8685
  if test "$4"; then
8686
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8687
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8688
  fi
8689
  $as_echo "$as_me: error: $2" >&2
8690
  as_fn_exit $as_status
8691
} # as_fn_error
8692
8693
8694
# as_fn_set_status STATUS
8695
# -----------------------
8696
# Set $? to STATUS, without forking.
8697
as_fn_set_status ()
8698
{
8699
  return $1
8700
} # as_fn_set_status
8701
8702
# as_fn_exit STATUS
8703
# -----------------
8704
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8705
as_fn_exit ()
8706
{
8707
  set +e
8708
  as_fn_set_status $1
8709
  exit $1
8710
} # as_fn_exit
8711
8712
# as_fn_unset VAR
8713
# ---------------
8714
# Portably unset VAR.
8715
as_fn_unset ()
8716
{
8717
  { eval $1=; unset $1;}
8718
}
8719
as_unset=as_fn_unset
8720
# as_fn_append VAR VALUE
8721
# ----------------------
8722
# Append the text in VALUE to the end of the definition contained in VAR. Take
8723
# advantage of any shell optimizations that allow amortized linear growth over
8724
# repeated appends, instead of the typical quadratic growth present in naive
8725
# implementations.
8726
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8727
  eval 'as_fn_append ()
8728
  {
8729
    eval $1+=\$2
8730
  }'
8731
else
8732
  as_fn_append ()
8733
  {
8734
    eval $1=\$$1\$2
8735
  }
8736
fi # as_fn_append
8737
8738
# as_fn_arith ARG...
8739
# ------------------
8740
# Perform arithmetic evaluation on the ARGs, and store the result in the
8741
# global $as_val. Take advantage of shells that can avoid forks. The arguments
8742
# must be portable across $(()) and expr.
8743
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8744
  eval 'as_fn_arith ()
8745
  {
8746
    as_val=$(( $* ))
8747
  }'
8748
else
8749
  as_fn_arith ()
8750
  {
8751
    as_val=`expr "$@" || test $? -eq 1`
8752
  }
8753
fi # as_fn_arith
8754
8755
8756
if expr a : '\(a\)' >/dev/null 2>&1 &&
8757
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8758
  as_expr=expr
8759
else
8760
  as_expr=false
8761
fi
8762
8763
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8764
  as_basename=basename
8765
else
8766
  as_basename=false
8767
fi
8768
8769
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8770
  as_dirname=dirname
8771
else
8772
  as_dirname=false
8773
fi
8774
8775
as_me=`$as_basename -- "$0" ||
8776
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8777
	 X"$0" : 'X\(//\)$' \| \
8778
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8779
$as_echo X/"$0" |
8780
    sed '/^.*\/\([^/][^/]*\)\/*$/{
8781
	    s//\1/
8782
	    q
8783
	  }
8784
	  /^X\/\(\/\/\)$/{
8785
	    s//\1/
8786
	    q
8787
	  }
8788
	  /^X\/\(\/\).*/{
8789
	    s//\1/
8790
	    q
8791
	  }
8792
	  s/.*/./; q'`
8793
8794
# Avoid depending upon Character Ranges.
8795
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8796
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8797
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8798
as_cr_digits='0123456789'
8799
as_cr_alnum=$as_cr_Letters$as_cr_digits
8800
8801
ECHO_C= ECHO_N= ECHO_T=
8802
case `echo -n x` in #(((((
8803
-n*)
8804
  case `echo 'xy\c'` in
8805
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
8806
  xy)  ECHO_C='\c';;
8807
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
8808
       ECHO_T='	';;
8809
  esac;;
8810
*)
8811
  ECHO_N='-n';;
8812
esac
8813
8814
rm -f conf$$ conf$$.exe conf$$.file
8815
if test -d conf$$.dir; then
8816
  rm -f conf$$.dir/conf$$.file
8817
else
8818
  rm -f conf$$.dir
8819
  mkdir conf$$.dir 2>/dev/null
8820
fi
8821
if (echo >conf$$.file) 2>/dev/null; then
8822
  if ln -s conf$$.file conf$$ 2>/dev/null; then
8823
    as_ln_s='ln -s'
8824
    # ... but there are two gotchas:
8825
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8826
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8827
    # In both cases, we have to default to `cp -pR'.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8828
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8829
      as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8830
  elif ln conf$$.file conf$$ 2>/dev/null; then
8831
    as_ln_s=ln
8832
  else
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8833
    as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8834
  fi
8835
else
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8836
  as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8837
fi
8838
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8839
rmdir conf$$.dir 2>/dev/null
8840
8841
8842
# as_fn_mkdir_p
8843
# -------------
8844
# Create "$as_dir" as a directory, including parents if necessary.
8845
as_fn_mkdir_p ()
8846
{
8847
8848
  case $as_dir in #(
8849
  -*) as_dir=./$as_dir;;
8850
  esac
8851
  test -d "$as_dir" || eval $as_mkdir_p || {
8852
    as_dirs=
8853
    while :; do
8854
      case $as_dir in #(
8855
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8856
      *) as_qdir=$as_dir;;
8857
      esac
8858
      as_dirs="'$as_qdir' $as_dirs"
8859
      as_dir=`$as_dirname -- "$as_dir" ||
8860
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8861
	 X"$as_dir" : 'X\(//\)[^/]' \| \
8862
	 X"$as_dir" : 'X\(//\)$' \| \
8863
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8864
$as_echo X"$as_dir" |
8865
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8866
	    s//\1/
8867
	    q
8868
	  }
8869
	  /^X\(\/\/\)[^/].*/{
8870
	    s//\1/
8871
	    q
8872
	  }
8873
	  /^X\(\/\/\)$/{
8874
	    s//\1/
8875
	    q
8876
	  }
8877
	  /^X\(\/\).*/{
8878
	    s//\1/
8879
	    q
8880
	  }
8881
	  s/.*/./; q'`
8882
      test -d "$as_dir" && break
8883
    done
8884
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8885
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8886
8887
8888
} # as_fn_mkdir_p
8889
if mkdir -p . 2>/dev/null; then
8890
  as_mkdir_p='mkdir -p "$as_dir"'
8891
else
8892
  test -d ./-p && rmdir ./-p
8893
  as_mkdir_p=false
8894
fi
8895
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8896
8897
# as_fn_executable_p FILE
8898
# -----------------------
8899
# Test if FILE is an executable regular file.
8900
as_fn_executable_p ()
8901
{
8902
  test -f "$1" && test -x "$1"
8903
} # as_fn_executable_p
8904
as_test_x='test -x'
8905
as_executable_p=as_fn_executable_p
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8906
8907
# Sed expression to map a string onto a valid CPP name.
8908
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8909
8910
# Sed expression to map a string onto a valid variable name.
8911
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8912
8913
8914
exec 6>&1
8915
## ----------------------------------- ##
8916
## Main body of $CONFIG_STATUS script. ##
8917
## ----------------------------------- ##
8918
_ASEOF
8919
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8920
8921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8922
# Save the log message, to keep $0 and so on meaningful, and to
8923
# report actual input values of CONFIG_FILES etc. instead of their
8924
# values after options handling.
8925
ac_log="
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
8926
This file was extended by Audio Recorder $as_me 3.2.0, which was
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8927
generated by GNU Autoconf 2.69.  Invocation command line was
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8928
8929
  CONFIG_FILES    = $CONFIG_FILES
8930
  CONFIG_HEADERS  = $CONFIG_HEADERS
8931
  CONFIG_LINKS    = $CONFIG_LINKS
8932
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8933
  $ $0 $@
8934
8935
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8936
"
8937
8938
_ACEOF
8939
8940
case $ac_config_files in *"
8941
"*) set x $ac_config_files; shift; ac_config_files=$*;;
8942
esac
8943
8944
8945
8946
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8947
# Files that config.status was made for.
8948
config_files="$ac_config_files"
8949
config_commands="$ac_config_commands"
8950
8951
_ACEOF
8952
8953
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8954
ac_cs_usage="\
8955
\`$as_me' instantiates files and other configuration actions
8956
from templates according to the current configuration.  Unless the files
8957
and actions are specified as TAGs, all are instantiated by default.
8958
8959
Usage: $0 [OPTION]... [TAG]...
8960
8961
  -h, --help       print this help, then exit
8962
  -V, --version    print version number and configuration settings, then exit
8963
      --config     print configuration, then exit
8964
  -q, --quiet, --silent
8965
                   do not print progress messages
8966
  -d, --debug      don't remove temporary files
8967
      --recheck    update $as_me by reconfiguring in the same conditions
8968
      --file=FILE[:TEMPLATE]
8969
                   instantiate the configuration file FILE
8970
8971
Configuration files:
8972
$config_files
8973
8974
Configuration commands:
8975
$config_commands
8976
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
8977
Report bugs to <https://bugs.launchpad.net/~audio-recorder>."
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8978
8979
_ACEOF
8980
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8981
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8982
ac_cs_version="\\
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
8983
Audio Recorder config.status 3.2.0
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8984
configured by $0, generated by GNU Autoconf 2.69,
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8985
  with options \\"\$ac_cs_config\\"
8986
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8987
Copyright (C) 2012 Free Software Foundation, Inc.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8988
This config.status script is free software; the Free Software Foundation
8989
gives unlimited permission to copy, distribute and modify it."
8990
8991
ac_pwd='$ac_pwd'
8992
srcdir='$srcdir'
8993
INSTALL='$INSTALL'
8994
MKDIR_P='$MKDIR_P'
8995
AWK='$AWK'
8996
test -n "\$AWK" || AWK=awk
8997
_ACEOF
8998
8999
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9000
# The default lists apply if the user does not specify any file.
9001
ac_need_defaults=:
9002
while test $# != 0
9003
do
9004
  case $1 in
9005
  --*=?*)
9006
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9007
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9008
    ac_shift=:
9009
    ;;
9010
  --*=)
9011
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9012
    ac_optarg=
9013
    ac_shift=:
9014
    ;;
9015
  *)
9016
    ac_option=$1
9017
    ac_optarg=$2
9018
    ac_shift=shift
9019
    ;;
9020
  esac
9021
9022
  case $ac_option in
9023
  # Handling of the options.
9024
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9025
    ac_cs_recheck=: ;;
9026
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9027
    $as_echo "$ac_cs_version"; exit ;;
9028
  --config | --confi | --conf | --con | --co | --c )
9029
    $as_echo "$ac_cs_config"; exit ;;
9030
  --debug | --debu | --deb | --de | --d | -d )
9031
    debug=: ;;
9032
  --file | --fil | --fi | --f )
9033
    $ac_shift
9034
    case $ac_optarg in
9035
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9036
    '') as_fn_error $? "missing file argument" ;;
9037
    esac
9038
    as_fn_append CONFIG_FILES " '$ac_optarg'"
9039
    ac_need_defaults=false;;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9040
  --he | --h |  --help | --hel | -h )
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9041
    $as_echo "$ac_cs_usage"; exit ;;
9042
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9043
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9044
    ac_cs_silent=: ;;
9045
9046
  # This is an error.
9047
  -*) as_fn_error $? "unrecognized option: \`$1'
9048
Try \`$0 --help' for more information." ;;
9049
9050
  *) as_fn_append ac_config_targets " $1"
9051
     ac_need_defaults=false ;;
9052
9053
  esac
9054
  shift
9055
done
9056
9057
ac_configure_extra_args=
9058
9059
if $ac_cs_silent; then
9060
  exec 6>/dev/null
9061
  ac_configure_extra_args="$ac_configure_extra_args --silent"
9062
fi
9063
9064
_ACEOF
9065
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9066
if \$ac_cs_recheck; then
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
9067
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9068
  shift
9069
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9070
  CONFIG_SHELL='$SHELL'
9071
  export CONFIG_SHELL
9072
  exec "\$@"
9073
fi
9074
9075
_ACEOF
9076
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9077
exec 5>>config.log
9078
{
9079
  echo
9080
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9081
## Running $as_me. ##
9082
_ASBOX
9083
  $as_echo "$ac_log"
9084
} >&5
9085
9086
_ACEOF
9087
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9088
#
9089
# INIT-COMMANDS
9090
#
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9091
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9092
9093
_ACEOF
9094
9095
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9096
9097
# Handling of arguments.
9098
for ac_config_target in $ac_config_targets
9099
do
9100
  case $ac_config_target in
9101
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9102
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9103
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9104
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
56 by Osmo Antero
Version 0.5
9105
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
9106
    "icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/Makefile" ;;
339 by Osmo Antero
Replaced fized size icons 16x16,...,64x64 with scalable svg images. The off-icon on the systray is now white-gray.
9107
    "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9108
    "icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/apps/Makefile" ;;
9109
    "icons/hicolor/scalable/status/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/status/Makefile" ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9110
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
9111
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
9112
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9113
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9114
56 by Osmo Antero
Version 0.5
9115
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9116
  esac
9117
done
9118
9119
9120
# If the user did not use the arguments to specify the items to instantiate,
9121
# then the envvar interface is used.  Set only those that are not.
9122
# We use the long form for the default assignment because of an extremely
9123
# bizarre bug on SunOS 4.1.3.
9124
if $ac_need_defaults; then
9125
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9126
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9127
fi
9128
9129
# Have a temporary directory for convenience.  Make it in the build tree
9130
# simply because there is no reason against having it here, and in addition,
9131
# creating and moving files from /tmp can sometimes cause problems.
9132
# Hook for its removal unless debugging.
9133
# Note that there is a small window in which the directory will not be cleaned:
9134
# after its creation but before its name has been assigned to `$tmp'.
9135
$debug ||
9136
{
56 by Osmo Antero
Version 0.5
9137
  tmp= ac_tmp=
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9138
  trap 'exit_status=$?
56 by Osmo Antero
Version 0.5
9139
  : "${ac_tmp:=$tmp}"
9140
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9141
' 0
9142
  trap 'as_fn_exit 1' 1 2 13 15
9143
}
9144
# Create a (secure) tmp directory for tmp files.
9145
9146
{
9147
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56 by Osmo Antero
Version 0.5
9148
  test -d "$tmp"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9149
}  ||
9150
{
9151
  tmp=./conf$$-$RANDOM
9152
  (umask 077 && mkdir "$tmp")
9153
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
56 by Osmo Antero
Version 0.5
9154
ac_tmp=$tmp
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9155
9156
# Set up the scripts for CONFIG_FILES section.
9157
# No need to generate them if there are no CONFIG_FILES.
9158
# This happens for instance with `./config.status config.h'.
9159
if test -n "$CONFIG_FILES"; then
9160
9161
9162
ac_cr=`echo X | tr X '\015'`
9163
# On cygwin, bash can eat \r inside `` if the user requested igncr.
9164
# But we know of no other shell where ac_cr would be empty at this
9165
# point, so we can use a bashism as a fallback.
9166
if test "x$ac_cr" = x; then
9167
  eval ac_cr=\$\'\\r\'
9168
fi
9169
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9170
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9171
  ac_cs_awk_cr='\\r'
9172
else
9173
  ac_cs_awk_cr=$ac_cr
9174
fi
9175
56 by Osmo Antero
Version 0.5
9176
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9177
_ACEOF
9178
9179
9180
{
9181
  echo "cat >conf$$subs.awk <<_ACEOF" &&
9182
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9183
  echo "_ACEOF"
9184
} >conf$$subs.sh ||
9185
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9186
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9187
ac_delim='%!_!# '
9188
for ac_last_try in false false false false false :; do
9189
  . ./conf$$subs.sh ||
9190
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9191
9192
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9193
  if test $ac_delim_n = $ac_delim_num; then
9194
    break
9195
  elif $ac_last_try; then
9196
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9197
  else
9198
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9199
  fi
9200
done
9201
rm -f conf$$subs.sh
9202
9203
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
56 by Osmo Antero
Version 0.5
9204
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9205
_ACEOF
9206
sed -n '
9207
h
9208
s/^/S["/; s/!.*/"]=/
9209
p
9210
g
9211
s/^[^!]*!//
9212
:repl
9213
t repl
9214
s/'"$ac_delim"'$//
9215
t delim
9216
:nl
9217
h
9218
s/\(.\{148\}\)..*/\1/
9219
t more1
9220
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9221
p
9222
n
9223
b repl
9224
:more1
9225
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9226
p
9227
g
9228
s/.\{148\}//
9229
t nl
9230
:delim
9231
h
9232
s/\(.\{148\}\)..*/\1/
9233
t more2
9234
s/["\\]/\\&/g; s/^/"/; s/$/"/
9235
p
9236
b
9237
:more2
9238
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9239
p
9240
g
9241
s/.\{148\}//
9242
t delim
9243
' <conf$$subs.awk | sed '
9244
/^[^""]/{
9245
  N
9246
  s/\n//
9247
}
9248
' >>$CONFIG_STATUS || ac_write_fail=1
9249
rm -f conf$$subs.awk
9250
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9251
_ACAWK
56 by Osmo Antero
Version 0.5
9252
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9253
  for (key in S) S_is_set[key] = 1
9254
  FS = ""
9255
9256
}
9257
{
9258
  line = $ 0
9259
  nfields = split(line, field, "@")
9260
  substed = 0
9261
  len = length(field[1])
9262
  for (i = 2; i < nfields; i++) {
9263
    key = field[i]
9264
    keylen = length(key)
9265
    if (S_is_set[key]) {
9266
      value = S[key]
9267
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9268
      len += length(value) + length(field[++i])
9269
      substed = 1
9270
    } else
9271
      len += 1 + keylen
9272
  }
9273
9274
  print line
9275
}
9276
9277
_ACAWK
9278
_ACEOF
9279
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9280
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9281
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9282
else
9283
  cat
56 by Osmo Antero
Version 0.5
9284
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9285
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9286
_ACEOF
9287
9288
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9289
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9290
# trailing colons and then remove the whole line if VPATH becomes empty
9291
# (actually we leave an empty line to preserve line numbers).
9292
if test "x$srcdir" = x.; then
9293
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
9294
h
9295
s///
9296
s/^/:/
9297
s/[	 ]*$/:/
9298
s/:\$(srcdir):/:/g
9299
s/:\${srcdir}:/:/g
9300
s/:@srcdir@:/:/g
9301
s/^:*//
9302
s/:*$//
9303
x
9304
s/\(=[	 ]*\).*/\1/
9305
G
9306
s/\n//
9307
s/^[^=]*=[	 ]*$//
9308
}'
9309
fi
9310
9311
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9312
fi # test -n "$CONFIG_FILES"
9313
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9314
9315
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9316
shift
9317
for ac_tag
9318
do
9319
  case $ac_tag in
9320
  :[FHLC]) ac_mode=$ac_tag; continue;;
9321
  esac
9322
  case $ac_mode$ac_tag in
9323
  :[FHL]*:*);;
56 by Osmo Antero
Version 0.5
9324
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9325
  :[FH]-) ac_tag=-:-;;
9326
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9327
  esac
9328
  ac_save_IFS=$IFS
9329
  IFS=:
9330
  set x $ac_tag
9331
  IFS=$ac_save_IFS
9332
  shift
9333
  ac_file=$1
9334
  shift
9335
9336
  case $ac_mode in
9337
  :L) ac_source=$1;;
9338
  :[FH])
9339
    ac_file_inputs=
9340
    for ac_f
9341
    do
9342
      case $ac_f in
56 by Osmo Antero
Version 0.5
9343
      -) ac_f="$ac_tmp/stdin";;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9344
      *) # Look for the file first in the build tree, then in the source tree
9345
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
9346
	 # because $ac_f cannot contain `:'.
9347
	 test -f "$ac_f" ||
9348
	   case $ac_f in
9349
	   [\\/$]*) false;;
9350
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9351
	   esac ||
56 by Osmo Antero
Version 0.5
9352
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9353
      esac
9354
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9355
      as_fn_append ac_file_inputs " '$ac_f'"
9356
    done
9357
9358
    # Let's still pretend it is `configure' which instantiates (i.e., don't
9359
    # use $as_me), people would be surprised to read:
9360
    #    /* config.h.  Generated by config.status.  */
9361
    configure_input='Generated from '`
9362
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9363
	`' by configure.'
9364
    if test x"$ac_file" != x-; then
9365
      configure_input="$ac_file.  $configure_input"
9366
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9367
$as_echo "$as_me: creating $ac_file" >&6;}
9368
    fi
9369
    # Neutralize special characters interpreted by sed in replacement strings.
9370
    case $configure_input in #(
9371
    *\&* | *\|* | *\\* )
9372
       ac_sed_conf_input=`$as_echo "$configure_input" |
9373
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9374
    *) ac_sed_conf_input=$configure_input;;
9375
    esac
9376
9377
    case $ac_tag in
56 by Osmo Antero
Version 0.5
9378
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
9379
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9380
    esac
9381
    ;;
9382
  esac
9383
9384
  ac_dir=`$as_dirname -- "$ac_file" ||
9385
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9386
	 X"$ac_file" : 'X\(//\)[^/]' \| \
9387
	 X"$ac_file" : 'X\(//\)$' \| \
9388
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9389
$as_echo X"$ac_file" |
9390
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9391
	    s//\1/
9392
	    q
9393
	  }
9394
	  /^X\(\/\/\)[^/].*/{
9395
	    s//\1/
9396
	    q
9397
	  }
9398
	  /^X\(\/\/\)$/{
9399
	    s//\1/
9400
	    q
9401
	  }
9402
	  /^X\(\/\).*/{
9403
	    s//\1/
9404
	    q
9405
	  }
9406
	  s/.*/./; q'`
9407
  as_dir="$ac_dir"; as_fn_mkdir_p
9408
  ac_builddir=.
9409
9410
case "$ac_dir" in
9411
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9412
*)
9413
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9414
  # A ".." for each directory in $ac_dir_suffix.
9415
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9416
  case $ac_top_builddir_sub in
9417
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9418
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9419
  esac ;;
9420
esac
9421
ac_abs_top_builddir=$ac_pwd
9422
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9423
# for backward compatibility:
9424
ac_top_builddir=$ac_top_build_prefix
9425
9426
case $srcdir in
9427
  .)  # We are building in place.
9428
    ac_srcdir=.
9429
    ac_top_srcdir=$ac_top_builddir_sub
9430
    ac_abs_top_srcdir=$ac_pwd ;;
9431
  [\\/]* | ?:[\\/]* )  # Absolute name.
9432
    ac_srcdir=$srcdir$ac_dir_suffix;
9433
    ac_top_srcdir=$srcdir
9434
    ac_abs_top_srcdir=$srcdir ;;
9435
  *) # Relative name.
9436
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9437
    ac_top_srcdir=$ac_top_build_prefix$srcdir
9438
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9439
esac
9440
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9441
9442
9443
  case $ac_mode in
9444
  :F)
9445
  #
9446
  # CONFIG_FILE
9447
  #
9448
9449
  case $INSTALL in
9450
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9451
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9452
  esac
9453
  ac_MKDIR_P=$MKDIR_P
9454
  case $MKDIR_P in
9455
  [\\/$]* | ?:[\\/]* ) ;;
9456
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9457
  esac
9458
_ACEOF
9459
9460
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9461
# If the template does not know about datarootdir, expand it.
9462
# FIXME: This hack should be removed a few years after 2.60.
9463
ac_datarootdir_hack=; ac_datarootdir_seen=
9464
ac_sed_dataroot='
9465
/datarootdir/ {
9466
  p
9467
  q
9468
}
9469
/@datadir@/p
9470
/@docdir@/p
9471
/@infodir@/p
9472
/@localedir@/p
9473
/@mandir@/p'
9474
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9475
*datarootdir*) ac_datarootdir_seen=yes;;
9476
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9477
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9478
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9479
_ACEOF
9480
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9481
  ac_datarootdir_hack='
9482
  s&@datadir@&$datadir&g
9483
  s&@docdir@&$docdir&g
9484
  s&@infodir@&$infodir&g
9485
  s&@localedir@&$localedir&g
9486
  s&@mandir@&$mandir&g
9487
  s&\\\${datarootdir}&$datarootdir&g' ;;
9488
esac
9489
_ACEOF
9490
9491
# Neutralize VPATH when `$srcdir' = `.'.
9492
# Shell code in configure.ac might set extrasub.
9493
# FIXME: do we really want to maintain this feature?
9494
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9495
ac_sed_extra="$ac_vpsub
9496
$extrasub
9497
_ACEOF
9498
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9499
:t
9500
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9501
s|@configure_input@|$ac_sed_conf_input|;t t
9502
s&@top_builddir@&$ac_top_builddir_sub&;t t
9503
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9504
s&@srcdir@&$ac_srcdir&;t t
9505
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9506
s&@top_srcdir@&$ac_top_srcdir&;t t
9507
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9508
s&@builddir@&$ac_builddir&;t t
9509
s&@abs_builddir@&$ac_abs_builddir&;t t
9510
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9511
s&@INSTALL@&$ac_INSTALL&;t t
9512
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9513
$ac_datarootdir_hack
9514
"
56 by Osmo Antero
Version 0.5
9515
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9516
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9517
9518
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
56 by Osmo Antero
Version 0.5
9519
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9520
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
9521
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9522
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9523
which seems to be undefined.  Please make sure it is defined" >&5
9524
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9525
which seems to be undefined.  Please make sure it is defined" >&2;}
9526
56 by Osmo Antero
Version 0.5
9527
  rm -f "$ac_tmp/stdin"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9528
  case $ac_file in
56 by Osmo Antero
Version 0.5
9529
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9530
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9531
  esac \
9532
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9533
 ;;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9534
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9535
9536
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9537
$as_echo "$as_me: executing $ac_file commands" >&6;}
9538
 ;;
9539
  esac
9540
9541
9542
  case $ac_file$ac_mode in
9543
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
9544
  # Older Autoconf quotes --file arguments for eval, but not when files
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9545
  # are listed without --file.  Let's play safe and only enable the eval
9546
  # if we detect the quoting.
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9547
  # TODO: see whether this extra hack can be removed once we start
9548
  # requiring Autoconf 2.70 or later.
9549
  case $CONFIG_FILES in #(
9550
  *\'*) :
9551
    eval set x "$CONFIG_FILES" ;; #(
9552
  *) :
9553
    set x $CONFIG_FILES ;; #(
9554
  *) :
9555
     ;;
9556
esac
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9557
  shift
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9558
  # Used to flag and report bootstrapping failures.
9559
  am_rc=0
9560
  for am_mf
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9561
  do
9562
    # Strip MF so we end up with the name of the file.
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9563
    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
9564
    # Check whether this is an Automake generated Makefile which includes
9565
    # dependency-tracking related rules and includes.
9566
    # Grep'ing the whole file directly is not great: AIX grep has a line
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9567
    # limit of 2048, but all sed's we know have understand at least 4000.
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9568
    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9569
      || continue
9570
    am_dirpart=`$as_dirname -- "$am_mf" ||
9571
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9572
	 X"$am_mf" : 'X\(//\)[^/]' \| \
9573
	 X"$am_mf" : 'X\(//\)$' \| \
9574
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9575
$as_echo X"$am_mf" |
9576
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9577
	    s//\1/
9578
	    q
9579
	  }
9580
	  /^X\(\/\/\)[^/].*/{
9581
	    s//\1/
9582
	    q
9583
	  }
9584
	  /^X\(\/\/\)$/{
9585
	    s//\1/
9586
	    q
9587
	  }
9588
	  /^X\(\/\).*/{
9589
	    s//\1/
9590
	    q
9591
	  }
9592
	  s/.*/./; q'`
9593
    am_filepart=`$as_basename -- "$am_mf" ||
9594
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
9595
	 X"$am_mf" : 'X\(//\)$' \| \
9596
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9597
$as_echo X/"$am_mf" |
9598
    sed '/^.*\/\([^/][^/]*\)\/*$/{
9599
	    s//\1/
9600
	    q
9601
	  }
9602
	  /^X\/\(\/\/\)$/{
9603
	    s//\1/
9604
	    q
9605
	  }
9606
	  /^X\/\(\/\).*/{
9607
	    s//\1/
9608
	    q
9609
	  }
9610
	  s/.*/./; q'`
9611
    { echo "$as_me:$LINENO: cd "$am_dirpart" \
9612
      && sed -e '/# am--include-marker/d' "$am_filepart" \
9613
        | $MAKE -f - am--depfiles" >&5
9614
   (cd "$am_dirpart" \
9615
      && sed -e '/# am--include-marker/d' "$am_filepart" \
9616
        | $MAKE -f - am--depfiles) >&5 2>&5
9617
   ac_status=$?
9618
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619
   (exit $ac_status); } || am_rc=$?
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9620
  done
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9621
  if test $am_rc -ne 0; then
9622
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9623
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9624
as_fn_error $? "Something went wrong bootstrapping makefile fragments
1851 by Osmo Antero
Version 3.2.1 for Ubuntu 20.10 and other new Linux distros.
9625
    for automatic dependency tracking.  If GNU make was not used, consider
9626
    re-running the configure script with MAKE=\"gmake\" (or whatever is
9627
    necessary).  You can also try re-running configure with the
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9628
    '--disable-dependency-tracking' option to at least be able to build
9629
    the package (albeit without support for automatic dependency tracking).
9630
See \`config.log' for more details" "$LINENO" 5; }
9631
  fi
9632
  { am_dirpart=; unset am_dirpart;}
9633
  { am_filepart=; unset am_filepart;}
9634
  { am_mf=; unset am_mf;}
9635
  { am_rc=; unset am_rc;}
9636
  rm -f conftest-deps.mk
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9637
}
9638
 ;;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9639
    "po/stamp-it":C)
9640
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
9641
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
9642
    fi
9643
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
9644
    >"po/stamp-it.tmp"
9645
    sed '/^#/d
9646
	 s/^[[].*] *//
9647
	 /^[ 	]*$/d
9648
	'"s|^|	$ac_top_srcdir/|" \
9649
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
9650
9651
    sed '/^POTFILES =/,/[^\\]$/ {
9652
		/^POTFILES =/!d
9653
		r po/POTFILES
9654
	  }
9655
	 ' "po/Makefile.in" >"po/Makefile"
9656
    rm -f "po/Makefile.tmp"
9657
    mv "po/stamp-it.tmp" "po/stamp-it"
9658
   ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9659
9660
  esac
9661
done # for ac_tag
9662
9663
9664
as_fn_exit 0
9665
_ACEOF
9666
ac_clean_files=$ac_clean_files_save
9667
9668
test $ac_write_fail = 0 ||
9669
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9670
9671
9672
# configure is writing to config.log, and then calls config.status.
9673
# config.status does its own redirection, appending to config.log.
9674
# Unfortunately, on DOS this fails, as config.log is still kept open
9675
# by configure, so config.status won't be able to write to it; its
9676
# output is simply discarded.  So we exec the FD to /dev/null,
9677
# effectively closing config.log, so it can be properly (re)opened and
9678
# appended to by config.status.  When coming back to configure, we
9679
# need to make the FD available again.
9680
if test "$no_create" != yes; then
9681
  ac_cs_success=:
9682
  ac_config_status_args=
9683
  test "$silent" = yes &&
9684
    ac_config_status_args="$ac_config_status_args --quiet"
9685
  exec 5>/dev/null
9686
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9687
  exec 5>>config.log
9688
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9689
  # would make configure fail if this is the last instruction.
9690
  $ac_cs_success || as_fn_exit 1
9691
fi
9692
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9693
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9694
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9695
fi
9696
9697
9698
9699