~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.
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
3
# Generated by GNU Autoconf 2.69 for Audio Recorder 3.3.4.
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'
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
583
PACKAGE_VERSION='3.3.4'
584
PACKAGE_STRING='Audio Recorder 3.3.4'
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
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
723
CSCOPE
724
ETAGS
725
CTAGS
1 by Osmo Antero Maatta
Initial import 17.jan.2011
726
am__untar
727
am__tar
728
AMTAR
729
am__leading_dot
730
SET_MAKE
731
AWK
732
mkdir_p
733
MKDIR_P
734
INSTALL_STRIP_PROGRAM
735
STRIP
736
install_sh
737
MAKEINFO
738
AUTOHEADER
739
AUTOMAKE
740
AUTOCONF
741
ACLOCAL
742
VERSION
743
PACKAGE
744
CYGPATH_W
745
am__isrc
746
INSTALL_DATA
747
INSTALL_SCRIPT
748
INSTALL_PROGRAM
749
target_alias
750
host_alias
751
build_alias
752
LIBS
753
ECHO_T
754
ECHO_N
755
ECHO_C
756
DEFS
757
mandir
758
localedir
759
libdir
760
psdir
761
pdfdir
762
dvidir
763
htmldir
764
infodir
765
docdir
766
oldincludedir
767
includedir
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
768
runstatedir
1 by Osmo Antero Maatta
Initial import 17.jan.2011
769
localstatedir
770
sharedstatedir
771
sysconfdir
772
datadir
773
datarootdir
774
libexecdir
775
sbindir
776
bindir
777
program_transform_name
778
prefix
779
exec_prefix
780
PACKAGE_URL
781
PACKAGE_BUGREPORT
782
PACKAGE_STRING
783
PACKAGE_VERSION
784
PACKAGE_TARNAME
785
PACKAGE_NAME
786
PATH_SEPARATOR
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
787
SHELL
788
am__quote'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
789
ac_subst_files=''
790
ac_user_opts='
791
enable_option_checking
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
792
enable_silent_rules
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
793
enable_dependency_tracking
1 by Osmo Antero Maatta
Initial import 17.jan.2011
794
enable_maintainer_mode
795
enable_nls
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
796
enable_schemas_compile
1 by Osmo Antero Maatta
Initial import 17.jan.2011
797
'
798
      ac_precious_vars='build_alias
799
host_alias
800
target_alias
801
CC
802
CFLAGS
803
LDFLAGS
804
LIBS
805
CPPFLAGS
806
CPP
807
CXX
808
CXXFLAGS
809
CCC
810
PKG_CONFIG
811
PKG_CONFIG_PATH
812
PKG_CONFIG_LIBDIR
813
GLIB_CFLAGS
814
GLIB_LIBS
101 by Osmo Antero
New media-player interface that's based on the MediaPlayer2 standard. See src/dbus-mpris2.c.
815
GIO_CFLAGS
816
GIO_LIBS
1 by Osmo Antero Maatta
Initial import 17.jan.2011
817
GTK_CFLAGS
818
GTK_LIBS
819
GSTREAMER_CFLAGS
820
GSTREAMER_LIBS
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
821
GSTREAMER_PBUTILS_CFLAGS
822
GSTREAMER_PBUTILS_LIBS
1 by Osmo Antero Maatta
Initial import 17.jan.2011
823
GTHREAD_CFLAGS
824
GTHREAD_LIBS
825
DBUS_CFLAGS
826
DBUS_LIBS
827
APP_INDICATOR_CFLAGS
1427 by Osmo Antero
Version 3.0.2
828
APP_INDICATOR_LIBS
829
GLIB_COMPILE_SCHEMAS'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
830
831
832
# Initialize some variables set by options.
833
ac_init_help=
834
ac_init_version=false
835
ac_unrecognized_opts=
836
ac_unrecognized_sep=
837
# The variables have the same names as the options, with
838
# dashes changed to underlines.
839
cache_file=/dev/null
840
exec_prefix=NONE
841
no_create=
842
no_recursion=
843
prefix=NONE
844
program_prefix=NONE
845
program_suffix=NONE
846
program_transform_name=s,x,x,
847
silent=
848
site=
849
srcdir=
850
verbose=
851
x_includes=NONE
852
x_libraries=NONE
853
854
# Installation directory options.
855
# These are left unexpanded so users can "make install exec_prefix=/foo"
856
# and all the variables that are supposed to be based on exec_prefix
857
# by default will actually change.
858
# Use braces instead of parens because sh, perl, etc. also accept them.
859
# (The list follows the same order as the GNU Coding Standards.)
860
bindir='${exec_prefix}/bin'
861
sbindir='${exec_prefix}/sbin'
862
libexecdir='${exec_prefix}/libexec'
863
datarootdir='${prefix}/share'
864
datadir='${datarootdir}'
865
sysconfdir='${prefix}/etc'
866
sharedstatedir='${prefix}/com'
867
localstatedir='${prefix}/var'
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
868
runstatedir='${localstatedir}/run'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
869
includedir='${prefix}/include'
870
oldincludedir='/usr/include'
871
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872
infodir='${datarootdir}/info'
873
htmldir='${docdir}'
874
dvidir='${docdir}'
875
pdfdir='${docdir}'
876
psdir='${docdir}'
877
libdir='${exec_prefix}/lib'
878
localedir='${datarootdir}/locale'
879
mandir='${datarootdir}/man'
880
881
ac_prev=
882
ac_dashdash=
883
for ac_option
884
do
885
  # If the previous option needs an argument, assign it.
886
  if test -n "$ac_prev"; then
887
    eval $ac_prev=\$ac_option
888
    ac_prev=
889
    continue
890
  fi
891
892
  case $ac_option in
893
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894
  *=)   ac_optarg= ;;
895
  *)    ac_optarg=yes ;;
896
  esac
897
898
  # Accept the important Cygnus configure options, so we can diagnose typos.
899
900
  case $ac_dashdash$ac_option in
901
  --)
902
    ac_dashdash=yes ;;
903
904
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
905
    ac_prev=bindir ;;
906
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907
    bindir=$ac_optarg ;;
908
909
  -build | --build | --buil | --bui | --bu)
910
    ac_prev=build_alias ;;
911
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912
    build_alias=$ac_optarg ;;
913
914
  -cache-file | --cache-file | --cache-fil | --cache-fi \
915
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916
    ac_prev=cache_file ;;
917
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919
    cache_file=$ac_optarg ;;
920
921
  --config-cache | -C)
922
    cache_file=config.cache ;;
923
924
  -datadir | --datadir | --datadi | --datad)
925
    ac_prev=datadir ;;
926
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
927
    datadir=$ac_optarg ;;
928
929
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930
  | --dataroo | --dataro | --datar)
931
    ac_prev=datarootdir ;;
932
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934
    datarootdir=$ac_optarg ;;
935
936
  -disable-* | --disable-*)
937
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938
    # Reject names that are not valid shell variable names.
939
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940
      as_fn_error $? "invalid feature name: $ac_useropt"
941
    ac_useropt_orig=$ac_useropt
942
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943
    case $ac_user_opts in
944
      *"
945
"enable_$ac_useropt"
946
"*) ;;
947
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948
	 ac_unrecognized_sep=', ';;
949
    esac
950
    eval enable_$ac_useropt=no ;;
951
952
  -docdir | --docdir | --docdi | --doc | --do)
953
    ac_prev=docdir ;;
954
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955
    docdir=$ac_optarg ;;
956
957
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958
    ac_prev=dvidir ;;
959
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960
    dvidir=$ac_optarg ;;
961
962
  -enable-* | --enable-*)
963
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964
    # Reject names that are not valid shell variable names.
965
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966
      as_fn_error $? "invalid feature name: $ac_useropt"
967
    ac_useropt_orig=$ac_useropt
968
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969
    case $ac_user_opts in
970
      *"
971
"enable_$ac_useropt"
972
"*) ;;
973
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974
	 ac_unrecognized_sep=', ';;
975
    esac
976
    eval enable_$ac_useropt=\$ac_optarg ;;
977
978
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980
  | --exec | --exe | --ex)
981
    ac_prev=exec_prefix ;;
982
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984
  | --exec=* | --exe=* | --ex=*)
985
    exec_prefix=$ac_optarg ;;
986
987
  -gas | --gas | --ga | --g)
988
    # Obsolete; use --with-gas.
989
    with_gas=yes ;;
990
991
  -help | --help | --hel | --he | -h)
992
    ac_init_help=long ;;
993
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994
    ac_init_help=recursive ;;
995
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996
    ac_init_help=short ;;
997
998
  -host | --host | --hos | --ho)
999
    ac_prev=host_alias ;;
1000
  -host=* | --host=* | --hos=* | --ho=*)
1001
    host_alias=$ac_optarg ;;
1002
1003
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004
    ac_prev=htmldir ;;
1005
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006
  | --ht=*)
1007
    htmldir=$ac_optarg ;;
1008
1009
  -includedir | --includedir | --includedi | --included | --include \
1010
  | --includ | --inclu | --incl | --inc)
1011
    ac_prev=includedir ;;
1012
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1014
    includedir=$ac_optarg ;;
1015
1016
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1017
    ac_prev=infodir ;;
1018
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019
    infodir=$ac_optarg ;;
1020
1021
  -libdir | --libdir | --libdi | --libd)
1022
    ac_prev=libdir ;;
1023
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024
    libdir=$ac_optarg ;;
1025
1026
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027
  | --libexe | --libex | --libe)
1028
    ac_prev=libexecdir ;;
1029
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030
  | --libexe=* | --libex=* | --libe=*)
1031
    libexecdir=$ac_optarg ;;
1032
1033
  -localedir | --localedir | --localedi | --localed | --locale)
1034
    ac_prev=localedir ;;
1035
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036
    localedir=$ac_optarg ;;
1037
1038
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1039
  | --localstate | --localstat | --localsta | --localst | --locals)
1040
    ac_prev=localstatedir ;;
1041
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043
    localstatedir=$ac_optarg ;;
1044
1045
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046
    ac_prev=mandir ;;
1047
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048
    mandir=$ac_optarg ;;
1049
1050
  -nfp | --nfp | --nf)
1051
    # Obsolete; use --without-fp.
1052
    with_fp=no ;;
1053
1054
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055
  | --no-cr | --no-c | -n)
1056
    no_create=yes ;;
1057
1058
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060
    no_recursion=yes ;;
1061
1062
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064
  | --oldin | --oldi | --old | --ol | --o)
1065
    ac_prev=oldincludedir ;;
1066
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069
    oldincludedir=$ac_optarg ;;
1070
1071
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072
    ac_prev=prefix ;;
1073
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074
    prefix=$ac_optarg ;;
1075
1076
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077
  | --program-pre | --program-pr | --program-p)
1078
    ac_prev=program_prefix ;;
1079
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081
    program_prefix=$ac_optarg ;;
1082
1083
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084
  | --program-suf | --program-su | --program-s)
1085
    ac_prev=program_suffix ;;
1086
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088
    program_suffix=$ac_optarg ;;
1089
1090
  -program-transform-name | --program-transform-name \
1091
  | --program-transform-nam | --program-transform-na \
1092
  | --program-transform-n | --program-transform- \
1093
  | --program-transform | --program-transfor \
1094
  | --program-transfo | --program-transf \
1095
  | --program-trans | --program-tran \
1096
  | --progr-tra | --program-tr | --program-t)
1097
    ac_prev=program_transform_name ;;
1098
  -program-transform-name=* | --program-transform-name=* \
1099
  | --program-transform-nam=* | --program-transform-na=* \
1100
  | --program-transform-n=* | --program-transform-=* \
1101
  | --program-transform=* | --program-transfor=* \
1102
  | --program-transfo=* | --program-transf=* \
1103
  | --program-trans=* | --program-tran=* \
1104
  | --progr-tra=* | --program-tr=* | --program-t=*)
1105
    program_transform_name=$ac_optarg ;;
1106
1107
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108
    ac_prev=pdfdir ;;
1109
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110
    pdfdir=$ac_optarg ;;
1111
1112
  -psdir | --psdir | --psdi | --psd | --ps)
1113
    ac_prev=psdir ;;
1114
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115
    psdir=$ac_optarg ;;
1116
1117
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118
  | -silent | --silent | --silen | --sile | --sil)
1119
    silent=yes ;;
1120
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
1121
  -runstatedir | --runstatedir | --runstatedi | --runstated \
1122
  | --runstate | --runstat | --runsta | --runst | --runs \
1123
  | --run | --ru | --r)
1124
    ac_prev=runstatedir ;;
1125
  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1126
  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1127
  | --run=* | --ru=* | --r=*)
1128
    runstatedir=$ac_optarg ;;
1129
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1130
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131
    ac_prev=sbindir ;;
1132
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133
  | --sbi=* | --sb=*)
1134
    sbindir=$ac_optarg ;;
1135
1136
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138
  | --sharedst | --shareds | --shared | --share | --shar \
1139
  | --sha | --sh)
1140
    ac_prev=sharedstatedir ;;
1141
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144
  | --sha=* | --sh=*)
1145
    sharedstatedir=$ac_optarg ;;
1146
1147
  -site | --site | --sit)
1148
    ac_prev=site ;;
1149
  -site=* | --site=* | --sit=*)
1150
    site=$ac_optarg ;;
1151
1152
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153
    ac_prev=srcdir ;;
1154
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155
    srcdir=$ac_optarg ;;
1156
1157
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158
  | --syscon | --sysco | --sysc | --sys | --sy)
1159
    ac_prev=sysconfdir ;;
1160
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162
    sysconfdir=$ac_optarg ;;
1163
1164
  -target | --target | --targe | --targ | --tar | --ta | --t)
1165
    ac_prev=target_alias ;;
1166
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167
    target_alias=$ac_optarg ;;
1168
1169
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170
    verbose=yes ;;
1171
1172
  -version | --version | --versio | --versi | --vers | -V)
1173
    ac_init_version=: ;;
1174
1175
  -with-* | --with-*)
1176
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177
    # Reject names that are not valid shell variable names.
1178
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179
      as_fn_error $? "invalid package name: $ac_useropt"
1180
    ac_useropt_orig=$ac_useropt
1181
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182
    case $ac_user_opts in
1183
      *"
1184
"with_$ac_useropt"
1185
"*) ;;
1186
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187
	 ac_unrecognized_sep=', ';;
1188
    esac
1189
    eval with_$ac_useropt=\$ac_optarg ;;
1190
1191
  -without-* | --without-*)
1192
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193
    # Reject names that are not valid shell variable names.
1194
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195
      as_fn_error $? "invalid package name: $ac_useropt"
1196
    ac_useropt_orig=$ac_useropt
1197
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198
    case $ac_user_opts in
1199
      *"
1200
"with_$ac_useropt"
1201
"*) ;;
1202
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203
	 ac_unrecognized_sep=', ';;
1204
    esac
1205
    eval with_$ac_useropt=no ;;
1206
1207
  --x)
1208
    # Obsolete; use --with-x.
1209
    with_x=yes ;;
1210
1211
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212
  | --x-incl | --x-inc | --x-in | --x-i)
1213
    ac_prev=x_includes ;;
1214
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216
    x_includes=$ac_optarg ;;
1217
1218
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220
    ac_prev=x_libraries ;;
1221
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223
    x_libraries=$ac_optarg ;;
1224
1225
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226
Try \`$0 --help' for more information"
1227
    ;;
1228
1229
  *=*)
1230
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231
    # Reject names that are not valid shell variable names.
1232
    case $ac_envvar in #(
1233
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1234
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235
    esac
1236
    eval $ac_envvar=\$ac_optarg
1237
    export $ac_envvar ;;
1238
1239
  *)
1240
    # FIXME: should be removed in autoconf 3.0.
1241
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
56 by Osmo Antero
Version 0.5
1244
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1245
    ;;
1246
1247
  esac
1248
done
1249
1250
if test -n "$ac_prev"; then
1251
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252
  as_fn_error $? "missing argument to $ac_option"
1253
fi
1254
1255
if test -n "$ac_unrecognized_opts"; then
1256
  case $enable_option_checking in
1257
    no) ;;
1258
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260
  esac
1261
fi
1262
1263
# Check all directory arguments for consistency.
1264
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265
		datadir sysconfdir sharedstatedir localstatedir includedir \
1266
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
1267
		libdir localedir mandir runstatedir
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1268
do
1269
  eval ac_val=\$$ac_var
1270
  # Remove trailing slashes.
1271
  case $ac_val in
1272
    */ )
1273
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274
      eval $ac_var=\$ac_val;;
1275
  esac
1276
  # Be sure to have absolute directory names.
1277
  case $ac_val in
1278
    [\\/$]* | ?:[\\/]* )  continue;;
1279
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280
  esac
1281
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282
done
1283
1284
# There might be people who depend on the old broken behavior: `$host'
1285
# used to hold the argument of --host etc.
1286
# FIXME: To remove some day.
1287
build=$build_alias
1288
host=$host_alias
1289
target=$target_alias
1290
1291
# FIXME: To remove some day.
1292
if test "x$host_alias" != x; then
1293
  if test "x$build_alias" = x; then
1294
    cross_compiling=maybe
1295
  elif test "x$build_alias" != "x$host_alias"; then
1296
    cross_compiling=yes
1297
  fi
1298
fi
1299
1300
ac_tool_prefix=
1301
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302
1303
test "$silent" = yes && exec 6>/dev/null
1304
1305
1306
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307
ac_ls_di=`ls -di .` &&
1308
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309
  as_fn_error $? "working directory cannot be determined"
1310
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311
  as_fn_error $? "pwd does not report name of working directory"
1312
1313
1314
# Find the source files, if location was not specified.
1315
if test -z "$srcdir"; then
1316
  ac_srcdir_defaulted=yes
1317
  # Try the directory containing this script, then the parent directory.
1318
  ac_confdir=`$as_dirname -- "$as_myself" ||
1319
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1321
	 X"$as_myself" : 'X\(//\)$' \| \
1322
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323
$as_echo X"$as_myself" |
1324
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1325
	    s//\1/
1326
	    q
1327
	  }
1328
	  /^X\(\/\/\)[^/].*/{
1329
	    s//\1/
1330
	    q
1331
	  }
1332
	  /^X\(\/\/\)$/{
1333
	    s//\1/
1334
	    q
1335
	  }
1336
	  /^X\(\/\).*/{
1337
	    s//\1/
1338
	    q
1339
	  }
1340
	  s/.*/./; q'`
1341
  srcdir=$ac_confdir
1342
  if test ! -r "$srcdir/$ac_unique_file"; then
1343
    srcdir=..
1344
  fi
1345
else
1346
  ac_srcdir_defaulted=no
1347
fi
1348
if test ! -r "$srcdir/$ac_unique_file"; then
1349
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351
fi
1352
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353
ac_abs_confdir=`(
1354
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355
	pwd)`
1356
# When building in place, set srcdir=.
1357
if test "$ac_abs_confdir" = "$ac_pwd"; then
1358
  srcdir=.
1359
fi
1360
# Remove unnecessary trailing slashes from srcdir.
1361
# Double slashes in file names in object file debugging info
1362
# mess up M-x gdb in Emacs.
1363
case $srcdir in
1364
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365
esac
1366
for ac_var in $ac_precious_vars; do
1367
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368
  eval ac_env_${ac_var}_value=\$${ac_var}
1369
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1371
done
1372
1373
#
1374
# Report the --help message.
1375
#
1376
if test "$ac_init_help" = "long"; then
1377
  # Omit some internal or obsolete options to make the list less imposing.
1378
  # This message is too long to be a string in the A/UX 3.1 sh.
1379
  cat <<_ACEOF
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
1380
\`configure' configures Audio Recorder 3.3.4 to adapt to many kinds of systems.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1381
1382
Usage: $0 [OPTION]... [VAR=VALUE]...
1383
1384
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385
VAR=VALUE.  See below for descriptions of some of the useful variables.
1386
1387
Defaults for the options are specified in brackets.
1388
1389
Configuration:
1390
  -h, --help              display this help and exit
1391
      --help=short        display options specific to this package
1392
      --help=recursive    display the short help of all the included packages
1393
  -V, --version           display version information and exit
1394
  -q, --quiet, --silent   do not print \`checking ...' messages
1395
      --cache-file=FILE   cache test results in FILE [disabled]
1396
  -C, --config-cache      alias for \`--cache-file=config.cache'
1397
  -n, --no-create         do not create output files
1398
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1399
1400
Installation directories:
1401
  --prefix=PREFIX         install architecture-independent files in PREFIX
1402
                          [$ac_default_prefix]
1403
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1404
                          [PREFIX]
1405
1406
By default, \`make install' will install all the files in
1407
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1408
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409
for instance \`--prefix=\$HOME'.
1410
1411
For better control, use the options below.
1412
1413
Fine tuning of the installation directories:
1414
  --bindir=DIR            user executables [EPREFIX/bin]
1415
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1416
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1417
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1418
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1419
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
470.2.12 by Osmo Antero
Version 1.8-0. Recompilation for Ubuntu 16.10.
1420
  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1421
  --libdir=DIR            object code libraries [EPREFIX/lib]
1422
  --includedir=DIR        C header files [PREFIX/include]
1423
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1424
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1425
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1426
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1427
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1428
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1429
  --docdir=DIR            documentation root [DATAROOTDIR/doc/audio-recorder]
1430
  --htmldir=DIR           html documentation [DOCDIR]
1431
  --dvidir=DIR            dvi documentation [DOCDIR]
1432
  --pdfdir=DIR            pdf documentation [DOCDIR]
1433
  --psdir=DIR             ps documentation [DOCDIR]
1434
_ACEOF
1435
1436
  cat <<\_ACEOF
1437
1438
Program names:
1439
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1440
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1441
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1442
_ACEOF
1443
fi
1444
1445
if test -n "$ac_init_help"; then
1446
  case $ac_init_help in
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
1447
     short | recursive ) echo "Configuration of Audio Recorder 3.3.4:";;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1448
   esac
1449
  cat <<\_ACEOF
1450
1451
Optional Features:
1452
  --disable-option-checking  ignore unrecognized --enable/--with options
1453
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1454
  --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.
1455
  --enable-silent-rules   less verbose build output (undo: "make V=1")
1456
  --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.
1457
  --enable-dependency-tracking
1458
                          do not reject slow dependency extractors
1459
  --disable-dependency-tracking
1460
                          speeds up one-time build
1461
  --enable-maintainer-mode
1462
                          enable make rules and dependencies not useful (and
1463
                          sometimes confusing) to the casual installer
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1464
  --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
1465
  --disable-schemas-compile
1466
                          Disable regeneration of gschemas.compiled on install
1467
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1468
Some influential environment variables:
1469
  CC          C compiler command
1470
  CFLAGS      C compiler flags
1471
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1472
              nonstandard directory <lib dir>
1473
  LIBS        libraries to pass to the linker, e.g. -l<library>
1474
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1475
              you have headers in a nonstandard directory <include dir>
1476
  CPP         C preprocessor
1477
  CXX         C++ compiler command
1478
  CXXFLAGS    C++ compiler flags
1479
  PKG_CONFIG  path to pkg-config utility
1480
  PKG_CONFIG_PATH
1481
              directories to add to pkg-config's search path
1482
  PKG_CONFIG_LIBDIR
1483
              path overriding pkg-config's built-in search path
1484
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1485
  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.
1486
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1487
  GIO_LIBS    linker flags for GIO, overriding pkg-config
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1488
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1489
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1490
  GSTREAMER_CFLAGS
1491
              C compiler flags for GSTREAMER, overriding pkg-config
1492
  GSTREAMER_LIBS
1493
              linker flags for GSTREAMER, overriding pkg-config
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
1494
  GSTREAMER_PBUTILS_CFLAGS
1495
              C compiler flags for GSTREAMER_PBUTILS, overriding pkg-config
1496
  GSTREAMER_PBUTILS_LIBS
1497
              linker flags for GSTREAMER_PBUTILS, overriding pkg-config
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1498
  GTHREAD_CFLAGS
1499
              C compiler flags for GTHREAD, overriding pkg-config
1500
  GTHREAD_LIBS
1501
              linker flags for GTHREAD, overriding pkg-config
1502
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1503
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1504
  APP_INDICATOR_CFLAGS
1505
              C compiler flags for APP_INDICATOR, overriding pkg-config
1506
  APP_INDICATOR_LIBS
1507
              linker flags for APP_INDICATOR, overriding pkg-config
1427 by Osmo Antero
Version 3.0.2
1508
  GLIB_COMPILE_SCHEMAS
1509
              value of glib_compile_schemas for gio-2.0, overriding pkg-config
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1510
1511
Use these variables to override the choices made by `configure' or to help
1512
it to find libraries and programs with nonstandard names/locations.
1513
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
1514
Report bugs to <https://bugs.launchpad.net/~audio-recorder>.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1515
_ACEOF
1516
ac_status=$?
1517
fi
1518
1519
if test "$ac_init_help" = "recursive"; then
1520
  # If there are subdirs, report their specific --help.
1521
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522
    test -d "$ac_dir" ||
1523
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524
      continue
1525
    ac_builddir=.
1526
1527
case "$ac_dir" in
1528
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529
*)
1530
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1531
  # A ".." for each directory in $ac_dir_suffix.
1532
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1533
  case $ac_top_builddir_sub in
1534
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1536
  esac ;;
1537
esac
1538
ac_abs_top_builddir=$ac_pwd
1539
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540
# for backward compatibility:
1541
ac_top_builddir=$ac_top_build_prefix
1542
1543
case $srcdir in
1544
  .)  # We are building in place.
1545
    ac_srcdir=.
1546
    ac_top_srcdir=$ac_top_builddir_sub
1547
    ac_abs_top_srcdir=$ac_pwd ;;
1548
  [\\/]* | ?:[\\/]* )  # Absolute name.
1549
    ac_srcdir=$srcdir$ac_dir_suffix;
1550
    ac_top_srcdir=$srcdir
1551
    ac_abs_top_srcdir=$srcdir ;;
1552
  *) # Relative name.
1553
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1555
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556
esac
1557
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558
1559
    cd "$ac_dir" || { ac_status=$?; continue; }
1560
    # Check for guested configure.
1561
    if test -f "$ac_srcdir/configure.gnu"; then
1562
      echo &&
1563
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564
    elif test -f "$ac_srcdir/configure"; then
1565
      echo &&
1566
      $SHELL "$ac_srcdir/configure" --help=recursive
1567
    else
1568
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569
    fi || ac_status=$?
1570
    cd "$ac_pwd" || { ac_status=$?; break; }
1571
  done
1572
fi
1573
1574
test -n "$ac_init_help" && exit $ac_status
1575
if $ac_init_version; then
1576
  cat <<\_ACEOF
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
1577
Audio Recorder configure 3.3.4
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1578
generated by GNU Autoconf 2.69
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1579
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1580
Copyright (C) 2012 Free Software Foundation, Inc.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1581
This configure script is free software; the Free Software Foundation
1582
gives unlimited permission to copy, distribute and modify it.
1583
_ACEOF
1584
  exit
1585
fi
1586
1587
## ------------------------ ##
1588
## Autoconf initialization. ##
1589
## ------------------------ ##
1590
1591
# ac_fn_c_try_compile LINENO
1592
# --------------------------
1593
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1594
ac_fn_c_try_compile ()
1595
{
1596
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597
  rm -f conftest.$ac_objext
1598
  if { { ac_try="$ac_compile"
1599
case "(($ac_try" in
1600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1601
  *) ac_try_echo=$ac_try;;
1602
esac
1603
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604
$as_echo "$ac_try_echo"; } >&5
1605
  (eval "$ac_compile") 2>conftest.err
1606
  ac_status=$?
1607
  if test -s conftest.err; then
1608
    grep -v '^ *+' conftest.err >conftest.er1
1609
    cat conftest.er1 >&5
1610
    mv -f conftest.er1 conftest.err
1611
  fi
1612
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613
  test $ac_status = 0; } && {
1614
	 test -z "$ac_c_werror_flag" ||
1615
	 test ! -s conftest.err
1616
       } && test -s conftest.$ac_objext; then :
1617
  ac_retval=0
1618
else
1619
  $as_echo "$as_me: failed program was:" >&5
1620
sed 's/^/| /' conftest.$ac_ext >&5
1621
1622
	ac_retval=1
1623
fi
56 by Osmo Antero
Version 0.5
1624
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1625
  as_fn_set_status $ac_retval
1626
1627
} # ac_fn_c_try_compile
1628
1629
# ac_fn_c_try_cpp LINENO
1630
# ----------------------
1631
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1632
ac_fn_c_try_cpp ()
1633
{
1634
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1636
case "(($ac_try" in
1637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638
  *) ac_try_echo=$ac_try;;
1639
esac
1640
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641
$as_echo "$ac_try_echo"; } >&5
1642
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643
  ac_status=$?
1644
  if test -s conftest.err; then
1645
    grep -v '^ *+' conftest.err >conftest.er1
1646
    cat conftest.er1 >&5
1647
    mv -f conftest.er1 conftest.err
1648
  fi
1649
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650
  test $ac_status = 0; } > conftest.i && {
1651
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652
	 test ! -s conftest.err
1653
       }; then :
1654
  ac_retval=0
1655
else
1656
  $as_echo "$as_me: failed program was:" >&5
1657
sed 's/^/| /' conftest.$ac_ext >&5
1658
1659
    ac_retval=1
1660
fi
56 by Osmo Antero
Version 0.5
1661
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1662
  as_fn_set_status $ac_retval
1663
1664
} # ac_fn_c_try_cpp
1665
1666
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1667
# -------------------------------------------------------
1668
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1669
# the include files in INCLUDES and setting the cache variable VAR
1670
# accordingly.
1671
ac_fn_c_check_header_mongrel ()
1672
{
1673
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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 "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1677
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1678
  $as_echo_n "(cached) " >&6
1679
fi
1680
eval ac_res=\$$3
1681
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682
$as_echo "$ac_res" >&6; }
1683
else
1684
  # Is the header compilable?
1685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1686
$as_echo_n "checking $2 usability... " >&6; }
1687
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688
/* end confdefs.h.  */
1689
$4
1690
#include <$2>
1691
_ACEOF
1692
if ac_fn_c_try_compile "$LINENO"; then :
1693
  ac_header_compiler=yes
1694
else
1695
  ac_header_compiler=no
1696
fi
1697
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1699
$as_echo "$ac_header_compiler" >&6; }
1700
1701
# Is the header present?
1702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1703
$as_echo_n "checking $2 presence... " >&6; }
1704
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705
/* end confdefs.h.  */
1706
#include <$2>
1707
_ACEOF
1708
if ac_fn_c_try_cpp "$LINENO"; then :
1709
  ac_header_preproc=yes
1710
else
1711
  ac_header_preproc=no
1712
fi
1713
rm -f conftest.err conftest.i conftest.$ac_ext
1714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1715
$as_echo "$ac_header_preproc" >&6; }
1716
1717
# So?  What about this header?
1718
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1719
  yes:no: )
1720
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1721
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1722
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1723
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1724
    ;;
1725
  no:yes:* )
1726
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1727
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1728
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1729
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1730
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1731
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1732
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1733
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1734
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735
$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.
1736
( $as_echo "## --------------------------------------------------------- ##
1737
## Report this to https://bugs.launchpad.net/~audio-recorder ##
1738
## --------------------------------------------------------- ##"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1739
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1740
    ;;
1741
esac
1742
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1744
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1745
  $as_echo_n "(cached) " >&6
1746
else
1747
  eval "$3=\$ac_header_compiler"
1748
fi
1749
eval ac_res=\$$3
1750
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751
$as_echo "$ac_res" >&6; }
1752
fi
56 by Osmo Antero
Version 0.5
1753
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1754
1755
} # ac_fn_c_check_header_mongrel
1756
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
1757
# ac_fn_c_try_run LINENO
1758
# ----------------------
1759
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1760
# that executables *can* be run.
1761
ac_fn_c_try_run ()
1762
{
1763
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764
  if { { ac_try="$ac_link"
1765
case "(($ac_try" in
1766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767
  *) ac_try_echo=$ac_try;;
1768
esac
1769
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770
$as_echo "$ac_try_echo"; } >&5
1771
  (eval "$ac_link") 2>&5
1772
  ac_status=$?
1773
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1775
  { { case "(($ac_try" in
1776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777
  *) ac_try_echo=$ac_try;;
1778
esac
1779
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780
$as_echo "$ac_try_echo"; } >&5
1781
  (eval "$ac_try") 2>&5
1782
  ac_status=$?
1783
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784
  test $ac_status = 0; }; }; then :
