Patch: configury tweak

Anthony Green <[email protected]>
Newsgroups gmane.comp.emulators.sid.devel
Message-ID <1052242321.1473.9.camel@escape>
I just committed the following patch.  Approved by fche off list.

Thanks,

AG


2003-05-06  Anthony Green  <[email protected]>

	* configure.in: The "clog" symbol is found in both libm and old
	versions of libstdc++.  We want the one in libstdc++.  Reorder the
	library tests to place -lm after -lstdc++.
	* configure: Rebuilt.


Index: sid/component/configure.in
===================================================================
RCS file: /cvs/cvsfiles/devo/sid/component/configure.in,v
retrieving revision 1.43.2.2
diff -c -r1.43.2.2 configure.in
*** configure.in	2002/12/11 22:02:32	1.43.2.2
--- configure.in	2003/05/06 17:08:06
***************
*** 18,25 ****
  AC_HEADER_STDC
  AC_HEADER_TIME
  
- AC_CHECK_LIB(stdc++, main)
  AC_CHECK_LIB(m, main)
  
  dnl For lcd component only.
  dnl Check if we can link curses programs without libtermcap.
--- 18,25 ----
  AC_HEADER_STDC
  AC_HEADER_TIME
  
  AC_CHECK_LIB(m, main)
+ AC_CHECK_LIB(stdc++, main)
  
  dnl For lcd component only.
  dnl Check if we can link curses programs without libtermcap.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.