Changeset 1391

Show
Ignore:
Timestamp:
10/29/08 14:34:25 (12 years ago)
Author:
arnonym
Message:

more configure-check-stuff: check for pkg-config before using it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libffado-2.0/SConstruct

    r1389 r1391  
    206206        # 
    207207        if not conf.CompilerCheck(): 
    208                 print "It seems as if your system isn't even able to compile any C-/C++-programs. Probably you don't have gcc and g++ installed. Compiling a package from source without a working compiler is very hard to do, please install the needed packages.\nHint: on *ubuntu you need both gcc- and g++-packages installed, easiest solution is to install build-essential which depends on gcc and g++." 
     208                print "\nIt seems as if your system isn't even able to compile any C-/C++-programs. Probably you don't have gcc and g++ installed. Compiling a package from source without a working compiler is very hard to do, please install the needed packages.\nHint: on *ubuntu you need both gcc- and g++-packages installed, easiest solution is to install build-essential which depends on gcc and g++." 
     209                Exit( 1 ) 
     210 
     211        # Check for pkg-config before using pkg-config to check for other dependencies. 
     212        if not conf.CheckForPKGConfig(): 
     213                print "\nThe program 'pkg-config' could be found.\nEither you have to install the corresponding package first or make sure that PATH points to the right directions." 
    209214                Exit( 1 ) 
    210215 
     
    217222        allpresent &= conf.CheckLib( 'expat', 'XML_ExpatVersion', '#include <expat.h>' ) 
    218223         
    219         allpresent &= conf.CheckForPKGConfig(); 
    220  
    221224        pkgs = { 
    222225                'libraw1394' : '1.3.0',