1785
  ac_retval=0
1786
else
1787
  $as_echo "$as_me: program exited with status $ac_status" >&5
1788
       $as_echo "$as_me: failed program was:" >&5
1789
sed 's/^/| /' conftest.$ac_ext >&5
1790
1791
       ac_retval=$ac_status
1792
fi
1793
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795
  as_fn_set_status $ac_retval
1796
1797
} # ac_fn_c_try_run
1798
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1799
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800
# -------------------------------------------------------
1801
# Tests whether HEADER exists and can be compiled using the include files in
1802
# INCLUDES, setting the cache variable VAR accordingly.
1803
ac_fn_c_check_header_compile ()
1804
{
1805
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1808
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1809
  $as_echo_n "(cached) " >&6
1810
else
1811
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812
/* end confdefs.h.  */
1813
$4
1814
#include <$2>
1815
_ACEOF
1816
if ac_fn_c_try_compile "$LINENO"; then :
1817
  eval "$3=yes"
1818
else
1819
  eval "$3=no"
1820
fi
1821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1822
fi
1823
eval ac_res=\$$3
1824
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825
$as_echo "$ac_res" >&6; }
56 by Osmo Antero
Version 0.5
1826
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1827
1828
} # ac_fn_c_check_header_compile
1829
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
1830
# ac_fn_cxx_try_compile LINENO
1831
# ----------------------------
1832
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1833
ac_fn_cxx_try_compile ()
1834
{
1835
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836
  rm -f conftest.$ac_objext
1837
  if { { ac_try="$ac_compile"
1838
case "(($ac_try" in
1839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840
  *) ac_try_echo=$ac_try;;
1841
esac
1842
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843
$as_echo "$ac_try_echo"; } >&5
1844
  (eval "$ac_compile") 2>conftest.err
1845
  ac_status=$?
1846
  if test -s conftest.err; then
1847
    grep -v '^ *+' conftest.err >conftest.er1
1848
    cat conftest.er1 >&5
1849
    mv -f conftest.er1 conftest.err
1850
  fi
1851
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852
  test $ac_status = 0; } && {
1853
	 test -z "$ac_cxx_werror_flag" ||
1854
	 test ! -s conftest.err
1855
       } && test -s conftest.$ac_objext; then :
1856
  ac_retval=0
1857
else
1858
  $as_echo "$as_me: failed program was:" >&5
1859
sed 's/^/| /' conftest.$ac_ext >&5
1860
1861
	ac_retval=1
1862
fi
1863
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864
  as_fn_set_status $ac_retval
1865
1866
} # ac_fn_cxx_try_compile
1867
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1868
# ac_fn_c_try_link LINENO
1869
# -----------------------
1870
# Try to link conftest.$ac_ext, and return whether this succeeded.
1871
ac_fn_c_try_link ()
1872
{
1873
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874
  rm -f conftest.$ac_objext conftest$ac_exeext
1875
  if { { ac_try="$ac_link"
1876
case "(($ac_try" in
1877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878
  *) ac_try_echo=$ac_try;;
1879
esac
1880
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881
$as_echo "$ac_try_echo"; } >&5
1882
  (eval "$ac_link") 2>conftest.err
1883
  ac_status=$?
1884
  if test -s conftest.err; then
1885
    grep -v '^ *+' conftest.err >conftest.er1
1886
    cat conftest.er1 >&5
1887
    mv -f conftest.er1 conftest.err
1888
  fi
1889
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890
  test $ac_status = 0; } && {
1891
	 test -z "$ac_c_werror_flag" ||
1892
	 test ! -s conftest.err
1893
       } && test -s conftest$ac_exeext && {
1894
	 test "$cross_compiling" = yes ||
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1895
	 test -x conftest$ac_exeext
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1896
       }; then :
1897
  ac_retval=0
1898
else
1899
  $as_echo "$as_me: failed program was:" >&5
1900
sed 's/^/| /' conftest.$ac_ext >&5
1901
1902
	ac_retval=1
1903
fi
1904
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1905
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1906
  # interfere with the next link command; also delete a directory that is
1907
  # left behind by Apple's compiler.  We do this before executing the actions.
1908
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
56 by Osmo Antero
Version 0.5
1909
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1910
  as_fn_set_status $ac_retval
1911
1912
} # ac_fn_c_try_link
1913
1914
# ac_fn_c_check_func LINENO FUNC VAR
1915
# ----------------------------------
1916
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1917
ac_fn_c_check_func ()
1918
{
1919
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921
$as_echo_n "checking for $2... " >&6; }
56 by Osmo Antero
Version 0.5
1922
if eval \${$3+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1923
  $as_echo_n "(cached) " >&6
1924
else
1925
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926
/* end confdefs.h.  */
1927
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1929
#define $2 innocuous_$2
1930
1931
/* System header to define __stub macros and hopefully few prototypes,
1932
    which can conflict with char $2 (); below.
1933
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934
    <limits.h> exists even on freestanding compilers.  */
1935
1936
#ifdef __STDC__
1937
# include <limits.h>
1938
#else
1939
# include <assert.h>
1940
#endif
1941
1942
#undef $2
1943
1944
/* Override any GCC internal prototype to avoid an error.
1945
   Use char because int might match the return type of a GCC
1946
   builtin and then its argument prototype would still apply.  */
1947
#ifdef __cplusplus
1948
extern "C"
1949
#endif
1950
char $2 ();
1951
/* The GNU C library defines this for functions which it implements
1952
    to always fail with ENOSYS.  Some functions are actually named
1953
    something starting with __ and the normal name is an alias.  */
1954
#if defined __stub_$2 || defined __stub___$2
1955
choke me
1956
#endif
1957
1958
int
1959
main ()
1960
{
1961
return $2 ();
1962
  ;
1963
  return 0;
1964
}
1965
_ACEOF
1966
if ac_fn_c_try_link "$LINENO"; then :
1967
  eval "$3=yes"
1968
else
1969
  eval "$3=no"
1970
fi
1971
rm -f core conftest.err conftest.$ac_objext \
1972
    conftest$ac_exeext conftest.$ac_ext
1973
fi
1974
eval ac_res=\$$3
1975
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976
$as_echo "$ac_res" >&6; }
56 by Osmo Antero
Version 0.5
1977
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1978
1979
} # ac_fn_c_check_func
1980
cat >config.log <<_ACEOF
1981
This file contains any messages produced by compilers while
1982
running configure, to aid debugging if configure makes a mistake.
1983
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
1984
It was created by Audio Recorder $as_me 3.3.4, which was
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
1985
generated by GNU Autoconf 2.69.  Invocation command line was
1 by Osmo Antero Maatta
Initial import 17.jan.2011
1986
1987
  $ $0 $@
1988
1989
_ACEOF
1990
exec 5>>config.log
1991
{
1992
cat <<_ASUNAME
1993
## --------- ##
1994
## Platform. ##
1995
## --------- ##
1996
1997
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1998
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1999
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2000
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2001
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2002
2003
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2004
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2005
2006
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2007
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2008
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2009
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2010
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2011
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2012
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2013
2014
_ASUNAME
2015
2016
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017
for as_dir in $PATH
2018
do
2019
  IFS=$as_save_IFS
2020
  test -z "$as_dir" && as_dir=.
2021
    $as_echo "PATH: $as_dir"
2022
  done
2023
IFS=$as_save_IFS
2024
2025
} >&5
2026
2027
cat >&5 <<_ACEOF
2028
2029
2030
## ----------- ##
2031
## Core tests. ##
2032
## ----------- ##
2033
2034
_ACEOF
2035
2036
2037
# Keep a trace of the command line.
2038
# Strip out --no-create and --no-recursion so they do not pile up.
2039
# Strip out --silent because we don't want to record it for future runs.
2040
# Also quote any args containing shell meta-characters.
2041
# Make two passes to allow for proper duplicate-argument suppression.
2042
ac_configure_args=
2043
ac_configure_args0=
2044
ac_configure_args1=
2045
ac_must_keep_next=false
2046
for ac_pass in 1 2
2047
do
2048
  for ac_arg
2049
  do
2050
    case $ac_arg in
2051
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2052
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2053
    | -silent | --silent | --silen | --sile | --sil)
2054
      continue ;;
2055
    *\'*)
2056
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2057
    esac
2058
    case $ac_pass in
2059
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2060
    2)
2061
      as_fn_append ac_configure_args1 " '$ac_arg'"
2062
      if test $ac_must_keep_next = true; then
2063
	ac_must_keep_next=false # Got value, back to normal.
2064
      else
2065
	case $ac_arg in
2066
	  *=* | --config-cache | -C | -disable-* | --disable-* \
2067
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2068
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2069
	  | -with-* | --with-* | -without-* | --without-* | --x)
2070
	    case "$ac_configure_args0 " in
2071
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2072
	    esac
2073
	    ;;
2074
	  -* ) ac_must_keep_next=true ;;
2075
	esac
2076
      fi
2077
      as_fn_append ac_configure_args " '$ac_arg'"
2078
      ;;
2079
    esac
2080
  done
2081
done
2082
{ ac_configure_args0=; unset ac_configure_args0;}
2083
{ ac_configure_args1=; unset ac_configure_args1;}
2084
2085
# When interrupted or exit'd, cleanup temporary files, and complete
2086
# config.log.  We remove comments because anyway the quotes in there
2087
# would cause problems or look ugly.
2088
# WARNING: Use '\'' to represent an apostrophe within the trap.
2089
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2090
trap 'exit_status=$?
2091
  # Save into config.log some information that might help in debugging.
2092
  {
2093
    echo
2094
2095
    $as_echo "## ---------------- ##
2096
## Cache variables. ##
2097
## ---------------- ##"
2098
    echo
2099
    # The following way of writing the cache mishandles newlines in values,
2100
(
2101
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2102
    eval ac_val=\$$ac_var
2103
    case $ac_val in #(
2104
    *${as_nl}*)
2105
      case $ac_var in #(
2106
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2107
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2108
      esac
2109
      case $ac_var in #(
2110
      _ | IFS | as_nl) ;; #(
2111
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2112
      *) { eval $ac_var=; unset $ac_var;} ;;
2113
      esac ;;
2114
    esac
2115
  done
2116
  (set) 2>&1 |
2117
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2118
    *${as_nl}ac_space=\ *)
2119
      sed -n \
2120
	"s/'\''/'\''\\\\'\'''\''/g;
2121
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2122
      ;; #(
2123
    *)
2124
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2125
      ;;
2126
    esac |
2127
    sort
2128
)
2129
    echo
2130
2131
    $as_echo "## ----------------- ##
2132
## Output variables. ##
2133
## ----------------- ##"
2134
    echo
2135
    for ac_var in $ac_subst_vars
2136
    do
2137
      eval ac_val=\$$ac_var
2138
      case $ac_val in
2139
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2140
      esac
2141
      $as_echo "$ac_var='\''$ac_val'\''"
2142
    done | sort
2143
    echo
2144
2145
    if test -n "$ac_subst_files"; then
2146
      $as_echo "## ------------------- ##
2147
## File substitutions. ##
2148
## ------------------- ##"
2149
      echo
2150
      for ac_var in $ac_subst_files
2151
      do
2152
	eval ac_val=\$$ac_var
2153
	case $ac_val in
2154
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2155
	esac
2156
	$as_echo "$ac_var='\''$ac_val'\''"
2157
      done | sort
2158
      echo
2159
    fi
2160
2161
    if test -s confdefs.h; then
2162
      $as_echo "## ----------- ##
2163
## confdefs.h. ##
2164
## ----------- ##"
2165
      echo
2166
      cat confdefs.h
2167
      echo
2168
    fi
2169
    test "$ac_signal" != 0 &&
2170
      $as_echo "$as_me: caught signal $ac_signal"
2171
    $as_echo "$as_me: exit $exit_status"
2172
  } >&5
2173
  rm -f core *.core core.conftest.* &&
2174
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2175
    exit $exit_status
2176
' 0
2177
for ac_signal in 1 2 13 15; do
2178
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2179
done
2180
ac_signal=0
2181
2182
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2183
rm -f -r conftest* confdefs.h
2184
2185
$as_echo "/* confdefs.h */" > confdefs.h
2186
2187
# Predefined preprocessor variables.
2188
2189
cat >>confdefs.h <<_ACEOF
2190
#define PACKAGE_NAME "$PACKAGE_NAME"
2191
_ACEOF
2192
2193
cat >>confdefs.h <<_ACEOF
2194
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2195
_ACEOF
2196
2197
cat >>confdefs.h <<_ACEOF
2198
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2199
_ACEOF
2200
2201
cat >>confdefs.h <<_ACEOF
2202
#define PACKAGE_STRING "$PACKAGE_STRING"
2203
_ACEOF
2204
2205
cat >>confdefs.h <<_ACEOF
2206
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2207
_ACEOF
2208
2209
cat >>confdefs.h <<_ACEOF
2210
#define PACKAGE_URL "$PACKAGE_URL"
2211
_ACEOF
2212
2213
2214
# Let the site file select an alternate cache file if it wants to.
2215
# Prefer an explicitly selected file to automatically selected ones.
2216
ac_site_file1=NONE
2217
ac_site_file2=NONE
2218
if test -n "$CONFIG_SITE"; then
2219
  # We do not want a PATH search for config.site.
2220
  case $CONFIG_SITE in #((
2221
    -*)  ac_site_file1=./$CONFIG_SITE;;
2222
    */*) ac_site_file1=$CONFIG_SITE;;
2223
    *)   ac_site_file1=./$CONFIG_SITE;;
2224
  esac
2225
elif test "x$prefix" != xNONE; then
2226
  ac_site_file1=$prefix/share/config.site
2227
  ac_site_file2=$prefix/etc/config.site
2228
else
2229
  ac_site_file1=$ac_default_prefix/share/config.site
2230
  ac_site_file2=$ac_default_prefix/etc/config.site
2231
fi
2232
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2233
do
2234
  test "x$ac_site_file" = xNONE && continue
2235
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2236
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2237
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2238
    sed 's/^/| /' "$ac_site_file" >&5
2239
    . "$ac_site_file" \
2240
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2241
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2242
as_fn_error $? "failed to load site script $ac_site_file
56 by Osmo Antero
Version 0.5
2243
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2244
  fi
2245
done
2246
2247
if test -r "$cache_file"; then
2248
  # Some versions of bash will fail to source /dev/null (special files
2249
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2250
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2251
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2252
$as_echo "$as_me: loading cache $cache_file" >&6;}
2253
    case $cache_file in
2254
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2255
      *)                      . "./$cache_file";;
2256
    esac
2257
  fi
2258
else
2259
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2260
$as_echo "$as_me: creating cache $cache_file" >&6;}
2261
  >$cache_file
2262
fi
2263
2264
# Check that the precious variables saved in the cache have kept the same
2265
# value.
2266
ac_cache_corrupted=false
2267
for ac_var in $ac_precious_vars; do
2268
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2269
  eval ac_new_set=\$ac_env_${ac_var}_set
2270
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2271
  eval ac_new_val=\$ac_env_${ac_var}_value
2272
  case $ac_old_set,$ac_new_set in
2273
    set,)
2274
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2275
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2276
      ac_cache_corrupted=: ;;
2277
    ,set)
2278
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2279
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2280
      ac_cache_corrupted=: ;;
2281
    ,);;
2282
    *)
2283
      if test "x$ac_old_val" != "x$ac_new_val"; then
2284
	# differences in whitespace do not lead to failure.
2285
	ac_old_val_w=`echo x $ac_old_val`
2286
	ac_new_val_w=`echo x $ac_new_val`
2287
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2288
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2289
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2290
	  ac_cache_corrupted=:
2291
	else
2292
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2293
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2294
	  eval $ac_var=\$ac_old_val
2295
	fi
2296
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2297
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2298
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2299
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2300
      fi;;
2301
  esac
2302
  # Pass precious variables to config.status.
2303
  if test "$ac_new_set" = set; then
2304
    case $ac_new_val in
2305
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2306
    *) ac_arg=$ac_var=$ac_new_val ;;
2307
    esac
2308
    case " $ac_configure_args " in
2309
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2310
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2311
    esac
2312
  fi
2313
done
2314
if $ac_cache_corrupted; then
2315
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2318
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2319
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2320
fi
2321
## -------------------- ##
2322
## Main body of script. ##
2323
## -------------------- ##
2324
2325
ac_ext=c
2326
ac_cpp='$CPP $CPPFLAGS'
2327
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2328
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2329
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2330
2331
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2332
am__api_version='1.16'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2333
2334
ac_aux_dir=
2335
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2336
  if test -f "$ac_dir/install-sh"; then
2337
    ac_aux_dir=$ac_dir
2338
    ac_install_sh="$ac_aux_dir/install-sh -c"
2339
    break
2340
  elif test -f "$ac_dir/install.sh"; then
2341
    ac_aux_dir=$ac_dir
2342
    ac_install_sh="$ac_aux_dir/install.sh -c"
2343
    break
2344
  elif test -f "$ac_dir/shtool"; then
2345
    ac_aux_dir=$ac_dir
2346
    ac_install_sh="$ac_aux_dir/shtool install -c"
2347
    break
2348
  fi
2349
done
2350
if test -z "$ac_aux_dir"; then
2351
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2352
fi
2353
2354
# These three variables are undocumented and unsupported,
2355
# and are intended to be withdrawn in a future Autoconf release.
2356
# They can cause serious problems if a builder's source tree is in a directory
2357
# whose full name contains unusual characters.
2358
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2359
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2360
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2361
2362
2363
# Find a good install program.  We prefer a C program (faster),
2364
# so one script is as good as another.  But avoid the broken or
2365
# incompatible versions:
2366
# SysV /etc/install, /usr/sbin/install
2367
# SunOS /usr/etc/install
2368
# IRIX /sbin/install
2369
# AIX /bin/install
2370
# AmigaOS /C/install, which installs bootblocks on floppy discs
2371
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2372
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2373
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2374
# OS/2's system install, which has a completely different semantic
2375
# ./install, which can be erroneously created by make from ./install.sh.
2376
# Reject install programs that cannot install multiple files.
2377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2378
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2379
if test -z "$INSTALL"; then
56 by Osmo Antero
Version 0.5
2380
if ${ac_cv_path_install+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2381
  $as_echo_n "(cached) " >&6
2382
else
2383
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384
for as_dir in $PATH
2385
do
2386
  IFS=$as_save_IFS
2387
  test -z "$as_dir" && as_dir=.
2388
    # Account for people who put trailing slashes in PATH elements.
2389
case $as_dir/ in #((
2390
  ./ | .// | /[cC]/* | \
2391
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2392
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2393
  /usr/ucb/* ) ;;
2394
  *)
2395
    # OSF1 and SCO ODT 3.0 have their own names for install.
2396
    # Don't use installbsd from OSF since it installs stuff as root
2397
    # by default.
2398
    for ac_prog in ginstall scoinst install; do
2399
      for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2400
	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2401
	  if test $ac_prog = install &&
2402
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2403
	    # AIX install.  It has an incompatible calling convention.
2404
	    :
2405
	  elif test $ac_prog = install &&
2406
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2407
	    # program-specific install script used by HP pwplus--don't use.
2408
	    :
2409
	  else
2410
	    rm -rf conftest.one conftest.two conftest.dir
2411
	    echo one > conftest.one
2412
	    echo two > conftest.two
2413
	    mkdir conftest.dir
2414
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2415
	      test -s conftest.one && test -s conftest.two &&
2416
	      test -s conftest.dir/conftest.one &&
2417
	      test -s conftest.dir/conftest.two
2418
	    then
2419
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2420
	      break 3
2421
	    fi
2422
	  fi
2423
	fi
2424
      done
2425
    done
2426
    ;;
2427
esac
2428
2429
  done
2430
IFS=$as_save_IFS
2431
2432
rm -rf conftest.one conftest.two conftest.dir
2433
2434
fi
2435
  if test "${ac_cv_path_install+set}" = set; then
2436
    INSTALL=$ac_cv_path_install
2437
  else
2438
    # As a last resort, use the slow shell script.  Don't cache a
2439
    # value for INSTALL within a source directory, because that will
2440
    # break other packages using the cache if that directory is
2441
    # removed, or if the value is a relative name.
2442
    INSTALL=$ac_install_sh
2443
  fi
2444
fi
2445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2446
$as_echo "$INSTALL" >&6; }
2447
2448
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2449
# It thinks the first close brace ends the variable substitution.
2450
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2451
2452
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2453
2454
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2455
2456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2457
$as_echo_n "checking whether build environment is sane... " >&6; }
2458
# Reject unsafe characters in $srcdir or the absolute working directory
2459
# name.  Accept space and tab only in the latter.
2460
am_lf='
2461
'
2462
case `pwd` in
2463
  *[\\\"\#\$\&\'\`$am_lf]*)
56 by Osmo Antero
Version 0.5
2464
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2465
esac
2466
case $srcdir in
2467
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2468
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2469
esac
2470
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2471
# Do 'set' in a subshell so we don't clobber the current shell's
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2472
# arguments.  Must try -L first in case configure is actually a
2473
# symlink; some systems play weird games with the mod time of symlinks
2474
# (eg FreeBSD returns the mod time of the symlink's containing
2475
# directory).
2476
if (
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2477
   am_has_slept=no
2478
   for am_try in 1 2; do
2479
     echo "timestamp, slept: $am_has_slept" > conftest.file
2480
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2481
     if test "$*" = "X"; then
2482
	# -L didn't work.
2483
	set X `ls -t "$srcdir/configure" conftest.file`
2484
     fi
2485
     if test "$*" != "X $srcdir/configure conftest.file" \
2486
	&& test "$*" != "X conftest.file $srcdir/configure"; then
2487
2488
	# If neither matched, then we have a broken ls.  This can happen
2489
	# if, for instance, CONFIG_SHELL is bash and it inherits a
2490
	# broken ls alias from the environment.  This has actually
2491
	# happened.  Such a system could not be considered "sane".
2492
	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2493
  alias in your environment" "$LINENO" 5
2494
     fi
2495
     if test "$2" = conftest.file || test $am_try -eq 2; then
2496
       break
2497
     fi
2498
     # Just in case.
2499
     sleep 1
2500
     am_has_slept=yes
2501
   done
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2502
   test "$2" = conftest.file
2503
   )
2504
then
2505
   # Ok.
2506
   :
2507
else
2508
   as_fn_error $? "newly created file is older than distributed files!
2509
Check your system clock" "$LINENO" 5
2510
fi
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2512
$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.
2513
# If we didn't sleep, we still need to ensure time stamps of config.status and
2514
# generated files are strictly newer.
2515
am_sleep_pid=
2516
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2517
  ( sleep 1 ) &
2518
  am_sleep_pid=$!
2519
fi
2520
2521
rm -f conftest.file
2522
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2523
test "$program_prefix" != NONE &&
2524
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2525
# Use a double $ so make ignores it.
2526
test "$program_suffix" != NONE &&
2527
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2528
# Double any \ or $.
2529
# By default was `s,x,x', remove it if useless.
2530
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2531
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2532
470.2.9 by Osmo Antero
Fixed bug with long file names. Show correct version number in about dialog.
2533
# Expand $ac_aux_dir to an absolute path.
2534
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.
2535
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2536
if test x"${MISSING+set}" != xset; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
2537
  MISSING="\${SHELL} '$am_aux_dir/missing'"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2538
fi
2539
# 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.
2540
if eval "$MISSING --is-lightweight"; then
2541
  am_missing_run="$MISSING "
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2542
else
2543
  am_missing_run=
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2544
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2545
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2546
fi
2547
470.2.9 by Osmo Antero
Fixed bug with long file names. Show correct version number in about dialog.
2548
if test x"${install_sh+set}" != xset; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2549
  case $am_aux_dir in
2550
  *\ * | *\	*)
2551
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2552
  *)
2553
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2554
  esac
2555
fi
2556
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2557
# Installed binaries are usually stripped using 'strip' when the user
2558
# run "make install-strip".  However 'strip' might not be the right
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2559
# 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.
2560
# will honor the 'STRIP' environment variable to overrule this program.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2561
if test "$cross_compiling" != no; then
2562
  if test -n "$ac_tool_prefix"; then
2563
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2564
set dummy ${ac_tool_prefix}strip; ac_word=$2
2565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
2567
if ${ac_cv_prog_STRIP+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2568
  $as_echo_n "(cached) " >&6
2569
else
2570
  if test -n "$STRIP"; then
2571
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2572
else
2573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574
for as_dir in $PATH
2575
do
2576
  IFS=$as_save_IFS
2577
  test -z "$as_dir" && as_dir=.
2578
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2579
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2580
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2581
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582
    break 2
2583
  fi
2584
done
2585
  done
2586
IFS=$as_save_IFS
2587
2588
fi
2589
fi
2590
STRIP=$ac_cv_prog_STRIP
2591
if test -n "$STRIP"; then
2592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2593
$as_echo "$STRIP" >&6; }
2594
else
2595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596
$as_echo "no" >&6; }
2597
fi
2598
2599
2600
fi
2601
if test -z "$ac_cv_prog_STRIP"; then
2602
  ac_ct_STRIP=$STRIP
2603
  # Extract the first word of "strip", so it can be a program name with args.
2604
set dummy strip; ac_word=$2
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
2607
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2608
  $as_echo_n "(cached) " >&6
2609
else
2610
  if test -n "$ac_ct_STRIP"; then
2611
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2612
else
2613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614
for as_dir in $PATH
2615
do
2616
  IFS=$as_save_IFS
2617
  test -z "$as_dir" && as_dir=.
2618
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2619
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2620
    ac_cv_prog_ac_ct_STRIP="strip"
2621
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622
    break 2
2623
  fi
2624
done
2625
  done
2626
IFS=$as_save_IFS
2627
2628
fi
2629
fi
2630
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2631
if test -n "$ac_ct_STRIP"; then
2632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2633
$as_echo "$ac_ct_STRIP" >&6; }
2634
else
2635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
$as_echo "no" >&6; }
2637
fi
2638
2639
  if test "x$ac_ct_STRIP" = x; then
2640
    STRIP=":"
2641
  else
2642
    case $cross_compiling:$ac_tool_warned in
2643
yes:)
2644
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646
ac_tool_warned=yes ;;
2647
esac
2648
    STRIP=$ac_ct_STRIP
2649
  fi
2650
else
2651
  STRIP="$ac_cv_prog_STRIP"
2652
fi
2653
2654
fi
2655
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2656
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2658
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2659
if test -z "$MKDIR_P"; then
56 by Osmo Antero
Version 0.5
2660
  if ${ac_cv_path_mkdir+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2661
  $as_echo_n "(cached) " >&6
2662
else
2663
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2665
do
2666
  IFS=$as_save_IFS
2667
  test -z "$as_dir" && as_dir=.
2668
    for ac_prog in mkdir gmkdir; do
2669
	 for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2670
	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2671
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2672
	     'mkdir (GNU coreutils) '* | \
2673
	     'mkdir (coreutils) '* | \
2674
	     'mkdir (fileutils) '4.1*)
2675
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2676
	       break 3;;
2677
	   esac
2678
	 done
2679
       done
2680
  done
2681
IFS=$as_save_IFS
2682
2683
fi
2684
2685
  test -d ./--version && rmdir ./--version
2686
  if test "${ac_cv_path_mkdir+set}" = set; then
2687
    MKDIR_P="$ac_cv_path_mkdir -p"
2688
  else
2689
    # As a last resort, use the slow shell script.  Don't cache a
2690
    # value for MKDIR_P within a source directory, because that will
2691
    # break other packages using the cache if that directory is
2692
    # removed, or if the value is a relative name.
2693
    MKDIR_P="$ac_install_sh -d"
2694
  fi
2695
fi
2696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2697
$as_echo "$MKDIR_P" >&6; }
2698
2699
for ac_prog in gawk mawk nawk awk
2700
do
2701
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2702
set dummy $ac_prog; ac_word=$2
2703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
2705
if ${ac_cv_prog_AWK+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2706
  $as_echo_n "(cached) " >&6
2707
else
2708
  if test -n "$AWK"; then
2709
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2710
else
2711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712
for as_dir in $PATH
2713
do
2714
  IFS=$as_save_IFS
2715
  test -z "$as_dir" && as_dir=.
2716
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
2717
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2718
    ac_cv_prog_AWK="$ac_prog"
2719
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720
    break 2
2721
  fi
2722
done
2723
  done
2724
IFS=$as_save_IFS
2725
2726
fi
2727
fi
2728
AWK=$ac_cv_prog_AWK
2729
if test -n "$AWK"; then
2730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2731
$as_echo "$AWK" >&6; }
2732
else
2733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734
$as_echo "no" >&6; }
2735
fi
2736
2737
2738
  test -n "$AWK" && break
2739
done
2740
2741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2742
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2743
set x ${MAKE-make}
2744
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
56 by Osmo Antero
Version 0.5
2745
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2746
  $as_echo_n "(cached) " >&6
2747
else
2748
  cat >conftest.make <<\_ACEOF
2749
SHELL = /bin/sh
2750
all:
2751
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2752
_ACEOF
2753
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2754
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2755
  *@@@%%%=?*=@@@%%%*)
2756
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2757
  *)
2758
    eval ac_cv_prog_make_${ac_make}_set=no;;
2759
esac
2760
rm -f conftest.make
2761
fi
2762
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764
$as_echo "yes" >&6; }
2765
  SET_MAKE=
2766
else
2767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768
$as_echo "no" >&6; }
2769
  SET_MAKE="MAKE=${MAKE-make}"
2770
fi
2771
2772
rm -rf .tst 2>/dev/null
2773
mkdir .tst 2>/dev/null
2774
if test -d .tst; then
2775
  am__leading_dot=.
2776
else
2777
  am__leading_dot=_
2778
fi
2779
rmdir .tst 2>/dev/null
2780
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2781
# Check whether --enable-silent-rules was given.
2782
if test "${enable_silent_rules+set}" = set; then :
2783
  enableval=$enable_silent_rules;
2784
fi
2785
2786
case $enable_silent_rules in # (((
2787
  yes) AM_DEFAULT_VERBOSITY=0;;
2788
   no) AM_DEFAULT_VERBOSITY=1;;
2789
    *) AM_DEFAULT_VERBOSITY=1;;
2790
esac
2791
am_make=${MAKE-make}
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2793
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2794
if ${am_cv_make_support_nested_variables+:} false; then :
2795
  $as_echo_n "(cached) " >&6
2796
else
2797
  if $as_echo 'TRUE=$(BAR$(V))
2798
BAR0=false
2799
BAR1=true
2800
V=1
2801
am__doit:
2802
	@$(TRUE)
2803
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2804
  am_cv_make_support_nested_variables=yes
2805
else
2806
  am_cv_make_support_nested_variables=no
2807
fi
2808
fi
2809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2810
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2811
if test $am_cv_make_support_nested_variables = yes; then
2812
    AM_V='$(V)'
2813
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2814
else
2815
  AM_V=$AM_DEFAULT_VERBOSITY
2816
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2817
fi
2818
AM_BACKSLASH='\'
2819
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2820
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2821
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2822
  # is not polluted with repeated "-I."
2823
  am__isrc=' -I$(srcdir)'
2824
  # test to see if srcdir already configured
2825
  if test -f $srcdir/config.status; then
2826
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2827
  fi
2828
fi
2829
2830
# test whether we have cygpath
2831
if test -z "$CYGPATH_W"; then
2832
  if (cygpath --version) >/dev/null 2>/dev/null; then
2833
    CYGPATH_W='cygpath -w'
2834
  else
2835
    CYGPATH_W=echo
2836
  fi
2837
fi
2838
2839
2840
# Define the identity of the package.
2841
 PACKAGE='audio-recorder'
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
2842
 VERSION='3.3.4'
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2843
2844
2845
cat >>confdefs.h <<_ACEOF
2846
#define PACKAGE "$PACKAGE"
2847
_ACEOF
2848
2849
2850
cat >>confdefs.h <<_ACEOF
2851
#define VERSION "$VERSION"
2852
_ACEOF
2853
2854
# Some tools Automake needs.
2855
2856
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857
2858
2859
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2860
2861
2862
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863
2864
2865
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2866
2867
2868
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2869
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2870
# For better backward compatibility.  To be removed once Automake 1.9.x
2871
# 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+
2872
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2873
# <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.
2874
mkdir_p='$(MKDIR_P)'
2875
470.2.9 by Osmo Antero
Fixed bug with long file names. Show correct version number in about dialog.
2876
# We need awk for the "check" target (and possibly the TAP driver).  The
2877
# 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.
2878
# Always define AMTAR for backward compatibility.  Yes, it's still used
2879
# in the wild :-(  We should find a proper way to deprecate it ...
2880
AMTAR='$${TAR-tar}'
2881
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2882
2883
# We'll loop over all known methods to create a tar archive until one works.
2884
_am_tools='gnutar  pax cpio none'
2885
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2886
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2887
2888
2889
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2890
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
2891
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
2892
# Variables for tags utilities; see am/tags.am
2893
if test -z "$CTAGS"; then
2894
  CTAGS=ctags
2895
fi
2896
2897
if test -z "$ETAGS"; then
2898
  ETAGS=etags
2899
fi
2900
2901
if test -z "$CSCOPE"; then
2902
  CSCOPE=cscope
2903
fi
2904
2905
1 by Osmo Antero Maatta
Initial import 17.jan.2011
2906
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
2907
# POSIX will say in a future version that running "rm -f" with no argument
2908
# is OK; and we want to be able to make that assumption in our Makefile
2909
# recipes.  So use an aggressive probe to check that the usage we want is
2910
# actually supported "in the wild" to an acceptable degree.
2911
# See automake bug#10828.
2912
# To make any issue more visible, cause the running configure to be aborted
2913
# by default if the 'rm' program in use doesn't match our expectations; the
2914
# user can still override this though.
2915
if rm -f && rm -fr && rm -rf; then : OK; else
2916
  cat >&2 <<'END'
2917
Oops!
2918
2919
Your 'rm' program seems unable to run without file operands specified
2920
on the command line, even when the '-f' option is present.  This is contrary
2921
to the behaviour of most rm programs out there, and not conforming with
2922
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2923
2924
Please tell bug-automake@gnu.org about your system, including the value
2925
of your $PATH and any error possibly output before this message.  This
2926
can help us improve future automake versions.
2927
2928
END
2929
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2930
    echo 'Configuration will proceed anyway, since you have set the' >&2
2931
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2932
    echo >&2
2933
  else
2934
    cat >&2 <<'END'
2935
Aborting the configuration process, to ensure you take notice of the issue.
2936
2937
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+
2938
that behaves properly: <https://www.gnu.org/software/coreutils/>.
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
2939
2940
If you want to complete the configuration process using your problematic
2941
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2942
to "yes", and re-run configure.
2943
2944
END
2945
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2946
  fi
2947
fi
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
2948
402 by Osmo Antero
Modifications towards version 1.5. Please see ChangeLog file.
2949
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2950
DEPDIR="${am__leading_dot}deps"
2951
2952
ac_config_commands="$ac_config_commands depfiles"
2953
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2955
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
2956
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.
2957
am__doit:
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2958
	@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.
2959
.PHONY: am__doit
2960
END
2961
am__include="#"
2962
am__quote=
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2963
# BSD make does it like this.
2964
echo '.include "confinc.mk" # ignored' > confmf.BSD
2965
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
2966
echo 'include confinc.mk # ignored' > confmf.GNU
2967
_am_result=no
2968
for s in GNU BSD; do
2969
  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2970
   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2971
   ac_status=$?
2972
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973
   (exit $ac_status); }
2974
  case $?:`cat confinc.out 2>/dev/null` in #(
2975
  '0:this is the am__doit target') :
2976
    case $s in #(
2977
  BSD) :
2978
    am__include='.include' am__quote='"' ;; #(
2979
  *) :
2980
    am__include='include' am__quote='' ;;
2981
esac ;; #(
2982
  *) :
2983
     ;;
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
2984
esac
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
2985
  if test "$am__include" != "#"; then
2986
    _am_result="yes ($s style)"
2987
    break
2988
  fi
2989
done
2990
rm -f confinc.* confmf.*
2991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2992
$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.
2993
2994
# Check whether --enable-dependency-tracking was given.
2995
if test "${enable_dependency_tracking+set}" = set; then :
2996
  enableval=$enable_dependency_tracking;
2997
fi
2998
2999
if test "x$enable_dependency_tracking" != xno; then
3000
  am_depcomp="$ac_aux_dir/depcomp"
3001
  AMDEPBACKSLASH='\'
3002
  am__nodep='_no'
3003
fi
3004
 if test "x$enable_dependency_tracking" != xno; then
3005
  AMDEP_TRUE=
3006
  AMDEP_FALSE='#'
3007
else
3008
  AMDEP_TRUE='#'
3009
  AMDEP_FALSE=
3010
fi
3011
3012
3013
ac_ext=c
3014
ac_cpp='$CPP $CPPFLAGS'
3015
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3018
if test -n "$ac_tool_prefix"; then
3019
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3020
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022
$as_echo_n "checking for $ac_word... " >&6; }
3023
if ${ac_cv_prog_CC+:} false; then :
3024
  $as_echo_n "(cached) " >&6
3025
else
3026
  if test -n "$CC"; then
3027
  ac_cv_prog_CC="$CC" # Let the user override the test.
3028
else
3029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030
for as_dir in $PATH
3031
do
3032
  IFS=$as_save_IFS
3033
  test -z "$as_dir" && as_dir=.
3034
    for ac_exec_ext in '' $ac_executable_extensions; do
3035
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3036
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3037
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038
    break 2
3039
  fi
3040
done
3041
  done
3042
IFS=$as_save_IFS
3043
3044
fi
3045
fi
3046
CC=$ac_cv_prog_CC
3047
if test -n "$CC"; then
3048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3049
$as_echo "$CC" >&6; }
3050
else
3051
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052
$as_echo "no" >&6; }
3053
fi
3054
3055
3056
fi
3057
if test -z "$ac_cv_prog_CC"; then
3058
  ac_ct_CC=$CC
3059
  # Extract the first word of "gcc", so it can be a program name with args.
3060
set dummy gcc; ac_word=$2
3061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062
$as_echo_n "checking for $ac_word... " >&6; }
3063
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3064
  $as_echo_n "(cached) " >&6
3065
else
3066
  if test -n "$ac_ct_CC"; then
3067
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3068
else
3069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070
for as_dir in $PATH
3071
do
3072
  IFS=$as_save_IFS
3073
  test -z "$as_dir" && as_dir=.
3074
    for ac_exec_ext in '' $ac_executable_extensions; do
3075
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076
    ac_cv_prog_ac_ct_CC="gcc"
3077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078
    break 2
3079
  fi
3080
done
3081
  done
3082
IFS=$as_save_IFS
3083
3084
fi
3085
fi
3086
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3087
if test -n "$ac_ct_CC"; then
3088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3089
$as_echo "$ac_ct_CC" >&6; }
3090
else
3091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092
$as_echo "no" >&6; }
3093
fi
3094
3095
  if test "x$ac_ct_CC" = x; then
3096
    CC=""
3097
  else
3098
    case $cross_compiling:$ac_tool_warned in
3099
yes:)
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3101
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3102
ac_tool_warned=yes ;;
3103
esac
3104
    CC=$ac_ct_CC
3105
  fi
3106
else
3107
  CC="$ac_cv_prog_CC"
3108
fi
3109
3110
if test -z "$CC"; then
3111
          if test -n "$ac_tool_prefix"; then
3112
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3113
set dummy ${ac_tool_prefix}cc; ac_word=$2
3114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115
$as_echo_n "checking for $ac_word... " >&6; }
3116
if ${ac_cv_prog_CC+:} false; then :
3117
  $as_echo_n "(cached) " >&6
3118
else
3119
  if test -n "$CC"; then
3120
  ac_cv_prog_CC="$CC" # Let the user override the test.
3121
else
3122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3123
for as_dir in $PATH
3124
do
3125
  IFS=$as_save_IFS
3126
  test -z "$as_dir" && as_dir=.
3127
    for ac_exec_ext in '' $ac_executable_extensions; do
3128
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3129
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3130
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131
    break 2
3132
  fi
3133
done
3134
  done
3135
IFS=$as_save_IFS
3136
3137
fi
3138
fi
3139
CC=$ac_cv_prog_CC
3140
if test -n "$CC"; then
3141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142
$as_echo "$CC" >&6; }
3143
else
3144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145
$as_echo "no" >&6; }
3146
fi
3147
3148
3149
  fi
3150
fi
3151
if test -z "$CC"; then
3152
  # Extract the first word of "cc", so it can be a program name with args.
3153
set dummy cc; ac_word=$2
3154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155
$as_echo_n "checking for $ac_word... " >&6; }
3156
if ${ac_cv_prog_CC+:} false; then :
3157
  $as_echo_n "(cached) " >&6
3158
else
3159
  if test -n "$CC"; then
3160
  ac_cv_prog_CC="$CC" # Let the user override the test.
3161
else
3162
  ac_prog_rejected=no
3163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164
for as_dir in $PATH
3165
do
3166
  IFS=$as_save_IFS
3167
  test -z "$as_dir" && as_dir=.
3168
    for ac_exec_ext in '' $ac_executable_extensions; do
3169
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3171
       ac_prog_rejected=yes
3172
       continue
3173
     fi
3174
    ac_cv_prog_CC="cc"
3175
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176
    break 2
3177
  fi
3178
done
3179
  done
3180
IFS=$as_save_IFS
3181
3182
if test $ac_prog_rejected = yes; then
3183
  # We found a bogon in the path, so make sure we never use it.
3184
  set dummy $ac_cv_prog_CC
3185
  shift
3186
  if test $# != 0; then
3187
    # We chose a different compiler from the bogus one.
3188
    # However, it has the same basename, so the bogon will be chosen
3189
    # first if we set CC to just the basename; use the full file name.
3190
    shift
3191
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3192
  fi
3193
fi
3194
fi
3195
fi
3196
CC=$ac_cv_prog_CC
3197
if test -n "$CC"; then
3198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199
$as_echo "$CC" >&6; }
3200
else
3201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202
$as_echo "no" >&6; }
3203
fi
3204
3205
3206
fi
3207
if test -z "$CC"; then
3208
  if test -n "$ac_tool_prefix"; then
3209
  for ac_prog in cl.exe
3210
  do
3211
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3212
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214
$as_echo_n "checking for $ac_word... " >&6; }
3215
if ${ac_cv_prog_CC+:} false; then :
3216
  $as_echo_n "(cached) " >&6
3217
else
3218
  if test -n "$CC"; then
3219
  ac_cv_prog_CC="$CC" # Let the user override the test.
3220
else
3221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222
for as_dir in $PATH
3223
do
3224
  IFS=$as_save_IFS
3225
  test -z "$as_dir" && as_dir=.
3226
    for ac_exec_ext in '' $ac_executable_extensions; do
3227
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3228
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3229
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3230
    break 2
3231
  fi
3232
done
3233
  done
3234
IFS=$as_save_IFS
3235
3236
fi
3237
fi
3238
CC=$ac_cv_prog_CC
3239
if test -n "$CC"; then
3240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3241
$as_echo "$CC" >&6; }
3242
else
3243
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244
$as_echo "no" >&6; }
3245
fi
3246
3247
3248
    test -n "$CC" && break
3249
  done
3250
fi
3251
if test -z "$CC"; then
3252
  ac_ct_CC=$CC
3253
  for ac_prog in cl.exe
3254
do
3255
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3256
set dummy $ac_prog; ac_word=$2
3257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258
$as_echo_n "checking for $ac_word... " >&6; }
3259
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3260
  $as_echo_n "(cached) " >&6
3261
else
3262
  if test -n "$ac_ct_CC"; then
3263
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3264
else
3265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266
for as_dir in $PATH
3267
do
3268
  IFS=$as_save_IFS
3269
  test -z "$as_dir" && as_dir=.
3270
    for ac_exec_ext in '' $ac_executable_extensions; do
3271
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3272
    ac_cv_prog_ac_ct_CC="$ac_prog"
3273
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274
    break 2
3275
  fi
3276
done
3277
  done
3278
IFS=$as_save_IFS
3279
3280
fi
3281
fi
3282
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3283
if test -n "$ac_ct_CC"; then
3284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3285
$as_echo "$ac_ct_CC" >&6; }
3286
else
3287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288
$as_echo "no" >&6; }
3289
fi
3290
3291
3292
  test -n "$ac_ct_CC" && break
3293
done
3294
3295
  if test "x$ac_ct_CC" = x; then
3296
    CC=""
3297
  else
3298
    case $cross_compiling:$ac_tool_warned in
3299
yes:)
3300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3301
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3302
ac_tool_warned=yes ;;
3303
esac
3304
    CC=$ac_ct_CC
3305
  fi
3306
fi
3307
3308
fi
3309
3310
3311
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3312
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313
as_fn_error $? "no acceptable C compiler found in \$PATH
3314
See \`config.log' for more details" "$LINENO" 5; }
3315
3316
# Provide some information about the compiler.
3317
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3318
set X $ac_compile
3319
ac_compiler=$2
3320
for ac_option in --version -v -V -qversion; do
3321
  { { ac_try="$ac_compiler $ac_option >&5"
3322
case "(($ac_try" in
3323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324
  *) ac_try_echo=$ac_try;;
3325
esac
3326
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327
$as_echo "$ac_try_echo"; } >&5
3328
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3329
  ac_status=$?
3330
  if test -s conftest.err; then
3331
    sed '10a\
3332
... rest of stderr output deleted ...
3333
         10q' conftest.err >conftest.er1
3334
    cat conftest.er1 >&5
3335
  fi
3336
  rm -f conftest.er1 conftest.err
3337
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338
  test $ac_status = 0; }
3339
done
3340
3341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342
/* end confdefs.h.  */
3343
3344
int
3345
main ()
3346
{
3347
3348
  ;
3349
  return 0;
3350
}
3351
_ACEOF
3352
ac_clean_files_save=$ac_clean_files
3353
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3354
# Try to create an executable without -o first, disregard a.out.
3355
# It will help us diagnose broken compilers, and finding out an intuition
3356
# of exeext.
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3358
$as_echo_n "checking whether the C compiler works... " >&6; }
3359
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3360
3361
# The possible output files:
3362
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3363
3364
ac_rmfiles=
3365
for ac_file in $ac_files
3366
do
3367
  case $ac_file in
