Mercurial > mxe-octave
annotate src/of-video-1-fixes.patch @ 4509:3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Oct 2017 15:37:33 -0400 |
parents | |
children | 00e61c4a5657 |
rev | line source |
---|---|
4509
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 diff -uNr a/src/configure b/src/configure |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 --- a/src/configure 2017-05-28 10:27:03.780918854 -0400 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 +++ b/src/configure 2017-10-12 14:47:24.737839006 -0400 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 @@ -623,7 +623,7 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 EGREP |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 GREP |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 CXXCPP |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 -HAVE_MKOCTFILE |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 +MKOCTFILE |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 OBJEXT |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 EXEEXT |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 ac_ct_CXX |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 @@ -650,6 +650,7 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 docdir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 oldincludedir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 includedir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 +runstatedir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 localstatedir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 sharedstatedir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 sysconfdir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 @@ -721,6 +722,7 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 sysconfdir='${prefix}/etc' |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 sharedstatedir='${prefix}/com' |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 localstatedir='${prefix}/var' |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 +runstatedir='${localstatedir}/run' |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 includedir='${prefix}/include' |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 oldincludedir='/usr/include' |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 @@ -973,6 +975,15 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 | -silent | --silent | --silen | --sile | --sil) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 silent=yes ;; |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 + -runstatedir | --runstatedir | --runstatedi | --runstated \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 + | --runstate | --runstat | --runsta | --runst | --runs \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
35 + | --run | --ru | --r) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 + ac_prev=runstatedir ;; |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 + -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 + | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 + | --run=* | --ru=* | --r=*) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
40 + runstatedir=$ac_optarg ;; |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 + |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
42 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
43 ac_prev=sbindir ;; |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
45 @@ -1110,7 +1121,7 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
47 datadir sysconfdir sharedstatedir localstatedir includedir \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
49 - libdir localedir mandir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 + libdir localedir mandir runstatedir |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
51 do |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 eval ac_val=\$$ac_var |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
53 # Remove trailing slashes. |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 @@ -1263,6 +1274,7 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
55 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
57 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 + --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
59 --libdir=DIR object code libraries [EPREFIX/lib] |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
60 --includedir=DIR C header files [PREFIX/include] |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
61 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
62 @@ -2649,11 +2661,11 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
63 set dummy mkoctfile; ac_word=$2 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 $as_echo_n "checking for $ac_word... " >&6; } |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 -if ${ac_cv_prog_HAVE_MKOCTFILE+:} false; then : |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
67 +if ${ac_cv_prog_MKOCTFILE+:} false; then : |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 $as_echo_n "(cached) " >&6 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 else |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 - if test -n "$HAVE_MKOCTFILE"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
71 - ac_cv_prog_HAVE_MKOCTFILE="$HAVE_MKOCTFILE" # Let the user override the test. |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
72 + if test -n "$MKOCTFILE"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
73 + ac_cv_prog_MKOCTFILE="$MKOCTFILE" # Let the user override the test. |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
74 else |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
75 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 for as_dir in $PATH |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
77 @@ -2662,7 +2674,7 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 test -z "$as_dir" && as_dir=. |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
79 for ac_exec_ext in '' $ac_executable_extensions; do |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 - ac_cv_prog_HAVE_MKOCTFILE="yes" |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 + ac_cv_prog_MKOCTFILE="mkoctfile" |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
84 break 2 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
85 fi |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
86 @@ -2670,20 +2682,19 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
87 done |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
88 IFS=$as_save_IFS |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
89 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
90 - test -z "$ac_cv_prog_HAVE_MKOCTFILE" && ac_cv_prog_HAVE_MKOCTFILE="no" |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
91 fi |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
92 fi |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
93 -HAVE_MKOCTFILE=$ac_cv_prog_HAVE_MKOCTFILE |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
94 -if test -n "$HAVE_MKOCTFILE"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
95 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MKOCTFILE" >&5 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 -$as_echo "$HAVE_MKOCTFILE" >&6; } |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
97 +MKOCTFILE=$ac_cv_prog_MKOCTFILE |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
98 +if test -n "$MKOCTFILE"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
99 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
100 +$as_echo "$MKOCTFILE" >&6; } |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
101 else |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
103 $as_echo "no" >&6; } |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
104 fi |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
105 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
106 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
107 -if test $HAVE_MKOCTFILE = "no"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
108 +if test -z "$MKOCTFILE"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
109 as_fn_error $? "mkoctfile required to install $PACKAGE_NAME" "$LINENO" 5 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
110 fi |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
111 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
112 diff -uNr a/src/configure.ac b/src/configure.ac |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
113 --- a/src/configure.ac 2017-05-28 10:27:02.828900351 -0400 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
114 +++ b/src/configure.ac 2017-10-12 14:47:04.434779853 -0400 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
115 @@ -13,8 +13,8 @@ |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
116 AC_DEFINE(__STDC_CONSTANT_MACROS, [], [workaround for C++ programs to use C99 macros]) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
117 AC_DEFINE(VIDEO_OUTBUF_SIZE, [200000], [size of video buffer]) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
118 |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
119 -AC_CHECK_PROG([HAVE_MKOCTFILE], [mkoctfile], [yes], [no]) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
120 -if [test $HAVE_MKOCTFILE = "no"]; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
121 +AC_CHECK_PROG([MKOCTFILE], [mkoctfile], [mkoctfile]) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
122 +if test -z "$MKOCTFILE"; then |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
123 AC_MSG_ERROR([mkoctfile required to install $PACKAGE_NAME]) |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
124 fi |
3d2263062bbd
of-ltfat, of-video: Fix mkoctfile detection.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
125 |