Ignore:
Timestamp:
Dec 5, 2008, 5:45:56 PM (13 years ago)
Author:
Jari Häkkinen
Message:

Fixes #154. configure now supports setting of java source files encoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/base1/se.lu.thep.wenni/trunk/configure.ac

    r885 r887  
    112112             fi])
    113113AC_SUBST(PLUGINDIR)
     114
     115AC_ARG_WITH(javasourceencoding,
     116            [AS_HELP_STRING([--with-javasourceencoding=ARG],
     117                            [Use ARG as Java source file character encoding [default=UTF8]])],
     118            [JAVASRCENCODING=$withval],[JAVASRCENCODING=UTF8])
    114119
    115120if (test x$state = xbase1); then
     
    134139  AC_PROG_JAVAC   
    135140  AC_PROG_JAR   
    136   JAVACFLAGS="-encoding UTF8"
     141  JAVACFLAGS="-encoding $JAVASRCENCODING"
    137142  JAVACCLASSPATH="\$(builddir)"
    138143  if (test $DOWNLOADBASE2API = false); then
Note: See TracChangeset for help on using the changeset viewer.