3368
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3369
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3370
  esac
3371
done
3372
rm -f $ac_rmfiles
3373
3374
if { { ac_try="$ac_link_default"
3375
case "(($ac_try" in
3376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377
  *) ac_try_echo=$ac_try;;
3378
esac
3379
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380
$as_echo "$ac_try_echo"; } >&5
3381
  (eval "$ac_link_default") 2>&5
3382
  ac_status=$?
3383
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384
  test $ac_status = 0; }; then :
3385
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3386
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3387
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3388
# so that the user can short-circuit this test for compilers unknown to
3389
# Autoconf.
3390
for ac_file in $ac_files ''
3391
do
3392
  test -f "$ac_file" || continue
3393
  case $ac_file in
3394
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3395
	;;
3396
    [ab].out )
3397
	# We found the default executable, but exeext='' is most
3398
	# certainly right.
3399
	break;;
3400
    *.* )
3401
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3402
	then :; else
3403
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3404
	fi
3405
	# We set ac_cv_exeext here because the later test for it is not
3406
	# safe: cross compilers may not add the suffix if given an `-o'
3407
	# argument, so we may need to know it at that point already.
3408
	# Even if this section looks crufty: it has the advantage of
3409
	# actually working.
3410
	break;;
3411
    * )
3412
	break;;
3413
  esac
3414
done
3415
test "$ac_cv_exeext" = no && ac_cv_exeext=
3416
3417
else
3418
  ac_file=''
3419
fi
3420
if test -z "$ac_file"; then :
3421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422
$as_echo "no" >&6; }
3423
$as_echo "$as_me: failed program was:" >&5
3424
sed 's/^/| /' conftest.$ac_ext >&5
3425
3426
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428
as_fn_error 77 "C compiler cannot create executables
3429
See \`config.log' for more details" "$LINENO" 5; }
3430
else
3431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3432
$as_echo "yes" >&6; }
3433
fi
3434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3435
$as_echo_n "checking for C compiler default output file name... " >&6; }
3436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3437
$as_echo "$ac_file" >&6; }
3438
ac_exeext=$ac_cv_exeext
3439
3440
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3441
ac_clean_files=$ac_clean_files_save
3442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3443
$as_echo_n "checking for suffix of executables... " >&6; }
3444
if { { ac_try="$ac_link"
3445
case "(($ac_try" in
3446
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447
  *) ac_try_echo=$ac_try;;
3448
esac
3449
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3450
$as_echo "$ac_try_echo"; } >&5
3451
  (eval "$ac_link") 2>&5
3452
  ac_status=$?
3453
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3454
  test $ac_status = 0; }; then :
3455
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3456
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3457
# work properly (i.e., refer to `conftest.exe'), while it won't with
3458
# `rm'.
3459
for ac_file in conftest.exe conftest conftest.*; do
3460
  test -f "$ac_file" || continue
3461
  case $ac_file in
3462
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3463
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3464
	  break;;
3465
    * ) break;;
3466
  esac
