List:Packagers« Previous MessageNext Message »
From:Christian Hammers Date:January 28 2003 1:42am
Subject:Bugs in 3.23.55 Makefile logic
View as plain text  
Hi

sql_bench/ and readline/ are not cleaned on a "make distclean". I guess
this is because the toplevel Makefile uses $(SUBDIRS) to iterate in the
distclean target:

	Makefile.in:
	SUBDIRS = . include @docs_dirs@ @readline_dir@ \
                        @thread_dirs@ @sql_client_dirs@ \
                        @sql_server_dirs@ scripts tests man \
                        @bench_dirs@ support-files os2

./configure finds a system wide installation of readline:
	config.cache:
	s%@readline_dir@%%g
	s%@readline_link@%-lreadline%g
	
And it preferres it over the local copy, thus sets $readline_dir="":
	if test "$with_readline" = "yes"
	then
	  readline_dir="readline"
	  readline_link="\$(top_builddir)/readline/libreadline.a"
	else
	  # This requires readline to be in a standard place. Mosty for linux
	  # there readline may be a shared library.
--->	  readline_dir=""
	  readline_link="-lreadline"
	fi

And so the Makefile target is not called...

bye,

-christian-

Thread
Bugs in 3.23.55 Makefile logicChristian Hammers28 Jan