X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ficonv_open;h=014697ebbb399e7cf7c764eb8f7347f8c909a762;hb=0a3f7af426469ab51370585e1a3afba66ff24b57;hp=cc1d8bad375f0ca04fa9863b6e0e640fe111f42e;hpb=3b07669db0f825ef388c9bcb7fdd1049b064617d;p=gnulib.git diff --git a/modules/iconv_open b/modules/iconv_open index cc1d8bad3..014697ebb 100644 --- a/modules/iconv_open +++ b/modules/iconv_open @@ -12,6 +12,7 @@ m4/iconv_h.m4 m4/iconv_open.m4 Depends-on: +gperf include_next iconv c-ctype @@ -29,7 +30,8 @@ BUILT_SOURCES += $(ICONV_H) iconv.h: iconv.in.h rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ - sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \ + sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ @@ -40,7 +42,6 @@ iconv.h: iconv.in.h mv $@-t $@ MOSTLYCLEANFILES += iconv.h iconv.h-t -GPERF = gperf iconv_open-aix.h: iconv_open-aix.gperf $(GPERF) -m 10 $(srcdir)/iconv_open-aix.gperf > $@-t mv $@-t $@ @@ -61,6 +62,9 @@ EXTRA_DIST += iconv_open-aix.h iconv_open-hpux.h iconv_open-irix.h ico Include: +Link: +$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + License: LGPLv2+