OSDN Git Service

* configure.ac: On Mac OS X, in spite of using the CoreFoundation
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 6 Jul 2002 17:51:14 +0000 (17:51 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 6 Jul 2002 17:51:14 +0000 (17:51 +0000)
for utf-8 conversion, I have missed specifying the `-framework
CoreFoundation' in LDFLAGS.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@297 6a8cc165-1e22-0410-a132-eb4e3f353aba

configure.ac

index 7c3aa3b..c7420b5 100644 (file)
@@ -179,6 +179,13 @@ AC_MSG_RESULT($enable_multibyte_filename)
 if test x$enable_multibyte_filename != xno; then
   AC_DEFINE_UNQUOTED(MULTIBYTE_FILENAME, $enable_multibyte_filename,
       [Define to CODE_EUC or CODE_SJIS if you want to use multibyte filename])
+
+  case $target_os in
+  darwin*)
+       # for multibyte filename
+       LDFLAGS="$LDFLAGS -framework CoreFoundation"
+       ;;
+  esac
 fi
 
 # make user/group name extented header