]> git.mxchange.org Git - flightgear.git/commitdiff
Merge branch 'durk/atcdcl-cond'
authorTim Moore <timoore33@gmail.com>
Tue, 9 Feb 2010 23:45:06 +0000 (00:45 +0100)
committerTim Moore <timoore33@gmail.com>
Tue, 9 Feb 2010 23:45:06 +0000 (00:45 +0100)
Conflicts:
src/ATC/trafficcontrol.cxx
src/Main/Makefile.am

1  2 
configure.ac
src/ATC/trafficcontrol.cxx
src/ATC/trafficcontrol.hxx
src/Airports/groundnetwork.cxx
src/Main/Makefile.am
src/Main/fg_init.cxx

diff --cc configure.ac
index fda72f9fc2ef00d83d3f6c67465b3515db4a7723,1c1fa96132cbd491840954690d4ceb6d9897cd05..d1600c1754c0955f3a6179b2b674b007c0bacc88
@@@ -217,7 -211,9 +228,8 @@@ if test "x$with_threads" = "xyes"; the
      CFLAGS="$CFLAGS -D_REENTRANT"
  fi
  AC_CHECK_HEADER(pthread.h)
 -AM_CONDITIONAL(WITH_THREADS, test "x$with_threads" = "xyes")
  
  dnl Used by JSBSim to conditionally compile in fgfs interface code
  AC_DEFINE([FGFS], 1, [Define so that JSBSim compiles in 'library' mode])
  
index af0f729e7225f839b7f018f7f09b3f1117602b21,a04b6fc817ca26533b442b1ee90ab3cdaf982347..ef5a0a01f8dac2c2d767c1c1b040164a3d4dc093
@@@ -479,11 -453,8 +479,10 @@@ void FGATCController::transmit(FGTraffi
      // Display ATC message only when one of the radios is tuned
      // the relevant frequency.
      // Note that distance attenuation is currently not yet implemented
-     //cerr << "Transmitting " << text << " at " << stationFreq;
      if ((onBoardRadioFreqI0 == stationFreq) || (onBoardRadioFreqI1 == stationFreq)) {
 -        fgSetString("/sim/messages/atc", text.c_str());
 +        if (rec->allowTransmissions()) {
 +            fgSetString("/sim/messages/atc", text.c_str());
 +        }
      }
  }
  
Simple merge
Simple merge
index b4e2d592e6e7fc0cf4a04376c0b693092ea47f72,996c63e11b59502cde33cfe8ad3195654d50034c..e0798d6d421c692834f9cec2e4d710e7366b5556
@@@ -9,6 -9,19 +9,13 @@@ els
  SP_FDM_LIBS = 
  endif
  
 -if WITH_THREADS
 -THREAD_LIBS = -lsgthreads $(thread_LIBS)
 -else
 -THREAD_LIBS =
 -endif
 -
+ if ENABLE_ATCDCL
+ ATCDCL_LIBS = $(top_builddir)/src/ATCDCL/libATCDCL.a
+ else
+ ATCDCL_LIBS = 
+ endif
  if WITH_EVENTINPUT
  EVENT_LIBS = $(eventinput_LIBS)
  else
Simple merge