3467
done
3468
else
3469
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3470
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3472
See \`config.log' for more details" "$LINENO" 5; }
3473
fi
3474
rm -f conftest conftest$ac_cv_exeext
3475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3476
$as_echo "$ac_cv_exeext" >&6; }
3477
3478
rm -f conftest.$ac_ext
3479
EXEEXT=$ac_cv_exeext
3480
ac_exeext=$EXEEXT
3481
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482
/* end confdefs.h.  */
3483
#include <stdio.h>
3484
int
3485
main ()
3486
{
3487
FILE *f = fopen ("conftest.out", "w");
3488
 return ferror (f) || fclose (f) != 0;
3489
3490
  ;
3491
  return 0;
3492
}
3493
_ACEOF
3494
ac_clean_files="$ac_clean_files conftest.out"
3495
# Check that the compiler produces executables we can run.  If not, either
3496
# the compiler is broken, or we cross compile.
3497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3498
$as_echo_n "checking whether we are cross compiling... " >&6; }
3499
if test "$cross_compiling" != yes; then
3500
  { { ac_try="$ac_link"
3501
case "(($ac_try" in
3502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503
  *) ac_try_echo=$ac_try;;
3504
esac
3505
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3506
$as_echo "$ac_try_echo"; } >&5
3507
  (eval "$ac_link") 2>&5
3508
  ac_status=$?
3509
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3510
  test $ac_status = 0; }
3511
  if { ac_try='./conftest$ac_cv_exeext'
3512
  { { case "(($ac_try" in
3513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514
  *) ac_try_echo=$ac_try;;
3515
esac
3516
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517
$as_echo "$ac_try_echo"; } >&5
3518
  (eval "$ac_try") 2>&5
3519
  ac_status=$?
3520
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521
  test $ac_status = 0; }; }; then
3522
    cross_compiling=no
3523
  else
3524
    if test "$cross_compiling" = maybe; then
3525
	cross_compiling=yes
3526
    else
3527
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529
as_fn_error $? "cannot run C compiled programs.
3530
If you meant to cross compile, use \`--host'.
3531
See \`config.log' for more details" "$LINENO" 5; }
3532
    fi
3533
  fi
3534
fi
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3536
$as_echo "$cross_compiling" >&6; }
3537
3538
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3539
ac_clean_files=$ac_clean_files_save
3540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3541
$as_echo_n "checking for suffix of object files... " >&6; }
3542
if ${ac_cv_objext+:} false; then :
3543
  $as_echo_n "(cached) " >&6
3544
else
3545
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546
/* end confdefs.h.  */
3547
3548
int
3549
main ()
3550
{
3551
3552
  ;
3553
  return 0;
3554
}
3555
_ACEOF
3556
rm -f conftest.o conftest.obj
3557
if { { ac_try="$ac_compile"
3558
case "(($ac_try" in
3559
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3560
  *) ac_try_echo=$ac_try;;
3561
esac
3562
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3563
$as_echo "$ac_try_echo"; } >&5
3564
  (eval "$ac_compile") 2>&5
3565
  ac_status=$?
3566
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3567
  test $ac_status = 0; }; then :
3568
  for ac_file in conftest.o conftest.obj conftest.*; do
3569
  test -f "$ac_file" || continue;
3570
  case $ac_file in
3571
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3572
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3573
       break;;
3574
  esac
3575
done
3576
else
3577
  $as_echo "$as_me: failed program was:" >&5
3578
sed 's/^/| /' conftest.$ac_ext >&5
3579
3580
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3581
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3582
as_fn_error $? "cannot compute suffix of object files: cannot compile
3583
See \`config.log' for more details" "$LINENO" 5; }
3584
fi
3585
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3586
fi
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3588
$as_echo "$ac_cv_objext" >&6; }
3589
OBJEXT=$ac_cv_objext
3590
ac_objext=$OBJEXT
3591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3592
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3593
if ${ac_cv_c_compiler_gnu+:} false; then :
3594
  $as_echo_n "(cached) " >&6
3595
else
3596
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597
/* end confdefs.h.  */
3598
3599
int
3600
main ()
3601
{
3602
#ifndef __GNUC__
3603
       choke me
3604
#endif
3605
3606
  ;
3607
  return 0;
3608
}
3609
_ACEOF
3610
if ac_fn_c_try_compile "$LINENO"; then :
3611
  ac_compiler_gnu=yes
3612
else
3613
  ac_compiler_gnu=no
3614
fi
3615
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3617
3618
fi
3619
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3620
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3621
if test $ac_compiler_gnu = yes; then
3622
  GCC=yes
3623
else
3624
  GCC=
3625
fi
3626
ac_test_CFLAGS=${CFLAGS+set}
3627
ac_save_CFLAGS=$CFLAGS
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3629
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3630
if ${ac_cv_prog_cc_g+:} false; then :
3631
  $as_echo_n "(cached) " >&6
3632
else
3633
  ac_save_c_werror_flag=$ac_c_werror_flag
3634
   ac_c_werror_flag=yes
3635
   ac_cv_prog_cc_g=no
3636
   CFLAGS="-g"
3637
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638
/* end confdefs.h.  */
3639
3640
int
3641
main ()
3642
{
3643
3644
  ;
3645
  return 0;
3646
}
3647
_ACEOF
3648
if ac_fn_c_try_compile "$LINENO"; then :
3649
  ac_cv_prog_cc_g=yes
3650
else
3651
  CFLAGS=""
3652
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653
/* end confdefs.h.  */
3654
3655
int
3656
main ()
3657
{
3658
3659
  ;
3660
  return 0;
3661
}
3662
_ACEOF
3663
if ac_fn_c_try_compile "$LINENO"; then :
3664
3665
else
3666
  ac_c_werror_flag=$ac_save_c_werror_flag
3667
	 CFLAGS="-g"
3668
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669
/* end confdefs.h.  */
3670
3671
int
3672
main ()
3673
{
3674
3675
  ;
3676
  return 0;
3677
}
3678
_ACEOF
3679
if ac_fn_c_try_compile "$LINENO"; then :
3680
  ac_cv_prog_cc_g=yes
3681
fi
3682
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683
fi
3684
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685
fi
3686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3687
   ac_c_werror_flag=$ac_save_c_werror_flag
3688
fi
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3690
$as_echo "$ac_cv_prog_cc_g" >&6; }
3691
if test "$ac_test_CFLAGS" = set; then
3692
  CFLAGS=$ac_save_CFLAGS
3693
elif test $ac_cv_prog_cc_g = yes; then
3694
  if test "$GCC" = yes; then
3695
    CFLAGS="-g -O2"
3696
  else
3697
    CFLAGS="-g"
3698
  fi
3699
else
3700
  if test "$GCC" = yes; then
3701
    CFLAGS="-O2"
3702
  else
3703
    CFLAGS=
3704
  fi
3705
fi
3706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3707
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3708
if ${ac_cv_prog_cc_c89+:} false; then :
3709
  $as_echo_n "(cached) " >&6
3710
else
3711
  ac_cv_prog_cc_c89=no
3712
ac_save_CC=$CC
3713
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3714
/* end confdefs.h.  */
3715
#include <stdarg.h>
3716
#include <stdio.h>
3717
struct stat;
3718
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3719
struct buf { int x; };
3720
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3721
static char *e (p, i)
3722
     char **p;
3723
     int i;
3724
{
3725
  return p[i];
3726
}
3727
static char *f (char * (*g) (char **, int), char **p, ...)
3728
{
3729
  char *s;
3730
  va_list v;
3731
  va_start (v,p);
3732
  s = g (p, va_arg (v,int));
3733
  va_end (v);
3734
  return s;
3735
}
3736
3737
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3738
   function prototypes and stuff, but not '\xHH' hex character constants.
3739
   These don't provoke an error unfortunately, instead are silently treated
3740
   as 'x'.  The following induces an error, until -std is added to get
3741
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3742
   array size at least.  It's necessary to write '\x00'==0 to get something
3743
   that's true only with -std.  */
3744
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3745
3746
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3747
   inside strings and character constants.  */
3748
#define FOO(x) 'x'
3749
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3750
3751
int test (int i, double x);
3752
struct s1 {int (*f) (int a);};
3753
struct s2 {int (*f) (double a);};
3754
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3755
int argc;
3756
char **argv;
3757
int
3758
main ()
3759
{
3760
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3761
  ;
3762
  return 0;
3763
}
3764
_ACEOF
3765
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3766
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3767
do
3768
  CC="$ac_save_CC $ac_arg"
3769
  if ac_fn_c_try_compile "$LINENO"; then :
3770
  ac_cv_prog_cc_c89=$ac_arg
3771
fi
3772
rm -f core conftest.err conftest.$ac_objext
3773
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3774
done
3775
rm -f conftest.$ac_ext
3776
CC=$ac_save_CC
3777
3778
fi
3779
# AC_CACHE_VAL
3780
case "x$ac_cv_prog_cc_c89" in
3781
  x)
3782
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3783
$as_echo "none needed" >&6; } ;;
3784
  xno)
3785
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3786
$as_echo "unsupported" >&6; } ;;
3787
  *)
3788
    CC="$CC $ac_cv_prog_cc_c89"
3789
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3790
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3791
esac
3792
if test "x$ac_cv_prog_cc_c89" != xno; then :
3793
3794
fi
3795
3796
ac_ext=c
3797
ac_cpp='$CPP $CPPFLAGS'
3798
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3799
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3800
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801
3802
ac_ext=c
3803
ac_cpp='$CPP $CPPFLAGS'
3804
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3805
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3806
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3808
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3809
if ${am_cv_prog_cc_c_o+:} false; then :
3810
  $as_echo_n "(cached) " >&6
3811
else
3812
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813
/* end confdefs.h.  */
3814
3815
int
3816
main ()
3817
{
3818
3819
  ;
3820
  return 0;
3821
}
3822
_ACEOF
3823
  # Make sure it works both with $CC and with simple cc.
3824
  # Following AC_PROG_CC_C_O, we do the test twice because some
3825
  # compilers refuse to overwrite an existing .o file with -o,
3826
  # though they will create one.
3827
  am_cv_prog_cc_c_o=yes
3828
  for am_i in 1 2; do
3829
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3830
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3831
   ac_status=$?
3832
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833
   (exit $ac_status); } \
3834
         && test -f conftest2.$ac_objext; then
3835
      : OK
3836
    else
3837
      am_cv_prog_cc_c_o=no
3838
      break
3839
    fi
3840
  done
3841
  rm -f core conftest*
3842
  unset am_i
3843
fi
3844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3845
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3846
if test "$am_cv_prog_cc_c_o" != yes; then
3847
   # Losing compiler, so override with the script.
3848
   # FIXME: It is wrong to rewrite CC.
3849
   # But if we don't then we get into trouble of one sort or another.
3850
   # A longer-term fix would be to have automake use am__CC in this case,
3851
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3852
   CC="$am_aux_dir/compile $CC"
3853
fi
3854
ac_ext=c
3855
ac_cpp='$CPP $CPPFLAGS'
3856
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3857
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3858
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3859
3860
3861
depcc="$CC"   am_compiler_list=
3862
3863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3864
$as_echo_n "checking dependency style of $depcc... " >&6; }
3865
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3866
  $as_echo_n "(cached) " >&6
3867
else
3868
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3869
  # We make a subdir and do the tests there.  Otherwise we can end up
3870
  # making bogus files that we don't know about and never remove.  For
3871
  # instance it was reported that on HP-UX the gcc test will end up
3872
  # making a dummy file named 'D' -- because '-MD' means "put the output
3873
  # in D".
3874
  rm -rf conftest.dir
3875
  mkdir conftest.dir
3876
  # Copy depcomp to subdir because otherwise we won't find it if we're
3877
  # using a relative directory.
3878
  cp "$am_depcomp" conftest.dir
3879
  cd conftest.dir
3880
  # We will build objects and dependencies in a subdirectory because
3881
  # it helps to detect inapplicable dependency modes.  For instance
3882
  # both Tru64's cc and ICC support -MD to output dependencies as a
3883
  # side effect of compilation, but ICC will put the dependencies in
3884
  # the current directory while Tru64 will put them in the object
3885
  # directory.
3886
  mkdir sub
3887
3888
  am_cv_CC_dependencies_compiler_type=none
3889
  if test "$am_compiler_list" = ""; then
3890
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3891
  fi
3892
  am__universal=false
3893
  case " $depcc " in #(
3894
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3895
     esac
3896
3897
  for depmode in $am_compiler_list; do
3898
    # Setup a source with many dependencies, because some compilers
3899
    # like to wrap large dependency lists on column 80 (with \), and
3900
    # we should not choose a depcomp mode which is confused by this.
3901
    #
3902
    # We need to recreate these files for each test, as the compiler may
3903
    # overwrite some of them when testing with obscure command lines.
3904
    # This happens at least with the AIX C compiler.
3905
    : > sub/conftest.c
3906
    for i in 1 2 3 4 5 6; do
3907
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3908
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3909
      # Solaris 10 /bin/sh.
3910
      echo '/* dummy */' > sub/conftst$i.h
3911
    done
3912
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3913
3914
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3915
    # mode.  It turns out that the SunPro C++ compiler does not properly
3916
    # handle '-M -o', and we need to detect this.  Also, some Intel
3917
    # versions had trouble with output in subdirs.
3918
    am__obj=sub/conftest.${OBJEXT-o}
3919
    am__minus_obj="-o $am__obj"
3920
    case $depmode in
3921
    gcc)
3922
      # This depmode causes a compiler race in universal mode.
3923
      test "$am__universal" = false || continue
3924
      ;;
3925
    nosideeffect)
3926
      # After this tag, mechanisms are not by side-effect, so they'll
3927
      # only be used when explicitly requested.
3928
      if test "x$enable_dependency_tracking" = xyes; then
3929
	continue
3930
      else
3931
	break
3932
      fi
3933
      ;;
3934
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3935
      # This compiler won't grok '-c -o', but also, the minuso test has
3936
      # not run yet.  These depmodes are late enough in the game, and
3937
      # so weak that their functioning should not be impacted.
3938
      am__obj=conftest.${OBJEXT-o}
3939
      am__minus_obj=
3940
      ;;
3941
    none) break ;;
3942
    esac
3943
    if depmode=$depmode \
3944
       source=sub/conftest.c object=$am__obj \
3945
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3946
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3947
         >/dev/null 2>conftest.err &&
3948
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3949
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3950
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3951
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3952
      # icc doesn't choke on unknown options, it will just issue warnings
3953
      # or remarks (even with -Werror).  So we grep stderr for any message
3954
      # that says an option was ignored or not supported.
3955
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3956
      #   icc: Command line warning: ignoring option '-M'; no argument required
3957
      # The diagnosis changed in icc 8.0:
3958
      #   icc: Command line remark: option '-MP' not supported
3959
      if (grep 'ignoring option' conftest.err ||
3960
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3961
        am_cv_CC_dependencies_compiler_type=$depmode
3962
        break
3963
      fi
3964
    fi
3965
  done
3966
3967
  cd ..
3968
  rm -rf conftest.dir
3969
else
3970
  am_cv_CC_dependencies_compiler_type=none
3971
fi
3972
3973
fi
3974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3975
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3976
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3977
3978
 if
3979
  test "x$enable_dependency_tracking" != xno \
3980
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3981
  am__fastdepCC_TRUE=
3982
  am__fastdepCC_FALSE='#'
3983
else
3984
  am__fastdepCC_TRUE='#'
3985
  am__fastdepCC_FALSE=
3986
fi
3987
3988
3989
3990
ac_ext=c
3991
ac_cpp='$CPP $CPPFLAGS'
3992
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3996
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3997
# On Suns, sometimes $CPP names a directory.
3998
if test -n "$CPP" && test -d "$CPP"; then
3999
  CPP=
4000
fi
4001
if test -z "$CPP"; then
4002
  if ${ac_cv_prog_CPP+:} false; then :
4003
  $as_echo_n "(cached) " >&6
4004
else
4005
      # Double quotes because CPP needs to be expanded
4006
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4007
    do
4008
      ac_preproc_ok=false
4009
for ac_c_preproc_warn_flag in '' yes
4010
do
4011
  # Use a header file that comes with gcc, so configuring glibc
4012
  # with a fresh cross-compiler works.
4013
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4014
  # <limits.h> exists even on freestanding compilers.
4015
  # On the NeXT, cc -E runs the code through the compiler's parser,
4016
  # not just through cpp. "Syntax error" is here to catch this case.
4017
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018
/* end confdefs.h.  */
4019
#ifdef __STDC__
4020
# include <limits.h>
4021
#else
4022
# include <assert.h>
4023
#endif
4024
		     Syntax error
4025
_ACEOF
4026
if ac_fn_c_try_cpp "$LINENO"; then :
4027
4028
else
4029
  # Broken: fails on valid input.
4030
continue
4031
fi
4032
rm -f conftest.err conftest.i conftest.$ac_ext
4033
4034
  # OK, works on sane cases.  Now check whether nonexistent headers
4035
  # can be detected and how.
4036
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037
/* end confdefs.h.  */
4038
#include <ac_nonexistent.h>
4039
_ACEOF
4040
if ac_fn_c_try_cpp "$LINENO"; then :
4041
  # Broken: success on invalid input.
4042
continue
4043
else
4044
  # Passes both tests.
4045
ac_preproc_ok=:
4046
break
4047
fi
4048
rm -f conftest.err conftest.i conftest.$ac_ext
4049
4050
done
4051
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4052
rm -f conftest.i conftest.err conftest.$ac_ext
4053
if $ac_preproc_ok; then :
4054
  break
4055
fi
4056
4057
    done
4058
    ac_cv_prog_CPP=$CPP
4059
4060
fi
4061
  CPP=$ac_cv_prog_CPP
4062
else
4063
  ac_cv_prog_CPP=$CPP
4064
fi
4065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4066
$as_echo "$CPP" >&6; }
4067
ac_preproc_ok=false
4068
for ac_c_preproc_warn_flag in '' yes
4069
do
4070
  # Use a header file that comes with gcc, so configuring glibc
4071
  # with a fresh cross-compiler works.
4072
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4073
  # <limits.h> exists even on freestanding compilers.
4074
  # On the NeXT, cc -E runs the code through the compiler's parser,
4075
  # not just through cpp. "Syntax error" is here to catch this case.
4076
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077
/* end confdefs.h.  */
4078
#ifdef __STDC__
4079
# include <limits.h>
4080
#else
4081
# include <assert.h>
4082
#endif
4083
		     Syntax error
4084
_ACEOF
4085
if ac_fn_c_try_cpp "$LINENO"; then :
4086
4087
else
4088
  # Broken: fails on valid input.
4089
continue
4090
fi
4091
rm -f conftest.err conftest.i conftest.$ac_ext
4092
4093
  # OK, works on sane cases.  Now check whether nonexistent headers
4094
  # can be detected and how.
4095
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096
/* end confdefs.h.  */
4097
#include <ac_nonexistent.h>
4098
_ACEOF
4099
if ac_fn_c_try_cpp "$LINENO"; then :
4100
  # Broken: success on invalid input.
4101
continue
4102
else
4103
  # Passes both tests.
4104
ac_preproc_ok=:
4105
break
4106
fi
4107
rm -f conftest.err conftest.i conftest.$ac_ext
4108
4109
done
4110
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4111
rm -f conftest.i conftest.err conftest.$ac_ext
4112
if $ac_preproc_ok; then :
4113
4114
else
4115
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4118
See \`config.log' for more details" "$LINENO" 5; }
4119
fi
4120
4121
ac_ext=c
4122
ac_cpp='$CPP $CPPFLAGS'
4123
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126
4127
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4129
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4130
if ${ac_cv_path_GREP+:} false; then :
4131
  $as_echo_n "(cached) " >&6
4132
else
4133
  if test -z "$GREP"; then
4134
  ac_path_GREP_found=false
4135
  # Loop through the user's path and test for each of PROGNAME-LIST
4136
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4138
do
4139
  IFS=$as_save_IFS
4140
  test -z "$as_dir" && as_dir=.
4141
    for ac_prog in grep ggrep; do
4142
    for ac_exec_ext in '' $ac_executable_extensions; do
4143
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4144
      as_fn_executable_p "$ac_path_GREP" || continue
4145
# Check for GNU ac_path_GREP and select it if it is found.
4146
  # Check for GNU $ac_path_GREP
4147
case `"$ac_path_GREP" --version 2>&1` in
4148
*GNU*)
4149
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4150
*)
4151
  ac_count=0
4152
  $as_echo_n 0123456789 >"conftest.in"
4153
  while :
4154
  do
4155
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4156
    mv "conftest.tmp" "conftest.in"
4157
    cp "conftest.in" "conftest.nl"
4158
    $as_echo 'GREP' >> "conftest.nl"
4159
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4160
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4161
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4162
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4163
      # Best one so far, save it but keep looking for a better one
4164
      ac_cv_path_GREP="$ac_path_GREP"
4165
      ac_path_GREP_max=$ac_count
4166
    fi
4167
    # 10*(2^10) chars as input seems more than enough
4168
    test $ac_count -gt 10 && break
4169
  done
4170
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4171
esac
4172
4173
      $ac_path_GREP_found && break 3
4174
    done
4175
  done
4176
  done
4177
IFS=$as_save_IFS
4178
  if test -z "$ac_cv_path_GREP"; then
4179
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4180
  fi
4181
else
4182
  ac_cv_path_GREP=$GREP
4183
fi
4184
4185
fi
4186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4187
$as_echo "$ac_cv_path_GREP" >&6; }
4188
 GREP="$ac_cv_path_GREP"
4189
4190
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4192
$as_echo_n "checking for egrep... " >&6; }
4193
if ${ac_cv_path_EGREP+:} false; then :
4194
  $as_echo_n "(cached) " >&6
4195
else
4196
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4197
   then ac_cv_path_EGREP="$GREP -E"
4198
   else
4199
     if test -z "$EGREP"; then
4200
  ac_path_EGREP_found=false
4201
  # Loop through the user's path and test for each of PROGNAME-LIST
4202
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4204
do
4205
  IFS=$as_save_IFS
4206
  test -z "$as_dir" && as_dir=.
4207
    for ac_prog in egrep; do
4208
    for ac_exec_ext in '' $ac_executable_extensions; do
4209
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4210
      as_fn_executable_p "$ac_path_EGREP" || continue
4211
# Check for GNU ac_path_EGREP and select it if it is found.
4212
  # Check for GNU $ac_path_EGREP
4213
case `"$ac_path_EGREP" --version 2>&1` in
4214
*GNU*)
4215
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4216
*)
4217
  ac_count=0
4218
  $as_echo_n 0123456789 >"conftest.in"
4219
  while :
4220
  do
4221
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4222
    mv "conftest.tmp" "conftest.in"
4223
    cp "conftest.in" "conftest.nl"
4224
    $as_echo 'EGREP' >> "conftest.nl"
4225
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4228
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4229
      # Best one so far, save it but keep looking for a better one
4230
      ac_cv_path_EGREP="$ac_path_EGREP"
4231
      ac_path_EGREP_max=$ac_count
4232
    fi
4233
    # 10*(2^10) chars as input seems more than enough
4234
    test $ac_count -gt 10 && break
4235
  done
4236
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4237
esac
4238
4239
      $ac_path_EGREP_found && break 3
4240
    done
4241
  done
4242
  done
4243
IFS=$as_save_IFS
4244
  if test -z "$ac_cv_path_EGREP"; then
4245
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4246
  fi
4247
else
4248
  ac_cv_path_EGREP=$EGREP
4249
fi
4250
4251
   fi
4252
fi
4253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4254
$as_echo "$ac_cv_path_EGREP" >&6; }
4255
 EGREP="$ac_cv_path_EGREP"
4256
4257
4258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4259
$as_echo_n "checking for ANSI C header files... " >&6; }
4260
if ${ac_cv_header_stdc+:} false; then :
4261
  $as_echo_n "(cached) " >&6
4262
else
4263
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264
/* end confdefs.h.  */
4265
#include <stdlib.h>
4266
#include <stdarg.h>
4267
#include <string.h>
4268
#include <float.h>
4269
4270
int
4271
main ()
4272
{
4273
4274
  ;
4275
  return 0;
4276
}
4277
_ACEOF
4278
if ac_fn_c_try_compile "$LINENO"; then :
4279
  ac_cv_header_stdc=yes
4280
else
4281
  ac_cv_header_stdc=no
4282
fi
4283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284
4285
if test $ac_cv_header_stdc = yes; then
4286
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4287
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288
/* end confdefs.h.  */
4289
#include <string.h>
4290
4291
_ACEOF
4292
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4293
  $EGREP "memchr" >/dev/null 2>&1; then :
4294
4295
else
4296
  ac_cv_header_stdc=no
4297
fi
4298
rm -f conftest*
4299
4300
fi
4301
4302
if test $ac_cv_header_stdc = yes; then
4303
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4304
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305
/* end confdefs.h.  */
4306
#include <stdlib.h>
4307
4308
_ACEOF
4309
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4310
  $EGREP "free" >/dev/null 2>&1; then :
4311
4312
else
4313
  ac_cv_header_stdc=no
4314
fi
4315
rm -f conftest*
4316
4317
fi
4318
4319
if test $ac_cv_header_stdc = yes; then
4320
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4321
  if test "$cross_compiling" = yes; then :
4322
  :
4323
else
4324
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325
/* end confdefs.h.  */
4326
#include <ctype.h>
4327
#include <stdlib.h>
4328
#if ((' ' & 0x0FF) == 0x020)
4329
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4330
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4331
#else
4332
# define ISLOWER(c) \
4333
		   (('a' <= (c) && (c) <= 'i') \
4334
		     || ('j' <= (c) && (c) <= 'r') \
4335
		     || ('s' <= (c) && (c) <= 'z'))
4336
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4337
#endif
4338
4339
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4340
int
4341
main ()
4342
{
4343
  int i;
4344
  for (i = 0; i < 256; i++)
4345
    if (XOR (islower (i), ISLOWER (i))
4346
	|| toupper (i) != TOUPPER (i))
4347
      return 2;
4348
  return 0;
4349
}
4350
_ACEOF
4351
if ac_fn_c_try_run "$LINENO"; then :
4352
4353
else
4354
  ac_cv_header_stdc=no
4355
fi
4356
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4357
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4358
fi
4359
4360
fi
4361
fi
4362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4363
$as_echo "$ac_cv_header_stdc" >&6; }
4364
if test $ac_cv_header_stdc = yes; then
4365
4366
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4367
4368
fi
4369
4370
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4371
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4372
		  inttypes.h stdint.h unistd.h
4373
do :
4374
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4375
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4376
"
4377
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4378
  cat >>confdefs.h <<_ACEOF
4379
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4380
_ACEOF
4381
4382
fi
4383
4384
done
4385
4386
4387
4388
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4389
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4390
  MINIX=yes
4391
else
4392
  MINIX=
4393
fi
4394
4395
4396
  if test "$MINIX" = yes; then
4397
4398
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4399
4400
4401
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4402
4403
4404
$as_echo "#define _MINIX 1" >>confdefs.h
4405
4406
  fi
4407
4408
4409
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4410
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4411
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4412
  $as_echo_n "(cached) " >&6
4413
else
4414
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415
/* end confdefs.h.  */
4416
4417
#         define __EXTENSIONS__ 1
4418
          $ac_includes_default
4419
int
4420
main ()
4421
{
4422
4423
  ;
4424
  return 0;
4425
}
4426
_ACEOF
4427
if ac_fn_c_try_compile "$LINENO"; then :
4428
  ac_cv_safe_to_define___extensions__=yes
4429
else
4430
  ac_cv_safe_to_define___extensions__=no
4431
fi
4432
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4433
fi
4434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4435
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4436
  test $ac_cv_safe_to_define___extensions__ = yes &&
4437
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4438
4439
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4440
4441
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4442
4443
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4444
4445
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4446
4447
4448
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
4449
#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.
4450
4451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4452
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4453
    # Check whether --enable-maintainer-mode was given.
4454
if test "${enable_maintainer_mode+set}" = set; then :
4455
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4456
else
4457
  USE_MAINTAINER_MODE=no
4458
fi
4459
4460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4461
$as_echo "$USE_MAINTAINER_MODE" >&6; }
4462
   if test $USE_MAINTAINER_MODE = yes; then
4463
  MAINTAINER_MODE_TRUE=
4464
  MAINTAINER_MODE_FALSE='#'
4465
else
4466
  MAINTAINER_MODE_TRUE='#'
4467
  MAINTAINER_MODE_FALSE=
4468
fi
4469
4470
  MAINT=$MAINTAINER_MODE_TRUE
4471
4472
4473
4474
# ============== basic compiler settings ============= #
1 by Osmo Antero Maatta
Initial import 17.jan.2011
4475
ac_ext=c
4476
ac_cpp='$CPP $CPPFLAGS'
4477
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479
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.
4480
if test -n "$ac_tool_prefix"; then
4481
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4482
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484
$as_echo_n "checking for $ac_word... " >&6; }
4485
if ${ac_cv_prog_CC+:} false; then :
4486
  $as_echo_n "(cached) " >&6
4487
else
4488
  if test -n "$CC"; then
4489
  ac_cv_prog_CC="$CC" # Let the user override the test.
4490
else
4491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492
for as_dir in $PATH
4493
do
4494
  IFS=$as_save_IFS
4495
  test -z "$as_dir" && as_dir=.
4496
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4497
  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.
4498
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4499
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500
    break 2
4501
  fi
4502
done
4503
  done
4504
IFS=$as_save_IFS
4505
4506
fi
4507
fi
4508
CC=$ac_cv_prog_CC
4509
if test -n "$CC"; then
4510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4511
$as_echo "$CC" >&6; }
4512
else
4513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514
$as_echo "no" >&6; }
4515
fi
4516
4517
4518
fi
4519
if test -z "$ac_cv_prog_CC"; then
4520
  ac_ct_CC=$CC
4521
  # Extract the first word of "gcc", so it can be a program name with args.
4522
set dummy gcc; ac_word=$2
4523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524
$as_echo_n "checking for $ac_word... " >&6; }
4525
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4526
  $as_echo_n "(cached) " >&6
4527
else
4528
  if test -n "$ac_ct_CC"; then
4529
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4530
else
4531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532
for as_dir in $PATH
4533
do
4534
  IFS=$as_save_IFS
4535
  test -z "$as_dir" && as_dir=.
4536
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4537
  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.
4538
    ac_cv_prog_ac_ct_CC="gcc"
4539
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540
    break 2
4541
  fi
4542
done
4543
  done
4544
IFS=$as_save_IFS
4545
4546
fi
4547
fi
4548
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4549
if test -n "$ac_ct_CC"; then
4550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4551
$as_echo "$ac_ct_CC" >&6; }
4552
else
4553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554
$as_echo "no" >&6; }
4555
fi
4556
4557
  if test "x$ac_ct_CC" = x; then
4558
    CC=""
4559
  else
4560
    case $cross_compiling:$ac_tool_warned in
4561
yes:)
4562
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564
ac_tool_warned=yes ;;
4565
esac
4566
    CC=$ac_ct_CC
4567
  fi
4568
else
4569
  CC="$ac_cv_prog_CC"
4570
fi
4571
4572
if test -z "$CC"; then
4573
          if test -n "$ac_tool_prefix"; then
4574
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4575
set dummy ${ac_tool_prefix}cc; ac_word=$2
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577
$as_echo_n "checking for $ac_word... " >&6; }
4578
if ${ac_cv_prog_CC+:} false; then :
4579
  $as_echo_n "(cached) " >&6
4580
else
4581
  if test -n "$CC"; then
4582
  ac_cv_prog_CC="$CC" # Let the user override the test.
4583
else
4584
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585
for as_dir in $PATH
4586
do
4587
  IFS=$as_save_IFS
4588
  test -z "$as_dir" && as_dir=.
4589
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4590
  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.
4591
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4592
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593
    break 2
4594
  fi
4595
done
4596
  done
4597
IFS=$as_save_IFS
4598
4599
fi
4600
fi
4601
CC=$ac_cv_prog_CC
4602
if test -n "$CC"; then
4603
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4604
$as_echo "$CC" >&6; }
4605
else
4606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607
$as_echo "no" >&6; }
4608
fi
4609
4610
4611
  fi
4612
fi
4613
if test -z "$CC"; then
4614
  # Extract the first word of "cc", so it can be a program name with args.
4615
set dummy cc; ac_word=$2
4616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617
$as_echo_n "checking for $ac_word... " >&6; }
4618
if ${ac_cv_prog_CC+:} false; then :
4619
  $as_echo_n "(cached) " >&6
4620
else
4621
  if test -n "$CC"; then
4622
  ac_cv_prog_CC="$CC" # Let the user override the test.
4623
else
4624
  ac_prog_rejected=no
4625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626
for as_dir in $PATH
4627
do
4628
  IFS=$as_save_IFS
4629
  test -z "$as_dir" && as_dir=.
4630
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4631
  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.
4632
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4633
       ac_prog_rejected=yes
4634
       continue
4635
     fi
4636
    ac_cv_prog_CC="cc"
4637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638
    break 2
4639
  fi
4640
done
4641
  done
4642
IFS=$as_save_IFS
4643
4644
if test $ac_prog_rejected = yes; then
4645
  # We found a bogon in the path, so make sure we never use it.
4646
  set dummy $ac_cv_prog_CC
4647
  shift
4648
  if test $# != 0; then
4649
    # We chose a different compiler from the bogus one.
4650
    # However, it has the same basename, so the bogon will be chosen
4651
    # first if we set CC to just the basename; use the full file name.
4652
    shift
4653
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4654
  fi
4655
fi
4656
fi
4657
fi
4658
CC=$ac_cv_prog_CC
4659
if test -n "$CC"; then
4660
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4661
$as_echo "$CC" >&6; }
4662
else
4663
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664
$as_echo "no" >&6; }
4665
fi
4666
4667
4668
fi
4669
if test -z "$CC"; then
4670
  if test -n "$ac_tool_prefix"; then
4671
  for ac_prog in cl.exe
4672
  do
4673
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4674
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676
$as_echo_n "checking for $ac_word... " >&6; }
4677
if ${ac_cv_prog_CC+:} false; then :
4678
  $as_echo_n "(cached) " >&6
4679
else
4680
  if test -n "$CC"; then
4681
  ac_cv_prog_CC="$CC" # Let the user override the test.
4682
else
4683
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684
for as_dir in $PATH
4685
do
4686
  IFS=$as_save_IFS
4687
  test -z "$as_dir" && as_dir=.
4688
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4689
  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.
4690
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4691
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692
    break 2
4693
  fi
4694
done
4695
  done
4696
IFS=$as_save_IFS
4697
4698
fi
4699
fi
4700
CC=$ac_cv_prog_CC
4701
if test -n "$CC"; then
4702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4703
$as_echo "$CC" >&6; }
4704
else
4705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706
$as_echo "no" >&6; }
4707
fi
4708
4709
4710
    test -n "$CC" && break
4711
  done
4712
fi
4713
if test -z "$CC"; then
4714
  ac_ct_CC=$CC
4715
  for ac_prog in cl.exe
4716
do
4717
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4718
set dummy $ac_prog; ac_word=$2
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720
$as_echo_n "checking for $ac_word... " >&6; }
4721
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4722
  $as_echo_n "(cached) " >&6
4723
else
4724
  if test -n "$ac_ct_CC"; then
4725
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4726
else
4727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728
for as_dir in $PATH
4729
do
4730
  IFS=$as_save_IFS
4731
  test -z "$as_dir" && as_dir=.
4732
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4733
  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.
4734
    ac_cv_prog_ac_ct_CC="$ac_prog"
4735
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736
    break 2
4737
  fi
4738
done
4739
  done
4740
IFS=$as_save_IFS
4741
4742
fi
4743
fi
4744
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4745
if test -n "$ac_ct_CC"; then
4746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4747
$as_echo "$ac_ct_CC" >&6; }
4748
else
4749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750
$as_echo "no" >&6; }
4751
fi
4752
4753
4754
  test -n "$ac_ct_CC" && break
4755
done
4756
4757
  if test "x$ac_ct_CC" = x; then
4758
    CC=""
4759
  else
4760
    case $cross_compiling:$ac_tool_warned in
4761
yes:)
4762
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764
ac_tool_warned=yes ;;
4765
esac
4766
    CC=$ac_ct_CC
4767
  fi
4768
fi
4769
4770
fi
4771
4772
4773
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
4774
$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.
4775
as_fn_error $? "no acceptable C compiler found in \$PATH
56 by Osmo Antero
Version 0.5
4776
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.
4777
4778
# Provide some information about the compiler.
4779
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4780
set X $ac_compile
4781
ac_compiler=$2
4782
for ac_option in --version -v -V -qversion; do
4783
  { { ac_try="$ac_compiler $ac_option >&5"
4784
case "(($ac_try" in
4785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786
  *) ac_try_echo=$ac_try;;
4787
esac
4788
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4789
$as_echo "$ac_try_echo"; } >&5
4790
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4791
  ac_status=$?
4792
  if test -s conftest.err; then
4793
    sed '10a\
4794
... rest of stderr output deleted ...
4795
         10q' conftest.err >conftest.er1
4796
    cat conftest.er1 >&5
4797
  fi
4798
  rm -f conftest.er1 conftest.err
4799
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800
  test $ac_status = 0; }
4801
done
4802
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4804
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4805
if ${ac_cv_c_compiler_gnu+:} false; then :
4806
  $as_echo_n "(cached) " >&6
4807
else
4808
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809
/* end confdefs.h.  */
4810
4811
int
4812
main ()
4813
{
4814
#ifndef __GNUC__
4815
       choke me
4816
#endif
4817
4818
  ;
4819
  return 0;
4820
}
4821
_ACEOF
4822
if ac_fn_c_try_compile "$LINENO"; then :
4823
  ac_compiler_gnu=yes
4824
else
4825
  ac_compiler_gnu=no
4826
fi
4827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4829
4830
fi
4831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4832
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4833
if test $ac_compiler_gnu = yes; then
4834
  GCC=yes
4835
else
4836
  GCC=
4837
fi
4838
ac_test_CFLAGS=${CFLAGS+set}
4839
ac_save_CFLAGS=$CFLAGS
4840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4841
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4842
if ${ac_cv_prog_cc_g+:} false; then :
4843
  $as_echo_n "(cached) " >&6
4844
else
4845
  ac_save_c_werror_flag=$ac_c_werror_flag
4846
   ac_c_werror_flag=yes
4847
   ac_cv_prog_cc_g=no
4848
   CFLAGS="-g"
4849
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850
/* end confdefs.h.  */
4851
4852
int
4853
main ()
4854
{
4855
4856
  ;
4857
  return 0;
4858
}
4859
_ACEOF
4860
if ac_fn_c_try_compile "$LINENO"; then :
4861
  ac_cv_prog_cc_g=yes
4862
else
4863
  CFLAGS=""
4864
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865
/* end confdefs.h.  */
4866
4867
int
4868
main ()
4869
{
4870
4871
  ;
4872
  return 0;
4873
}
4874
_ACEOF
4875
if ac_fn_c_try_compile "$LINENO"; then :
4876
4877
else
4878
  ac_c_werror_flag=$ac_save_c_werror_flag
4879
	 CFLAGS="-g"
4880
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881
/* end confdefs.h.  */
4882
4883
int
4884
main ()
4885
{
4886
4887
  ;
4888
  return 0;
4889
}
4890
_ACEOF
4891
if ac_fn_c_try_compile "$LINENO"; then :
4892
  ac_cv_prog_cc_g=yes
4893
fi
4894
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4895
fi
4896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897
fi
4898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899
   ac_c_werror_flag=$ac_save_c_werror_flag
4900
fi
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4902
$as_echo "$ac_cv_prog_cc_g" >&6; }
4903
if test "$ac_test_CFLAGS" = set; then
4904
  CFLAGS=$ac_save_CFLAGS
4905
elif test $ac_cv_prog_cc_g = yes; then
4906
  if test "$GCC" = yes; then
4907
    CFLAGS="-g -O2"
4908
  else
4909
    CFLAGS="-g"
4910
  fi
4911
else
4912
  if test "$GCC" = yes; then
4913
    CFLAGS="-O2"
4914
  else
4915
    CFLAGS=
4916
  fi
4917
fi
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4919
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4920
if ${ac_cv_prog_cc_c89+:} false; then :
4921
  $as_echo_n "(cached) " >&6
4922
else
4923
  ac_cv_prog_cc_c89=no
4924
ac_save_CC=$CC
4925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926
/* end confdefs.h.  */
4927
#include <stdarg.h>
4928
#include <stdio.h>
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
4929
struct stat;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
4930
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4931
struct buf { int x; };
4932
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4933
static char *e (p, i)
4934
     char **p;
4935
     int i;
4936
{
4937
  return p[i];
4938
}
4939
static char *f (char * (*g) (char **, int), char **p, ...)
4940
{
4941
  char *s;
4942
  va_list v;
4943
  va_start (v,p);
4944
  s = g (p, va_arg (v,int));
4945
  va_end (v);
4946
  return s;
4947
}
4948
4949
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4950
   function prototypes and stuff, but not '\xHH' hex character constants.
4951
   These don't provoke an error unfortunately, instead are silently treated
4952
   as 'x'.  The following induces an error, until -std is added to get
4953
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4954
   array size at least.  It's necessary to write '\x00'==0 to get something
4955
   that's true only with -std.  */
4956
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4957
4958
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4959
   inside strings and character constants.  */
4960
#define FOO(x) 'x'
4961
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4962
4963
int test (int i, double x);
4964
struct s1 {int (*f) (int a);};
4965
struct s2 {int (*f) (double a);};
4966
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4967
int argc;
4968
char **argv;
4969
int
4970
main ()
4971
{
4972
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4973
  ;
4974
  return 0;
4975
}
4976
_ACEOF
4977
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4978
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4979
do
4980
  CC="$ac_save_CC $ac_arg"
4981
  if ac_fn_c_try_compile "$LINENO"; then :
4982
  ac_cv_prog_cc_c89=$ac_arg
4983
fi
4984
rm -f core conftest.err conftest.$ac_objext
4985
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4986
done
4987
rm -f conftest.$ac_ext
4988
CC=$ac_save_CC
4989
4990
fi
4991
# AC_CACHE_VAL
4992
case "x$ac_cv_prog_cc_c89" in
4993
  x)
4994
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4995
$as_echo "none needed" >&6; } ;;
4996
  xno)
4997
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4998
$as_echo "unsupported" >&6; } ;;
4999
  *)
5000
    CC="$CC $ac_cv_prog_cc_c89"
5001
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5002
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5003
esac
5004
if test "x$ac_cv_prog_cc_c89" != xno; then :
5005
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5006
fi
5007
5008
ac_ext=c
5009
ac_cpp='$CPP $CPPFLAGS'
5010
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5013
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
5014
ac_ext=c
5015
ac_cpp='$CPP $CPPFLAGS'
5016
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5017
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5018
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5020
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5021
if ${am_cv_prog_cc_c_o+:} false; then :
5022
  $as_echo_n "(cached) " >&6
5023
else
5024
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025
/* end confdefs.h.  */
5026
5027
int
5028
main ()
5029
{
5030
5031
  ;
5032
  return 0;
5033
}
5034
_ACEOF
5035
  # Make sure it works both with $CC and with simple cc.
5036
  # Following AC_PROG_CC_C_O, we do the test twice because some
5037
  # compilers refuse to overwrite an existing .o file with -o,
5038
  # though they will create one.
5039
  am_cv_prog_cc_c_o=yes
5040
  for am_i in 1 2; do
5041
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5042
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5043
   ac_status=$?
5044
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045
   (exit $ac_status); } \
5046
         && test -f conftest2.$ac_objext; then
5047
      : OK
5048
    else
5049
      am_cv_prog_cc_c_o=no
5050
      break
5051
    fi
5052
  done
5053
  rm -f core conftest*
5054
  unset am_i
5055
fi
5056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5057
$as_echo "$am_cv_prog_cc_c_o" >&6; }
5058
if test "$am_cv_prog_cc_c_o" != yes; then
5059
   # Losing compiler, so override with the script.
5060
   # FIXME: It is wrong to rewrite CC.
5061
   # But if we don't then we get into trouble of one sort or another.
5062
   # A longer-term fix would be to have automake use am__CC in this case,
5063
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5064
   CC="$am_aux_dir/compile $CC"
5065
fi
5066
ac_ext=c
5067
ac_cpp='$CPP $CPPFLAGS'
5068
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5071
5072
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
5073
depcc="$CC"   am_compiler_list=
5074
5075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5076
$as_echo_n "checking dependency style of $depcc... " >&6; }
5077
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5078
  $as_echo_n "(cached) " >&6
5079
else
5080
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5081
  # We make a subdir and do the tests there.  Otherwise we can end up
5082
  # making bogus files that we don't know about and never remove.  For
5083
  # instance it was reported that on HP-UX the gcc test will end up
5084
  # making a dummy file named 'D' -- because '-MD' means "put the output
5085
  # in D".
5086
  rm -rf conftest.dir
5087
  mkdir conftest.dir
5088
  # Copy depcomp to subdir because otherwise we won't find it if we're
5089
  # using a relative directory.
5090
  cp "$am_depcomp" conftest.dir
5091
  cd conftest.dir
5092
  # We will build objects and dependencies in a subdirectory because
5093
  # it helps to detect inapplicable dependency modes.  For instance
5094
  # both Tru64's cc and ICC support -MD to output dependencies as a
5095
  # side effect of compilation, but ICC will put the dependencies in
5096
  # the current directory while Tru64 will put them in the object
5097
  # directory.
5098
  mkdir sub
5099
5100
  am_cv_CC_dependencies_compiler_type=none
5101
  if test "$am_compiler_list" = ""; then
5102
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5103
  fi
5104
  am__universal=false
5105
  case " $depcc " in #(
5106
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5107
     esac
5108
5109
  for depmode in $am_compiler_list; do
5110
    # Setup a source with many dependencies, because some compilers
5111
    # like to wrap large dependency lists on column 80 (with \), and
5112
    # we should not choose a depcomp mode which is confused by this.
5113
    #
5114
    # We need to recreate these files for each test, as the compiler may
5115
    # overwrite some of them when testing with obscure command lines.
5116
    # This happens at least with the AIX C compiler.
5117
    : > sub/conftest.c
5118
    for i in 1 2 3 4 5 6; do
5119
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5120
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5121
      # Solaris 10 /bin/sh.
5122
      echo '/* dummy */' > sub/conftst$i.h
5123
    done
5124
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5125
5126
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5127
    # mode.  It turns out that the SunPro C++ compiler does not properly
5128
    # handle '-M -o', and we need to detect this.  Also, some Intel
5129
    # versions had trouble with output in subdirs.
5130
    am__obj=sub/conftest.${OBJEXT-o}
5131
    am__minus_obj="-o $am__obj"
5132
    case $depmode in
5133
    gcc)
5134
      # This depmode causes a compiler race in universal mode.
5135
      test "$am__universal" = false || continue
5136
      ;;
5137
    nosideeffect)
5138
      # After this tag, mechanisms are not by side-effect, so they'll
5139
      # only be used when explicitly requested.
5140
      if test "x$enable_dependency_tracking" = xyes; then
5141
	continue
5142
      else
5143
	break
5144
      fi
5145
      ;;
5146
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5147
      # This compiler won't grok '-c -o', but also, the minuso test has
5148
      # not run yet.  These depmodes are late enough in the game, and
5149
      # so weak that their functioning should not be impacted.
5150
      am__obj=conftest.${OBJEXT-o}
5151
      am__minus_obj=
5152
      ;;
5153
    none) break ;;
5154
    esac
5155
    if depmode=$depmode \
5156
       source=sub/conftest.c object=$am__obj \
5157
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5158
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5159
         >/dev/null 2>conftest.err &&
5160
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5161
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5162
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5163
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5164
      # icc doesn't choke on unknown options, it will just issue warnings
5165
      # or remarks (even with -Werror).  So we grep stderr for any message
5166
      # that says an option was ignored or not supported.
5167
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5168
      #   icc: Command line warning: ignoring option '-M'; no argument required
5169
      # The diagnosis changed in icc 8.0:
5170
      #   icc: Command line remark: option '-MP' not supported
5171
      if (grep 'ignoring option' conftest.err ||
5172
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5173
        am_cv_CC_dependencies_compiler_type=$depmode
5174
        break
5175
      fi
5176
    fi
5177
  done
5178
5179
  cd ..
5180
  rm -rf conftest.dir
5181
else
5182
  am_cv_CC_dependencies_compiler_type=none
5183
fi
5184
5185
fi
5186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5187
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5188
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5189
5190
 if
5191
  test "x$enable_dependency_tracking" != xno \
5192
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5193
  am__fastdepCC_TRUE=
5194
  am__fastdepCC_FALSE='#'
5195
else
5196
  am__fastdepCC_TRUE='#'
5197
  am__fastdepCC_FALSE=
5198
fi
5199
5200
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5202
$as_echo_n "checking for ANSI C header files... " >&6; }
56 by Osmo Antero
Version 0.5
5203
if ${ac_cv_header_stdc+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5204
  $as_echo_n "(cached) " >&6
5205
else
5206
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207
/* end confdefs.h.  */
5208
#include <stdlib.h>
5209
#include <stdarg.h>
5210
#include <string.h>
5211
#include <float.h>
5212
5213
int
5214
main ()
5215
{
5216
5217
  ;
5218
  return 0;
5219
}
5220
_ACEOF
5221
if ac_fn_c_try_compile "$LINENO"; then :
5222
  ac_cv_header_stdc=yes
5223
else
5224
  ac_cv_header_stdc=no
5225
fi
5226
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5227
5228
if test $ac_cv_header_stdc = yes; then
5229
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5230
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5231
/* end confdefs.h.  */
5232
#include <string.h>
5233
5234
_ACEOF
5235
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5236
  $EGREP "memchr" >/dev/null 2>&1; then :
5237
5238
else
5239
  ac_cv_header_stdc=no
5240
fi
5241
rm -f conftest*
5242
5243
fi
5244
5245
if test $ac_cv_header_stdc = yes; then
5246
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5247
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248
/* end confdefs.h.  */
5249
#include <stdlib.h>
5250
5251
_ACEOF
5252
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253
  $EGREP "free" >/dev/null 2>&1; then :
5254
5255
else
5256
  ac_cv_header_stdc=no
5257
fi
5258
rm -f conftest*
5259
5260
fi
5261
5262
if test $ac_cv_header_stdc = yes; then
5263
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5264
  if test "$cross_compiling" = yes; then :
5265
  :
5266
else
5267
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268
/* end confdefs.h.  */
5269
#include <ctype.h>
5270
#include <stdlib.h>
5271
#if ((' ' & 0x0FF) == 0x020)
5272
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5273
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5274
#else
5275
# define ISLOWER(c) \
5276
		   (('a' <= (c) && (c) <= 'i') \
5277
		     || ('j' <= (c) && (c) <= 'r') \
5278
		     || ('s' <= (c) && (c) <= 'z'))
5279
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5280
#endif
5281
5282
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5283
int
5284
main ()
5285
{
5286
  int i;
5287
  for (i = 0; i < 256; i++)
5288
    if (XOR (islower (i), ISLOWER (i))
5289
	|| toupper (i) != TOUPPER (i))
5290
      return 2;
5291
  return 0;
5292
}
5293
_ACEOF
5294
if ac_fn_c_try_run "$LINENO"; then :
5295
5296
else
5297
  ac_cv_header_stdc=no
5298
fi
5299
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5300
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5301
fi
5302
5303
fi
5304
fi
5305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5306
$as_echo "$ac_cv_header_stdc" >&6; }
5307
if test $ac_cv_header_stdc = yes; then
5308
5309
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5310
5311
fi
5312
5313
5314
# *************************
5315
# Checks for programs.
5316
# *************************
5317
ac_ext=cpp
5318
ac_cpp='$CXXCPP $CPPFLAGS'
5319
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5320
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5321
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5322
if test -z "$CXX"; then
5323
  if test -n "$CCC"; then
5324
    CXX=$CCC
5325
  else
5326
    if test -n "$ac_tool_prefix"; then
5327
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5328
  do
5329
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5330
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5332
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5333
if ${ac_cv_prog_CXX+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5334
  $as_echo_n "(cached) " >&6
5335
else
5336
  if test -n "$CXX"; then
5337
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5338
else
5339
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5340
for as_dir in $PATH
5341
do
5342
  IFS=$as_save_IFS
5343
  test -z "$as_dir" && as_dir=.
5344
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5345
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5346
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5347
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348
    break 2
5349
  fi
5350
done
5351
  done
5352
IFS=$as_save_IFS
5353
5354
fi
5355
fi
5356
CXX=$ac_cv_prog_CXX
5357
if test -n "$CXX"; then
5358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5359
$as_echo "$CXX" >&6; }
5360
else
5361
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5362
$as_echo "no" >&6; }
5363
fi
5364
5365
5366
    test -n "$CXX" && break
5367
  done
5368
fi
5369
if test -z "$CXX"; then
5370
  ac_ct_CXX=$CXX
5371
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5372
do
5373
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5374
set dummy $ac_prog; ac_word=$2
5375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5377
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5378
  $as_echo_n "(cached) " >&6
5379
else
5380
  if test -n "$ac_ct_CXX"; then
5381
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5382
else
5383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384
for as_dir in $PATH
5385
do
5386
  IFS=$as_save_IFS
5387
  test -z "$as_dir" && as_dir=.
5388
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5389
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5390
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392
    break 2
5393
  fi
5394
done
5395
  done
5396
IFS=$as_save_IFS
5397
5398
fi
5399
fi
5400
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5401
if test -n "$ac_ct_CXX"; then
5402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5403
$as_echo "$ac_ct_CXX" >&6; }
5404
else
5405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406
$as_echo "no" >&6; }
5407
fi
5408
5409
5410
  test -n "$ac_ct_CXX" && break
5411
done
5412
5413
  if test "x$ac_ct_CXX" = x; then
5414
    CXX="g++"
5415
  else
5416
    case $cross_compiling:$ac_tool_warned in
5417
yes:)
5418
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5419
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420
ac_tool_warned=yes ;;
5421
esac
5422
    CXX=$ac_ct_CXX
5423
  fi
5424
fi
5425
5426
  fi
5427
fi
5428
# Provide some information about the compiler.
5429
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5430
set X $ac_compile
5431
ac_compiler=$2
5432
for ac_option in --version -v -V -qversion; do
5433
  { { ac_try="$ac_compiler $ac_option >&5"
5434
case "(($ac_try" in
5435
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5436
  *) ac_try_echo=$ac_try;;
5437
esac
5438
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5439
$as_echo "$ac_try_echo"; } >&5
5440
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5441
  ac_status=$?
5442
  if test -s conftest.err; then
5443
    sed '10a\
5444
... rest of stderr output deleted ...
5445
         10q' conftest.err >conftest.er1
5446
    cat conftest.er1 >&5
5447
  fi
5448
  rm -f conftest.er1 conftest.err
5449
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5450
  test $ac_status = 0; }
5451
done
5452
5453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5454
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
56 by Osmo Antero
Version 0.5
5455
if ${ac_cv_cxx_compiler_gnu+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5456
  $as_echo_n "(cached) " >&6
5457
else
5458
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459
/* end confdefs.h.  */
5460
5461
int
5462
main ()
5463
{
5464
#ifndef __GNUC__
5465
       choke me
5466
#endif
5467
5468
  ;
5469
  return 0;
5470
}
5471
_ACEOF
5472
if ac_fn_cxx_try_compile "$LINENO"; then :
5473
  ac_compiler_gnu=yes
5474
else
5475
  ac_compiler_gnu=no
5476
fi
5477
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5478
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5479
5480
fi
5481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5482
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5483
if test $ac_compiler_gnu = yes; then
5484
  GXX=yes
5485
else
5486
  GXX=
5487
fi
5488
ac_test_CXXFLAGS=${CXXFLAGS+set}
5489
ac_save_CXXFLAGS=$CXXFLAGS
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5491
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
56 by Osmo Antero
Version 0.5
5492
if ${ac_cv_prog_cxx_g+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5493
  $as_echo_n "(cached) " >&6
5494
else
5495
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5496
   ac_cxx_werror_flag=yes
5497
   ac_cv_prog_cxx_g=no
5498
   CXXFLAGS="-g"
5499
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500
/* end confdefs.h.  */
5501
5502
int
5503
main ()
5504
{
5505
5506
  ;
5507
  return 0;
5508
}
5509
_ACEOF
5510
if ac_fn_cxx_try_compile "$LINENO"; then :
5511
  ac_cv_prog_cxx_g=yes
5512
else
5513
  CXXFLAGS=""
5514
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515
/* end confdefs.h.  */
5516
5517
int
5518
main ()
5519
{
5520
5521
  ;
5522
  return 0;
5523
}
5524
_ACEOF
5525
if ac_fn_cxx_try_compile "$LINENO"; then :
5526
5527
else
5528
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5529
	 CXXFLAGS="-g"
5530
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531
/* end confdefs.h.  */
5532
5533
int
5534
main ()
5535
{
5536
5537
  ;
5538
  return 0;
5539
}
5540
_ACEOF
5541
if ac_fn_cxx_try_compile "$LINENO"; then :
5542
  ac_cv_prog_cxx_g=yes
5543
fi
5544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5545
fi
5546
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5547
fi
5548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5550
fi
5551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5552
$as_echo "$ac_cv_prog_cxx_g" >&6; }
5553
if test "$ac_test_CXXFLAGS" = set; then
5554
  CXXFLAGS=$ac_save_CXXFLAGS
5555
elif test $ac_cv_prog_cxx_g = yes; then
5556
  if test "$GXX" = yes; then
5557
    CXXFLAGS="-g -O2"
5558
  else
5559
    CXXFLAGS="-g"
5560
  fi
5561
else
5562
  if test "$GXX" = yes; then
5563
    CXXFLAGS="-O2"
5564
  else
5565
    CXXFLAGS=
5566
  fi
5567
fi
5568
ac_ext=c
5569
ac_cpp='$CPP $CPPFLAGS'
5570
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5571
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5572
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5573
5574
depcc="$CXX"  am_compiler_list=
5575
5576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5577
$as_echo_n "checking dependency style of $depcc... " >&6; }
56 by Osmo Antero
Version 0.5
5578
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5579
  $as_echo_n "(cached) " >&6
5580
else
5581
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5582
  # We make a subdir and do the tests there.  Otherwise we can end up
5583
  # making bogus files that we don't know about and never remove.  For
5584
  # 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.
5585
  # making a dummy file named 'D' -- because '-MD' means "put the output
5586
  # in D".
91 by Osmo Antero
Added packaging file for Fedora (fedora/audio-recorder.spec).
5587
  rm -rf conftest.dir
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5588
  mkdir conftest.dir
5589
  # Copy depcomp to subdir because otherwise we won't find it if we're
5590
  # using a relative directory.
5591
  cp "$am_depcomp" conftest.dir
5592
  cd conftest.dir
5593
  # We will build objects and dependencies in a subdirectory because
5594
  # it helps to detect inapplicable dependency modes.  For instance
5595
  # both Tru64's cc and ICC support -MD to output dependencies as a
5596
  # side effect of compilation, but ICC will put the dependencies in
5597
  # the current directory while Tru64 will put them in the object
5598
  # directory.
5599
  mkdir sub
5600
5601
  am_cv_CXX_dependencies_compiler_type=none
5602
  if test "$am_compiler_list" = ""; then
5603
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5604
  fi
5605
  am__universal=false
5606
  case " $depcc " in #(
5607
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5608
     esac
5609
5610
  for depmode in $am_compiler_list; do
5611
    # Setup a source with many dependencies, because some compilers
5612
    # like to wrap large dependency lists on column 80 (with \), and
5613
    # we should not choose a depcomp mode which is confused by this.
5614
    #
5615
    # We need to recreate these files for each test, as the compiler may
5616
    # overwrite some of them when testing with obscure command lines.
5617
    # This happens at least with the AIX C compiler.
5618
    : > sub/conftest.c
5619
    for i in 1 2 3 4 5 6; do
5620
      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.
5621
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5622
      # Solaris 10 /bin/sh.
5623
      echo '/* dummy */' > sub/conftst$i.h
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5624
    done
5625
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5626
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5627
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5628
    # 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.
5629
    # handle '-M -o', and we need to detect this.  Also, some Intel
5630
    # versions had trouble with output in subdirs.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5631
    am__obj=sub/conftest.${OBJEXT-o}
5632
    am__minus_obj="-o $am__obj"
5633
    case $depmode in
5634
    gcc)
5635
      # This depmode causes a compiler race in universal mode.
5636
      test "$am__universal" = false || continue
5637
      ;;
5638
    nosideeffect)
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
5639
      # After this tag, mechanisms are not by side-effect, so they'll
5640
      # only be used when explicitly requested.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5641
      if test "x$enable_dependency_tracking" = xyes; then
5642
	continue
5643
      else
5644
	break
5645
      fi
5646
      ;;
91 by Osmo Antero
Added packaging file for Fedora (fedora/audio-recorder.spec).
5647
    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.
5648
      # This compiler won't grok '-c -o', but also, the minuso test has
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5649
      # not run yet.  These depmodes are late enough in the game, and
5650
      # so weak that their functioning should not be impacted.
5651
      am__obj=conftest.${OBJEXT-o}
5652
      am__minus_obj=
5653
      ;;
5654
    none) break ;;
5655
    esac
5656
    if depmode=$depmode \
5657
       source=sub/conftest.c object=$am__obj \
5658
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5659
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5660
         >/dev/null 2>conftest.err &&
5661
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5662
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5663
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5664
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5665
      # icc doesn't choke on unknown options, it will just issue warnings
5666
      # or remarks (even with -Werror).  So we grep stderr for any message
5667
      # that says an option was ignored or not supported.
5668
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5669
      #   icc: Command line warning: ignoring option '-M'; no argument required
5670
      # The diagnosis changed in icc 8.0:
5671
      #   icc: Command line remark: option '-MP' not supported
5672
      if (grep 'ignoring option' conftest.err ||
5673
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5674
        am_cv_CXX_dependencies_compiler_type=$depmode
5675
        break
5676
      fi
5677
    fi
5678
  done
5679
5680
  cd ..
5681
  rm -rf conftest.dir
5682
else
5683
  am_cv_CXX_dependencies_compiler_type=none
5684
fi
5685
5686
fi
5687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5688
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5689
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5690
5691
 if
5692
  test "x$enable_dependency_tracking" != xno \
5693
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5694
  am__fastdepCXX_TRUE=
5695
  am__fastdepCXX_FALSE='#'
5696
else
5697
  am__fastdepCXX_TRUE='#'
5698
  am__fastdepCXX_FALSE=
5699
fi
5700
5701
5702
ac_ext=c
5703
ac_cpp='$CPP $CPPFLAGS'
5704
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5707
if test -n "$ac_tool_prefix"; then
5708
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5709
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5712
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5713
  $as_echo_n "(cached) " >&6
5714
else
5715
  if test -n "$CC"; then
5716
  ac_cv_prog_CC="$CC" # Let the user override the test.
5717
else
5718
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719
for as_dir in $PATH
5720
do
5721
  IFS=$as_save_IFS
5722
  test -z "$as_dir" && as_dir=.
5723
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5724
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5725
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5726
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727
    break 2
5728
  fi
5729
done
5730
  done
5731
IFS=$as_save_IFS
5732
5733
fi
5734
fi
5735
CC=$ac_cv_prog_CC
5736
if test -n "$CC"; then
5737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5738
$as_echo "$CC" >&6; }
5739
else
5740
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741
$as_echo "no" >&6; }
5742
fi
5743
5744
5745
fi
5746
if test -z "$ac_cv_prog_CC"; then
5747
  ac_ct_CC=$CC
5748
  # Extract the first word of "gcc", so it can be a program name with args.
5749
set dummy gcc; ac_word=$2
5750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5752
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5753
  $as_echo_n "(cached) " >&6
5754
else
5755
  if test -n "$ac_ct_CC"; then
5756
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5757
else
5758
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759
for as_dir in $PATH
5760
do
5761
  IFS=$as_save_IFS
5762
  test -z "$as_dir" && as_dir=.
5763
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5764
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5765
    ac_cv_prog_ac_ct_CC="gcc"
5766
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767
    break 2
5768
  fi
5769
done
5770
  done
5771
IFS=$as_save_IFS
5772
5773
fi
5774
fi
5775
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5776
if test -n "$ac_ct_CC"; then
5777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5778
$as_echo "$ac_ct_CC" >&6; }
5779
else
5780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781
$as_echo "no" >&6; }
5782
fi
5783
5784
  if test "x$ac_ct_CC" = x; then
5785
    CC=""
5786
  else
5787
    case $cross_compiling:$ac_tool_warned in
5788
yes:)
5789
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5790
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5791
ac_tool_warned=yes ;;
5792
esac
5793
    CC=$ac_ct_CC
5794
  fi
5795
else
5796
  CC="$ac_cv_prog_CC"
5797
fi
5798
5799
if test -z "$CC"; then
5800
          if test -n "$ac_tool_prefix"; then
5801
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5802
set dummy ${ac_tool_prefix}cc; ac_word=$2
5803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5805
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5806
  $as_echo_n "(cached) " >&6
5807
else
5808
  if test -n "$CC"; then
5809
  ac_cv_prog_CC="$CC" # Let the user override the test.
5810
else
5811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812
for as_dir in $PATH
5813
do
5814
  IFS=$as_save_IFS
5815
  test -z "$as_dir" && as_dir=.
5816
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5817
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5818
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5819
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820
    break 2
5821
  fi
5822
done
5823
  done
5824
IFS=$as_save_IFS
5825
5826
fi
5827
fi
5828
CC=$ac_cv_prog_CC
5829
if test -n "$CC"; then
5830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5831
$as_echo "$CC" >&6; }
5832
else
5833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834
$as_echo "no" >&6; }
5835
fi
5836
5837
5838
  fi
5839
fi
5840
if test -z "$CC"; then
5841
  # Extract the first word of "cc", so it can be a program name with args.
5842
set dummy cc; ac_word=$2
5843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5845
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5846
  $as_echo_n "(cached) " >&6
5847
else
5848
  if test -n "$CC"; then
5849
  ac_cv_prog_CC="$CC" # Let the user override the test.
5850
else
5851
  ac_prog_rejected=no
5852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853
for as_dir in $PATH
5854
do
5855
  IFS=$as_save_IFS
5856
  test -z "$as_dir" && as_dir=.
5857
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5858
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5859
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5860
       ac_prog_rejected=yes
5861
       continue
5862
     fi
5863
    ac_cv_prog_CC="cc"
5864
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865
    break 2
5866
  fi
5867
done
5868
  done
5869
IFS=$as_save_IFS
5870
5871
if test $ac_prog_rejected = yes; then
5872
  # We found a bogon in the path, so make sure we never use it.
5873
  set dummy $ac_cv_prog_CC
5874
  shift
5875
  if test $# != 0; then
5876
    # We chose a different compiler from the bogus one.
5877
    # However, it has the same basename, so the bogon will be chosen
5878
    # first if we set CC to just the basename; use the full file name.
5879
    shift
5880
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5881
  fi
5882
fi
5883
fi
5884
fi
5885
CC=$ac_cv_prog_CC
5886
if test -n "$CC"; then
5887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5888
$as_echo "$CC" >&6; }
5889
else
5890
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891
$as_echo "no" >&6; }
5892
fi
5893
5894
5895
fi
5896
if test -z "$CC"; then
5897
  if test -n "$ac_tool_prefix"; then
5898
  for ac_prog in cl.exe
5899
  do
5900
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5901
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5904
if ${ac_cv_prog_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5905
  $as_echo_n "(cached) " >&6
5906
else
5907
  if test -n "$CC"; then
5908
  ac_cv_prog_CC="$CC" # Let the user override the test.
5909
else
5910
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911
for as_dir in $PATH
5912
do
5913
  IFS=$as_save_IFS
5914
  test -z "$as_dir" && as_dir=.
5915
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5916
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5917
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5918
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919
    break 2
5920
  fi
5921
done
5922
  done
5923
IFS=$as_save_IFS
5924
5925
fi
5926
fi
5927
CC=$ac_cv_prog_CC
5928
if test -n "$CC"; then
5929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5930
$as_echo "$CC" >&6; }
5931
else
5932
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933
$as_echo "no" >&6; }
5934
fi
5935
5936
5937
    test -n "$CC" && break
5938
  done
5939
fi
5940
if test -z "$CC"; then
5941
  ac_ct_CC=$CC
5942
  for ac_prog in cl.exe
5943
do
5944
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5945
set dummy $ac_prog; ac_word=$2
5946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
5948
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5949
  $as_echo_n "(cached) " >&6
5950
else
5951
  if test -n "$ac_ct_CC"; then
5952
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5953
else
5954
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955
for as_dir in $PATH
5956
do
5957
  IFS=$as_save_IFS
5958
  test -z "$as_dir" && as_dir=.
5959
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
5960
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
5961
    ac_cv_prog_ac_ct_CC="$ac_prog"
5962
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963
    break 2
5964
  fi
5965
done
5966
  done
5967
IFS=$as_save_IFS
5968
5969
fi
5970
fi
5971
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5972
if test -n "$ac_ct_CC"; then
5973
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5974
$as_echo "$ac_ct_CC" >&6; }
5975
else
5976
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977
$as_echo "no" >&6; }
5978
fi
5979
5980
5981
  test -n "$ac_ct_CC" && break
5982
done
5983
5984
  if test "x$ac_ct_CC" = x; then
5985
    CC=""
5986
  else
5987
    case $cross_compiling:$ac_tool_warned in
5988
yes:)
5989
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5990
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5991
ac_tool_warned=yes ;;
5992
esac
5993
    CC=$ac_ct_CC
5994
  fi
5995
fi
5996
5997
fi
5998
5999
6000
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6001
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6002
as_fn_error $? "no acceptable C compiler found in \$PATH
56 by Osmo Antero
Version 0.5
6003
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6004
6005
# Provide some information about the compiler.
6006
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6007
set X $ac_compile
6008
ac_compiler=$2
6009
for ac_option in --version -v -V -qversion; do
6010
  { { ac_try="$ac_compiler $ac_option >&5"
6011
case "(($ac_try" in
6012
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6013
  *) ac_try_echo=$ac_try;;
6014
esac
6015
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6016
$as_echo "$ac_try_echo"; } >&5
6017
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6018
  ac_status=$?
6019
  if test -s conftest.err; then
6020
    sed '10a\
6021
... rest of stderr output deleted ...
6022
         10q' conftest.err >conftest.er1
6023
    cat conftest.er1 >&5
6024
  fi
6025
  rm -f conftest.er1 conftest.err
6026
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6027
  test $ac_status = 0; }
6028
done
6029
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6031
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
56 by Osmo Antero
Version 0.5
6032
if ${ac_cv_c_compiler_gnu+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6033
  $as_echo_n "(cached) " >&6
6034
else
6035
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6036
/* end confdefs.h.  */
6037
6038
int
6039
main ()
6040
{
6041
#ifndef __GNUC__
6042
       choke me
6043
#endif
6044
6045
  ;
6046
  return 0;
6047
}
6048
_ACEOF
6049
if ac_fn_c_try_compile "$LINENO"; then :
6050
  ac_compiler_gnu=yes
6051
else
6052
  ac_compiler_gnu=no
6053
fi
6054
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6055
ac_cv_c_compiler_gnu=$ac_compiler_gnu
6056
6057
fi
6058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6059
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
6060
if test $ac_compiler_gnu = yes; then
6061
  GCC=yes
6062
else
6063
  GCC=
6064
fi
6065
ac_test_CFLAGS=${CFLAGS+set}
6066
ac_save_CFLAGS=$CFLAGS
6067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6068
$as_echo_n "checking whether $CC accepts -g... " >&6; }
56 by Osmo Antero
Version 0.5
6069
if ${ac_cv_prog_cc_g+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6070
  $as_echo_n "(cached) " >&6
6071
else
6072
  ac_save_c_werror_flag=$ac_c_werror_flag
6073
   ac_c_werror_flag=yes
6074
   ac_cv_prog_cc_g=no
6075
   CFLAGS="-g"
6076
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6077
/* end confdefs.h.  */
6078
6079
int
6080
main ()
6081
{
6082
6083
  ;
6084
  return 0;
6085
}
6086
_ACEOF
6087
if ac_fn_c_try_compile "$LINENO"; then :
6088
  ac_cv_prog_cc_g=yes
6089
else
6090
  CFLAGS=""
6091
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6092
/* end confdefs.h.  */
6093
6094
int
6095
main ()
6096
{
6097
6098
  ;
6099
  return 0;
6100
}
6101
_ACEOF
6102
if ac_fn_c_try_compile "$LINENO"; then :
6103
6104
else
6105
  ac_c_werror_flag=$ac_save_c_werror_flag
6106
	 CFLAGS="-g"
6107
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6108
/* end confdefs.h.  */
6109
6110
int
6111
main ()
6112
{
6113
6114
  ;
6115
  return 0;
6116
}
6117
_ACEOF
6118
if ac_fn_c_try_compile "$LINENO"; then :
6119
  ac_cv_prog_cc_g=yes
6120
fi
6121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6122
fi
6123
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6124
fi
6125
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6126
   ac_c_werror_flag=$ac_save_c_werror_flag
6127
fi
6128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6129
$as_echo "$ac_cv_prog_cc_g" >&6; }
6130
if test "$ac_test_CFLAGS" = set; then
6131
  CFLAGS=$ac_save_CFLAGS
6132
elif test $ac_cv_prog_cc_g = yes; then
6133
  if test "$GCC" = yes; then
6134
    CFLAGS="-g -O2"
6135
  else
6136
    CFLAGS="-g"
6137
  fi
6138
else
6139
  if test "$GCC" = yes; then
6140
    CFLAGS="-O2"
6141
  else
6142
    CFLAGS=
6143
  fi
6144
fi
6145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6146
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
56 by Osmo Antero
Version 0.5
6147
if ${ac_cv_prog_cc_c89+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6148
  $as_echo_n "(cached) " >&6
6149
else
6150
  ac_cv_prog_cc_c89=no
6151
ac_save_CC=$CC
6152
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6153
/* end confdefs.h.  */
6154
#include <stdarg.h>
6155
#include <stdio.h>
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
6156
struct stat;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6157
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6158
struct buf { int x; };
6159
FILE * (*rcsopen) (struct buf *, struct stat *, int);
6160
static char *e (p, i)
6161
     char **p;
6162
     int i;
6163
{
6164
  return p[i];
6165
}
6166
static char *f (char * (*g) (char **, int), char **p, ...)
6167
{
6168
  char *s;
6169
  va_list v;
6170
  va_start (v,p);
6171
  s = g (p, va_arg (v,int));
6172
  va_end (v);
6173
  return s;
6174
}
6175
6176
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6177
   function prototypes and stuff, but not '\xHH' hex character constants.
6178
   These don't provoke an error unfortunately, instead are silently treated
6179
   as 'x'.  The following induces an error, until -std is added to get
6180
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6181
   array size at least.  It's necessary to write '\x00'==0 to get something
6182
   that's true only with -std.  */
6183
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6184
6185
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6186
   inside strings and character constants.  */
6187
#define FOO(x) 'x'
6188
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6189
6190
int test (int i, double x);
6191
struct s1 {int (*f) (int a);};
6192
struct s2 {int (*f) (double a);};
6193
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6194
int argc;
6195
char **argv;
6196
int
6197
main ()
6198
{
6199
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6200
  ;
6201
  return 0;
6202
}
6203
_ACEOF
6204
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6205
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6206
do
6207
  CC="$ac_save_CC $ac_arg"
6208
  if ac_fn_c_try_compile "$LINENO"; then :
6209
  ac_cv_prog_cc_c89=$ac_arg
6210
fi
6211
rm -f core conftest.err conftest.$ac_objext
6212
  test "x$ac_cv_prog_cc_c89" != "xno" && break
6213
done
6214
rm -f conftest.$ac_ext
6215
CC=$ac_save_CC
6216
6217
fi
6218
# AC_CACHE_VAL
6219
case "x$ac_cv_prog_cc_c89" in
6220
  x)
6221
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6222
$as_echo "none needed" >&6; } ;;
6223
  xno)
6224
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6225
$as_echo "unsupported" >&6; } ;;
6226
  *)
6227
    CC="$CC $ac_cv_prog_cc_c89"
6228
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6229
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6230
esac
6231
if test "x$ac_cv_prog_cc_c89" != xno; then :
6232
6233
fi
6234
6235
ac_ext=c
6236
ac_cpp='$CPP $CPPFLAGS'
6237
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6238
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6239
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6240
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
6241
ac_ext=c
6242
ac_cpp='$CPP $CPPFLAGS'
6243
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6244
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6245
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6247
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6248
if ${am_cv_prog_cc_c_o+:} false; then :
6249
  $as_echo_n "(cached) " >&6
6250
else
6251
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252
/* end confdefs.h.  */
6253
6254
int
6255
main ()
6256
{
6257
6258
  ;
6259
  return 0;
6260
}
6261
_ACEOF
6262
  # Make sure it works both with $CC and with simple cc.
6263
  # Following AC_PROG_CC_C_O, we do the test twice because some
6264
  # compilers refuse to overwrite an existing .o file with -o,
6265
  # though they will create one.
6266
  am_cv_prog_cc_c_o=yes
6267
  for am_i in 1 2; do
6268
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6269
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6270
   ac_status=$?
6271
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272
   (exit $ac_status); } \
6273
         && test -f conftest2.$ac_objext; then
6274
      : OK
6275
    else
6276
      am_cv_prog_cc_c_o=no
6277
      break
6278
    fi
6279
  done
6280
  rm -f core conftest*
6281
  unset am_i
6282
fi
6283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6284
$as_echo "$am_cv_prog_cc_c_o" >&6; }
6285
if test "$am_cv_prog_cc_c_o" != yes; then
6286
   # Losing compiler, so override with the script.
6287
   # FIXME: It is wrong to rewrite CC.
6288
   # But if we don't then we get into trouble of one sort or another.
6289
   # A longer-term fix would be to have automake use am__CC in this case,
6290
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6291
   CC="$am_aux_dir/compile $CC"
6292
fi
6293
ac_ext=c
6294
ac_cpp='$CPP $CPPFLAGS'
6295
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6296
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6297
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6298
6299
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
6300
depcc="$CC"   am_compiler_list=
6301
6302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6303
$as_echo_n "checking dependency style of $depcc... " >&6; }
6304
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6305
  $as_echo_n "(cached) " >&6
6306
else
6307
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6308
  # We make a subdir and do the tests there.  Otherwise we can end up
6309
  # making bogus files that we don't know about and never remove.  For
6310
  # instance it was reported that on HP-UX the gcc test will end up
6311
  # making a dummy file named 'D' -- because '-MD' means "put the output
6312
  # in D".
6313
  rm -rf conftest.dir
6314
  mkdir conftest.dir
6315
  # Copy depcomp to subdir because otherwise we won't find it if we're
6316
  # using a relative directory.
6317
  cp "$am_depcomp" conftest.dir
6318
  cd conftest.dir
6319
  # We will build objects and dependencies in a subdirectory because
6320
  # it helps to detect inapplicable dependency modes.  For instance
6321
  # both Tru64's cc and ICC support -MD to output dependencies as a
6322
  # side effect of compilation, but ICC will put the dependencies in
6323
  # the current directory while Tru64 will put them in the object
6324
  # directory.
6325
  mkdir sub
6326
6327
  am_cv_CC_dependencies_compiler_type=none
6328
  if test "$am_compiler_list" = ""; then
6329
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6330
  fi
6331
  am__universal=false
6332
  case " $depcc " in #(
6333
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
6334
     esac
6335
6336
  for depmode in $am_compiler_list; do
6337
    # Setup a source with many dependencies, because some compilers
6338
    # like to wrap large dependency lists on column 80 (with \), and
6339
    # we should not choose a depcomp mode which is confused by this.
6340
    #
6341
    # We need to recreate these files for each test, as the compiler may
6342
    # overwrite some of them when testing with obscure command lines.
6343
    # This happens at least with the AIX C compiler.
6344
    : > sub/conftest.c
6345
    for i in 1 2 3 4 5 6; do
6346
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6347
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6348
      # Solaris 10 /bin/sh.
6349
      echo '/* dummy */' > sub/conftst$i.h
6350
    done
6351
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6352
6353
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
6354
    # mode.  It turns out that the SunPro C++ compiler does not properly
6355
    # handle '-M -o', and we need to detect this.  Also, some Intel
6356
    # versions had trouble with output in subdirs.
6357
    am__obj=sub/conftest.${OBJEXT-o}
6358
    am__minus_obj="-o $am__obj"
6359
    case $depmode in
6360
    gcc)
6361
      # This depmode causes a compiler race in universal mode.
6362
      test "$am__universal" = false || continue
6363
      ;;
6364
    nosideeffect)
6365
      # After this tag, mechanisms are not by side-effect, so they'll
6366
      # only be used when explicitly requested.
6367
      if test "x$enable_dependency_tracking" = xyes; then
6368
	continue
6369
      else
6370
	break
6371
      fi
6372
      ;;
6373
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6374
      # This compiler won't grok '-c -o', but also, the minuso test has
6375
      # not run yet.  These depmodes are late enough in the game, and
6376
      # so weak that their functioning should not be impacted.
6377
      am__obj=conftest.${OBJEXT-o}
6378
      am__minus_obj=
6379
      ;;
6380
    none) break ;;
6381
    esac
6382
    if depmode=$depmode \
6383
       source=sub/conftest.c object=$am__obj \
6384
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6385
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6386
         >/dev/null 2>conftest.err &&
6387
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6388
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6389
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6390
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6391
      # icc doesn't choke on unknown options, it will just issue warnings
6392
      # or remarks (even with -Werror).  So we grep stderr for any message
6393
      # that says an option was ignored or not supported.
6394
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6395
      #   icc: Command line warning: ignoring option '-M'; no argument required
6396
      # The diagnosis changed in icc 8.0:
6397
      #   icc: Command line remark: option '-MP' not supported
6398
      if (grep 'ignoring option' conftest.err ||
6399
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6400
        am_cv_CC_dependencies_compiler_type=$depmode
6401
        break
6402
      fi
6403
    fi
6404
  done
6405
6406
  cd ..
6407
  rm -rf conftest.dir
6408
else
6409
  am_cv_CC_dependencies_compiler_type=none
6410
fi
6411
6412
fi
6413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6414
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6415
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6416
6417
 if
6418
  test "x$enable_dependency_tracking" != xno \
6419
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6420
  am__fastdepCC_TRUE=
6421
  am__fastdepCC_FALSE='#'
6422
else
6423
  am__fastdepCC_TRUE='#'
6424
  am__fastdepCC_FALSE=
6425
fi
6426
6427
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6428
6429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6430
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6431
set x ${MAKE-make}
6432
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
56 by Osmo Antero
Version 0.5
6433
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6434
  $as_echo_n "(cached) " >&6
6435
else
6436
  cat >conftest.make <<\_ACEOF
6437
SHELL = /bin/sh
6438
all:
6439
	@echo '@@@%%%=$(MAKE)=@@@%%%'
6440
_ACEOF
6441
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6442
case `${MAKE-make} -f conftest.make 2>/dev/null` in
6443
  *@@@%%%=?*=@@@%%%*)
6444
    eval ac_cv_prog_make_${ac_make}_set=yes;;
6445
  *)
6446
    eval ac_cv_prog_make_${ac_make}_set=no;;
6447
esac
6448
rm -f conftest.make
6449
fi
6450
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6451
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6452
$as_echo "yes" >&6; }
6453
  SET_MAKE=
6454
else
6455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456
$as_echo "no" >&6; }
6457
  SET_MAKE="MAKE=${MAKE-make}"
6458
fi
6459
6460
6461
# ---- compile with -Wall -----
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
6462
# CFLAGS="$CFLAGS -Wall -Wextra"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6463
CFLAGS="$CFLAGS -Wall"
6464
6465
# ---- lib math (-lm) -----
56 by Osmo Antero
Version 0.5
6466
# LDFLAGS="$LDFLAGS -lm"
77 by Osmo Antero
Updated version (v0.7) for Fedora 16+ and Ubuntu 12.04.
6467
# Edit: See the MATH_LIB variable below.
6468
6469
# ========== export compiler / linker options ======== #
6470
6471
6472
6473
6474
6475
# Math library -lm is required by Fedora during linking. Ubuntu can do with or without it.
6476
# But Ubuntu fails to link if -lm is in the beginning of linking list, therefore we add -lm at the end.
6477
# See src/Makefile.am
6478
MATH_LIB=-lm
6479
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6480
6481
# ============== look for dependencies =============== #
6482
# check for headers needed for standard interfaces
6483
for ac_header in stdlib.h \
6484
	string.h \
6485
	stdio.h \
6486
	unistd.h
6487
6488
do :
6489
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6490
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6491
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6492
  cat >>confdefs.h <<_ACEOF
6493
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6494
_ACEOF
6495
6496
fi
6497
6498
done
6499
6500
6501
GLIB_REQUIRED=2.14.0
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6502
GTK_REQUIRED=3.0.0
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6503
GTHREAD_REQUIRED=2.0.0
440 by Osmo Antero
Pre-version 1.6. Removing deprecated functions so it compiles well on GTK 3.14.
6504
# Notice: requires gstreamer 1.4
6505
GSTREAMER_REQUIRED=1.4
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6506
APPINDICATOR_REQUIRED=0.3
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6507
6508
6509
6510
6511
6512
6513
56 by Osmo Antero
Version 0.5
6514
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6515
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6516
	if test -n "$ac_tool_prefix"; then
6517
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6518
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
6521
if ${ac_cv_path_PKG_CONFIG+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6522
  $as_echo_n "(cached) " >&6
6523
else
6524
  case $PKG_CONFIG in
6525
  [\\/]* | ?:[\\/]*)
6526
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6527
  ;;
6528
  *)
6529
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530
for as_dir in $PATH
6531
do
6532
  IFS=$as_save_IFS
6533
  test -z "$as_dir" && as_dir=.
6534
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
6535
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6536
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6537
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538
    break 2
6539
  fi
6540
done
6541
  done
6542
IFS=$as_save_IFS
6543
6544
  ;;
6545
esac
6546
fi
6547
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6548
if test -n "$PKG_CONFIG"; then
6549
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6550
$as_echo "$PKG_CONFIG" >&6; }
6551
else
6552
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6553
$as_echo "no" >&6; }
6554
fi
6555
6556
6557
fi
6558
if test -z "$ac_cv_path_PKG_CONFIG"; then
6559
  ac_pt_PKG_CONFIG=$PKG_CONFIG
6560
  # Extract the first word of "pkg-config", so it can be a program name with args.
6561
set dummy pkg-config; ac_word=$2
6562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
6564
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6565
  $as_echo_n "(cached) " >&6
6566
else
6567
  case $ac_pt_PKG_CONFIG in
6568
  [\\/]* | ?:[\\/]*)
6569
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6570
  ;;
6571
  *)
6572
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573
for as_dir in $PATH
6574
do
6575
  IFS=$as_save_IFS
6576
  test -z "$as_dir" && as_dir=.
6577
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
6578
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6579
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6580
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581
    break 2
6582
  fi
6583
done
6584
  done
6585
IFS=$as_save_IFS
6586
6587
  ;;
6588
esac
6589
fi
6590
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6591
if test -n "$ac_pt_PKG_CONFIG"; then
6592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6593
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6594
else
6595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596
$as_echo "no" >&6; }
6597
fi
6598
6599
  if test "x$ac_pt_PKG_CONFIG" = x; then
6600
    PKG_CONFIG=""
6601
  else
6602
    case $cross_compiling:$ac_tool_warned in
6603
yes:)
6604
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6605
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6606
ac_tool_warned=yes ;;
6607
esac
6608
    PKG_CONFIG=$ac_pt_PKG_CONFIG
6609
  fi
6610
else
6611
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6612
fi
6613
6614
fi
6615
if test -n "$PKG_CONFIG"; then
6616
	_pkg_min_version=0.9.0
6617
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6618
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6619
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6620
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6621
$as_echo "yes" >&6; }
6622
	else
6623
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624
$as_echo "no" >&6; }
6625
		PKG_CONFIG=""
6626
	fi
6627
fi
6628
6629
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= $GLIB_REQUIRED" >&5
6631
$as_echo_n "checking for glib-2.0 >= $GLIB_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6632
6633
if test -n "$GLIB_CFLAGS"; then
6634
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
6635
 elif test -n "$PKG_CONFIG"; then
6636
    if test -n "$PKG_CONFIG" && \
6637
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
6638
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
6639
  ac_status=$?
6640
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6641
  test $ac_status = 0; }; then
6642
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6643
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6644
else
6645
  pkg_failed=yes
6646
fi
6647
 else
6648
    pkg_failed=untried
6649
fi
6650
if test -n "$GLIB_LIBS"; then
6651
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
6652
 elif test -n "$PKG_CONFIG"; then
6653
    if test -n "$PKG_CONFIG" && \
6654
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
6655
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
6656
  ac_status=$?
6657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6658
  test $ac_status = 0; }; then
6659
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6660
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6661
else
6662
  pkg_failed=yes
6663
fi
6664
 else
6665
    pkg_failed=untried
6666
fi
6667
6668
6669
6670
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6671
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6672
$as_echo "no" >&6; }
6673
6674
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6675
        _pkg_short_errors_supported=yes
6676
else
6677
        _pkg_short_errors_supported=no
6678
fi
6679
        if test $_pkg_short_errors_supported = yes; then
56 by Osmo Antero
Version 0.5
6680
	        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
6681
        else
56 by Osmo Antero
Version 0.5
6682
	        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
6683
        fi
6684
	# Put the nasty error message in config.log where it belongs
6685
	echo "$GLIB_PKG_ERRORS" >&5
6686
6687
	as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
6688
6689
$GLIB_PKG_ERRORS
6690
6691
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6692
installed software in a non-standard prefix.
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." "$LINENO" 5
6697
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6698
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6699
$as_echo "no" >&6; }
6700
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6701
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6702
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6703
is in your PATH or set the PKG_CONFIG environment variable to the full
6704
path to pkg-config.
6705
6706
Alternatively, you may set the environment variables GLIB_CFLAGS
6707
and GLIB_LIBS to avoid the need to call pkg-config.
6708
See the pkg-config man page for more details.
6709
6710
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
6711
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6712
else
6713
	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
6714
	GLIB_LIBS=$pkg_cv_GLIB_LIBS
6715
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6716
$as_echo "yes" >&6; }
6717
6718
fi
6719
6720
6721
6722
6723
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= $GLIB_REQUIRED" >&5
6725
$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.
6726
6727
if test -n "$GIO_CFLAGS"; then
6728
    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
6729
 elif test -n "$PKG_CONFIG"; then
6730
    if test -n "$PKG_CONFIG" && \
6731
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
6732
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQUIRED") 2>&5
6733
  ac_status=$?
6734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6735
  test $ac_status = 0; }; then
6736
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
6737
		      test "x$?" != "x0" && pkg_failed=yes
6738
else
6739
  pkg_failed=yes
6740
fi
6741
 else
6742
    pkg_failed=untried
6743
fi
6744
if test -n "$GIO_LIBS"; then
6745
    pkg_cv_GIO_LIBS="$GIO_LIBS"
6746
 elif test -n "$PKG_CONFIG"; then
6747
    if test -n "$PKG_CONFIG" && \
6748
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GLIB_REQUIRED\""; } >&5
6749
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GLIB_REQUIRED") 2>&5
6750
  ac_status=$?
6751
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6752
  test $ac_status = 0; }; then
6753
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
6754
		      test "x$?" != "x0" && pkg_failed=yes
6755
else
6756
  pkg_failed=yes
6757
fi
6758
 else
6759
    pkg_failed=untried
6760
fi
6761
6762
6763
6764
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6765
        { $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.
6766
$as_echo "no" >&6; }
6767
6768
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6769
        _pkg_short_errors_supported=yes
6770
else
6771
        _pkg_short_errors_supported=no
6772
fi
6773
        if test $_pkg_short_errors_supported = yes; then
6774
	        GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= $GLIB_REQUIRED" 2>&1`
