Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: bison/src/bison/2.4.1/bison-2.4.1/javacomp.sh

Issue 10807020: Add native Windows binary for bison. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #!/bin/sh
2 # Compile a Java program.
3
4 # Copyright (C) 2001-2002, 2006 Free Software Foundation, Inc.
5 # Written by Bruno Haible <haible@clisp.cons.org>, 2001.
6 #
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 # This uses the same choices as javacomp.c, but instead of relying on the
21 # environment settings at run time, it uses the environment variables
22 # present at configuration time.
23 #
24 # This is a separate shell script, because it must be able to unset JAVA_HOME
25 # in some cases, which a simple shell command cannot do.
26 #
27 # The extra CLASSPATH must have been set prior to calling this script.
28 # Options that can be passed are -O, -g and "-d DIRECTORY".
29
30 CONF_JAVAC=''
31 CONF_CLASSPATH='D:\Program Files\Oracle\Berkeley DB 4.5.20\jar\dbexamples.jar;D: \Program Files\Oracle\Berkeley DB 4.5.20\jar\db.jar;D:\Program Files\Oracle\Berk eley DB 4.5.20\jar\debug\dbexamples.jar;D:\Program Files\Oracle\Berkeley DB 4.5. 20\jar\debug\db.jar'
32 if test -n ""; then
33 # Combine given CLASSPATH and configured CLASSPATH.
34 if test -n "$CLASSPATH"; then
35 CLASSPATH="$CLASSPATH${CONF_CLASSPATH:+;$CONF_CLASSPATH}"
36 else
37 CLASSPATH="$CONF_CLASSPATH"
38 fi
39 export CLASSPATH
40 test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@"
41 exec $CONF_JAVAC "$@"
42 else
43 unset JAVA_HOME
44 if test -n ""; then
45 # In this case, $CONF_JAVAC starts with "gcj -C".
46 CLASSPATH="$CLASSPATH"
47 export CLASSPATH
48 test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@"
49 exec $CONF_JAVAC "$@"
50 else
51 if test -n ""; then
52 # In this case, $CONF_JAVAC starts with "javac".
53 CLASSPATH="$CLASSPATH"
54 export CLASSPATH
55 test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@"
56 exec $CONF_JAVAC "$@"
57 else
58 if test -n ""; then
59 # In this case, $CONF_JAVAC starts with "jikes".
60 # Combine given CLASSPATH and configured CLASSPATH.
61 if test -n "$CLASSPATH"; then
62 CLASSPATH="$CLASSPATH${CONF_CLASSPATH:+;$CONF_CLASSPATH}"
63 else
64 CLASSPATH="$CONF_CLASSPATH"
65 fi
66 export CLASSPATH
67 test -z "$JAVA_VERBOSE" || echo "$CONF_JAVAC $@"
68 exec $CONF_JAVAC "$@"
69 else
70 echo 'Java compiler not found, try installing gcj or set $JAVAC, then re configure' 1>&2
71 exit 1
72 fi
73 fi
74 fi
75 fi
OLDNEW
« no previous file with comments | « bison/src/bison/2.4.1/bison-2.4.1/examples/calc++/Makefile ('k') | bison/src/bison/2.4.1/bison-2.4.1/javaexec.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698