/[ascend]/trunk/ascend-config.in
ViewVC logotype

Diff of /trunk/ascend-config.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 922 by johnpye, Wed Nov 8 05:25:37 2006 UTC revision 965 by johnpye, Wed Dec 13 23:53:57 2006 UTC
# Line 12  import sys, platform Line 12  import sys, platform
12  # this system already but we don't know that about unix shell (eg on Windows).  # this system already but we don't know that about unix shell (eg on Windows).
13  #  #
14  # Note that SCons supports reading of the output from this script, using  # Note that SCons supports reading of the output from this script, using
15  # features offered since version 0.96.91  # features offered since version 0.96.91, although this functionality
16    # is a bit problematic on the Windows platform, and/or when paths contain spaces.
17  #  #
18  # This file inspired by other software that uses the same approach, eg  # This file inspired by other software that uses the same approach, eg
19  # ginac-config, xft-config, cppunit-config.  # ginac-config, xft-config, cppunit-config.
# Line 57  if options.cppflags: Line 58  if options.cppflags:
58      include = ""      include = ""
59      if INCLUDE!="/usr/include":      if INCLUDE!="/usr/include":
60          include=INCLUDE          include=INCLUDE
61      print "-I"+include      if -1!=include.find(" "):
62            print "-I\""+include+"\""
63        else:
64            print "-L"+libs+" -lascend"
65      ok = True      ok = True
66    
67  if options.libs:  if options.libs:
68      libs = ""      libs = ""
69      if LIB!="/usr/lib":      if LIB!="/usr/lib":
70          libs = LIB          libs = LIB
71      print "-L"+libs+" -lascend"      if -1!=libs.find(" "):
72            print "-L\""+libs+"\" -lascend"
73        else:
74            print "-L"+libs+" -lascend"
75      ok = True      ok = True
76    
77  if options.data:  if options.data:

Legend:
Removed from v.922  
changed lines
  Added in v.965

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22