6775
        else
6776
	        GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= $GLIB_REQUIRED" 2>&1`
6777
        fi
6778
	# Put the nasty error message in config.log where it belongs
6779
	echo "$GIO_PKG_ERRORS" >&5
6780
6781
	as_fn_error $? "Package requirements (gio-2.0 >= $GLIB_REQUIRED) were not met:
6782
6783
$GIO_PKG_ERRORS
6784
6785
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6786
installed software in a non-standard prefix.
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." "$LINENO" 5
6791
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6792
        { $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.
6793
$as_echo "no" >&6; }
6794
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6795
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6796
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6797
is in your PATH or set the PKG_CONFIG environment variable to the full
6798
path to pkg-config.
6799
6800
Alternatively, you may set the environment variables GIO_CFLAGS
6801
and GIO_LIBS to avoid the need to call pkg-config.
6802
See the pkg-config man page for more details.
6803
6804
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6805
See \`config.log' for more details" "$LINENO" 5; }
6806
else
6807
	GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
6808
	GIO_LIBS=$pkg_cv_GIO_LIBS
6809
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6810
$as_echo "yes" >&6; }
6811
6812
fi
6813
6814
6815
6816
6817
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= $GTK_REQUIRED" >&5
6819
$as_echo_n "checking for gtk+-3.0 >= $GTK_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6820
6821
if test -n "$GTK_CFLAGS"; then
6822
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
6823
 elif test -n "$PKG_CONFIG"; then
6824
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6825
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
6826
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6827
  ac_status=$?
6828
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6829
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6830
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6831
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6832
else
6833
  pkg_failed=yes
6834
fi
6835
 else
6836
    pkg_failed=untried
6837
fi
6838
if test -n "$GTK_LIBS"; then
6839
    pkg_cv_GTK_LIBS="$GTK_LIBS"
6840
 elif test -n "$PKG_CONFIG"; then
6841
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6842
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
6843
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6844
  ac_status=$?
6845
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6846
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6847
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6848
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6849
else
6850
  pkg_failed=yes
6851
fi
6852
 else
6853
    pkg_failed=untried
6854
fi
6855
6856
6857
6858
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6859
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6860
$as_echo "no" >&6; }
6861
6862
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6863
        _pkg_short_errors_supported=yes
6864
else
6865
        _pkg_short_errors_supported=no
6866
fi
6867
        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
6868
	        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
6869
        else
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6870
	        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
6871
        fi
6872
	# Put the nasty error message in config.log where it belongs
6873
	echo "$GTK_PKG_ERRORS" >&5
6874
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
6875
	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6876
6877
$GTK_PKG_ERRORS
6878
6879
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6880
installed software in a non-standard prefix.
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." "$LINENO" 5
6885
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6886
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6887
$as_echo "no" >&6; }
6888
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6889
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6890
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6891
is in your PATH or set the PKG_CONFIG environment variable to the full
6892
path to pkg-config.
6893
6894
Alternatively, you may set the environment variables GTK_CFLAGS
6895
and GTK_LIBS to avoid the need to call pkg-config.
6896
See the pkg-config man page for more details.
6897
6898
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
6899
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6900
else
6901
	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
6902
	GTK_LIBS=$pkg_cv_GTK_LIBS
6903
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6904
$as_echo "yes" >&6; }
6905
6906
fi
6907
6908
6909
6910
6911
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-1.0 >= $GSTREAMER_REQUIRED" >&5
6913
$as_echo_n "checking for gstreamer-1.0 >= $GSTREAMER_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6914
6915
if test -n "$GSTREAMER_CFLAGS"; then
6916
    pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
6917
 elif test -n "$PKG_CONFIG"; then
6918
    if test -n "$PKG_CONFIG" && \
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6919
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
6920
  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= $GSTREAMER_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6921
  ac_status=$?
6922
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6923
  test $ac_status = 0; }; then
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6924
  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6925
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6926
else
6927
  pkg_failed=yes
6928
fi
6929
 else
6930
    pkg_failed=untried
6931
fi
6932
if test -n "$GSTREAMER_LIBS"; then
6933
    pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
6934
 elif test -n "$PKG_CONFIG"; then
6935
    if test -n "$PKG_CONFIG" && \
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6936
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
6937
  ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 >= $GSTREAMER_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6938
  ac_status=$?
6939
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6940
  test $ac_status = 0; }; then
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6941
  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
6942
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6943
else
6944
  pkg_failed=yes
6945
fi
6946
 else
6947
    pkg_failed=untried
6948
fi
6949
6950
6951
6952
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6953
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6954
$as_echo "no" >&6; }
6955
6956
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6957
        _pkg_short_errors_supported=yes
6958
else
6959
        _pkg_short_errors_supported=no
6960
fi
6961
        if test $_pkg_short_errors_supported = yes; then
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6962
	        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
6963
        else
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6964
	        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
6965
        fi
6966
	# Put the nasty error message in config.log where it belongs
6967
	echo "$GSTREAMER_PKG_ERRORS" >&5
6968
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
6969
	as_fn_error $? "Package requirements (gstreamer-1.0 >= $GSTREAMER_REQUIRED) were not met:
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6970
6971
$GSTREAMER_PKG_ERRORS
6972
6973
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6974
installed software in a non-standard prefix.
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." "$LINENO" 5
6979
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
6980
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6981
$as_echo "no" >&6; }
6982
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6983
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6984
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6985
is in your PATH or set the PKG_CONFIG environment variable to the full
6986
path to pkg-config.
6987
6988
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
6989
and GSTREAMER_LIBS to avoid the need to call pkg-config.
6990
See the pkg-config man page for more details.
6991
6992
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
6993
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
6994
else
6995
	GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
6996
	GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
6997
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6998
$as_echo "yes" >&6; }
6999
7000
fi
7001
7002
7003
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
7004
# Automatic installation of gstreamer plugins
7005
7006
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" >&5
7008
$as_echo_n "checking for gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED... " >&6; }
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
7009
7010
if test -n "$GSTREAMER_PBUTILS_CFLAGS"; then
7011
    pkg_cv_GSTREAMER_PBUTILS_CFLAGS="$GSTREAMER_PBUTILS_CFLAGS"
7012
 elif test -n "$PKG_CONFIG"; then
7013
    if test -n "$PKG_CONFIG" && \
7014
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
7015
  ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED") 2>&5
7016
  ac_status=$?
7017
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7018
  test $ac_status = 0; }; then
7019
  pkg_cv_GSTREAMER_PBUTILS_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
7020
		      test "x$?" != "x0" && pkg_failed=yes
7021
else
7022
  pkg_failed=yes
7023
fi
7024
 else
7025
    pkg_failed=untried
7026
fi
7027
if test -n "$GSTREAMER_PBUTILS_LIBS"; then
7028
    pkg_cv_GSTREAMER_PBUTILS_LIBS="$GSTREAMER_PBUTILS_LIBS"
7029
 elif test -n "$PKG_CONFIG"; then
7030
    if test -n "$PKG_CONFIG" && \
7031
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-1.0 >= \$GSTREAMER_REQUIRED\""; } >&5
7032
  ($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED") 2>&5
7033
  ac_status=$?
7034
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7035
  test $ac_status = 0; }; then
7036
  pkg_cv_GSTREAMER_PBUTILS_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>/dev/null`
