ObjFW  Check-in [816cc61258]

Overview
Comment:Better checking whether we need to link on --compile in objfw-config.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 816cc612589dad6e39a04a810473539bbc27e5d97edc30bb3b0c4f86993f55f1
User & Date: js on 2010-04-17 17:53:54
Other Links: manifest | tags
Context
2010-04-17
18:05
Real dependency checking for objfw-config's --compile. check-in: b03c4eeda4 user: js tags: trunk
17:53
Better checking whether we need to link on --compile in objfw-config. check-in: 816cc61258 user: js tags: trunk
17:52
Also use the flags from the environment on --compile in objfw-config. check-in: 8e5f78b8d0 user: js tags: trunk
Changes

Modified objfw-config.in from [0764632154] to [92974a8bf3].

70
71
72
73
74
75
76
77

78
79
80
81
82
83
84
70
71
72
73
74
75
76

77
78
79
80
81
82
83
84







-
+







				exit 1
				;;
		esac

		shift
	done

	if test x"$link" = x"yes"; then
	if test ! -f "$out" -o x"$link" = x"yes"; then
		echo "Linking $out..."
		$OBJC -o $out $objs $LIBS $ENV_LIBS $LDFLAGS $ENV_LDFLAGS
		exit $?
	fi

	echo "Nothing to do for $out..."
	exit 0