ACLOCAL_AMFLAGS = -I m4
-MODULECOMMONFLAGS = -no-undefined -export-symbols-regex ".*" -module -avoid-version
+MODULECOMMONFLAGS = -no-undefined -export-symbols-regex ".*" -shared -module -avoid-version
# Options to pass when running configure in the distcheck target.
#
-I$(srcdir)/ltdl -I$(srcdir)/ltdl/libltdl \
-I$(top_srcdir)/Magick++/lib
ACLOCAL_AMFLAGS = -I m4
-MODULECOMMONFLAGS = -no-undefined -export-symbols-regex ".*" -module -avoid-version
+MODULECOMMONFLAGS = -no-undefined -export-symbols-regex ".*" -shared -module -avoid-version
# Options to pass when running configure in the distcheck target.
#
Expand any wildcard filenames.
*/
*home_directory='\0';
- cwd=getcwd(home_directory,MaxTextExtent);
count=0;
for (i=0; i < (long) *number_arguments; i++)
{
GetPathComponent(option,HeadPath,path);
GetPathComponent(option,SubimagePath,subimage);
ExpandFilename(path);
+ if (*home_directory == '\0')
+ cwd=getcwd(home_directory,MaxTextExtent-1);
filelist=ListFiles(*path == '\0' ? home_directory : path,filename,
&number_files);
}