8195 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
8196 |
|
|
8197 |
|
|
8198 |
GEDCOMPARSER_CFLAGS=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --cflags` |
GEDCOMPARSER_CFLAGS=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --cflags gedcomparser` |
8199 |
GEDCOMPARSER_LIBS=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --libs` |
GEDCOMHELPER_CFLAGS=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --cflags gedcomhelper` |
8200 |
|
GEDCOMPARSER_LIBS=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --libs gedcomparser` |
8201 |
|
GEDCOMHELPER_LIBS=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --libs gedcomhelper` |
8202 |
gedcomparser_config_major_version=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --version | \ |
gedcomparser_config_major_version=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --version | \ |
8203 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
8204 |
gedcomparser_config_minor_version=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --version | \ |
gedcomparser_config_minor_version=`$GEDCOMPARSER_CONFIG $gedcomparser_config_args --version | \ |
8208 |
if test "x$enable_gedcomparsertest" = "xyes" ; then |
if test "x$enable_gedcomparsertest" = "xyes" ; then |
8209 |
ac_save_CXXFLAGS="$CXXFLAGS" |
ac_save_CXXFLAGS="$CXXFLAGS" |
8210 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
8211 |
CXXFLAGS="$CXXFLAGS $GEDCOMPARSER_CFLAGS" |
CXXFLAGS="$CXXFLAGS $GEDCOMPARSER_CFLAGS $GEDCOMHELPER_CFLAGS" |
8212 |
LIBS="$LIBS $GEDCOMPARSER_LIBS" |
LIBS="$LIBS $GEDCOMPARSER_LIBS $GEDCOMHELPER_LIBS" |
8213 |
rm -f conf.gedcomparsertest |
rm -f conf.gedcomparsertest |
8214 |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
8215 |
echo $ac_n "cross compiling; assumed OK... $ac_c" |
echo $ac_n "cross compiling; assumed OK... $ac_c" |
8221 |
|
|
8222 |
#include "GEDCOMParser/Parser.hh" |
#include "GEDCOMParser/Parser.hh" |
8223 |
#include "GEDCOMParser/GEDCOMFactory.hh" |
#include "GEDCOMParser/GEDCOMFactory.hh" |
8224 |
|
#include "GEDCOMHelper/IndividualRecordHelper.hh" |
8225 |
|
|
8226 |
int |
int |
8227 |
main () |
main () |
8228 |
{ |
{ |
8229 |
system ("touch conf.gtkmmtest"); |
system ("touch conf.gedcomparsertest"); |
8230 |
GEDCOMParser::GEDCOMFactory factory; |
GEDCOMParser::GEDCOMFactory factory; |
8231 |
GEDCOMParser::Parser viewparser(&factory); |
GEDCOMParser::Parser viewparser(&factory); |
8232 |
|
GEDCOMHelper::IndividualRecordHelper(0,0); |
8233 |
return 0; |
return 0; |
8234 |
} |
} |
8235 |
|
|
8352 |
|
|
8353 |
|
|
8354 |
|
|
8355 |
|
|
8356 |
|
|
8357 |
rm -f conf.gedcomparsertest |
rm -f conf.gedcomparsertest |
8358 |
|
|
8359 |
|
|
13304 |
s,@GEDCOMPARSER_CONFIG@,$GEDCOMPARSER_CONFIG,;t t |
s,@GEDCOMPARSER_CONFIG@,$GEDCOMPARSER_CONFIG,;t t |
13305 |
s,@GEDCOMPARSER_CFLAGS@,$GEDCOMPARSER_CFLAGS,;t t |
s,@GEDCOMPARSER_CFLAGS@,$GEDCOMPARSER_CFLAGS,;t t |
13306 |
s,@GEDCOMPARSER_LIBS@,$GEDCOMPARSER_LIBS,;t t |
s,@GEDCOMPARSER_LIBS@,$GEDCOMPARSER_LIBS,;t t |
13307 |
|
s,@GEDCOMHELPER_CFLAGS@,$GEDCOMHELPER_CFLAGS,;t t |
13308 |
|
s,@GEDCOMHELPER_LIBS@,$GEDCOMHELPER_LIBS,;t t |
13309 |
s,@GTK_CONFIG@,$GTK_CONFIG,;t t |
s,@GTK_CONFIG@,$GTK_CONFIG,;t t |
13310 |
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t |
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t |
13311 |
s,@GTK_LIBS@,$GTK_LIBS,;t t |
s,@GTK_LIBS@,$GTK_LIBS,;t t |