# patch for http://arj.sourceforge.net/ to make it compile 
# on solaris with the sun studio compiler
# tested on solaris 10/sparc with version 3.10.22
# created by arj< a t >bz2.nl
# unpack the tar.gz, patch -p 0 < this-file
# then cd arj-3.10.22/gnu/ && autoconf && ./configure --youroptions && cd .. && gmake install

--- arj-3.10.22/gnu/configure.in	2006-05-15 23:10:43.000000000 +0200
+++ arj-3.10.22-patched-for-sun-studio/gnu/configure.in	2006-05-15 23:10:45.000000000 +0200
@@ -76,9 +76,9 @@
 *solaris*)
 	AC_DEFINE(ELF_EXECUTABLES)
         CFLAGS="-DSUNOS -D_UNIX"
-        DLL_FLAGS="-shared -fPIC"
-        DLL_CFLAGS="-shared -fPIC"
-        LD_STRIP="gnu/stripgcc.lnk"
+        DLL_FLAGS="-G"
+        DLL_CFLAGS=""
+        LD_STRIP=""
 	;;
 os2*)
 	PROG_EXT=".exe"
