Author: brane
Date: Tue Jun 24 22:45:50 2025
New Revision: 1926707
URL: http://svn.apache.org/viewvc?rev=1926707&view=rev
Log:
Follow up to r1926222: remove an unused function.
* SConstruct (CheckGnuCC): Remove, it is now in the build.scons_extras module.
Modified:
serf/trunk/SConstruct
Modified: serf/trunk/SConstruct
URL:
http://svn.apache.org/viewvc/serf/trunk/SConstruct?rev=1926707&r1=1926706&r2=1926707&view=diff
==============================================================================
--- serf/trunk/SConstruct (original)
+++ serf/trunk/SConstruct Tue Jun 24 22:45:50 2025
@@ -321,17 +321,6 @@ env.Append(RPATH=[libdir],
PDB='${TARGET.filebase}.pdb')
if sys.platform != 'win32':
- def CheckGnuCC(context):
- src = '''
- #ifndef __GNUC__
- oh noes!
- #endif
- '''
- context.Message('Checking for GNU-compatible C compiler...')
- result = context.TryCompile(src, '.c')
- context.Result(result)
- return result
-
conf = Configure(env, custom_tests=custom_tests)
have_gcc = conf.CheckGnuCC()
env = conf.Finish()