Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 301049 | Differences between
and this patch

Collapse All | Expand All

(-)hdf-java-orig//configure.in (-10 / +6 lines)
Lines 177-183 Link Here
177
  *)
177
  *)
178
    if test -n "$withval" ; then
178
    if test -n "$withval" ; then
179
        z_lib="`echo $withval |cut -f2 -d, -s`"
179
        z_lib="`echo $withval |cut -f2 -d, -s`"
180
	ZLIB=$z_lib"/libz."$LLEXT
180
	ZLIB="-L$z_lib -lz"
181
	HAVE_ZLIB="yes"
181
	HAVE_ZLIB="yes"
182
    else
182
    else
183
      ZLIB=""
183
      ZLIB=""
Lines 211-217 Link Here
211
  *)
211
  *)
212
    if test -n "$withval" ; then
212
    if test -n "$withval" ; then
213
        jpeg_lib="`echo $withval |cut -f2 -d, -s`"
213
        jpeg_lib="`echo $withval |cut -f2 -d, -s`"
214
	JPEGLIB=$jpeg_lib"/libjpeg."$LLEXT
214
	JPEGLIB="-L$jpeg_lib -ljpeg"
215
    	dnl AC_MSG_RESULT([jpeg found: $JPEGLIB]);
215
    	dnl AC_MSG_RESULT([jpeg found: $JPEGLIB]);
216
	HAVE_JPEG="yes"
216
	HAVE_JPEG="yes"
217
    else
217
    else
Lines 246-252 Link Here
246
  *)
246
  *)
247
	if test -n "$withval" ; then
247
	if test -n "$withval" ; then
248
	    sz_lib="`echo $withval |cut -f2 -d, -s`"
248
	    sz_lib="`echo $withval |cut -f2 -d, -s`"
249
		SZLIB=$sz_lib"/libsz."$LLEXT
249
		SZLIB="-L$sz_lib -lsz"
250
		dnl AC_MSG_RESULT([szlib found: $SZLIB]);
250
		dnl AC_MSG_RESULT([szlib found: $SZLIB]);
251
		HAVE_SZIP="yes"
251
		HAVE_SZIP="yes"
252
	else
252
	else
Lines 302-308 Link Here
302
	;;
302
	;;
303
esac
303
esac
304
if test -n "$HDF4LIB"; then
304
if test -n "$HDF4LIB"; then
305
	LIBS="$HDF4LIB/libdf.$LLEXT $HDF4LIB/libmfhdf.$LLEXT $LIBS"
305
	LIBS="-L$HDF4LIB -ldf -lmhdf $LIBS"
306
	HAVE_HDF4="yes"
306
	HAVE_HDF4="yes"
307
fi
307
fi
308
AC_MSG_RESULT([$HAVE_HDF4])
308
AC_MSG_RESULT([$HAVE_HDF4])
Lines 363-369 Link Here
363
  *)
363
  *)
364
	if test -n "$withval" ; then
364
	if test -n "$withval" ; then
365
	    hdf5_lib="`echo $withval |cut -f2 -d, -s`"
365
	    hdf5_lib="`echo $withval |cut -f2 -d, -s`"
366
		HDF5LIB=$hdf5_lib"/libhdf.$LLEXT"
366
		HDF5LIB="-L$hdf5_lib -lhdf"
367
	    hdf5_inc="`echo $withval |cut -f1 -d,`"
367
	    hdf5_inc="`echo $withval |cut -f1 -d,`"
368
	    if test -n "$hdf5_inc"; then
368
	    if test -n "$hdf5_inc"; then
369
	      HDF5INC="$hdf5_inc"
369
	      HDF5INC="$hdf5_inc"
Lines 380-386 Link Here
380
	;;
380
	;;
381
esac
381
esac
382
if test -n "$HDF5LIB"; then
382
if test -n "$HDF5LIB"; then
383
	LIBS="$HDF5LIB/libhdf5.$LLEXT $LIBS"
383
	LIBS="-L$HDF5LIB -lhdf5 $LIBS"
384
	HAVE_HDF5="yes"
384
	HAVE_HDF5="yes"
385
fi
385
fi
386
AC_MSG_RESULT([$HAVE_HDF5])
386
AC_MSG_RESULT([$HAVE_HDF5])
Lines 628-637 Link Here
628
	if test \( ! -d "$JH45INST" \); then
628
	if test \( ! -d "$JH45INST" \); then
629
		JH45INST_FOUND=0
629
		JH45INST_FOUND=0
630
	fi