7037
		      test "x$?" != "x0" && pkg_failed=yes
7038
else
7039
  pkg_failed=yes
7040
fi
7041
 else
7042
    pkg_failed=untried
7043
fi
7044
7045
7046
7047
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7048
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
7049
$as_echo "no" >&6; }
7050
7051
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7052
        _pkg_short_errors_supported=yes
7053
else
7054
        _pkg_short_errors_supported=no
7055
fi
7056
        if test $_pkg_short_errors_supported = yes; then
7057
	        GSTREAMER_PBUTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>&1`
7058
        else
7059
	        GSTREAMER_PBUTILS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED" 2>&1`
7060
        fi
7061
	# Put the nasty error message in config.log where it belongs
7062
	echo "$GSTREAMER_PBUTILS_PKG_ERRORS" >&5
7063
7064
	as_fn_error $? "Package requirements (gstreamer-pbutils-1.0 >= $GSTREAMER_REQUIRED) were not met:
7065
7066
$GSTREAMER_PBUTILS_PKG_ERRORS
7067
7068
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7069
installed software in a non-standard prefix.
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." "$LINENO" 5
7074
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7075
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
442 by Osmo Antero
Automatic installation of missing Gstreamer plugins.
7076
$as_echo "no" >&6; }
7077
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7078
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7079
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7080
is in your PATH or set the PKG_CONFIG environment variable to the full
7081
path to pkg-config.
7082
7083
Alternatively, you may set the environment variables GSTREAMER_PBUTILS_CFLAGS
7084
and GSTREAMER_PBUTILS_LIBS to avoid the need to call pkg-config.
7085
See the pkg-config man page for more details.
7086
7087
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7088
See \`config.log' for more details" "$LINENO" 5; }
7089
else
7090
	GSTREAMER_PBUTILS_CFLAGS=$pkg_cv_GSTREAMER_PBUTILS_CFLAGS
7091
	GSTREAMER_PBUTILS_LIBS=$pkg_cv_GSTREAMER_PBUTILS_LIBS
7092
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7093
$as_echo "yes" >&6; }
7094
7095
fi
7096
7097
412 by Osmo Antero
Code cleanups.
7098
7099
7100
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= $GTHREAD_REQUIRED" >&5
7102
$as_echo_n "checking for gthread-2.0 >= $GTHREAD_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7103
7104
if test -n "$GTHREAD_CFLAGS"; then
7105
    pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
7106
 elif test -n "$PKG_CONFIG"; then
7107
    if test -n "$PKG_CONFIG" && \
7108
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GTHREAD_REQUIRED\""; } >&5
7109
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GTHREAD_REQUIRED") 2>&5
7110
  ac_status=$?
7111
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7112
  test $ac_status = 0; }; then
7113
  pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= $GTHREAD_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7114
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7115
else
7116
  pkg_failed=yes
7117
fi
7118
 else
7119
    pkg_failed=untried
7120
fi
7121
if test -n "$GTHREAD_LIBS"; then
7122
    pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
7123
 elif test -n "$PKG_CONFIG"; then
7124
    if test -n "$PKG_CONFIG" && \
7125
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GTHREAD_REQUIRED\""; } >&5
7126
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GTHREAD_REQUIRED") 2>&5
7127
  ac_status=$?
7128
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129
  test $ac_status = 0; }; then
7130
  pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= $GTHREAD_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7131
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7132
else
7133
  pkg_failed=yes
7134
fi
7135
 else
7136
    pkg_failed=untried
7137
fi
7138
7139
7140
7141
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7142
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7143
$as_echo "no" >&6; }
7144
7145
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7146
        _pkg_short_errors_supported=yes
7147
else
7148
        _pkg_short_errors_supported=no
7149
fi
7150
        if test $_pkg_short_errors_supported = yes; then
56 by Osmo Antero
Version 0.5
7151
	        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
7152
        else
56 by Osmo Antero
Version 0.5
7153
	        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
7154
        fi
7155
	# Put the nasty error message in config.log where it belongs
7156
	echo "$GTHREAD_PKG_ERRORS" >&5
7157
7158
	as_fn_error $? "Package requirements (gthread-2.0 >= $GTHREAD_REQUIRED) were not met:
7159
7160
$GTHREAD_PKG_ERRORS
7161
7162
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7163
installed software in a non-standard prefix.
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." "$LINENO" 5
7168
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7169
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7170
$as_echo "no" >&6; }
7171
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7172
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7173
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7174
is in your PATH or set the PKG_CONFIG environment variable to the full
7175
path to pkg-config.
7176
7177
Alternatively, you may set the environment variables GTHREAD_CFLAGS
7178
and GTHREAD_LIBS to avoid the need to call pkg-config.
7179
See the pkg-config man page for more details.
7180
7181
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
7182
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7183
else
7184
	GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
7185
	GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
7186
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7187
$as_echo "yes" >&6; }
7188
7189
fi
7190
7191
7192
7193
7194
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 0.8" >&5
7196
$as_echo_n "checking for dbus-1 >= 0.8... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7197
7198
if test -n "$DBUS_CFLAGS"; then
7199
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
7200
 elif test -n "$PKG_CONFIG"; then
7201
    if test -n "$PKG_CONFIG" && \
7202
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.8\""; } >&5
7203
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.8") 2>&5
7204
  ac_status=$?
7205
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7206
  test $ac_status = 0; }; then
7207
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.8" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7208
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7209
else
7210
  pkg_failed=yes
7211
fi
7212
 else
7213
    pkg_failed=untried
7214
fi
7215
if test -n "$DBUS_LIBS"; then
7216
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
7217
 elif test -n "$PKG_CONFIG"; then
7218
    if test -n "$PKG_CONFIG" && \
7219
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.8\""; } >&5
7220
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.8") 2>&5
7221
  ac_status=$?
7222
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7223
  test $ac_status = 0; }; then
7224
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.8" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7225
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7226
else
7227
  pkg_failed=yes
7228
fi
7229
 else
7230
    pkg_failed=untried
7231
fi
7232
7233
7234
7235
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7236
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7237
$as_echo "no" >&6; }
7238
7239
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7240
        _pkg_short_errors_supported=yes
7241
else
7242
        _pkg_short_errors_supported=no
7243
fi
7244
        if test $_pkg_short_errors_supported = yes; then
56 by Osmo Antero
Version 0.5
7245
	        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
7246
        else
56 by Osmo Antero
Version 0.5
7247
	        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
7248
        fi
7249
	# Put the nasty error message in config.log where it belongs
7250
	echo "$DBUS_PKG_ERRORS" >&5
7251
7252
	as_fn_error $? "Package requirements (dbus-1 >= 0.8) were not met:
7253
7254
$DBUS_PKG_ERRORS
7255
7256
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7257
installed software in a non-standard prefix.
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." "$LINENO" 5
7262
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7263
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7264
$as_echo "no" >&6; }
7265
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7266
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7267
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7268
is in your PATH or set the PKG_CONFIG environment variable to the full
7269
path to pkg-config.
7270
7271
Alternatively, you may set the environment variables DBUS_CFLAGS
7272
and DBUS_LIBS to avoid the need to call pkg-config.
7273
See the pkg-config man page for more details.
7274
7275
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
7276
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7277
else
7278
	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
7279
	DBUS_LIBS=$pkg_cv_DBUS_LIBS
7280
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7281
$as_echo "yes" >&6; }
7282
7283
fi
7284
7285
7286
195 by osmoma at gmail
Moving to Gstreamer 1.0, temporary commit.
7287
# Support AppIndicator?
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7288
# 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
7289
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7290
7291
pkg_failed=no
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for appindicator3-0.1 >= $APPINDICATOR_REQUIRED" >&5
7293
$as_echo_n "checking for appindicator3-0.1 >= $APPINDICATOR_REQUIRED... " >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7294
7295
if test -n "$APP_INDICATOR_CFLAGS"; then
7296
    pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS"
7297
 elif test -n "$PKG_CONFIG"; then
7298
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7299
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
7300
  ($PKG_CONFIG --exists --print-errors "appindicator3-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7301
  ac_status=$?
7302
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7303
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7304
  pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7305
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7306
else
7307
  pkg_failed=yes
7308
fi
7309
 else
7310
    pkg_failed=untried
7311
fi
7312
if test -n "$APP_INDICATOR_LIBS"; then
7313
    pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS"
7314
 elif test -n "$PKG_CONFIG"; then
7315
    if test -n "$PKG_CONFIG" && \
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7316
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5
7317
  ($PKG_CONFIG --exists --print-errors "appindicator3-0.1 >= $APPINDICATOR_REQUIRED") 2>&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7318
  ac_status=$?
7319
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7320
  test $ac_status = 0; }; then
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7321
  pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null`
56 by Osmo Antero
Version 0.5
7322
		      test "x$?" != "x0" && pkg_failed=yes
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7323
else
7324
  pkg_failed=yes
7325
fi
7326
 else
7327
    pkg_failed=untried
7328
fi
7329
7330
7331
7332
if test $pkg_failed = yes; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7333
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7334
$as_echo "no" >&6; }
7335
7336
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7337
        _pkg_short_errors_supported=yes
7338
else
7339
        _pkg_short_errors_supported=no
7340
fi
7341
        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
7342
	        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
7343
        else
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7344
	        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
7345
        fi
7346
	# Put the nasty error message in config.log where it belongs
7347
	echo "$APP_INDICATOR_PKG_ERRORS" >&5
7348
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7349
	as_fn_error $? "Package requirements (appindicator3-0.1 >= $APPINDICATOR_REQUIRED) were not met:
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7350
7351
$APP_INDICATOR_PKG_ERRORS
7352
7353
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7354
installed software in a non-standard prefix.
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." "$LINENO" 5
7359
elif test $pkg_failed = untried; then
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
7360
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7361
$as_echo "no" >&6; }
7362
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7363
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7364
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7365
is in your PATH or set the PKG_CONFIG environment variable to the full
7366
path to pkg-config.
7367
7368
Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS
7369
and APP_INDICATOR_LIBS to avoid the need to call pkg-config.
7370
See the pkg-config man page for more details.
7371
7372
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
56 by Osmo Antero
Version 0.5
7373
See \`config.log' for more details" "$LINENO" 5; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7374
else
7375
	APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS
7376
	APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS
7377
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7378
$as_echo "yes" >&6; }
7379
7380
fi
7381
7382
7383
7384
# *************************
7385
# Checks for library functions.
7386
# *************************
7387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
7388
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
56 by Osmo Antero
Version 0.5
7389
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7390
  $as_echo_n "(cached) " >&6
7391
else
7392
  rm -f conftest.sym conftest.file
7393
echo >conftest.file
7394
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
7395
  if test "$cross_compiling" = yes; then :
7396
  ac_cv_func_lstat_dereferences_slashed_symlink=no
7397
else
7398
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7399
/* end confdefs.h.  */
7400
$ac_includes_default
7401
int
7402
main ()
7403
{
7404
struct stat sbuf;
7405
     /* Linux will dereference the symlink and fail, as required by POSIX.
7406
	That is better in the sense that it means we will not
7407
	have to compile and use the lstat wrapper.  */
7408
     return lstat ("conftest.sym/", &sbuf) == 0;
7409
  ;
7410
  return 0;
7411
}
7412
_ACEOF
7413
if ac_fn_c_try_run "$LINENO"; then :
7414
  ac_cv_func_lstat_dereferences_slashed_symlink=yes
7415
else
7416
  ac_cv_func_lstat_dereferences_slashed_symlink=no
7417
fi
7418
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7419
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7420
fi
7421
7422
else
7423
  # If the `ln -s' command failed, then we probably don't even
