[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/devtools/waf/wafadmin/Tools
From:       Thomas Nagy <tnagyemail-mail () yahoo ! fr>
Date:       2006-08-03 22:31:45
Message-ID: 1154644305.648274.9443.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 569470 by tnagy:

checkHeader->check_header


 M  +11 -11    gnome.py  
 M  +4 -4      tao_idl.py  


--- trunk/playground/devtools/waf/wafadmin/Tools/gnome.py #569469:569470
@@ -200,45 +200,45 @@
 	conf.addDefine('HAVE_DCGETTEXT', '1')
 
 	#Define to 1 if you have the <dlfcn.h> header file.
-	conf.checkHeader('dlfcn.h', 'HAVE_DLFCN_H')
+	conf.check_header('dlfcn.h', 'HAVE_DLFCN_H')
  
 	# TODO
 	#Define if the GNU gettext() function is already present or preinstalled.
 	conf.addDefine('HAVE_GETTEXT', '1')
  
 	#Define to 1 if you have the <inttypes.h> header file.
-	conf.checkHeader('inttypes.h', 'HAVE_INTTYPES_H')
+	conf.check_header('inttypes.h', 'HAVE_INTTYPES_H')
  
 	# TODO FIXME
 	#Define if your <locale.h> file defines LC_MESSAGES.
 	#conf.addDefine('HAVE_LC_MESSAGES', '1')
  
 	#Define to 1 if you have the <locale.h> header file.
-	conf.checkHeader('locale.h', 'HAVE_LOCALE_H')
+	conf.check_header('locale.h', 'HAVE_LOCALE_H')
 
 	#Define to 1 if you have the <memory.h> header file.
-	conf.checkHeader('memory.h', 'HAVE_MEMORY_H')
+	conf.check_header('memory.h', 'HAVE_MEMORY_H')
 
 	#Define to 1 if you have the <stdint.h> header file.
-	conf.checkHeader('stdint.h', 'HAVE_STDINT_H')
+	conf.check_header('stdint.h', 'HAVE_STDINT_H')
 
 	#Define to 1 if you have the <stdlib.h> header file.
-	conf.checkHeader('stdlib.h', 'HAVE_STDLIB_H')
+	conf.check_header('stdlib.h', 'HAVE_STDLIB_H')
  
 	#Define to 1 if you have the <strings.h> header file.
-	conf.checkHeader('strings.h', 'HAVE_STRINGS_H')
+	conf.check_header('strings.h', 'HAVE_STRINGS_H')
  
 	#Define to 1 if you have the <string.h> header file.
-	conf.checkHeader('string.h', 'HAVE_STRING_H')
+	conf.check_header('string.h', 'HAVE_STRING_H')
  
         #Define to 1 if you have the <sys/stat.h> header file.
-	conf.checkHeader('sys/stat.h', 'HAVE_SYS_STAT_H')
+	conf.check_header('sys/stat.h', 'HAVE_SYS_STAT_H')
  
 	#Define to 1 if you have the <sys/types.h> header file.
-	conf.checkHeader('sys/types.h', 'HAVE_SYS_TYPES_H')
+	conf.check_header('sys/types.h', 'HAVE_SYS_TYPES_H')
  
 	#Define to 1 if you have the <unistd.h> header file.
-	conf.checkHeader('unistd.h', 'HAVE_UNISTD_H')
+	conf.check_header('unistd.h', 'HAVE_UNISTD_H')
 
 	return 1
 
--- trunk/playground/devtools/waf/wafadmin/Tools/tao_idl.py #569469:569470
@@ -67,10 +67,10 @@
 	if acedir:
 		acebindir = [os.path.join(acedir,'bin')]
 		idl = conf.checkProgram('tao_idl', acebindir)
-		if not conf.checkHeader('ace/ACE.h', pathlst=[ os.path.join(acedir,'include') ]):
+		if not conf.check_header('ace/ACE.h', pathlst=[ os.path.join(acedir,'include') ]):
 			return 0
 	else:
-		if not conf.checkHeader('ace/ACE.h'):
+		if not conf.check_header('ace/ACE.h'):
 			return 0
 		
 	if not idl:
@@ -78,10 +78,10 @@
 		if not idl:
 			return 0
 	if taodir:
-		if not conf.checkHeader('tao/corba.h', pathlst=[ os.path.join(acedir,'include'), \
os.path.join(taodir,'include') ]): +		if not conf.check_header('tao/corba.h', \
pathlst=[ os.path.join(acedir,'include'), os.path.join(taodir,'include') ]):  return \
0  else:
-		if not conf.checkHeader('tao/corba.h'):
+		if not conf.check_header('tao/corba.h'):
 			return 0
 	
 	# Check if the headers are present:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic