Diff

Differences From Artifact [2e933cc686]:

To Artifact [bed9e43849]:


    60     60   
    61     61   # Fix up package list
    62     62   ## If building KitDLL, define it as our target
    63     63   if echo " ${KITCREATOR_PKGS} " | grep ' kitdll ' >/dev/null 2>/dev/null; then
    64     64   	KITCREATOR_PKGS="$(echo " ${KITCREATOR_PKGS} " | sed 's@ kitdll @ @g;s@^  *@@;s@  *$@@;s@   *@ @g')"
    65     65   	KITTARGET="kitdll"
    66     66   fi
           67  +
           68  +# If the user manually requested "--enable-kitdll", make it so
           69  +if echo "x $@ " | grep ' [-][-]enable-kitdll ' >/dev/null 2>/dev/null; then
           70  +	KITTARGET="kitdll"
           71  +fi
    67     72   
    68     73   ## If building KitDLL and Tk, must do Tk statically
    69     74   ### (Well, we don't HAVE to, but it would defeat much of the purpose)
    70     75   if [ "${KITTARGET}" = "kitdll" ]; then
    71     76   	if echo " ${KITCREATOR_PKGS} " | grep ' tk ' >/dev/null 2>/dev/null; then
    72     77   		if [ "${STATICTK}" != "1" -a "${STATICTK}" != "-1" ]; then
    73     78   			echo 'Warning: Linking Tk statically because you are building KitDLL' 2>&1