7424
  # have an lstat function.
7425
  ac_cv_func_lstat_dereferences_slashed_symlink=no
7426
fi
7427
rm -f conftest.sym conftest.file
7428
7429
fi
7430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
7431
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
7432
7433
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
7434
7435
cat >>confdefs.h <<_ACEOF
7436
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
7437
_ACEOF
7438
7439
7440
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
7441
  case " $LIBOBJS " in
7442
  *" lstat.$ac_objext "* ) ;;
7443
  *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
7444
 ;;
7445
esac
7446
7447
fi
7448
7449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
7450
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
56 by Osmo Antero
Version 0.5
7451
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7452
  $as_echo_n "(cached) " >&6
7453
else
7454
  if test "$cross_compiling" = yes; then :
7455
  ac_cv_func_stat_empty_string_bug=yes
7456
else
7457
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7458
/* end confdefs.h.  */
7459
$ac_includes_default
7460
int
7461
main ()
7462
{
7463
struct stat sbuf;
7464
  return stat ("", &sbuf) == 0;
7465
  ;
7466
  return 0;
7467
}
7468
_ACEOF
7469
if ac_fn_c_try_run "$LINENO"; then :
7470
  ac_cv_func_stat_empty_string_bug=no
7471
else
7472
  ac_cv_func_stat_empty_string_bug=yes
7473
fi
7474
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7475
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7476
fi
7477
7478
fi
7479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
7480
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
7481
if test $ac_cv_func_stat_empty_string_bug = yes; then
7482
  case " $LIBOBJS " in
7483
  *" stat.$ac_objext "* ) ;;
7484
  *) LIBOBJS="$LIBOBJS stat.$ac_objext"
7485
 ;;
7486
esac
7487
7488
7489
cat >>confdefs.h <<_ACEOF
7490
#define HAVE_STAT_EMPTY_STRING_BUG 1
7491
_ACEOF
7492
7493
fi
7494
7495
for ac_func in vprintf
7496
do :
7497
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
56 by Osmo Antero
Version 0.5
7498
if test "x$ac_cv_func_vprintf" = xyes; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7499
  cat >>confdefs.h <<_ACEOF
7500
#define HAVE_VPRINTF 1
7501
_ACEOF
7502
7503
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
56 by Osmo Antero
Version 0.5
7504
if test "x$ac_cv_func__doprnt" = xyes; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7505
7506
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
7507
7508
fi
7509
7510
fi
7511
done
7512
7513
7514
for ac_func in exp pow
7515
do :
7516
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7517
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7518
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7519
  cat >>confdefs.h <<_ACEOF
7520
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7521
_ACEOF
7522
7523
fi
7524
done
7525
7526
7527
# *************************
208 by osmoma at gmail
Fixed compilation error on Launchpad.net. Added <locale.h> to main.c.
7528
# Auto-set ALL_LINGUAS variable. See audio-recorder/po/*.po files.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7529
# *************************
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.
7530
ALL_LINGUAS=`(cd "$srcdir/po" > /dev/null && ls *.po) | cut -d. -f1 | xargs`
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7531
7532
GETTEXT_PACKAGE=audio-recorder
7533
7534
7535
7536
cat >>confdefs.h <<_ACEOF
7537
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
7538
_ACEOF
7539
7540
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
7541
# For po/Makefile
7542
# Ref: https://bugs.launchpad.net/ubuntu/+source/gettext/+bug/122343
7543
top_builddir=`pwd`
7544
7545
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7546
7547
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7548
$as_echo_n "checking whether NLS is requested... " >&6; }
7549
    # Check whether --enable-nls was given.
7550
if test "${enable_nls+set}" = set; then :
7551
  enableval=$enable_nls; USE_NLS=$enableval
7552
else
7553
  USE_NLS=yes
7554
fi
7555
7556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7557
$as_echo "$USE_NLS" >&6; }
7558
7559
7560
7561
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7562
case "$am__api_version" in
7563
    1.01234)
7564
	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
7565
    ;;
7566
    *)
7567
    ;;
7568
esac
7569
7570
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7571
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
7572
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7573
if test -n ""; then
7574
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
7575
$as_echo_n "checking for intltool >= ... " >&6; }
7576
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
7577
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
7578
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7579
	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
7580
fi
7581
7582
# Extract the first word of "intltool-update", so it can be a program name with args.
7583
set dummy intltool-update; ac_word=$2
7584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585
$as_echo_n "checking for $ac_word... " >&6; }
7586
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
7587
  $as_echo_n "(cached) " >&6
7588
else
7589
  case $INTLTOOL_UPDATE in
7590
  [\\/]* | ?:[\\/]*)
7591
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7592
  ;;
7593
  *)
7594
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595
for as_dir in $PATH
7596
do
7597
  IFS=$as_save_IFS
7598
  test -z "$as_dir" && as_dir=.
7599
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7600
  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.
7601
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
7602
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603
    break 2
7604
  fi
7605
done
7606
  done
7607
IFS=$as_save_IFS
7608
7609
  ;;
7610
esac
7611
fi
7612
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
7613
if test -n "$INTLTOOL_UPDATE"; then
7614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
7615
$as_echo "$INTLTOOL_UPDATE" >&6; }
7616
else
7617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618
$as_echo "no" >&6; }
7619
fi
7620
7621
7622
# Extract the first word of "intltool-merge", so it can be a program name with args.
7623
set dummy intltool-merge; ac_word=$2
7624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625
$as_echo_n "checking for $ac_word... " >&6; }
7626
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
7627
  $as_echo_n "(cached) " >&6
7628
else
7629
  case $INTLTOOL_MERGE in
7630
  [\\/]* | ?:[\\/]*)
7631
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
7632
  ;;
7633
  *)
7634
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635
for as_dir in $PATH
7636
do
7637
  IFS=$as_save_IFS
7638
  test -z "$as_dir" && as_dir=.
7639
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7640
  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.
7641
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
7642
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643
    break 2
7644
  fi
7645
done
7646
  done
7647
IFS=$as_save_IFS
7648
7649
  ;;
7650
esac
7651
fi
7652
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
7653
if test -n "$INTLTOOL_MERGE"; then
7654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
7655
$as_echo "$INTLTOOL_MERGE" >&6; }
7656
else
7657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658
$as_echo "no" >&6; }
7659
fi
7660
7661
7662
# Extract the first word of "intltool-extract", so it can be a program name with args.
7663
set dummy intltool-extract; ac_word=$2
7664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665
$as_echo_n "checking for $ac_word... " >&6; }
7666
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
7667
  $as_echo_n "(cached) " >&6
7668
else
7669
  case $INTLTOOL_EXTRACT in
7670
  [\\/]* | ?:[\\/]*)
7671
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7672
  ;;
7673
  *)
7674
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675
for as_dir in $PATH
7676
do
7677
  IFS=$as_save_IFS
7678
  test -z "$as_dir" && as_dir=.
7679
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7680
  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.
7681
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
7682
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683
    break 2
7684
  fi
7685
done
7686
  done
7687
IFS=$as_save_IFS
7688
7689
  ;;
7690
esac
7691
fi
7692
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
7693
if test -n "$INTLTOOL_EXTRACT"; then
7694
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
7695
$as_echo "$INTLTOOL_EXTRACT" >&6; }
7696
else
7697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698
$as_echo "no" >&6; }
7699
fi
7700
7701
7702
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7703
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
7704
fi
7705
7706
if test -z "$AM_DEFAULT_VERBOSITY"; then
7707
  AM_DEFAULT_VERBOSITY=1
7708
fi
7709
7710
7711
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
7712
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
7713
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
7714
7715
7716
7717
7718
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
7719
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
7720
intltool__v_merge_options_0='-q'
7721
7722
7723
7724
7725
  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 $< $@'
7726
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 $< $@'
7727
     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 $< $@'
7728
     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 $< $@'
7729
      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 $< $@'
7730
     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 $< $@'
7731
   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 $< $@'
7732
    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 $< $@'
7733
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 $< $@'
7734
       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 $< $@'
7735
      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 $< $@'
7736
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
7737
      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 $< $@'
7738
else
7739
      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'
7740
fi
7741
      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 $< $@'
7742
      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 $< $@'
7743
    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 $< $@'
7744
  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 $< $@'
7745
    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 $< $@'
7746
    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 $< $@'
7747
   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 $< $@'
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
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
# Check the gettext tools to make sure they are GNU
7846
# Extract the first word of "xgettext", so it can be a program name with args.
7847
set dummy xgettext; ac_word=$2
7848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849
$as_echo_n "checking for $ac_word... " >&6; }
7850
if ${ac_cv_path_XGETTEXT+:} false; then :
7851
  $as_echo_n "(cached) " >&6
7852
else
7853
  case $XGETTEXT in
7854
  [\\/]* | ?:[\\/]*)
7855
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7856
  ;;
7857
  *)
7858
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859
for as_dir in $PATH
7860
do
7861
  IFS=$as_save_IFS
7862
  test -z "$as_dir" && as_dir=.
7863
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7864
  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.
7865
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7866
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7867
    break 2
7868
  fi
7869
done
7870
  done
7871
IFS=$as_save_IFS
7872
7873
  ;;
7874
esac
7875
fi
7876
XGETTEXT=$ac_cv_path_XGETTEXT
7877
if test -n "$XGETTEXT"; then
7878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7879
$as_echo "$XGETTEXT" >&6; }
7880
else
7881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882
$as_echo "no" >&6; }
7883
fi
7884
7885
7886
# Extract the first word of "msgmerge", so it can be a program name with args.
7887
set dummy msgmerge; ac_word=$2
7888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889
$as_echo_n "checking for $ac_word... " >&6; }
7890
if ${ac_cv_path_MSGMERGE+:} false; then :
7891
  $as_echo_n "(cached) " >&6
7892
else
7893
  case $MSGMERGE in
7894
  [\\/]* | ?:[\\/]*)
7895
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7896
  ;;
7897
  *)
7898
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899
for as_dir in $PATH
7900
do
7901
  IFS=$as_save_IFS
7902
  test -z "$as_dir" && as_dir=.
7903
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7904
  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.
7905
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7906
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7907
    break 2
7908
  fi
7909
done
7910
  done
7911
IFS=$as_save_IFS
7912
7913
  ;;
7914
esac
7915
fi
7916
MSGMERGE=$ac_cv_path_MSGMERGE
7917
if test -n "$MSGMERGE"; then
7918
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7919
$as_echo "$MSGMERGE" >&6; }
7920
else
7921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922
$as_echo "no" >&6; }
7923
fi
7924
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7925
7926
# Extract the first word of "msgfmt", so it can be a program name with args.
7927
set dummy msgfmt; ac_word=$2
7928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
7930
if ${ac_cv_path_MSGFMT+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7931
  $as_echo_n "(cached) " >&6
7932
else
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7933
  case $MSGFMT in
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7934
  [\\/]* | ?:[\\/]*)
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7935
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7936
  ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7937
  *)
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7938
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939
for as_dir in $PATH
7940
do
7941
  IFS=$as_save_IFS
7942
  test -z "$as_dir" && as_dir=.
7943
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7944
  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.
7945
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947
    break 2
7948
  fi
7949
done
7950
  done
7951
IFS=$as_save_IFS
7952
7953
  ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7954
esac
7955
fi
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7956
MSGFMT=$ac_cv_path_MSGFMT
7957
if test -n "$MSGFMT"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7959
$as_echo "$MSGFMT" >&6; }
7960
else
7961
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962
$as_echo "no" >&6; }
7963
fi
7964
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
7965
7966
# 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
7967
set dummy gmsgfmt; ac_word=$2
7968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969
$as_echo_n "checking for $ac_word... " >&6; }
56 by Osmo Antero
Version 0.5
7970
if ${ac_cv_path_GMSGFMT+:} false; then :
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7971
  $as_echo_n "(cached) " >&6
7972
else
7973
  case $GMSGFMT in
7974
  [\\/]* | ?:[\\/]*)
7975
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7976
  ;;
7977
  *)
7978
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979
for as_dir in $PATH
7980
do
7981
  IFS=$as_save_IFS
7982
  test -z "$as_dir" && as_dir=.
7983
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
7984
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
7985
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987
    break 2
7988
  fi
7989
done
7990
  done
7991
IFS=$as_save_IFS
7992
7993
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7994
  ;;
7995
esac
7996
fi
7997
GMSGFMT=$ac_cv_path_GMSGFMT
7998
if test -n "$GMSGFMT"; then
7999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8000
$as_echo "$GMSGFMT" >&6; }
8001
else
8002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003
$as_echo "no" >&6; }
8004
fi
8005
8006
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
8007
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8008
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8009
fi
8010
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8011
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8012
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8013
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8014
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8015
fi
8016
8017
# Extract the first word of "perl", so it can be a program name with args.
8018
set dummy perl; ac_word=$2
8019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8020
$as_echo_n "checking for $ac_word... " >&6; }
8021
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
8022
  $as_echo_n "(cached) " >&6
8023
else
8024
  case $INTLTOOL_PERL in
8025
  [\\/]* | ?:[\\/]*)
8026
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8027
  ;;
8028
  *)
8029
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030
for as_dir in $PATH
8031
do
8032
  IFS=$as_save_IFS
8033
  test -z "$as_dir" && as_dir=.
8034
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8035
  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.
8036
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8037
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038
    break 2
8039
  fi
8040
done
8041
  done
8042
IFS=$as_save_IFS
8043
8044
  ;;
8045
esac
8046
fi
8047
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8048
if test -n "$INTLTOOL_PERL"; then
8049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
8050
$as_echo "$INTLTOOL_PERL" >&6; }
8051
else
8052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053
$as_echo "no" >&6; }
8054
fi
8055
8056
8057
if test -z "$INTLTOOL_PERL"; then
8058
   as_fn_error $? "perl not found" "$LINENO" 5
8059
fi
8060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
8061
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
8062
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
8063
if test $? -ne 0; then
8064
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
8065
else
8066
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
8067
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
8068
$as_echo "$IT_PERL_VERSION" >&6; }
8069
fi
8070
if test "x" != "xno-xml"; then
8071
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
8072
$as_echo_n "checking for XML::Parser... " >&6; }
8073
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8074
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8075
$as_echo "ok" >&6; }
8076
   else
8077
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
8078
   fi
8079
fi
8080
8081
# Substitute ALL_LINGUAS so we can use it in po/Makefile
8082
8083
8084
8085
8086
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8087
8088
# Support for GSetting schemas
8089
8090
1427 by Osmo Antero
Version 3.0.2
8091
8092
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8093
  # Check whether --enable-schemas-compile was given.
8094
if test "${enable_schemas_compile+set}" = set; then :
8095
  enableval=$enable_schemas_compile; case ${enableval} in
8096
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
8097
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
8098
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
8099
                 esac
8100
fi
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8111
	if test -n "$ac_tool_prefix"; then
8112
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8113
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
8114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8115
$as_echo_n "checking for $ac_word... " >&6; }
8116
if ${ac_cv_path_PKG_CONFIG+:} false; then :
8117
  $as_echo_n "(cached) " >&6
8118
else
8119
  case $PKG_CONFIG in
8120
  [\\/]* | ?:[\\/]*)
8121
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8122
  ;;
8123
  *)
8124
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125
for as_dir in $PATH
8126
do
8127
  IFS=$as_save_IFS
8128
  test -z "$as_dir" && as_dir=.
8129
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8130
  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
8131
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8132
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8133
    break 2
8134
  fi
8135
done
8136
  done
8137
IFS=$as_save_IFS
8138
8139
  ;;
8140
esac
8141
fi
8142
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8143
if test -n "$PKG_CONFIG"; then
8144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
8145
$as_echo "$PKG_CONFIG" >&6; }
8146
else
8147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148
$as_echo "no" >&6; }
8149
fi
8150
8151
8152
fi
8153
if test -z "$ac_cv_path_PKG_CONFIG"; then
8154
  ac_pt_PKG_CONFIG=$PKG_CONFIG
8155
  # Extract the first word of "pkg-config", so it can be a program name with args.
8156
set dummy pkg-config; ac_word=$2
8157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8158
$as_echo_n "checking for $ac_word... " >&6; }
8159
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8160
  $as_echo_n "(cached) " >&6
8161
else
8162
  case $ac_pt_PKG_CONFIG in
8163
  [\\/]* | ?:[\\/]*)
8164
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8165
  ;;
8166
  *)
8167
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168
for as_dir in $PATH
8169
do
8170
  IFS=$as_save_IFS
8171
  test -z "$as_dir" && as_dir=.
8172
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8173
  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
8174
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8175
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176
    break 2
8177
  fi
8178
done
8179
  done
8180
IFS=$as_save_IFS
8181
8182
  ;;
8183
esac
8184
fi
8185
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
8186
if test -n "$ac_pt_PKG_CONFIG"; then
8187
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
8188
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
8189
else
8190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191
$as_echo "no" >&6; }
8192
fi
8193
8194
  if test "x$ac_pt_PKG_CONFIG" = x; then
8195
    PKG_CONFIG=""
8196
  else
8197
    case $cross_compiling:$ac_tool_warned in
8198
yes:)
8199
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8200
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8201
ac_tool_warned=yes ;;
8202
esac
8203
    PKG_CONFIG=$ac_pt_PKG_CONFIG
8204
  fi
8205
else
8206
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
8207
fi
8208
8209
fi
8210
if test -n "$PKG_CONFIG"; then
8211
	_pkg_min_version=0.16
8212
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
8213
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
8214
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8215
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8216
$as_echo "yes" >&6; }
8217
	else
8218
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219
$as_echo "no" >&6; }
8220
		PKG_CONFIG=""
8221
	fi
8222
fi
8223
  gsettingsschemadir=${datadir}/glib-2.0/schemas
8224
1427 by Osmo Antero
Version 3.0.2
8225
  if test x$cross_compiling != xyes; then :
8226
8227
if test -n "$GLIB_COMPILE_SCHEMAS"; then
8228
    pkg_cv_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS"
8229
 elif test -n "$PKG_CONFIG"; then
8230
    if test -n "$PKG_CONFIG" && \
8231
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
8232
  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
8233
  ac_status=$?
8234
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8235
  test $ac_status = 0; }; then
8236
  pkg_cv_GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable="glib_compile_schemas" "gio-2.0" 2>/dev/null`
8237
		      test "x$?" != "x0" && pkg_failed=yes
8238
else
8239
  pkg_failed=yes
8240
fi
8241
 else
8242
    pkg_failed=untried
8243
fi
8244
GLIB_COMPILE_SCHEMAS=$pkg_cv_GLIB_COMPILE_SCHEMAS
8245
8246
if test "x$GLIB_COMPILE_SCHEMAS" = x""; then :
8247
8248
fi
8249
else
8250
  # 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
8251
set dummy glib-compile-schemas; ac_word=$2
8252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8253
$as_echo_n "checking for $ac_word... " >&6; }
8254
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
8255
  $as_echo_n "(cached) " >&6
8256
else
8257
  case $GLIB_COMPILE_SCHEMAS in
8258
  [\\/]* | ?:[\\/]*)
8259
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
8260
  ;;
8261
  *)
8262
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8263
for as_dir in $PATH
8264
do
8265
  IFS=$as_save_IFS
8266
  test -z "$as_dir" && as_dir=.
8267
    for ac_exec_ext in '' $ac_executable_extensions; do
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8268
  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
8269
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
8270
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8271
    break 2
8272
  fi
8273
done
8274
  done
8275
IFS=$as_save_IFS
8276
8277
  ;;
8278
esac
8279
fi
8280
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
8281
if test -n "$GLIB_COMPILE_SCHEMAS"; then
8282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
8283
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
8284
else
8285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286
$as_echo "no" >&6; }
8287
fi
8288
8289
1427 by Osmo Antero
Version 3.0.2
8290
fi
69 by Osmo Antero
Ported this application to GTK/GDK 3. Using now GSettings (and dconf) instead of GConf2
8291
8292
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
8293
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
8294
  else
8295
    :
8296
  fi
8297
8298
  GSETTINGS_RULES='
8299
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
8300
8301
mostlyclean-am: clean-gsettings-schemas
8302
8303
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
8304
8305
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
351 by Osmo Antero
Compiling A.r for Ubuntu 14.04. No relevant changes.
8306
	$(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
8307
8308
all-am: $(gsettings_SCHEMAS:.xml=.valid)
8309
uninstall-am: uninstall-gsettings-schemas
8310
install-data-am: install-gsettings-schemas
8311
8312
.SECONDARY: $(gsettings_SCHEMAS)
8313
8314
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
8315
	@$(NORMAL_INSTALL)
8316
	if test -n "$^"; then \
8317
		test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
8318
		$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
8319
		test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
8320
	fi
8321
8322
uninstall-gsettings-schemas:
8323
	@$(NORMAL_UNINSTALL)
8324
	@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
8325
	files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
8326
	test -n "$$files" || exit 0; \
8327
	echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
8328
	cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
8329
	test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
8330
8331
clean-gsettings-schemas:
8332
	rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
8333
8334
ifdef gsettings_ENUM_NAMESPACE
8335
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
8336
	$(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 $@
8337
endif
8338
'
8339
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8340
8341
8342
8343
8344
8345
8346
# Change default from /usr/local to /usr
8347
8348
339 by Osmo Antero
Replaced fized size icons 16x16,...,64x64 with scalable svg images. The off-icon on the systray is now white-gray.
8349
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
8350
8351
8352
cat >confcache <<\_ACEOF
8353
# This file is a shell script that caches the results of configure
8354
# tests run on this system so they can be shared between configure
8355
# scripts and configure runs, see configure's option --config-cache.
8356
# It is not useful on other systems.  If it contains results you don't
8357
# want to keep, you may remove or edit it.
8358
#
8359
# config.status only pays attention to the cache file if you give it
8360
# the --recheck option to rerun configure.
8361
#
8362
# `ac_cv_env_foo' variables (set or unset) will be overridden when
8363
# loading this file, other *unset* `ac_cv_foo' will be assigned the
8364
# following values.
8365
8366
_ACEOF
8367
8368
# The following way of writing the cache mishandles newlines in values,
8369
# but we know of no workaround that is simple, portable, and efficient.
8370
# So, we kill variables containing newlines.
8371
# Ultrix sh set writes to stderr and can't be redirected directly,
8372
# and sets the high bit in the cache file unless we assign to the vars.
8373
(
8374
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8375
    eval ac_val=\$$ac_var
8376
    case $ac_val in #(
8377
    *${as_nl}*)
8378
      case $ac_var in #(
8379
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8380
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8381
      esac
8382
      case $ac_var in #(
8383
      _ | IFS | as_nl) ;; #(
8384
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8385
      *) { eval $ac_var=; unset $ac_var;} ;;
8386
      esac ;;
8387
    esac
8388
  done
8389
8390
  (set) 2>&1 |
8391
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
8392
    *${as_nl}ac_space=\ *)
8393
      # `set' does not quote correctly, so add quotes: double-quote
8394
      # substitution turns \\\\ into \\, and sed turns \\ into \.
8395
      sed -n \
8396
	"s/'/'\\\\''/g;
8397
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8398
      ;; #(
8399
    *)
8400
      # `set' quotes correctly as required by POSIX, so do not add quotes.
8401
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8402
      ;;
8403
    esac |
8404
    sort
8405
) |
8406
  sed '
8407
     /^ac_cv_env_/b end
8408
     t clear
8409
     :clear
8410
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8411
     t end
8412
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8413
     :end' >>confcache
8414
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8415
  if test -w "$cache_file"; then
56 by Osmo Antero
Version 0.5
8416
    if test "x$cache_file" != "x/dev/null"; then
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8417
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8418
$as_echo "$as_me: updating cache $cache_file" >&6;}
56 by Osmo Antero
Version 0.5
8419
      if test ! -f "$cache_file" || test -h "$cache_file"; then
8420
	cat confcache >"$cache_file"
8421
      else
8422
        case $cache_file in #(
8423
        */* | ?:*)
8424
	  mv -f confcache "$cache_file"$$ &&
8425
	  mv -f "$cache_file"$$ "$cache_file" ;; #(
8426
        *)
8427
	  mv -f confcache "$cache_file" ;;
8428
	esac
8429
      fi
8430
    fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8431
  else
8432
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8433
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8434
  fi
8435
fi
8436
rm -f confcache
8437
8438
test "x$prefix" = xNONE && prefix=$ac_default_prefix
8439
# Let make expand exec_prefix.
8440
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8441
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
8442
# Transform confdefs.h into DEFS.
8443
# Protect against shell expansion while executing Makefile rules.
8444
# Protect against Makefile macro expansion.
8445
#
8446
# If the first sed substitution is executed (which looks for macros that
8447
# take arguments), then branch to the quote section.  Otherwise,
8448
# look for a macro that doesn't take arguments.
8449
ac_script='
8450
:mline
8451
/\\$/{
8452
 N
8453
 s,\\\n,,
8454
 b mline
8455
}
8456
t clear
8457
:clear
8458
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
8459
t quote
8460
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
8461
t quote
8462
b any
8463
:quote
8464
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8465
s/\[/\\&/g
8466
s/\]/\\&/g
8467
s/\$/$$/g
8468
H
8469
:any
8470
${
8471
	g
8472
	s/^\n//
8473
	s/\n/ /g
8474
	p
8475
}
8476
'
8477
DEFS=`sed -n "$ac_script" confdefs.h`
8478
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8479
8480
ac_libobjs=
8481
ac_ltlibobjs=
8482
U=
8483
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8484
  # 1. Remove the extension, and $U if already installed.
8485
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8486
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8487
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8488
  #    will be set to the directory where LIBOBJS objects are built.
8489
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8490
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8491
done
8492
LIBOBJS=$ac_libobjs
8493
8494
LTLIBOBJS=$ac_ltlibobjs
8495
8496
326 by Osmo Antero
Version 1.2. First build for Ubuntu 13.10 (Saucy Salamander). Renamed configure.in to configure.ac.
8497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8498
$as_echo_n "checking that generated files are newer than configure... " >&6; }
8499
   if test -n "$am_sleep_pid"; then
8500
     # Hide warnings about reused PIDs.
8501
     wait $am_sleep_pid 2>/dev/null
8502
   fi
8503
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
8504
$as_echo "done" >&6; }
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8505
 if test -n "$EXEEXT"; then
8506
  am__EXEEXT_TRUE=
8507
  am__EXEEXT_FALSE='#'
8508
else
8509
  am__EXEEXT_TRUE='#'
8510
  am__EXEEXT_FALSE=
8511
fi
8512
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 "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8514
  as_fn_error $? "conditional \"AMDEP\" was never defined.
8515
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8516
fi
8517
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8518
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8519
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8520
fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8521
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8522
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8523
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8524
fi
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
8525
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8526
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8527
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8528
fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8529
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8530
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
8531
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8532
fi
416 by Osmo Antero
Version 1.5 (1.5-3) of Audio-Recorder. Please see the ChangeLog for list of changes.
8533
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8534
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8535
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8536
fi
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8537
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
8538
  ac_config_commands="$ac_config_commands po/stamp-it"
8539
8540
8541
56 by Osmo Antero
Version 0.5
8542
: "${CONFIG_STATUS=./config.status}"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8543
ac_write_fail=0
8544
ac_clean_files_save=$ac_clean_files
8545
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8546
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8547
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8548
as_write_fail=0
8549
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8550
#! $SHELL
8551
# Generated by $as_me.
8552
# Run this file to recreate the current configuration.
8553
# Compiler output produced by configure, useful for debugging
8554
# configure, is in config.log if it exists.
8555
8556
debug=false
8557
ac_cs_recheck=false
8558
ac_cs_silent=false
8559
8560
SHELL=\${CONFIG_SHELL-$SHELL}
8561
export SHELL
8562
_ASEOF
8563
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8564
## -------------------- ##
8565
## M4sh Initialization. ##
8566
## -------------------- ##
8567
8568
# Be more Bourne compatible
8569
DUALCASE=1; export DUALCASE # for MKS sh
8570
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8571
  emulate sh
8572
  NULLCMD=:
8573
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8574
  # is contrary to our usage.  Disable this feature.
8575
  alias -g '${1+"$@"}'='"$@"'
8576
  setopt NO_GLOB_SUBST
8577
else
8578
  case `(set -o) 2>/dev/null` in #(
8579
  *posix*) :
8580
    set -o posix ;; #(
8581
  *) :
8582
     ;;
8583
esac
8584
fi
8585
8586
8587
as_nl='
8588
'
8589
export as_nl
8590
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8591
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8592
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8593
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8594
# Prefer a ksh shell builtin over an external printf program on Solaris,
8595
# but without wasting forks for bash or zsh.
8596
if test -z "$BASH_VERSION$ZSH_VERSION" \
8597
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8598
  as_echo='print -r --'
8599
  as_echo_n='print -rn --'
8600
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8601
  as_echo='printf %s\n'
8602
  as_echo_n='printf %s'
8603
else
8604
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8605
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8606
    as_echo_n='/usr/ucb/echo -n'
8607
  else
8608
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8609
    as_echo_n_body='eval
8610
      arg=$1;
8611
      case $arg in #(
8612
      *"$as_nl"*)
8613
	expr "X$arg" : "X\\(.*\\)$as_nl";
8614
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8615
      esac;
8616
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8617
    '
8618
    export as_echo_n_body
8619
    as_echo_n='sh -c $as_echo_n_body as_echo'
8620
  fi
8621
  export as_echo_body
8622
  as_echo='sh -c $as_echo_body as_echo'
8623
fi
8624
8625
# The user is always right.
8626
if test "${PATH_SEPARATOR+set}" != set; then
8627
  PATH_SEPARATOR=:
8628
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8629
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8630
      PATH_SEPARATOR=';'
8631
  }
8632
fi
8633
8634
8635
# IFS
8636
# We need space, tab and new line, in precisely that order.  Quoting is
8637
# there to prevent editors from complaining about space-tab.
8638
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8639
# splitting by setting IFS to empty value.)
8640
IFS=" ""	$as_nl"
8641
8642
# Find who we are.  Look in the path if we contain no directory separator.
56 by Osmo Antero
Version 0.5
8643
as_myself=
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8644
case $0 in #((
8645
  *[\\/]* ) as_myself=$0 ;;
8646
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647
for as_dir in $PATH
8648
do
8649
  IFS=$as_save_IFS
8650
  test -z "$as_dir" && as_dir=.
8651
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8652
  done
8653
IFS=$as_save_IFS
8654
8655
     ;;
8656
esac
8657
# We did not find ourselves, most probably we were run as `sh COMMAND'
8658
# in which case we are not to be found in the path.
8659
if test "x$as_myself" = x; then
8660
  as_myself=$0
8661
fi
8662
if test ! -f "$as_myself"; then
8663
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8664
  exit 1
8665
fi
8666
8667
# Unset variables that we do not need and which cause bugs (e.g. in
8668
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
8669
# suppresses any "Segmentation fault" message there.  '((' could
8670
# trigger a bug in pdksh 5.2.14.
8671
for as_var in BASH_ENV ENV MAIL MAILPATH
8672
do eval test x\${$as_var+set} = xset \
8673
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8674
done
8675
PS1='$ '
8676
PS2='> '
8677
PS4='+ '
8678
8679
# NLS nuisances.
8680
LC_ALL=C
8681
export LC_ALL
8682
LANGUAGE=C
8683
export LANGUAGE
8684
8685
# CDPATH.
8686
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8687
8688
8689
# as_fn_error STATUS ERROR [LINENO LOG_FD]
8690
# ----------------------------------------
8691
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8692
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8693
# script with STATUS, using 1 if that was 0.
8694
as_fn_error ()
8695
{
8696
  as_status=$1; test $as_status -eq 0 && as_status=1
8697
  if test "$4"; then
8698
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8699
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8700
  fi
8701
  $as_echo "$as_me: error: $2" >&2
8702
  as_fn_exit $as_status
8703
} # as_fn_error
8704
8705
8706
# as_fn_set_status STATUS
8707
# -----------------------
8708
# Set $? to STATUS, without forking.
8709
as_fn_set_status ()
8710
{
8711
  return $1
8712
} # as_fn_set_status
8713
8714
# as_fn_exit STATUS
8715
# -----------------
8716
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8717
as_fn_exit ()
8718
{
8719
  set +e
8720
  as_fn_set_status $1
8721
  exit $1
8722
} # as_fn_exit
8723
8724
# as_fn_unset VAR
8725
# ---------------
8726
# Portably unset VAR.
8727
as_fn_unset ()
8728
{
8729
  { eval $1=; unset $1;}
8730
}
8731
as_unset=as_fn_unset
8732
# as_fn_append VAR VALUE
8733
# ----------------------
8734
# Append the text in VALUE to the end of the definition contained in VAR. Take
8735
# advantage of any shell optimizations that allow amortized linear growth over
8736
# repeated appends, instead of the typical quadratic growth present in naive
8737
# implementations.
8738
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8739
  eval 'as_fn_append ()
8740
  {
8741
    eval $1+=\$2
8742
  }'
8743
else
8744
  as_fn_append ()
8745
  {
8746
    eval $1=\$$1\$2
8747
  }
8748
fi # as_fn_append
8749
8750
# as_fn_arith ARG...
8751
# ------------------
8752
# Perform arithmetic evaluation on the ARGs, and store the result in the
8753
# global $as_val. Take advantage of shells that can avoid forks. The arguments
8754
# must be portable across $(()) and expr.
8755
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8756
  eval 'as_fn_arith ()
8757
  {
8758
    as_val=$(( $* ))
8759
  }'
8760
else
8761
  as_fn_arith ()
8762
  {
8763
    as_val=`expr "$@" || test $? -eq 1`
8764
  }
8765
fi # as_fn_arith
8766
8767
8768
if expr a : '\(a\)' >/dev/null 2>&1 &&
8769
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8770
  as_expr=expr
8771
else
8772
  as_expr=false
8773
fi
8774
8775
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8776
  as_basename=basename
8777
else
8778
  as_basename=false
8779
fi
8780
8781
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8782
  as_dirname=dirname
8783
else
8784
  as_dirname=false
8785
fi
8786
8787
as_me=`$as_basename -- "$0" ||
8788
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8789
	 X"$0" : 'X\(//\)$' \| \
8790
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8791
$as_echo X/"$0" |
8792
    sed '/^.*\/\([^/][^/]*\)\/*$/{
8793
	    s//\1/
8794
	    q
8795
	  }
8796
	  /^X\/\(\/\/\)$/{
8797
	    s//\1/
8798
	    q
8799
	  }
8800
	  /^X\/\(\/\).*/{
8801
	    s//\1/
8802
	    q
8803
	  }
