Description: Don't use bundled getopt.c and getopt.h Author: Stefan Kangas Forwarded: not-needed --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ fastmint_altivec_compact_2.o fastmint_ansi_ultracompact_1.o \ fastmint_library.o OBJS = libsha1.o libhc.o sdb.o lock.o utct.o random.o sstring.o \ - getopt.o $(FASTLIBS) + $(FASTLIBS) LIBOBJS = libhc.o libsha1.o utct.o sdb.o lock.o sstring.o random.o $(FASTLIBS) EXEOBJS = hashcash.o @@ -113,8 +113,8 @@ build-dll: hashcash-dll$(EXE) sha1$(EXE) -hashcash$(EXE): hashcash.o getopt.o libhashcash$(LIB) - $(CC) hashcash.o getopt.o libhashcash$(LIB) -o $@ $(LDFLAGS) +hashcash$(EXE): hashcash.o libhashcash$(LIB) + $(CC) hashcash.o libhashcash$(LIB) -o $@ $(LDFLAGS) sha1$(EXE): sha1.o libsha1.o $(CC) sha1.o libsha1.o -o $@ $(LDFLAGS) @@ -205,7 +205,7 @@ fastmint_mmx_compact_1.o: libfastmint.h hashcash.h fastmint_mmx_standard_1.o: libfastmint.h hashcash.h getopt.o: getopt.h -hashcash.o: sdb.h utct.h random.h hashcash.h libfastmint.h sstring.h getopt.h +hashcash.o: sdb.h utct.h random.h hashcash.h libfastmint.h sstring.h hashcash.o: sha1.h types.h libfastmint.o: random.h sha1.h types.h libfastmint.h hashcash.h libhc.o: hashcash.h utct.h libfastmint.h sha1.h types.h random.h sstring.h --- a/hashcash.c +++ b/hashcash.c @@ -33,7 +33,7 @@ #include "hashcash.h" #include "libfastmint.h" #include "sstring.h" -#include "getopt.h" +#include #if defined( OPENSSL ) #include