From 2f8742379627e4c1c5ac8c7c53a5e1ece82b5ec2 Mon Sep 17 00:00:00 2001 From: Ralf Gerlich Date: Fri, 5 Jun 2009 18:27:10 +0200 Subject: [PATCH] Adapt to changes in SimGear --- configure.ac | 1 + src/Prep/Photo/Makefile.am | 4 ++-- src/Prep/UserDef/Makefile.am | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9af28e5a..9776c8cf 100644 --- a/configure.ac +++ b/configure.ac @@ -195,6 +195,7 @@ LIBS="" dnl check for some default libraries AC_SEARCH_LIBS(cos, m) +AC_SEARCH_LIBS(clock_gettime, rt) base_LIBS="$LIBS" diff --git a/src/Prep/Photo/Makefile.am b/src/Prep/Photo/Makefile.am index 74bd6285..06f67e13 100644 --- a/src/Prep/Photo/Makefile.am +++ b/src/Prep/Photo/Makefile.am @@ -42,11 +42,11 @@ photo_LDADD = \ wgs84offset_SOURCES = wgs84offset.cxx -wgs84offset_LDADD = -lsgmath -lsgdebug +wgs84offset_LDADD = -lsgmath -lsgdebug -lsgstructure findcorners_SOURCES = findcorners.cxx -findcorners_LDADD = -lsgmath -lsgdebug +findcorners_LDADD = -lsgmath -lsgdebug -lsgstructure INCLUDES = \ -I$(top_srcdir) \ diff --git a/src/Prep/UserDef/Makefile.am b/src/Prep/UserDef/Makefile.am index ca0da508..988b940f 100644 --- a/src/Prep/UserDef/Makefile.am +++ b/src/Prep/UserDef/Makefile.am @@ -10,6 +10,7 @@ tguserdef_LDADD = \ $(top_builddir)/src/Lib/TriangleJRS/libTriangleJRS.a \ -lsgbucket -lsgmisc -lsgmath -lsgprops -lsgio -lsgstructure -lsgxml \ -lsgdebug \ + -lOpenThreads \ -lgenpolyclip -lz INCLUDES = -I$(top_srcdir)/src/Lib