8804
	  s/.*/./; q'`
8805
8806
# Avoid depending upon Character Ranges.
8807
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8808
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8809
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8810
as_cr_digits='0123456789'
8811
as_cr_alnum=$as_cr_Letters$as_cr_digits
8812
8813
ECHO_C= ECHO_N= ECHO_T=
8814
case `echo -n x` in #(((((
8815
-n*)
8816
  case `echo 'xy\c'` in
8817
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
8818
  xy)  ECHO_C='\c';;
8819
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
8820
       ECHO_T='	';;
8821
  esac;;
8822
*)
8823
  ECHO_N='-n';;
8824
esac
8825
8826
rm -f conf$$ conf$$.exe conf$$.file
8827
if test -d conf$$.dir; then
8828
  rm -f conf$$.dir/conf$$.file
8829
else
8830
  rm -f conf$$.dir
8831
  mkdir conf$$.dir 2>/dev/null
8832
fi
8833
if (echo >conf$$.file) 2>/dev/null; then
8834
  if ln -s conf$$.file conf$$ 2>/dev/null; then
8835
    as_ln_s='ln -s'
8836
    # ... but there are two gotchas:
8837
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8838
    # 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.
8839
    # In both cases, we have to default to `cp -pR'.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8840
    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.
8841
      as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8842
  elif ln conf$$.file conf$$ 2>/dev/null; then
8843
    as_ln_s=ln
8844
  else
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8845
    as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8846
  fi
8847
else
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8848
  as_ln_s='cp -pR'
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8849
fi
8850
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8851
rmdir conf$$.dir 2>/dev/null
8852
8853
8854
# as_fn_mkdir_p
8855
# -------------
8856
# Create "$as_dir" as a directory, including parents if necessary.
8857
as_fn_mkdir_p ()
8858
{
8859
8860
  case $as_dir in #(
8861
  -*) as_dir=./$as_dir;;
8862
  esac
8863
  test -d "$as_dir" || eval $as_mkdir_p || {
8864
    as_dirs=
8865
    while :; do
8866
      case $as_dir in #(
8867
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8868
      *) as_qdir=$as_dir;;
8869
      esac
8870
      as_dirs="'$as_qdir' $as_dirs"
8871
      as_dir=`$as_dirname -- "$as_dir" ||
8872
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8873
	 X"$as_dir" : 'X\(//\)[^/]' \| \
8874
	 X"$as_dir" : 'X\(//\)$' \| \
8875
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8876
$as_echo X"$as_dir" |
8877
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8878
	    s//\1/
8879
	    q
8880
	  }
8881
	  /^X\(\/\/\)[^/].*/{
8882
	    s//\1/
8883
	    q
8884
	  }
8885
	  /^X\(\/\/\)$/{
8886
	    s//\1/
8887
	    q
8888
	  }
8889
	  /^X\(\/\).*/{
8890
	    s//\1/
8891
	    q
8892
	  }
8893
	  s/.*/./; q'`
8894
      test -d "$as_dir" && break
8895
    done
8896
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8897
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8898
8899
8900
} # as_fn_mkdir_p
8901
if mkdir -p . 2>/dev/null; then
8902
  as_mkdir_p='mkdir -p "$as_dir"'
8903
else
8904
  test -d ./-p && rmdir ./-p
8905
  as_mkdir_p=false
8906
fi
8907
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8908
8909
# as_fn_executable_p FILE
8910
# -----------------------
8911
# Test if FILE is an executable regular file.
8912
as_fn_executable_p ()
8913
{
8914
  test -f "$1" && test -x "$1"
8915
} # as_fn_executable_p
8916
as_test_x='test -x'
8917
as_executable_p=as_fn_executable_p
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8918
8919
# Sed expression to map a string onto a valid CPP name.
8920
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8921
8922
# Sed expression to map a string onto a valid variable name.
8923
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8924
8925
8926
exec 6>&1
8927
## ----------------------------------- ##
8928
## Main body of $CONFIG_STATUS script. ##
8929
## ----------------------------------- ##
8930
_ASEOF
8931
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8932
8933
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8934
# Save the log message, to keep $0 and so on meaningful, and to
8935
# report actual input values of CONFIG_FILES etc. instead of their
8936
# values after options handling.
8937
ac_log="
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
8938
This file was extended by Audio Recorder $as_me 3.3.4, which was
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8939
generated by GNU Autoconf 2.69.  Invocation command line was
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8940
8941
  CONFIG_FILES    = $CONFIG_FILES
8942
  CONFIG_HEADERS  = $CONFIG_HEADERS
8943
  CONFIG_LINKS    = $CONFIG_LINKS
8944
  CONFIG_COMMANDS = $CONFIG_COMMANDS
8945
  $ $0 $@
8946
8947
on `(hostname || uname -n) 2>/dev/null | sed 1q`
8948
"
8949
8950
_ACEOF
8951
8952
case $ac_config_files in *"
8953
"*) set x $ac_config_files; shift; ac_config_files=$*;;
8954
esac
8955
8956
8957
8958
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8959
# Files that config.status was made for.
8960
config_files="$ac_config_files"
8961
config_commands="$ac_config_commands"
8962
8963
_ACEOF
8964
8965
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8966
ac_cs_usage="\
8967
\`$as_me' instantiates files and other configuration actions
8968
from templates according to the current configuration.  Unless the files
8969
and actions are specified as TAGs, all are instantiated by default.
8970
8971
Usage: $0 [OPTION]... [TAG]...
8972
8973
  -h, --help       print this help, then exit
8974
  -V, --version    print version number and configuration settings, then exit
8975
      --config     print configuration, then exit
8976
  -q, --quiet, --silent
8977
                   do not print progress messages
8978
  -d, --debug      don't remove temporary files
8979
      --recheck    update $as_me by reconfiguring in the same conditions
8980
      --file=FILE[:TEMPLATE]
8981
                   instantiate the configuration file FILE
8982
8983
Configuration files:
8984
$config_files
8985
8986
Configuration commands:
8987
$config_commands
8988
470.2.2 by Osmo Antero
Preparing packaging of v.1.6-5 for Ubuntu 15.10.
8989
Report bugs to <https://bugs.launchpad.net/~audio-recorder>."
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8990
8991
_ACEOF
8992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8993
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8994
ac_cs_version="\\
2196 by Osmo Antero
Version 3.3.4. Removed Speexenc (SPX) encoder from MediaProfiles. Added opus encoder.
8995
Audio Recorder config.status 3.3.4
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8996
configured by $0, generated by GNU Autoconf 2.69,
1 by Osmo Antero Maatta
Initial import 17.jan.2011
8997
  with options \\"\$ac_cs_config\\"
8998
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
8999
Copyright (C) 2012 Free Software Foundation, Inc.
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9000
This config.status script is free software; the Free Software Foundation
9001
gives unlimited permission to copy, distribute and modify it."
9002
9003
ac_pwd='$ac_pwd'
9004
srcdir='$srcdir'
9005
INSTALL='$INSTALL'
9006
MKDIR_P='$MKDIR_P'
9007
AWK='$AWK'
9008
test -n "\$AWK" || AWK=awk
9009
_ACEOF
9010
9011
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9012
# The default lists apply if the user does not specify any file.
9013
ac_need_defaults=:
9014
while test $# != 0
9015
do
9016
  case $1 in
9017
  --*=?*)
9018
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9019
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9020
    ac_shift=:
9021
    ;;
9022
  --*=)
9023
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9024
    ac_optarg=
9025
    ac_shift=:
9026
    ;;
9027
  *)
9028
    ac_option=$1
9029
    ac_optarg=$2
9030
    ac_shift=shift
9031
    ;;
9032
  esac
9033
9034
  case $ac_option in
9035
  # Handling of the options.
9036
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9037
    ac_cs_recheck=: ;;
9038
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9039
    $as_echo "$ac_cs_version"; exit ;;
9040
  --config | --confi | --conf | --con | --co | --c )
9041
    $as_echo "$ac_cs_config"; exit ;;
9042
  --debug | --debu | --deb | --de | --d | -d )
9043
    debug=: ;;
9044
  --file | --fil | --fi | --f )
9045
    $ac_shift
9046
    case $ac_optarg in
9047
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9048
    '') as_fn_error $? "missing file argument" ;;
9049
    esac
9050
    as_fn_append CONFIG_FILES " '$ac_optarg'"
9051
    ac_need_defaults=false;;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9052
  --he | --h |  --help | --hel | -h )
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9053
    $as_echo "$ac_cs_usage"; exit ;;
9054
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9055
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9056
    ac_cs_silent=: ;;
9057
9058
  # This is an error.
9059
  -*) as_fn_error $? "unrecognized option: \`$1'
9060
Try \`$0 --help' for more information." ;;
9061
9062
  *) as_fn_append ac_config_targets " $1"
9063
     ac_need_defaults=false ;;
9064
9065
  esac
9066
  shift
9067
done
9068
9069
ac_configure_extra_args=
9070
9071
if $ac_cs_silent; then
9072
  exec 6>/dev/null
9073
  ac_configure_extra_args="$ac_configure_extra_args --silent"
9074
fi
9075
9076
_ACEOF
9077
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9078
if \$ac_cs_recheck; then
189 by osmoma at gmail
Replaced all GTK3's deprecated methods with new syntax.
9079
  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
9080
  shift
9081
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9082
  CONFIG_SHELL='$SHELL'
9083
  export CONFIG_SHELL
9084
  exec "\$@"
9085
fi
9086
9087
_ACEOF
9088
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9089
exec 5>>config.log
9090
{
9091
  echo
9092
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9093
## Running $as_me. ##
9094
_ASBOX
9095
  $as_echo "$ac_log"
9096
} >&5
9097
9098
_ACEOF
9099
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9100
#
9101
# INIT-COMMANDS
9102
#
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9103
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9104
9105
_ACEOF
9106
9107
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9108
9109
# Handling of arguments.
9110
for ac_config_target in $ac_config_targets
9111
do
9112
  case $ac_config_target in
9113
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9114
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9115
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9116
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
56 by Osmo Antero
Version 0.5
9117
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
9118
    "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.
9119
    "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9120
    "icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/apps/Makefile" ;;
9121
    "icons/hicolor/scalable/status/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/status/Makefile" ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9122
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
9123
    "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
9124
    "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.
9125
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9126
56 by Osmo Antero
Version 0.5
9127
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9128
  esac
9129
done
9130
9131
9132
# If the user did not use the arguments to specify the items to instantiate,
9133
# then the envvar interface is used.  Set only those that are not.
9134
# We use the long form for the default assignment because of an extremely
9135
# bizarre bug on SunOS 4.1.3.
9136
if $ac_need_defaults; then
9137
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9138
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9139
fi
9140
9141
# Have a temporary directory for convenience.  Make it in the build tree
9142
# simply because there is no reason against having it here, and in addition,
9143
# creating and moving files from /tmp can sometimes cause problems.
9144
# Hook for its removal unless debugging.
9145
# Note that there is a small window in which the directory will not be cleaned:
9146
# after its creation but before its name has been assigned to `$tmp'.
9147
$debug ||
9148
{
56 by Osmo Antero
Version 0.5
9149
  tmp= ac_tmp=
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9150
  trap 'exit_status=$?
56 by Osmo Antero
Version 0.5
9151
  : "${ac_tmp:=$tmp}"
9152
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9153
' 0
9154
  trap 'as_fn_exit 1' 1 2 13 15
9155
}
9156
# Create a (secure) tmp directory for tmp files.
9157
9158
{
9159
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56 by Osmo Antero
Version 0.5
9160
  test -d "$tmp"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9161
}  ||
9162
{
9163
  tmp=./conf$$-$RANDOM
9164
  (umask 077 && mkdir "$tmp")
9165
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
56 by Osmo Antero
Version 0.5
9166
ac_tmp=$tmp
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9167
9168
# Set up the scripts for CONFIG_FILES section.
9169
# No need to generate them if there are no CONFIG_FILES.
9170
# This happens for instance with `./config.status config.h'.
9171
if test -n "$CONFIG_FILES"; then
9172
9173
9174
ac_cr=`echo X | tr X '\015'`
9175
# On cygwin, bash can eat \r inside `` if the user requested igncr.
9176
# But we know of no other shell where ac_cr would be empty at this
9177
# point, so we can use a bashism as a fallback.
9178
if test "x$ac_cr" = x; then
9179
  eval ac_cr=\$\'\\r\'
9180
fi
9181
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9182
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9183
  ac_cs_awk_cr='\\r'
9184
else
9185
  ac_cs_awk_cr=$ac_cr
9186
fi
9187
56 by Osmo Antero
Version 0.5
9188
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9189
_ACEOF
9190
9191
9192
{
9193
  echo "cat >conf$$subs.awk <<_ACEOF" &&
9194
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9195
  echo "_ACEOF"
9196
} >conf$$subs.sh ||
9197
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9198
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9199
ac_delim='%!_!# '
9200
for ac_last_try in false false false false false :; do
9201
  . ./conf$$subs.sh ||
9202
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9203
9204
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9205
  if test $ac_delim_n = $ac_delim_num; then
9206
    break
9207
  elif $ac_last_try; then
9208
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9209
  else
9210
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9211
  fi
9212
done
9213
rm -f conf$$subs.sh
9214
9215
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
56 by Osmo Antero
Version 0.5
9216
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9217
_ACEOF
9218
sed -n '
9219
h
9220
s/^/S["/; s/!.*/"]=/
9221
p
9222
g
9223
s/^[^!]*!//
9224
:repl
9225
t repl
9226
s/'"$ac_delim"'$//
9227
t delim
9228
:nl
9229
h
9230
s/\(.\{148\}\)..*/\1/
9231
t more1
9232
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9233
p
9234
n
9235
b repl
9236
:more1
9237
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9238
p
9239
g
9240
s/.\{148\}//
9241
t nl
9242
:delim
9243
h
9244
s/\(.\{148\}\)..*/\1/
9245
t more2
9246
s/["\\]/\\&/g; s/^/"/; s/$/"/
9247
p
9248
b
9249
:more2
9250
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9251
p
9252
g
9253
s/.\{148\}//
9254
t delim
9255
' <conf$$subs.awk | sed '
9256
/^[^""]/{
9257
  N
9258
  s/\n//
9259
}
9260
' >>$CONFIG_STATUS || ac_write_fail=1
9261
rm -f conf$$subs.awk
9262
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9263
_ACAWK
56 by Osmo Antero
Version 0.5
9264
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9265
  for (key in S) S_is_set[key] = 1
9266
  FS = ""
9267
9268
}
9269
{
9270
  line = $ 0
9271
  nfields = split(line, field, "@")
9272
  substed = 0
9273
  len = length(field[1])
9274
  for (i = 2; i < nfields; i++) {
9275
    key = field[i]
9276
    keylen = length(key)
9277
    if (S_is_set[key]) {
9278
      value = S[key]
9279
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9280
      len += length(value) + length(field[++i])
9281
      substed = 1
9282
    } else
9283
      len += 1 + keylen
9284
  }
9285
9286
  print line
9287
}
9288
9289
_ACAWK
9290
_ACEOF
9291
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9292
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9293
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9294
else
9295
  cat
56 by Osmo Antero
Version 0.5
9296
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9297
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9298
_ACEOF
9299
9300
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9301
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9302
# trailing colons and then remove the whole line if VPATH becomes empty
9303
# (actually we leave an empty line to preserve line numbers).
9304
if test "x$srcdir" = x.; then
9305
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
9306
h
9307
s///
9308
s/^/:/
9309
s/[	 ]*$/:/
9310
s/:\$(srcdir):/:/g
9311
s/:\${srcdir}:/:/g
9312
s/:@srcdir@:/:/g
9313
s/^:*//
9314
s/:*$//
9315
x
9316
s/\(=[	 ]*\).*/\1/
9317
G
9318
s/\n//
9319
s/^[^=]*=[	 ]*$//
9320
}'
9321
fi
9322
9323
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9324
fi # test -n "$CONFIG_FILES"
9325
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9326
9327
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9328
shift
9329
for ac_tag
9330
do
9331
  case $ac_tag in
9332
  :[FHLC]) ac_mode=$ac_tag; continue;;
9333
  esac
9334
  case $ac_mode$ac_tag in
9335
  :[FHL]*:*);;
56 by Osmo Antero
Version 0.5
9336
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9337
  :[FH]-) ac_tag=-:-;;
9338
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9339
  esac
9340
  ac_save_IFS=$IFS
9341
  IFS=:
9342
  set x $ac_tag
9343
  IFS=$ac_save_IFS
9344
  shift
9345
  ac_file=$1
9346
  shift
9347
9348
  case $ac_mode in
9349
  :L) ac_source=$1;;
9350
  :[FH])
9351
    ac_file_inputs=
9352
    for ac_f
9353
    do
9354
      case $ac_f in
56 by Osmo Antero
Version 0.5
9355
      -) ac_f="$ac_tmp/stdin";;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9356
      *) # Look for the file first in the build tree, then in the source tree
9357
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
9358
	 # because $ac_f cannot contain `:'.
9359
	 test -f "$ac_f" ||
9360
	   case $ac_f in
9361
	   [\\/$]*) false;;
9362
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9363
	   esac ||
56 by Osmo Antero
Version 0.5
9364
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9365
      esac
9366
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9367
      as_fn_append ac_file_inputs " '$ac_f'"
9368
    done
9369
9370
    # Let's still pretend it is `configure' which instantiates (i.e., don't
9371
    # use $as_me), people would be surprised to read:
9372
    #    /* config.h.  Generated by config.status.  */
9373
    configure_input='Generated from '`
9374
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9375
	`' by configure.'
9376
    if test x"$ac_file" != x-; then
9377
      configure_input="$ac_file.  $configure_input"
9378
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9379
$as_echo "$as_me: creating $ac_file" >&6;}
9380
    fi
9381
    # Neutralize special characters interpreted by sed in replacement strings.
9382
    case $configure_input in #(
9383
    *\&* | *\|* | *\\* )
9384
       ac_sed_conf_input=`$as_echo "$configure_input" |
9385
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9386
    *) ac_sed_conf_input=$configure_input;;
9387
    esac
9388
9389
    case $ac_tag in
56 by Osmo Antero
Version 0.5
9390
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
9391
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9392
    esac
9393
    ;;
9394
  esac
9395
9396
  ac_dir=`$as_dirname -- "$ac_file" ||
9397
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9398
	 X"$ac_file" : 'X\(//\)[^/]' \| \
9399
	 X"$ac_file" : 'X\(//\)$' \| \
9400
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9401
$as_echo X"$ac_file" |
9402
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9403
	    s//\1/
9404
	    q
9405
	  }
9406
	  /^X\(\/\/\)[^/].*/{
9407
	    s//\1/
9408
	    q
9409
	  }
9410
	  /^X\(\/\/\)$/{
9411
	    s//\1/
9412
	    q
9413
	  }
9414
	  /^X\(\/\).*/{
9415
	    s//\1/
9416
	    q
9417
	  }
9418
	  s/.*/./; q'`
9419
  as_dir="$ac_dir"; as_fn_mkdir_p
9420
  ac_builddir=.
9421
9422
case "$ac_dir" in
9423
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9424
*)
9425
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9426
  # A ".." for each directory in $ac_dir_suffix.
9427
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9428
  case $ac_top_builddir_sub in
9429
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9430
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9431
  esac ;;
9432
esac
9433
ac_abs_top_builddir=$ac_pwd
9434
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9435
# for backward compatibility:
9436
ac_top_builddir=$ac_top_build_prefix
9437
9438
case $srcdir in
9439
  .)  # We are building in place.
9440
    ac_srcdir=.
9441
    ac_top_srcdir=$ac_top_builddir_sub
9442
    ac_abs_top_srcdir=$ac_pwd ;;
9443
  [\\/]* | ?:[\\/]* )  # Absolute name.
9444
    ac_srcdir=$srcdir$ac_dir_suffix;
9445
    ac_top_srcdir=$srcdir
9446
    ac_abs_top_srcdir=$srcdir ;;
9447
  *) # Relative name.
9448
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9449
    ac_top_srcdir=$ac_top_build_prefix$srcdir
9450
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9451
esac
9452
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9453
9454
9455
  case $ac_mode in
9456
  :F)
9457
  #
9458
  # CONFIG_FILE
9459
  #
9460
9461
  case $INSTALL in
9462
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9463
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9464
  esac
9465
  ac_MKDIR_P=$MKDIR_P
9466
  case $MKDIR_P in
9467
  [\\/$]* | ?:[\\/]* ) ;;
9468
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9469
  esac
9470
_ACEOF
9471
9472
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9473
# If the template does not know about datarootdir, expand it.
9474
# FIXME: This hack should be removed a few years after 2.60.
9475
ac_datarootdir_hack=; ac_datarootdir_seen=
9476
ac_sed_dataroot='
9477
/datarootdir/ {
9478
  p
9479
  q
9480
}
9481
/@datadir@/p
9482
/@docdir@/p
9483
/@infodir@/p
9484
/@localedir@/p
9485
/@mandir@/p'
9486
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9487
*datarootdir*) ac_datarootdir_seen=yes;;
9488
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9489
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9490
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9491
_ACEOF
9492
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9493
  ac_datarootdir_hack='
9494
  s&@datadir@&$datadir&g
9495
  s&@docdir@&$docdir&g
9496
  s&@infodir@&$infodir&g
9497
  s&@localedir@&$localedir&g
9498
  s&@mandir@&$mandir&g
9499
  s&\\\${datarootdir}&$datarootdir&g' ;;
9500
esac
9501
_ACEOF
9502
9503
# Neutralize VPATH when `$srcdir' = `.'.
9504
# Shell code in configure.ac might set extrasub.
9505
# FIXME: do we really want to maintain this feature?
9506
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9507
ac_sed_extra="$ac_vpsub
9508
$extrasub
9509
_ACEOF
9510
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9511
:t
9512
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9513
s|@configure_input@|$ac_sed_conf_input|;t t
9514
s&@top_builddir@&$ac_top_builddir_sub&;t t
9515
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9516
s&@srcdir@&$ac_srcdir&;t t
9517
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9518
s&@top_srcdir@&$ac_top_srcdir&;t t
9519
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9520
s&@builddir@&$ac_builddir&;t t
9521
s&@abs_builddir@&$ac_abs_builddir&;t t
9522
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9523
s&@INSTALL@&$ac_INSTALL&;t t
9524
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9525
$ac_datarootdir_hack
9526
"
56 by Osmo Antero
Version 0.5
9527
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9528
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9529
9530
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
56 by Osmo Antero
Version 0.5
9531
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9532
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
9533
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9534
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9535
which seems to be undefined.  Please make sure it is defined" >&5
9536
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9537
which seems to be undefined.  Please make sure it is defined" >&2;}
9538
56 by Osmo Antero
Version 0.5
9539
  rm -f "$ac_tmp/stdin"
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9540
  case $ac_file in
56 by Osmo Antero
Version 0.5
9541
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9542
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9543
  esac \
9544
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9545
 ;;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9546
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9547
9548
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9549
$as_echo "$as_me: executing $ac_file commands" >&6;}
9550
 ;;
9551
  esac
9552
9553
9554
  case $ac_file$ac_mode in
9555
    "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.
9556
  # Older Autoconf quotes --file arguments for eval, but not when files
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9557
  # are listed without --file.  Let's play safe and only enable the eval
9558
  # 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+
9559
  # TODO: see whether this extra hack can be removed once we start
9560
  # requiring Autoconf 2.70 or later.
9561
  case $CONFIG_FILES in #(
9562
  *\'*) :
9563
    eval set x "$CONFIG_FILES" ;; #(
9564
  *) :
9565
    set x $CONFIG_FILES ;; #(
9566
  *) :
9567
     ;;
9568
esac
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9569
  shift
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9570
  # Used to flag and report bootstrapping failures.
9571
  am_rc=0
9572
  for am_mf
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9573
  do
9574
    # 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+
9575
    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
9576
    # Check whether this is an Automake generated Makefile which includes
9577
    # dependency-tracking related rules and includes.
9578
    # Grep'ing the whole file directly is not great: AIX grep has a line
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9579
    # 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+
9580
    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9581
      || continue
9582
    am_dirpart=`$as_dirname -- "$am_mf" ||
9583
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9584
	 X"$am_mf" : 'X\(//\)[^/]' \| \
9585
	 X"$am_mf" : 'X\(//\)$' \| \
9586
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9587
$as_echo X"$am_mf" |
9588
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9589
	    s//\1/
9590
	    q
9591
	  }
9592
	  /^X\(\/\/\)[^/].*/{
9593
	    s//\1/
9594
	    q
9595
	  }
9596
	  /^X\(\/\/\)$/{
9597
	    s//\1/
9598
	    q
9599
	  }
9600
	  /^X\(\/\).*/{
9601
	    s//\1/
9602
	    q
9603
	  }
9604
	  s/.*/./; q'`
9605
    am_filepart=`$as_basename -- "$am_mf" ||
9606
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
9607
	 X"$am_mf" : 'X\(//\)$' \| \
9608
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9609
$as_echo X/"$am_mf" |
9610
    sed '/^.*\/\([^/][^/]*\)\/*$/{
9611
	    s//\1/
9612
	    q
9613
	  }
9614
	  /^X\/\(\/\/\)$/{
9615
	    s//\1/
9616
	    q
9617
	  }
9618
	  /^X\/\(\/\).*/{
9619
	    s//\1/
9620
	    q
9621
	  }
9622
	  s/.*/./; q'`
9623
    { echo "$as_me:$LINENO: cd "$am_dirpart" \
9624
      && sed -e '/# am--include-marker/d' "$am_filepart" \
9625
        | $MAKE -f - am--depfiles" >&5
9626
   (cd "$am_dirpart" \
9627
      && sed -e '/# am--include-marker/d' "$am_filepart" \
9628
        | $MAKE -f - am--depfiles) >&5 2>&5
9629
   ac_status=$?
9630
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631
   (exit $ac_status); } || am_rc=$?
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9632
  done
1414 by Osmo Antero
Version 2.2.0 for Ubuntu 18.10. Updates in levelbar.c for GLib v2.38+
9633
  if test $am_rc -ne 0; then
9634
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9635
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9636
as_fn_error $? "Something went wrong bootstrapping makefile fragments
2193 by Osmo Antero
Version 3.3.1. Codevise same as Version 3.3.0. Incl. minor changes on comments/text.
9637
    for automatic dependency tracking.  If GNU make was not used, consider
9638
    re-running the configure script with MAKE=\"gmake\" (or whatever is
9639
    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+
9640
    '--disable-dependency-tracking' option to at least be able to build
9641
    the package (albeit without support for automatic dependency tracking).
9642
See \`config.log' for more details" "$LINENO" 5; }
9643
  fi
9644
  { am_dirpart=; unset am_dirpart;}
9645
  { am_filepart=; unset am_filepart;}
9646
  { am_mf=; unset am_mf;}
9647
  { am_rc=; unset am_rc;}
9648
  rm -f conftest-deps.mk
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9649
}
9650
 ;;
173 by Osmo Antero
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.
9651
    "po/stamp-it":C)
9652
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
9653
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
9654
    fi
9655
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
9656
    >"po/stamp-it.tmp"
9657
    sed '/^#/d
9658
	 s/^[[].*] *//
9659
	 /^[ 	]*$/d
9660
	'"s|^|	$ac_top_srcdir/|" \
9661
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
9662
9663
    sed '/^POTFILES =/,/[^\\]$/ {
9664
		/^POTFILES =/!d
9665
		r po/POTFILES
9666
	  }
9667
	 ' "po/Makefile.in" >"po/Makefile"
9668
    rm -f "po/Makefile.tmp"
9669
    mv "po/stamp-it.tmp" "po/stamp-it"
9670
   ;;
1 by Osmo Antero Maatta
Initial import 17.jan.2011
9671
9672
  esac
9673
done # for ac_tag
9674
9675
9676
as_fn_exit 0
9677
_ACEOF
9678
ac_clean_files=$ac_clean_files_save
9679
9680
test $ac_write_fail = 0 ||
9681
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9682
9683
9684
# configure is writing to config.log, and then calls config.status.
9685
# config.status does its own redirection, appending to config.log.
9686
# Unfortunately, on DOS this fails, as config.log is still kept open
9687
# by configure, so config.status won't be able to write to it; its
9688
# output is simply discarded.  So we exec the FD to /dev/null,
9689
# effectively closing config.log, so it can be properly (re)opened and
9690
# appended to by config.status.  When coming back to configure, we
9691
# need to make the FD available again.
9692
if test "$no_create" != yes; then
9693
  ac_cs_success=:
9694
  ac_config_status_args=
9695
  test "$silent" = yes &&
9696
    ac_config_status_args="$ac_config_status_args --quiet"
9697
  exec 5>/dev/null
9698
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9699
  exec 5>>config.log
9700
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9701
  # would make configure fail if this is the last instruction.
9702
  $ac_cs_success || as_fn_exit 1
9703
fi
9704
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9705
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9706
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9707
fi
9708
9709
9710
9711