comparison aclocal.m4 @ 5094:1dbe2c93af51

[project @ 2004-12-03 13:40:28 by jwe]
author jwe
date Fri, 03 Dec 2004 13:40:28 +0000
parents dc5f6082aa74
children 86fa011d6404
comparison
equal deleted inserted replaced
5093:5353ef6ac73c 5094:1dbe2c93af51
562 if echo "%{ 562 if echo "%{
563 enum octave_kw_id { a_kw }; 563 enum octave_kw_id { a_kw };
564 %} 564 %}
565 struct octave_kw { const char *name; int tok; octave_kw_id kw_id; }; 565 struct octave_kw { const char *name; int tok; octave_kw_id kw_id; };
566 %% 566 %%
567 foo" | $GPERF -t -C -D -E -G -L ANSI-C -H octave_kw_hash -N octave_kw_lookup > /dev/null 2>&1; then 567 foo" | $GPERF -t -C -D -E -G -L C++ -H octave_kw_hash -N octave_kw_lookup > /dev/null 2>&1; then
568 true 568 true
569 else 569 else
570 GPERF="" 570 GPERF=""
571 warn_gperf="I found gperf, but it does not support all of the following options: -t -C -D -E -G -L ANSI-C -H -N; you need gperf 2.7 or a more recent version" 571 warn_gperf="I found gperf, but it does not support all of the following options: -t -C -D -E -G -L C++ -H -N; you need gperf 3.0.1 or a more recent version"
572 AC_MSG_WARN($warn_gperf) 572 AC_MSG_WARN($warn_gperf)
573 fi 573 fi
574 else 574 else
575 GPERF='$(top_srcdir)/missing gperf' 575 GPERF='$(top_srcdir)/missing gperf'
576 warn_gperf="I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h" 576 warn_gperf="I didn't find gperf, but it's only a problem if you need to reconstruct oct-gperf.h"