OSDN Git Service

*** empty log message ***
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 18 May 2002 19:15:22 +0000 (19:15 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 18 May 2002 19:15:22 +0000 (19:15 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@57 6a8cc165-1e22-0410-a132-eb4e3f353aba

ChangeLog [new file with mode: 0644]
IFNAMES
README.autoconf
configure.in

diff --git a/ChangeLog b/ChangeLog
new file mode 100644 (file)
index 0000000..7df9822
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,53 @@
+2002-05-19  Koji Arai  <arai@fgsd.mt.nec.co.jp>
+
+       * configure.ac: added for autoconf-2.53.
+
+       * config.h.in: regenerate by autoconf-2.53.
+
+       * src/lharc.c (find_files): MinGW has st_ino but always 0.
+
+       * src/lharc.c (main): provisionally fix. set
+       `get_filename_from_stdin' to false.
+
+       * src/util.c (rename): use builtin rename on mingw32 (since have
+       no link(2)).
+
+       * src/lharc.c (main): use xrealloc().
+
+       * src/lha_macro.h: specify "b" modifier always (for mingw32).
+
+       * src/lharc.c: use xstrdup() instead of strdup().
+
+       * src/lha_macro.h: ditto.
+
+       * src/lha_macro.h: getuid(), chown(), kill(), link() are
+       provisionally defined as 0.
+
+       * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
+
+       * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
+       (build_backup_file): ditto.
+
+       * src/lharc.c (interrupt): ditto.
+
+       * src/lhext.c (extract_one): ditto.
+
+       * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
+       mingw32.
+
+2002-05-18  Koji Arai  <jca02266@nifty.ne.jp>
+
+       * lha_macro.h: define bcmp(), bzero(), bcopy() even if
+       STDC_HEADERS is defined.
+
+       * huf.c (alloc_buf): call fatal_error() when memory allocation failed
+       instead of returning NULL.
+
+       * lharc.c (main): use xmalloc().
+
+       * util.c (copyfile): use xmalloc().
+
+       * slide.c (encode_alloc): use xmalloc().
+
+       * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as
+       default kanji code.
diff --git a/IFNAMES b/IFNAMES
index c7a79b6..5c87446 100644 (file)
--- a/IFNAMES
+++ b/IFNAMES
@@ -20,7 +20,7 @@ LHA_MAIN_SRC lha.h lha_macro.h
 MKDIRPATH util.c
 # MKSTEMP lharc.c                      replace with HAVE_MKSTEMP
 # MKTIME header.c                      replace with HAVE_MKTIME
-MSDOS lha_macro.h
+MSDOS lha_macro.h                      removed
 # MULTIBYTE_CHAR header.c lha_macro.h util.c   --enable-multibyte-filename
 # NEED_INCREMENTAL_INDICATOR append.c crcio.c lha.h    --enable-indicator
 NEWSOS huf.c                           use HAVE_STDLIB_H ???
index 55d8086..c06de08 100644 (file)
@@ -1,10 +1,14 @@
 # -*- Mode: text ; Coding: euc-japan -*-
 
 autoconfiguration for LHa for UNIX version 1.14i
-                                        Thu, Feb  1 2001 by Koji Arai
+                                       Sun, May 19 2002 by Koji Arai
 
 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÏLHa for UNIX version 1.14i ¤òautoconf¡¢automake²½
-¤·¤¿¤È¤­¤Î¥á¥â¤Ç¤¹¡£
+¤·¤¿(autoconfiscate ¤È¸À¤¦¤½¤¦¤Ç¤¹¡£Jargon »²¾È)¤È¤­¤Î¥á¥â¤Ç¤¹¡£
+
+LHa for UNIX ¤Ë´Ø¤·¤Æ¤Ï²¬ËÜ·ÑÃˤµ¤ó¤Î¥Ú¡¼¥¸
+  <http://www2m.biglobe.ne.jp/~dolphin/lha/lha.htm>
+¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
 
 ¢¨ ¤³¤ÎÈǤϤޤÀ¦ÂÈǤǤ¹¡£½½Ê¬¤Ë¥Æ¥¹¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£¤â¤Á¤í¤ó
    ÌµÊݾڤʤΤǼ«¸ÊÀÕǤ¤Ç»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
@@ -23,32 +27,28 @@ autoconfiguration for LHa for UNIX version 1.14i
   ¼¨¤·¤Þ¤¹¡£¤½¤Î¤Þ¤Þ¤Î¹Ô¤Ïautoconf¤ÇȽÃǤ¹¤ëɬÍפ¬¤Ê¤¤¤«¤Þ¤¿¤Ï»ä¤¬È½ÃÇ
   ¤Ç¤­¤Ê¤¤¤¿¤á¡¢¤½¤Î¤Þ¤ÞÊüÃÖ¤·¤¿¤³¤È¤ò¼¨¤·¤Þ¤¹¡£
 
-¡¦GPL
-
-  automake ¤Ï¡¢--foreign ÉÕ¤­¤Ç½èÍý¤·¤Þ¤·¤¿¡£automake¤äautoconf¤Ê¤·¤Ç
-  ¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤Ë¤Ï¤¤¤¯¤Ä¤«¤ÎGNU¥æ¡¼¥Æ¥£¥ê¥Æ¥£(config.guess,
-  config.sub, install-sh, missing, mkinstalldirs)¤òƱº­¤·¤Ê¤±¤ì¤Ð¤¤¤±
-  ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¤³¤ì¤é¤ÎÃæ¤Ë¤ÏGPL2¤Ë½¾¤Ã¤ÆÇÛÉÛ¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤â¤Î
-  ¤â¤¢¤ê¡¢lha for UNIX ¤Ë¤³¤ì¤é¤ò´Þ¤ó¤Ç¤âÌäÂê¤Ê¤¤¤«¤É¤¦¤«È½ÃǤǤ­¤Ê¤«¤Ã
-  ¤¿¤¿¤áƱº­¤·¤Þ¤»¤ó¤Ç¤·¤¿¡£¤·¤¿¤¬¤Ã¤Æ¡¢¤³¤ÎautoconfÈǤÏlha-1.14i¥ª¥ê
-  ¥¸¥Ê¥ë¤ËÂФ¹¤ë¥Ñ¥Ã¥Á·Á¼°¤ÇÇÛÉÛ¤·¤Æ¤¤¤Þ¤¹¡£¥³¥ó¥Ñ¥¤¥ë¤Ë¤ÏÊÌÅÓautoconf¡¢
-  automake ¤¬É¬ÍפȤʤê¤Þ¤¹¡£
-
 ¡¦¥³¥ó¥Ñ¥¤¥ë¤Î¼ê½ç
 
   ¥³¥ó¥Ñ¥¤¥ë¤Î¼ê½ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
 
+
     tar xvzf lha-1.14i.tar.gz
     cd lha-1.14i
     patch -p1 < ../lha-1.14i-autoconf.diff
 
-    aclocal
-    automake -a
-    autoconf
     ./configure
     make
     make install
 
+  MinGW Âбþ¤Ï¦ÁÈǤǤ¹¡£¤Û¤È¤ó¤É¥Æ¥¹¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó(¥³¥ó¥Ñ¥¤¥ë¤òÄ̤·
+  ¤¿ÄøÅÙ)¡£Cygwin ´Ä¶­¤Ç MinGW ÈǤò»î¤¹¤Ë¤Ï
+
+    ./configure CC='gcc -mno-cygwin'
+               --build=i686-pc-mingw32
+               --with-tmp-file=c:/tmp/lhXXXXXX
+
+  ¤Ê¤É¤È¤·¤Æ¤¯¤À¤µ¤¤¡£
+
 ¡¦-lh6-, -lh7- ¥á¥½¥Ã¥É¤Î¥¢¡¼¥«¥¤¥ÖºîÀ®
 
   lha 1.14i ¤Ç¤Ï¡¢SUPPORT_LH7¤ÎÄêµÁ¤ò¤»¤º¤Ë¥³¥ó¥Ñ¥¤¥ë¤·¤¿¾ì¹ç¡¢-lh6- 
@@ -75,7 +75,7 @@ autoconfiguration for LHa for UNIX version 1.14i
   ¥ë¥È)¤Ë¤è¤ê´Á»ú¥Õ¥¡¥¤¥ë̾¤¬»ÈÍѤǤ­¡¢¥¢¡¼¥«¥¤¥Ö¤Ë³ÊǼ¤µ¤ì¤ë¥Õ¥¡¥¤¥ë̾
   ¤Î´Á»ú¥³¡¼¥É¤òSJIS¤Ë¡¢¥·¥¹¥Æ¥à¥Õ¥¡¥¤¥ë̾¤Î´Á»ú¥³¡¼¥É¤òEUC¤Ë¤·¤Þ¤·¤¿¡£
 
-  ¢¨ Cygwin¤Ç¤ÏÆÃÊ̤˥·¥¹¥Æ¥à¤Î´Á»ú¥³¡¼¥É¤ÏSJIS¤Ë¤Ê¤ê¤Þ¤¹¡£
+  ¢¨ Cygwin, MinGW, HP-UX ¤Ç¤ÏÆÃÊ̤˥·¥¹¥Æ¥à¤Î´Á»ú¥³¡¼¥É¤ÏSJIS¤Ë¤Ê¤ê¤Þ¤¹¡£
 
   configure ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ë¤è¤ê¥·¥¹¥Æ¥à¤Î´Á»ú¥³¡¼¥É¤ò»ØÄê
   ¤Ç¤­¤ë¤è¤¦¤Ë¡¢¤½¤·¤Æ lha ¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ë¤è¤ê¥¢¡¼¥«¥¤¥Ö¡¢
index a2d3332..da110da 100644 (file)
@@ -62,7 +62,7 @@ AC_FUNC_UTIME_NULL
 AC_CHECK_FUNCS(strchr memcpy)
 AC_CHECK_FUNCS(mktime timelocal tzset ftime gettimeofday)
 AC_CHECK_FUNCS(mkdir rmdir strdup memset ftruncate lchown mkstemp)
-AC_CHECK_FUNCS(strcasecmp)
+AC_CHECK_FUNCS(strcasecmp link)
 
 AC_SUBST(LIBOBJS)
 if test $ac_header_dirent = no; then