/[libtool]/libtool/exe/ltmacros.tpl
ViewVC logotype

Diff of /libtool/exe/ltmacros.tpl

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

revision 1.1.2.2 by bkorb, Sun May 13 04:03:27 2001 UTC revision 1.1.2.3 by bkorb, Sun May 13 19:47:10 2001 UTC
# Line 3  Line 3 
3    
4  DEFINE test-or-exit  DEFINE test-or-exit
5    
6  =]if ([=test=]) > /dev/null 2>&1 ; then[=  =][=
   invert "  :\nelse"=]  
   $echo "$modename: [=msg=]" 1>&2  
   $echo "$help" 1>&2  
   exit 1  
 fi[=  
7    
8  ENDDEF  =][=    #  if there is no test, then just a message and exit
9      =][=
10    
11      IF (exist? "test")  =]
12    if ([=test=]) > /dev/null 2>&1 ; then[=
13      invert "  :\nelse"  =][=
14      ENDIF               =]
15      $echo "$modename: [=msg=]" 1>&2[=
16      IF (not (exist? "no_help")) =]
17      $echo "$help" 1>&2[=
18      ENDIF               =]
19      exit 1[=
20      test "\nfi"         =][=
21    
22    ENDDEF                =][=
23    
24    
25  DEFINE share-to-static-warn  DEFINE share-to-static-warn
# Line 26  cat 1>&2 <<_EOF_ Line 35  cat 1>&2 <<_EOF_
35     about where to look to find info about making a shared version ... =]     about where to look to find info about making a shared version ... =]
36  _EOF_[=  _EOF_[=
37    
38  ENDDEF  =]  ENDDEF                =][=
39    
40    
41    DEFINE lock-conflict  =][=
42    
43      (if (exist? "test")
44          (sprintf "\nif (%s) > /dev/null 2>&1 ; then" (get "test"))) =]
45      cat >&2 <<_EOF_
46    *** ERROR, $lockfile exists and contains:
47    `cat $lockfile 2>/dev/null`
48    
49    but it should contain:
50    $srcfile
51    
52    This indicates that another process is trying to use the same temporary
53    object file, and libtool could not work around it because your compiler
54    does not support \\`-c' and \\`-o' together.  If you repeat this
55    compilation, it may succeed, by chance, but you had better avoid parallel
56    builds (make -j) on this platform, or get another compiler.
57    _EOF_
58      $run $rm $removelist
59      exit 1[=
60    test "\nfi" =][=
61    
62    ENDDEF      =]

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26