630
	fi
631
	if test \( ! -w "$JH45INST" \); then
632
		AC_MSG_ERROR( [ $JAVINST : not writable ])
633
		JH45INST_FOUND=0
634
	fi
635
fi
631
fi
636
until test $JH45INST_FOUND -eq 1; do
632
until test $JH45INST_FOUND -eq 1; do
637
	echo "Please type the directory in which to install the JH45"
633
	echo "Please type the directory in which to install the JH45"
(-)hdf-java-orig//native/hdf5lib/Makefile.in (-2 / +2 lines)
Lines 35-41 Link Here
35
35
36
CFLAGS = -D_FILE_OFFSET_BITS=64 $(DEFS) -I. -I$(HDF5INC) -I$(JAVAINC1) -I$(JAVAINC2)
36
CFLAGS = -D_FILE_OFFSET_BITS=64 $(DEFS) -I. -I$(HDF5INC) -I$(JAVAINC1) -I$(JAVAINC2)
37
37
38
LIBS =  $(HDF5LIB)/libhdf5.$(LLEXT) $(ZLIB) $(SZLIB) -lm
38
LIBS =  -L$(HDF5LIB) -lhdf5 $(ZLIB) $(SZLIB) -lm
39
39
40
# Macro def: object filename used
40
# Macro def: object filename used
41
OBJECTS =  exceptionImp.o h5Constants.o h5Imp.o h5aImp.o h5dImp.o h5eImp.o h5fImp.o h5gImp.o h5iImp.o h5lImp.o h5oImp.o h5pImp.o h5rImp.o h5sImp.o h5tImp.o nativeData.o h5util.o h5zImp.o
41
OBJECTS =  exceptionImp.o h5Constants.o h5Imp.o h5aImp.o h5dImp.o h5eImp.o h5fImp.o h5gImp.o h5iImp.o h5lImp.o h5oImp.o h5pImp.o h5rImp.o h5sImp.o h5tImp.o nativeData.o h5util.o h5zImp.o
Lines 47-53 Link Here
47
47
48
libjhdf5: $(OBJECTS)
48
libjhdf5: $(OBJECTS)
49
	-mkdir -p $(LIBDIR);
49
	-mkdir -p $(LIBDIR);
50
	$(LD) $(LDOPT) -o $(LIBDIR)/libjhdf5.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
50
	$(LD) $(LDOPT) $(LDFLAGS) -o $(LIBDIR)/libjhdf5.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
51
51
52
clean:
52
clean:
53
	$(RM) -f *.o so_locations $(LIBDIR)/libjhdf5.$(JSLEXT)
53
	$(RM) -f *.o so_locations $(LIBDIR)/libjhdf5.$(JSLEXT)
(-)hdf-java-orig//native/hdflib/Makefile.in (-2 / +2 lines)
Lines 41-47 Link Here
41
CFLAGS = $(DEFS) -I. -I$(JAVAINC1) -I$(JAVAINC2) -I$(HDFINC)
41
CFLAGS = $(DEFS) -I. -I$(JAVAINC1) -I$(JAVAINC2) -I$(HDFINC)
42
42
43
# Be sure to add -lbsd if compiling in a SYSV environment
43
# Be sure to add -lbsd if compiling in a SYSV environment
44
LIBS =  $(HDFLIB)/libmfhdf.$(LLEXT) $(HDFLIB)/libdf.$(LLEXT) $(SZLIB) $(ZLIB) $(JPEGLIB) -lm
44
LIBS =  -L$(HDFLIB) -lmfhdf -ldf $(SZLIB) $(ZLIB) $(JPEGLIB) -lm
45
45
46
# Macro def: object filename used
46
# Macro def: object filename used
47
OBJECTS =  hdfstructsutil.o \
47
OBJECTS =  hdfstructsutil.o \
Lines 60-66 Link Here
60
60
61
libjhdf: $(OBJECTS) 
61
libjhdf: $(OBJECTS) 
62
	-mkdir -p $(LIBDIR);
62
	-mkdir -p $(LIBDIR);
63
	$(LD) $(LDOPT) -o $(LIBDIR)/libjhdf.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
63
	$(LD) $(LDOPT) $(LDFLAGS) -o $(LIBDIR)/libjhdf.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
64
64
65
clean:
65
clean:
66
	$(RM) -f *.o so_locations $(LIBDIR)/libjhdf.$(JSLEXT)
66
	$(RM) -f *.o so_locations $(LIBDIR)/libjhdf.$(JSLEXT)

Return to bug 301049